In [ ]:
. ./nbs_header.ps1
. ./core.ps1
In [ ]:
{ pwsh ../apps/builder/build.ps1 } | Invoke-Block
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # DibParser (Polyglot)                                                       │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
#r 
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r 
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r 
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r 
@"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
#r 
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsec.dll"
#r 
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsecCS.dll"

── pwsh ────────────────────────────────────────────────────────────────────────
ls ~/.nuget/packages/argu

╭─[ 723.20ms - stdout ]────────────────────────────────────────────────────────╮
│                                                                              │
│     Directory: C:\Users\i574n\.nuget\packages\argu                           │
│                                                                              │
│ Mode                 LastWriteTime         Length[     │
│ 32;1m Name                                                                 │
│ ----                 -------------         ------ [      │
│ 32;1m----                                                                  │
│ d----          2023-05-17  3:38 PM                6.1.1               │
│ d----          2024-03-12  8:22 PM                6.1.4               │
│ d----          2024-01-29  5:12 PM                6.1.5               │
│ d----          2024-03-12  8:20 PM                6.2.0               │
│ d----          2024-02-23  6:50 PM                6.2.1               │
│ d----          2024-03-12  8:15 PM                6.2.2               │
│ d----          2024-05-14  8:20 PM                6.2.3               │
│ d----          2024-06-06  7:37 PM                6.2.4               │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
#if !INTERACTIVE
open Lib
#endif

── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open FParsec
open SpiralFileSystem.Operators

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## escapeCell (test)                                                         │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

let inline escapeCell input =
    input
    |> SpiralSm.split "\n"
    |> Array.map (function
        | line when line |> SpiralSm.starts_with "\\#!" || line |> 
SpiralSm.starts_with "\\#r" ->
            System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")
        | line -> line
    )
    |> SpiralSm.concat "\n"

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

$"a{nl}\\#!magic{nl}b{nl}"
|> escapeCell
|> _assertEqual (
    $"a{nl}#!magic{nl}b{nl}"
)

╭─[ 80.13ms - stdout ]─────────────────────────────────────────────────────────╮
│ "a                                                                           │
│ #!magic                                                                      │
│ b                                                                            │
│ "                                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicMarker                                                               │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let magicMarker : Parser<string, unit> = pstring "#!"

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

"#!magic"
|> run magicMarker
|> _assertEqual (
    Success ("#!", (), Position ("", 2, 1, 3))
)

╭─[ 48.63ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "#!"                                                                │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

"##!magic"
|> run magicMarker
|> _assertEqual (
    Failure (
        $"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",
        ParserError (
            Position ("", 0, 1, 1),
            (),
            ErrorMessageList (ExpectedString "#!")
        ),
        ()
    )
)

╭─[ 69.12ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure:                                                                     │
│ Error in Ln: 1 Col: 1                                                        │
│ ##!magic                                                                     │
│ ^                                                                            │
│ Expecting: '#!'                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicCommand                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let magicCommand =
    magicMarker
    >>. manyTill anyChar newline
    |>> (System.String.Concat >> SpiralSm.trim)

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

"#!magic

a"
|> run magicCommand
|> _assertEqual (
    Success ("magic", (), Position ("", 8, 2, 1))
)

╭─[ 32.51ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "magic"                                                             │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

" #!magic

a"
|> run magicCommand
|> _assertEqual (
    Failure (
        $"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",
        ParserError (
            Position ("", 0, 1, 1),
            (),
            ErrorMessageList (ExpectedString "#!")
        ),
        ()
    )
)

╭─[ 35.78ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure:                                                                     │
│ Error in Ln: 1 Col: 1                                                        │
│  #!magic                                                                     │
│ ^                                                                            │
│ Expecting: '#!'                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## content                                                                   │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let content =
    (newline >>. magicMarker) <|> (eof >>. preturn "")
    |> attempt
    |> lookAhead
    |> manyTill anyChar
    |>> (System.String.Concat >> SpiralSm.trim)

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

"#!magic


a


"
|> run content
|> _assertEqual (
    Success ("#!magic


a", (), Position ("", 14, 7, 1))
)

╭─[ 40.87ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "#!magic                                                            │
│                                                                              │
│                                                                              │
│ a"                                                                           │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Output                                                                    │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
type Output =
    | Fs
    | Md
    | Spi
    | Spir

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Magic                                                                     │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
type Magic =
    | Fsharp
    | Markdown
    | Spiral of Output
    | Magic of string

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## kernelOutputs                                                             │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let inline kernelOutputs magic =
    match magic with
    | Fsharp -> [[ Fs ]]
    | Markdown -> [[ Md ]]
    | Spiral output -> [[ output ]]
    | _ -> [[]]

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Block                                                                     │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
type Block =
    {
        magic : Magic
        content : string
    }

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## block                                                                     │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let block =
    pipe2
        magicCommand
        content
        (fun magic content ->
            let magic, content =
                match magic with
                | "fsharp" -> Fsharp, content
                | "markdown" -> Markdown, content
                | "spiral" ->
                    let output = if content |> SpiralSm.contains "//// real\n" 
then Spir else Spi
                    let content =
                        if output = Spi
                        then content
                        else
                            content
                            |> SpiralSm.replace "//// real\n\n" ""
                            |> SpiralSm.replace "//// real\n" ""
                    Spiral output, content
                | magic -> magic |> Magic, content
            {
                magic = magic
                content = content
            })

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

"#!magic


a


"
|> run block
|> _assertEqual (
    Success (
        { magic = Magic "magic"; content = "a" },
        (),
        Position ("", 14, 7, 1)
    )
)

╭─[ 53.13ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: { magic = Magic "magic"                                             │
│   content = "a" }                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## blocks                                                                    │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let blocks =
    skipMany newline
    >>. sepEndBy block (skipMany1 newline)

── fsharp ──────────────────────────────────────────────────────────────────────
//// test


"#!magic1

a

\#!magic2

b

"
|> escapeCell
|> run blocks
|> _assertEqual (
    Success (
        [[
            { magic = Magic "magic1"; content = "a" }
            { magic = Magic "magic2"; content = "b" }
        ]],
        (),
        Position ("", 26, 9, 1)
    )
)

╭─[ 53.58ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: [{ magic = Magic "magic1"                                           │
│    content = "a" }; { magic = Magic "magic2"                                 │
│                       content = "b" }]                                       │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlock                                                               │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlock output (block : Block) =
    match output, block with
    | output, { magic = Markdown; content = content } ->
        let markdownComment =
            match output with
            | Spi | Spir -> "/// "
            | Fs -> "/// "
            | _ -> ""
        content
        |> SpiralSm.split "\n"
        |> Array.map (SpiralSm.trim_end [[||]])
        |> Array.filter (SpiralSm.ends_with " (test)" >> not)
        |> Array.map (function
            | "" -> markdownComment
            | line -> System.Text.RegularExpressions.Regex.Replace (line, 
"^\\s*", $"$&{markdownComment}")
        )
        |> SpiralSm.concat "\n"
    | Fs, { magic = Fsharp; content = content } ->
        let trimmedContent = content |> SpiralSm.trim
        if trimmedContent |> SpiralSm.contains "//// test\n"
            || trimmedContent |> SpiralSm.contains "//// ignore\n"
        then ""
        else
            content
            |> SpiralSm.split "\n"
            |> Array.filter (SpiralSm.trim_start [[||]] >> SpiralSm.starts_with 
"#r" >> not)
            |> SpiralSm.concat "\n"
    | (Spi | Spir), { magic = Spiral output'; content = content } when output' =
output ->
        let trimmedContent = content |> SpiralSm.trim
        if trimmedContent |> SpiralSm.contains "//// test\n"
            || trimmedContent |> SpiralSm.contains "//// ignore\n"
        then ""
        else content
    | _ -> ""

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

"#!markdown


a

    b

c


\#!markdown


c


\#!fsharp


let a = 1"
|> escapeCell
|> run block
|> function
    | Success (block, _, _) -> formatBlock Fs block
    | Failure (msg, _, _) -> failwith msg
|> _assertEqual "/// a
/// 
    /// b
/// 
/// c"

╭─[ 72.65ms - stdout ]─────────────────────────────────────────────────────────╮
│ "/// a                                                                       │
│ ///                                                                          │
│     /// b                                                                    │
│ ///                                                                          │
│ /// c"                                                                       │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlocks                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlocks output blocks =
    blocks
    |> List.map (fun block ->
        block, formatBlock output block
    )
    |> List.filter (snd >> (<>) "")
    |> fun list ->
        (list, (None, [[]]))
        ||> List.foldBack (fun (block, content) (lastMagic, acc) ->
            let lineBreak =
                if block.magic = Markdown && lastMagic <> Some Markdown && 
lastMagic <> None
                then ""
                else "\n"
            Some block.magic, $"{content}{lineBreak}" :: acc
        )
    |> snd
    |> SpiralSm.concat "\n"

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

"#!markdown


a

b


\#!markdown


c


\#!fsharp


let a = 1

\#!markdown

d (test)

\#!fsharp

//// test

let a = 2

\#!markdown

e

\#!fsharp

let a = 3"
|> escapeCell
|> run blocks
|> function
    | Success (blocks, _, _) -> formatBlocks Fs blocks
    | Failure (msg, _, _) -> failwith msg
|> _assertEqual "/// a
/// 
/// b

/// c
let a = 1

/// e
let a = 3
"

╭─[ 90.79ms - stdout ]─────────────────────────────────────────────────────────╮
│ "/// a                                                                       │
│ ///                                                                          │
│ /// b                                                                        │
│                                                                              │
│ /// c                                                                        │
│ let a = 1                                                                    │
│                                                                              │
│ /// e                                                                        │
│ let a = 3                                                                    │
│ "                                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parse                                                                     │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let inline parse output input =
    match run blocks input with
    | Success (blocks, _, _) ->
        let blocks =
            blocks
            |> List.filter (fun block ->
                block.magic |> kernelOutputs |> List.contains output || 
block.magic = Markdown
            )

        match blocks with
        | { magic = Markdown; content = content } :: _
            when output = Fs
            && content |> SpiralSm.starts_with "# "
            && content |> SpiralSm.ends_with ")"
            ->
            let inline indentBlock (block : Block) =
                { block with
                    content =
                        block.content
                        |> SpiralSm.split "\n"
                        |> Array.fold
                            (fun (lines, isMultiline) line ->
                                let trimmedLine = line |> SpiralSm.trim
                                if trimmedLine = ""
                                then "" :: lines, isMultiline
                                else
                                    let inline singleQuoteLine () =
                                        trimmedLine |> Seq.sumBy ((=) '"' >> 
System.Convert.ToInt32) = 1
                                        && trimmedLine |> SpiralSm.contains 
@"'""'" |> not
                                        && trimmedLine |> SpiralSm.ends_with "{"
|> not
                                        && trimmedLine |> SpiralSm.ends_with 
"{|" |> not
                                        && trimmedLine |> SpiralSm.starts_with 
"}" |> not
                                        && trimmedLine |> SpiralSm.starts_with 
"|}" |> not

                                    match isMultiline, trimmedLine |> 
SpiralSm.split_string [[| $"{q}{q}{q}" |]] with
                                    | false, [[| _; _ |]] ->
                                        $"    {line}" :: lines, true

                                    | true, [[| _; _ |]] ->
                                        line :: lines, false

                                    | false, _ when singleQuoteLine () ->
                                        $"    {line}" :: lines, true

                                    | false, _ when line |> SpiralSm.starts_with
"#" && block.magic = Fsharp ->
                                        line :: lines, false

                                    | false, _ ->
                                        $"    {line}" :: lines, false

                                    | true, _ when singleQuoteLine () && line |>
SpiralSm.starts_with "    " ->
                                        $"    {line}" :: lines, false

                                    | true, _ when singleQuoteLine () ->
                                        line :: lines, false

                                    | true, _ ->
                                        line :: lines, true
                            )
                            ([[]], false)
                        |> fst
                        |> List.rev
                        |> SpiralSm.concat "\n"
                }

            let moduleName, namespaceName =
                System.Text.RegularExpressions.Regex.Match (content, @"# (.*) 
\((.*)\)$")
                |> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value

            let moduleBlock =
                {
                    magic = Fsharp
                    content =
                        $"#if !INTERACTIVE
namespace {namespaceName}
#endif

module {moduleName} ="
                }

            blocks
            |> List.indexed
            |> List.fold
                (fun blocks (index, block) ->
                    match index with
                    | 0 -> blocks
                    | 1 -> indentBlock block :: moduleBlock :: blocks
                    | _ -> indentBlock block :: blocks
                )
                [[]]
            |> List.rev
        | _ -> blocks
        |> Result.Ok
    | Failure (errorMsg, _, _) -> Result.Error errorMsg

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

let example1 =
    $"""#!meta

{{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":
"fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}

\#!markdown

# TestModule (TestNamespace)

\#!fsharp

\#!import file.dib

\#!fsharp

\#r "nuget:Expecto"

\#!markdown

## ParserLibrary

\#!fsharp

open System

\#!markdown

## x (test)

\#!fsharp

//// ignore

let x = 1

\#!spiral

//// test

inl x = 1i32

\#!spiral

//// real

inl x = 2i32

\#!spiral

inl x = 3i32

\#!markdown

### TextInput

\#!fsharp

let str1 = "abc
def"

let str2 =
    "abc\
def"

let str3 =
    $"1{{
        1
    }}1"

let str4 =
    $"1{{({{|
        a = 1
    |}}).a}}1"

let str5 =
    "abc \
        def"

let x =
    match '"' with
    | '"' -> true
    | _ -> false

let long1 = {q}{q}{q}a{q}{q}{q}

let long2 =
    {q}{q}{q}
a
{q}{q}{q}

\#!fsharp

type Position =
    {{
#if INTERACTIVE
        line : string
#else
        line : int
#endif
        column : int
    }}"""
    |> escapeCell

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

example1
|> parse Fs
|> Result.toOption
|> Option.get
|> (formatBlocks Fs)
|> _assertEqual $"""#if !INTERACTIVE
namespace TestNamespace
#endif

module TestModule =

    /// ## ParserLibrary
    open System

    /// ### TextInput
    let str1 = "abc
def"

    let str2 =
        "abc\
def"

    let str3 =
        $"1{{
            1
        }}1"

    let str4 =
        $"1{{({{|
            a = 1
        |}}).a}}1"

    let str5 =
        "abc \
            def"

    let x =
        match '"' with
        | '"' -> true
        | _ -> false

    let long1 = {q}{q}{q}a{q}{q}{q}

    let long2 =
        {q}{q}{q}
a
{q}{q}{q}

    type Position =
        {{
#if INTERACTIVE
            line : string
#else
            line : int
#endif
            column : int
        }}
"""

╭─[ 212.10ms - stdout ]────────────────────────────────────────────────────────╮
│ "#if !INTERACTIVE                                                            │
│ namespace TestNamespace                                                      │
│ #endif                                                                       │
│                                                                              │
│ module TestModule =                                                          │
│                                                                              │
│     /// ## ParserLibrary                                                     │
│     open System                                                              │
│                                                                              │
│     /// ### TextInput                                                        │
│     let str1 = "abc                                                          │
│ def"                                                                         │
│                                                                              │
│     let str2 =                                                               │
│         "abc\                                                                │
│ def"                                                                         │
│                                                                              │
│     let str3 =                                                               │
│         $"1{                                                                 │
│             1                                                                │
│         }1"                                                                  │
│                                                                              │
│     let str4 =                                                               │
│         $"1{({|                                                              │
│             a = 1                                                            │
│         |}).a}1"                                                             │
│                                                                              │
│     let str5 =                                                               │
│         "abc \                                                               │
│             def"                                                             │
│                                                                              │
│     let x =                                                                  │
│         match '"' with                                                       │
│         | '"' -> true                                                        │
│         | _ -> false                                                         │
│                                                                              │
│     let long1 = """a"""                                                      │
│                                                                              │
│     let long2 =                                                              │
│         """                                                                  │
│ a                                                                            │
│ """                                                                          │
│                                                                              │
│     type Position =                                                          │
│         {                                                                    │
│ #if INTERACTIVE                                                              │
│             line : string                                                    │
│ #else                                                                        │
│             line : int                                                       │
│ #endif                                                                       │
│             column : int                                                     │
│         }                                                                    │
│ "                                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

example1
|> parse Md
|> Result.toOption
|> Option.get
|> (formatBlocks Md)
|> _assertEqual "# TestModule (TestNamespace)

## ParserLibrary

### TextInput
"

╭─[ 192.14ms - stdout ]────────────────────────────────────────────────────────╮
│ "# TestModule (TestNamespace)                                                │
│                                                                              │
│ ## ParserLibrary                                                             │
│                                                                              │
│ ### TextInput                                                                │
│ "                                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

example1
|> parse Spi
|> Result.toOption
|> Option.get
|> (formatBlocks Spi)
|> _assertEqual "/// # TestModule (TestNamespace)

/// ## ParserLibrary
inl x = 3i32

/// ### TextInput
"

╭─[ 202.27ms - stdout ]────────────────────────────────────────────────────────╮
│ "/// # TestModule (TestNamespace)                                            │
│                                                                              │
│ /// ## ParserLibrary                                                         │
│ inl x = 3i32                                                                 │
│                                                                              │
│ /// ### TextInput                                                            │
│ "                                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

example1
|> parse Spir
|> Result.toOption
|> Option.get
|> (formatBlocks Spir)
|> _assertEqual "/// # TestModule (TestNamespace)

/// ## ParserLibrary
inl x = 2i32

/// ### TextInput
"

╭─[ 193.34ms - stdout ]────────────────────────────────────────────────────────╮
│ "/// # TestModule (TestNamespace)                                            │
│                                                                              │
│ /// ## ParserLibrary                                                         │
│ inl x = 2i32                                                                 │
│                                                                              │
│ /// ### TextInput                                                            │
│ "                                                                            │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parseDibCode                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseDibCode output file = async {
    trace Debug
        (fun () -> "parseDibCode")
        (fun () -> $"output: {output} / file: {file} / {_locals ()}")
    let! input = file |> SpiralFileSystem.read_all_text_async
    match parse output input with
    | Result.Ok blocks -> return blocks |> formatBlocks output
    | Result.Error msg -> return failwith msg
}

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## writeDibCode                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let inline writeDibCode output path = async {
    trace Debug
        (fun () -> "writeDibCode")
        (fun () -> $"output: {output} / path: {path} / {_locals ()}")
    let! result = parseDibCode output path
    let pathDir = path |> System.IO.Path.GetDirectoryName
    let fileNameWithoutExt =
        match output, path |> System.IO.Path.GetFileNameWithoutExtension with
        | Spir, fileNameWithoutExt -> $"real_{fileNameWithoutExt}"
        | _, fileNameWithoutExt -> fileNameWithoutExt
    let outputPath = pathDir </> $"{fileNameWithoutExt}.{output |> string |> 
SpiralSm.to_lower}"
    do! result |> SpiralFileSystem.write_all_text_async outputPath
}

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments                                                                 │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
    | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]
        File of file : string * Output

    interface Argu.IArgParserTemplate with
        member s.Usage =
            match s with
            | File _ -> nameof File

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

Argu.ArgumentParser.Create<Arguments>().PrintUsage ()

╭─[ 107.29ms - return value ]──────────────────────────────────────────────────╮
│ "USAGE: dotnet-repl [--help] <file> <fs|md|spi|spir>                         │
│                                                                              │
│ FILE:                                                                        │
│                                                                              │
│     <file> <fs|md|spi|spir>                                                  │
│                           File                                               │
│                                                                              │
│ OPTIONS:                                                                     │
│                                                                              │
│     --help                display this list of options.                      │
│ "                                                                            │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main                                                                      │
╰──────────────────────────────────────────────────────────────────────────────╯

── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
    let argsMap = args |> Runtime.parseArgsMap<Arguments>

    let files =
        argsMap.[[nameof Arguments.File]]
        |> List.map (function
            | Arguments.File (path, output) -> path, output
        )

    files
    |> List.map (fun (path, output) -> path |> writeDibCode output)
    |> Async.Parallel
    |> Async.Ignore
    |> Async.runWithTimeout 30000
    |> function
        | Some () -> 0
        | None -> 1

── fsharp ──────────────────────────────────────────────────────────────────────
//// test

let args =
    System.Environment.GetEnvironmentVariable "ARGS"
    |> SpiralRuntime.split_args
    |> Result.toArray
    |> Array.collect id

match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"

╭─[ 257.17ms - return value ]──────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0                                            │
│ </pre></div><style>                                                          │
│ .dni-code-hint {                                                             │
│     font-style: italic;                                                      │
│     overflow: hidden;                                                        │
│     white-space: nowrap;                                                     │
│ }                                                                            │
│ .dni-treeview {                                                              │
│     white-space: nowrap;                                                     │
│ }                                                                            │
│ .dni-treeview td {                                                           │
│     vertical-align: top;                                                     │
│     text-align: start;                                                       │
│ }                                                                            │
│ details.dni-treeview {                                                       │
│     padding-left: 1em;                                                       │
│ }                                                                            │
│ table td {                                                                   │
│     text-align: start;                                                       │
│ }                                                                            │
│ table tr {                                                                   │
│     vertical-align: top;                                                     │
│     margin: 0em 0px;                                                         │
│ }                                                                            │
│ table tr td pre                                                              │
│ {                                                                            │
│     vertical-align: top !important;                                          │
│     margin: 0em 0px !important;                                              │
│ }                                                                            │
│ table th {                                                                   │
│     text-align: start;                                                       │
│ }                                                                            │
│ </style>                                                                     │
╰──────────────────────────────────────────────────────────────────────────────╯

╭─[ 260.85ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:07   debug #1 writeDibCode / output: Fs / path: Builder.dib       │
│ 00:00:07   debug #2 parseDibCode / output: Fs / file: Builder.dib       │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Builder.dib"])) }
00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
    "repl",
    "--exit-after-run",
    "--run",
    "c:/home/git/polyglot/apps/builder/Builder.dib",
    "--output-path",
    "c:/home/git/polyglot/apps/builder/Builder.dib.ipynb",
]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/builder/Builder.dib" --output-path "c:/home/git/polyglot/apps/builder/Builder.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ # Builder (Polyglot)                                                         │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #r 
> @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
> dard2.1/FSharp.Control.AsyncSeq.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
> 0/System.Reactive.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
> netstandard2.0/System.Reactive.Linq.dll"
> #r 
> @"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #if !INTERACTIVE
> open Lib
> #endif
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> open Common
> open SpiralFileSystem.Operators
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## buildProject                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline buildProject runtime outputDir path = async {
>     let fullPath = path |> System.IO.Path.GetFullPath
>     let fileDir = fullPath |> System.IO.Path.GetDirectoryName
>     let extension = fullPath |> System.IO.Path.GetExtension
> 
>     trace Debug
>         (fun () -> "buildProject")
>         (fun () -> $"fullPath: {fullPath} / {_locals ()}")
> 
>     match extension with
>     | ".fsproj" -> ()
>     | _ -> failwith "Invalid project file"
> 
>     let runtimes =
>         runtime
>         |> Option.map List.singleton
>         |> Option.defaultValue [[ "linux-x64"; "win-x64" ]]
> 
>     let outputDir = outputDir |> Option.defaultValue "dist"
> 
>     return!
>         runtimes
>         |> List.map (fun runtime -> async {
>             let command = $@"dotnet publish ""{path}"" --configuration Release 
> --output ""{outputDir}"" --runtime {runtime}"
>             let! exitCode, _result =
>                 SpiralRuntime.execution_options (fun x ->
>                     { x with
>                         l0 = command
>                         l6 = Some fileDir
>                     }
>                 )
>                 |> SpiralRuntime.execute_with_options_async
>             return exitCode
>         })
>         |> Async.Sequential
>         |> Async.map Array.sum
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## persistCodeProject                                                        │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline persistCodeProject packages modules name hash code = async {
>     trace Debug
>         (fun () -> "persistCodeProject")
>         (fun () -> $"packages: {packages} / modules: {modules} / name: {name} / 
> hash: {hash} / code.Length: {code |> String.length} / {_locals ()}")
> 
>     let workspaceRoot = SpiralFileSystem.get_workspace_root ()
> 
>     let targetDir =
>         let targetDir = workspaceRoot </> "target/Builder" </> name
>         match hash with
>         | Some hash -> targetDir </> "packages" </> hash
>         | None -> targetDir
>     targetDir |> System.IO.Directory.CreateDirectory |> ignore
> 
>     let filePath = targetDir </> $"{name}.fs" |> System.IO.Path.GetFullPath
>     do! code |> SpiralFileSystem.write_all_text_exists filePath
> 
>     let modulesCode =
>         modules
>         |> List.map (fun path -> $"""<Compile Include="{workspaceRoot </> path}"
> />""")
>         |> SpiralSm.concat "\n        "
> 
>     let fsprojPath = targetDir </> $"{name}.fsproj"
>     let fsprojCode = $"""<Project Sdk="Microsoft.NET.Sdk">
>     <PropertyGroup>
>         <TargetFramework>net9.0</TargetFramework>
>         <LangVersion>preview</LangVersion>
>         <RollForward>Major</RollForward>
>         <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
>         <PublishAot>false</PublishAot>
>         <PublishTrimmed>false</PublishTrimmed>
>         <PublishSingleFile>true</PublishSingleFile>
>         <SelfContained>true</SelfContained>
>         <Version>0.0.1-alpha.1</Version>
>         <OutputType>Exe</OutputType>
>     </PropertyGroup>
> 
>     <PropertyGroup Condition="$([[MSBuild]]::IsOSPlatform('FreeBSD'))">
>         <DefineConstants>_FREEBSD</DefineConstants>
>     </PropertyGroup>
> 
>     <PropertyGroup Condition="$([[MSBuild]]::IsOSPlatform('Linux'))">
>         <DefineConstants>_LINUX</DefineConstants>
>     </PropertyGroup>
> 
>     <PropertyGroup Condition="$([[MSBuild]]::IsOSPlatform('OSX'))">
>         <DefineConstants>_OSX</DefineConstants>
>     </PropertyGroup>
> 
>     <PropertyGroup Condition="$([[MSBuild]]::IsOSPlatform('Windows'))">
>         <DefineConstants>_WINDOWS</DefineConstants>
>     </PropertyGroup>
> 
>     <ItemGroup>
>         {modulesCode}
>         <Compile Include="{filePath}" />
>     </ItemGroup>
> 
>     <Import Project="{workspaceRoot}/.paket/Paket.Restore.targets" />
> </Project>
> """
>     do! fsprojCode |> SpiralFileSystem.write_all_text_exists fsprojPath
> 
>     let paketReferencesPath = targetDir </> "paket.references"
>     let paketReferencesCode =
>         "FSharp.Core" :: packages
>         |> SpiralSm.concat "\n"
>     do! paketReferencesCode |> SpiralFileSystem.write_all_text_exists 
> paketReferencesPath
> 
>     return fsprojPath
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## buildCode                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline buildCode runtime packages modules outputDir name code = async {
>     let! fsprojPath = code |> persistCodeProject packages modules name None
>     let! exitCode = fsprojPath |> buildProject runtime outputDir
>     if exitCode <> 0 then
>         let! fsprojText = fsprojPath |> SpiralFileSystem.read_all_text_async
>         trace Critical
>             (fun () -> "buildCode")
>             (fun () -> $"code: {code |> SpiralSm.ellipsis_end 400} / fsprojText:
> {fsprojText} / {_locals ()}")
>     return exitCode
> }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "1 + 1 |> ignore"
> |> buildCode None [[]] [[]] None "test1"
> |> Async.runWithTimeout 180000
> |> _assertEqual (Some 0)
> 
> ╭─[ 26.49s - stdout ]──────────────────────────────────────────────────────────╮
> │ 00:00:03   debug #1 persistCodeProject / packages: [] / modules: [] /   │
> │ name: test1 / hash:  / code.Length: 15                                       │
> │ 00:00:03   debug #2 buildProject / fullPath:                            │
> │ C:\home\git\polyglot\target\Builder\test1\test1.fsproj                       │
> │ 00:00:07   debug #1 runtime.execute_with_options_async / { options = {  │
> │ command = dotnet publish                                                     │
> │ "C:\home\git\polyglot\target/Builder\test1\test1.fsproj" --configuration     │
> │ Release --output "dist" --runtime linux-x64; cancellation_token = None;      │
> │ environment_variables = [||]; on_line = None; stdin = None; trace = true;    │
> │ working_directory = Some "C:\home\git\polyglot\target\Builder\test1" } }     │
> │ 00:00:07 verbose #2 > MSBuild version                                   │
> │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
> │ 00:00:08 verbose #3 >   Determining projects to restore...              │
> │ 00:00:23 verbose #4 >   Restored                                        │
> │ C:\home\git\polyglot\target\Builder\test1\test1.fsproj (in 14.26 sec).       │
> │ 00:00:23 verbose #5 >                                                   │
> │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
> │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
> │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
> │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
> │ C:\home\git\polyglot\target\Builder\test1\test1.fsproj]                      │
> │ 00:00:24 verbose #6 >   test1 ->                                        │
> │ C:\home\git\polyglot\target\Builder\test1\bin\Release\net9.0\linux-x64\test1 │
> │ .dll                                                                         │
> │ 00:00:26 verbose #7 >   test1 ->                                        │
> │ C:\home\git\polyglot\target\Builder\test1\dist\                              │
> │ 00:00:26   debug #8 runtime.execute_with_options_async / { exit_code =  │
> │ 0; output_length = 660 }                                                     │
> │ 00:00:26   debug #9 runtime.execute_with_options_async / { options = {  │
> │ command = dotnet publish                                                     │
> │ "C:\home\git\polyglot\target/Builder\test1\test1.fsproj" --configuration     │
> │ Release --output "dist" --runtime win-x64; cancellation_token = None;        │
> │ environment_variables = [||]; on_line = None; stdin = None; trace = true;    │
> │ working_directory = Some "C:\home\git\polyglot\target\Builder\test1" } }     │
> │ 00:00:26 verbose #10 > MSBuild version                                  │
> │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
> │ 00:00:27 verbose #11 >   Determining projects to restore...             │
> │ 00:00:28 verbose #12 >   Restored                                       │
> │ C:\home\git\polyglot\target\Builder\test1\test1.fsproj (in 434 ms).          │
> │ 00:00:28 verbose #13 >                                                  │
> │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
> │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
> │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
> │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
> │ C:\home\git\polyglot\target\Builder\test1\test1.fsproj]                      │
> │ 00:00:29 verbose #14 >   test1 ->                                       │
> │ C:\home\git\polyglot\target\Builder\test1\bin\Release\net9.0\win-x64\test1.d │
> │ ll                                                                           │
> │ 00:00:33 verbose #15 >   test1 ->                                       │
> │ C:\home\git\polyglot\target\Builder\test1\dist\                              │
> │ 00:00:33   debug #16 runtime.execute_with_options_async / { exit_code = │
> │ 0; output_length = 655 }                                                     │
> │ Some 0                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "1 + a |> ignore"
> |> buildCode None [[]] [[]] None "test2"
> |> Async.runWithTimeout 180000
> |> _assertEqual (Some 2)
> 
> ╭─[ 8.99s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:00:29   debug #3 persistCodeProject / packages: [] / modules: [] /   │
> │ name: test2 / hash:  / code.Length: 15                                       │
> │ 00:00:29   debug #4 buildProject / fullPath:                            │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fsproj                       │
> │ 00:00:33   debug #17 runtime.execute_with_options_async / { options = { │
> │ command = dotnet publish                                                     │
> │ "C:\home\git\polyglot\target/Builder\test2\test2.fsproj" --configuration     │
> │ Release --output "dist" --runtime linux-x64; cancellation_token = None;      │
> │ environment_variables = [||]; on_line = None; stdin = None; trace = true;    │
> │ working_directory = Some "C:\home\git\polyglot\target\Builder\test2" } }     │
> │ 00:00:33 verbose #18 > MSBuild version                                  │
> │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
> │ 00:00:34 verbose #19 >   Determining projects to restore...             │
> │ 00:00:35 verbose #20 >   Restored                                       │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fsproj (in 474 ms).          │
> │ 00:00:35 verbose #21 >                                                  │
> │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
> │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
> │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
> │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fsproj]                      │
> │ 00:00:37 verbose #22 >                                                  │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fs(1,5): error FS0039: The   │
> │ value or constructor 'a' is not defined. [                                   │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fsproj]                      │
> │ 00:00:38   debug #23 runtime.execute_with_options_async / { exit_code = │
> │ 1; output_length = 679 }                                                     │
> │ 00:00:38   debug #24 runtime.execute_with_options_async / { options = { │
> │ command = dotnet publish                                                     │
> │ "C:\home\git\polyglot\target/Builder\test2\test2.fsproj" --configuration     │
> │ Release --output "dist" --runtime win-x64; cancellation_token = None;        │
> │ environment_variables = [||]; on_line = None; stdin = None; trace = true;    │
> │ working_directory = Some "C:\home\git\polyglot\target\Builder\test2" } }     │
> │ 00:00:38 verbose #25 > MSBuild version                                  │
> │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
> │ 00:00:39 verbose #26 >   Determining projects to restore...             │
> │ 00:00:39 verbose #27 >   Restored                                       │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fsproj (in 450 ms).          │
> │ 00:00:40 verbose #28 >                                                  │
> │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
> │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
> │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
> │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fsproj]                      │
> │ 00:00:42 verbose #29 >                                                  │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fs(1,5): error FS0039: The   │
> │ value or constructor 'a' is not defined. [                                   │
> │ C:\home\git\polyglot\target\Builder\test2\test2.fsproj]                      │
> │ 00:00:42   debug #30 runtime.execute_with_options_async / { exit_code = │
> │ 1; output_length = 679 }                                                     │
> │ 00:00:38 critical #5 buildCode / code: 1 + a |> ignore / fsprojText:    │
> │ <Project Sdk="Microsoft.NET.Sdk">                                            │
> │     <PropertyGroup>                                                          │
> │         <TargetFramework>net9.0</TargetFramework>                            │
> │         <LangVersion>preview</LangVersion>                                   │
> │         <RollForward>Major</RollForward>                                     │
> │         <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>            │
> │         <PublishAot>false</PublishAot>                                       │
> │         <PublishTrimmed>false</PublishTrimmed>                               │
> │         <PublishSingleFile>true</PublishSingleFile>                          │
> │         <SelfContained>true</SelfContained>                                  │
> │         <Version>0.0.1-alpha.1</Version>                                     │
> │         <OutputType>Exe</OutputType>                                         │
> │     </PropertyGroup>                                                         │
> │                                                                              │
> │     <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('FreeBSD'))">        │
> │         <DefineConstants>_FREEBSD</DefineConstants>                          │
> │     </PropertyGroup>                                                         │
> │                                                                              │
> │     <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">          │
> │         <DefineConstants>_LINUX</DefineConstants>                            │
> │     </PropertyGroup>                                                         │
> │                                                                              │
> │     <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">            │
> │         <DefineConstants>_OSX</DefineConstants>                              │
> │     </PropertyGroup>                                                         │
> │                                                                              │
> │     <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">        │
> │         <DefineConstants>_WINDOWS</DefineConstants>                          │
> │     </PropertyGroup>                                                         │
> │                                                                              │
> │     <ItemGroup>                                                              │
> │                                                                              │
> │         <Compile                                                             │
> │ Include="C:\home\git\polyglot\target\Builder\test2\test2.fs" />              │
> │     </ItemGroup>                                                             │
> │                                                                              │
> │     <Import Project="C:\home\git\polyglot/.paket/Paket.Restore.targets" />   │
> │ </Project>                                                                   │
> │                                                                              │
> │ Some 2                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## readFile                                                                  │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline readFile path = async {
>     let! code = path |> SpiralFileSystem.read_all_text_async
> 
>     let code = System.Text.RegularExpressions.Regex.Replace (
>         code,
>         @"( *)(let\s+main\s+.*?\s*=)",
>         fun m -> m.Groups.[[1]].Value + "[[<EntryPoint>]]\n" + 
> m.Groups.[[1]].Value + m.Groups.[[2]].Value
>     )
> 
>     let codeTrim = code |> SpiralSm.trim_end [[||]]
>     return
>         if codeTrim |> SpiralSm.ends_with "\n()"
>         then codeTrim |> SpiralSm.slice 0 ((codeTrim |> String.length) - 3)
>         else code
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## buildFile                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline buildFile runtime packages modules path = async {
>     let fullPath = path |> System.IO.Path.GetFullPath
>     let dir = fullPath |> System.IO.Path.GetDirectoryName
>     let name = fullPath |> System.IO.Path.GetFileNameWithoutExtension
>     let! code = fullPath |> readFile
>     return! code |> buildCode runtime packages modules (dir </> "dist" |> Some) 
> name
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## persistFile                                                               │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline persistFile packages modules path = async {
>     let fullPath = path |> System.IO.Path.GetFullPath
>     let name = fullPath |> System.IO.Path.GetFileNameWithoutExtension
>     let! code = fullPath |> readFile
>     return! code |> persistCodeProject packages modules name None
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## Arguments                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> [[<RequireQualifiedAccess>]]
> type Arguments =
>     | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce>]] 
> Path of path : string
>     | [[<Argu.ArguAttributes.Unique>]] Packages of packages : string list
>     | [[<Argu.ArguAttributes.Unique>]] Modules of modules : string list
>     | [[<Argu.ArguAttributes.Unique>]] Runtime of runtime : string
>     | [[<Argu.ArguAttributes.Unique>]] Persist_Only
> 
>     interface Argu.IArgParserTemplate with
>         member s.Usage =
>             match s with
>             | Path _ -> nameof Path
>             | Packages _ -> nameof Packages
>             | Modules _ -> nameof Modules
>             | Runtime _ -> nameof Runtime
>             | Persist_Only -> nameof Persist_Only
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
> 
> ╭─[ 159.18ms - return value ]──────────────────────────────────────────────────╮
> │ "USAGE: dotnet-repl [--help] [--packages [<packages>...]]                    │
> │                    [--modules [<modules>...]] [--runtime <runtime>]          │
> │                    [--persist-only] <path>                                   │
> │                                                                              │
> │ PATH:                                                                        │
> │                                                                              │
> │     <path>                Path                                               │
> │                                                                              │
> │ OPTIONS:                                                                     │
> │                                                                              │
> │     --packages [<packages>...]                                               │
> │                           Packages                                           │
> │     --modules [<modules>...]                                                 │
> │                           Modules                                            │
> │     --runtime <runtime>   Runtime                                            │
> │     --persist-only        Persist_Only                                       │
> │     --help                display this list of options.                      │
> │ "                                                                            │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## main                                                                      │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let main args =
>     let argsMap = args |> Runtime.parseArgsMap<Arguments>
> 
>     let path =
>         match argsMap.[[nameof Arguments.Path]] with
>         | [[ Arguments.Path path ]] -> Some path
>         | _ -> None
>         |> Option.get
> 
>     let packages =
>         match argsMap |> Map.tryFind (nameof Arguments.Packages) with
>         | Some [[ Arguments.Packages packages ]] -> packages
>         | _ -> [[]]
> 
>     let modules =
>         match argsMap |> Map.tryFind (nameof Arguments.Modules) with
>         | Some [[ Arguments.Modules modules ]] -> modules
>         | _ -> [[]]
> 
>     let runtime =
>         match argsMap |> Map.tryFind (nameof Arguments.Runtime) with
>         | Some [[ Arguments.Runtime runtime ]] -> Some runtime
>         | _ -> None
> 
>     let persistOnly = argsMap |> Map.containsKey (nameof Arguments.Persist_Only)
> 
>     if persistOnly
>     then path |> persistFile packages modules |> Async.map (fun _ -> 0)
>     else path |> buildFile runtime packages modules
>     |> Async.runWithTimeout (60000 * 60)
>     |> function
>         | Some exitCode -> exitCode
>         | None -> 1
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let args =
>     System.Environment.GetEnvironmentVariable "ARGS"
>     |> SpiralRuntime.split_args
>     |> Result.toArray
>     |> Array.collect id
> 
> match args with
> | [[||]] -> 0
> | args -> if main args = 0 then 0 else failwith "main failed"
> 
> ╭─[ 40.87s - return value ]────────────────────────────────────────────────────╮
> │ <div class="dni-plaintext"><pre>0                                            │
> │ </pre></div><style>                                                          │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 40.87s - stdout ]──────────────────────────────────────────────────────────╮
> │ 00:00:39   debug #6 persistCodeProject / packages: [Argu;               │
> │ FSharp.Control.AsyncSeq; System.Reactive.Linq] / modules: [                  │
> │ lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] /     │
> │ name: Builder / hash:  / code.Length: 8210                                   │
> │ 00:00:40   debug #7 buildProject / fullPath:                            │
> │ C:\home\git\polyglot\target\Builder\Builder\Builder.fsproj                   │
> │ 00:00:43   debug #31 runtime.execute_with_options_async / { options = { │
> │ command = dotnet publish                                                     │
> │ "C:\home\git\polyglot\target/Builder\Builder\Builder.fsproj" --configuration │
> │ Release --output "C:\home\git\polyglot\apps\builder\dist" --runtime          │
> │ linux-x64; cancellation_token = None; environment_variables = [||]; on_line  │
> │ = None; stdin = None; trace = true; working_directory = Some                 │
> │ "C:\home\git\polyglot\target\Builder\Builder" } }                            │
> │ 00:00:43 verbose #32 > MSBuild version                                  │
> │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
> │ 00:00:44 verbose #33 >   Determining projects to restore...             │
> │ 00:00:45 verbose #34 >   Restored                                       │
> │ C:\home\git\polyglot\target\Builder\Builder\Builder.fsproj (in 503 ms).      │
> │ 00:00:45 verbose #35 >                                                  │
> │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
> │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
> │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
> │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
> │ C:\home\git\polyglot\target\Builder\Builder\Builder.fsproj]                  │
> │ 00:01:01 verbose #36 >   Builder ->                                     │
> │ C:\home\git\polyglot\target\Builder\Builder\bin\Release\net9.0\linux-x64\Bui │
> │ lder.dll                                                                     │
> │ 00:01:02 verbose #37 >   Builder ->                                     │
> │ C:\home\git\polyglot\apps\builder\dist\                                      │
> │ 00:01:02   debug #38 runtime.execute_with_options_async / { exit_code = │
> │ 0; output_length = 665 }                                                     │
> │ 00:01:02   debug #39 runtime.execute_with_options_async / { options = { │
> │ command = dotnet publish                                                     │
> │ "C:\home\git\polyglot\target/Builder\Builder\Builder.fsproj" --configuration │
> │ Release --output "C:\home\git\polyglot\apps\builder\dist" --runtime win-x64; │
> │ cancellation_token = None; environment_variables = [||]; on_line = None;     │
> │ stdin = None; trace = true; working_directory = Some                         │
> │ "C:\home\git\polyglot\target\Builder\Builder" } }                            │
> │ 00:01:03 verbose #40 > MSBuild version                                  │
> │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
> │ 00:01:04 verbose #41 >   Determining projects to restore...             │
> │ 00:01:04 verbose #42 >   Restored                                       │
> │ C:\home\git\polyglot\target\Builder\Builder\Builder.fsproj (in 509 ms).      │
> │ 00:01:05 verbose #43 >                                                  │
> │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
> │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
> │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
> │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
> │ C:\home\git\polyglot\target\Builder\Builder\Builder.fsproj]                  │
> │ 00:01:19 verbose #44 >   Builder ->                                     │
> │ C:\home\git\polyglot\target\Builder\Builder\bin\Release\net9.0\win-x64\Build │
> │ er.dll                                                                       │
> │ 00:01:24 verbose #45 >   Builder ->                                     │
> │ C:\home\git\polyglot\apps\builder\dist\                                      │
> │ 00:01:24   debug #46 runtime.execute_with_options_async / { exit_code = │
> │ 0; output_length = 663 }                                                     │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:42 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 34436 }
00:01:42   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
    "nbconvert",
    "c:/home/git/polyglot/apps/builder/Builder.dib.ipynb",
    "--to",
    "html",
    "--HTMLExporter.theme=dark",
]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/builder/Builder.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:45 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/builder/Builder.dib.ipynb to html
00:01:45 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:45 verbose #7 !   validate(nb)
00:01:47 verbose #8 ! [NbConvertApp] Writing 335135 bytes to c:\home\git\polyglot\apps\builder\Builder.dib.html
00:01:47 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 649 }
00:01:47   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 649 }
00:01:47   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
    "-c",
    "$counter = 1; $path = 'c:/home/git/polyglot/apps/builder/Builder.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/builder/Builder.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:48 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:01:48   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:01:49   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 35144 }
In [ ]:
{ pwsh ../apps/spiral/builder/build.ps1 -SkipFsx 1 } | Invoke-Block
00:00:00   debug #1 persistCodeProject / packages: [Fable.Core] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: spiral_builder / hash:  / code.Length: 1640805
targetDir: C:\home\git\polyglot\target\Builder\spiral_builder
Fable 4.19.3: F# to Rust compiler (status: alpha)

Thanks to the contributor! @oopbase
Stand with Ukraine! https://standwithukraine.com.ua/

Parsing target\Builder\spiral_builder\spiral_builder.fsproj...
Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.
Project and references (14 source files) parsed in 270ms

Started Fable compilation...

Fable compilation finished in 23006ms

.\lib\spiral\async_.fsx(76,0): (76,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\threading.fsx(145,0): (145,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\date_time.fsx(1012,0): (1012,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(1300,0): (1300,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\crypto.fsx(1391,0): (1391,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\sm.fsx(414,0): (414,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\platform.fsx(104,0): (104,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(4639,0): (4639,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(1333,0): (1333,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(6776,0): (6776,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(10817,0): (10817,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
   Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
   Compiling spiral_builder v0.0.1 (C:\home\git\polyglot\apps\spiral\builder)
    Finished `release` profile [optimized] target(s) in 39.87s
     Running unittests spiral_builder.rs (C:\home\git\polyglot\workspace\target\release\deps\spiral_builder-26021c3efad21c2f.exe)

running 1 test
test module_7e2cd9e0::Spiral_builder::verify_app ... ok

successes:

successes:
    module_7e2cd9e0::Spiral_builder::verify_app

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
   Compiling spiral_builder v0.0.1 (C:\home\git\polyglot\apps\spiral\builder)
error: failed to remove file `C:\home\git\polyglot\workspace\target\release\spiral_builder.exe`

Caused by:
  Access is denied. (os error 5)

# Invoke-Block / $retry: 1/1 / $Location:  / Get-Location: C:\home\git\polyglot\apps\spiral\builder / $OnError: Continue / $exitcode: 101 / $EnvVars: {
  "PATH": "C:\\Users\\i574n\\scoop\\apps\\pwsh\\current;C:\\Program Files\\NVIDIA\\CUDNN\\v9.1\\bin;C:\\ProgramData\\scoop\\shims;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\dotnet\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Perforce;C:\\Program Files\\Wasmtime\\bin;C:\\Program Files\\Perforce\\;C:\\Users\\i574n\\scoop\\apps\\vscode-insiders\\current\\bin;C:\\Users\\i574n\\scoop\\apps\\python\\current\\Scripts;C:\\Users\\i574n\\scoop\\apps\\python\\current\\.;C:\\Users\\i574n\\scoop\\apps\\elixir\\current\\bin;C:\\Users\\i574n\\scoop\\apps\\rustup\\current\\.cargo\\bin;C:\\Users\\i574n\\scoop\\apps\\latex\\current\\texmfs\\install\\miktex\\bin\\x64;C:\\Users\\i574n\\scoop\\apps\\dotnet-sdk-preview\\current;C:\\Users\\i574n\\scoop\\apps\\dotnet-sdk\\current;C:\\Users\\i574n\\scoop\\apps\\gsudo\\current;C:\\Users\\i574n\\scoop\\apps\\python\\current;C:\\Users\\i574n\\scoop\\apps\\nircmd\\current;C:\\Users\\i574n\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\i574n/scoop/buckets/mold/home/windows/path;C:\\Users\\i574n/scoop/persist/rustup/.cargo/bin;C:\\Users\\i574n/scoop/apps/nvm/current/nodejs/nodejs;C:\\Users\\i574n/scoop/apps/cygwin/current/root/bin;C:\\Users\\i574n\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\i574n\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\i574n\\.bun\\bin;C:\\Users\\i574n\\.dotnet\\tools;C:\\Users\\i574n\\scoop\\shims;C:\\Users\\i574n\\.fly\\bin;C:\\Program Files\\Wasmtime\\bin;C:\\Users\\i574n/.cargo/bin;C:\\Users\\i574n/.bun/bin;C:\\Users\\i574n/.cargo/bin;C:\\Users\\i574n/.bun/bin;C:\\Users\\i574n/.cargo/bin;C:\\Users\\i574n/.bun/bin"
} / $Error: '' / $ScriptBlock:
'cargo build --release'

In [ ]:
{ pwsh ../apps/parser/build.ps1 } | Invoke-Block
00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "DibParser.dib"])) }
00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
    "repl",
    "--exit-after-run",
    "--run",
    "c:/home/git/polyglot/apps/parser/DibParser.dib",
    "--output-path",
    "c:/home/git/polyglot/apps/parser/DibParser.dib.ipynb",
]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/parser/DibParser.dib" --output-path "c:/home/git/polyglot/apps/parser/DibParser.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ # DibParser (Polyglot)                                                       │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #r 
> @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
> dard2.1/FSharp.Control.AsyncSeq.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
> 0/System.Reactive.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
> netstandard2.0/System.Reactive.Linq.dll"
> #r 
> @"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
> #r 
> @"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
> arsec.dll"
> #r 
> @"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
> arsecCS.dll"
> 
> ── pwsh ────────────────────────────────────────────────────────────────────────
> ls ~/.nuget/packages/argu
> 
> ╭─[ 709.13ms - stdout ]────────────────────────────────────────────────────────╮
> │                                                                              │
> │     Directory: C:\Users\i574n\.nuget\packages\argu                           │
> │                                                                              │
> │ Mode                 LastWriteTime         Length[     │
> │ 32;1m Name                                                                 │
> │ ----                 -------------         ------ [      │
> │ 32;1m----                                                                  │
> │ d----          2023-05-17  3:38 PM                6.1.1               │
> │ d----          2024-03-12  8:22 PM                6.1.4               │
> │ d----          2024-01-29  5:12 PM                6.1.5               │
> │ d----          2024-03-12  8:20 PM                6.2.0               │
> │ d----          2024-02-23  6:50 PM                6.2.1               │
> │ d----          2024-03-12  8:15 PM                6.2.2               │
> │ d----          2024-05-14  8:20 PM                6.2.3               │
> │ d----          2024-06-06  7:37 PM                6.2.4               │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #if !INTERACTIVE
> open Lib
> #endif
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> open Common
> open FParsec
> open SpiralFileSystem.Operators
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## escapeCell (test)                                                         │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let inline escapeCell input =
>     input
>     |> SpiralSm.split "\n"
>     |> Array.map (function
>         | line when line |> SpiralSm.starts_with "\\#!" || line |> 
> SpiralSm.starts_with "\\#r" ->
>             System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")
>         | line -> line
>     )
>     |> SpiralSm.concat "\n"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> $"a{nl}\\#!magic{nl}b{nl}"
> |> escapeCell
> |> _assertEqual (
>     $"a{nl}#!magic{nl}b{nl}"
> )
> 
> ╭─[ 81.31ms - stdout ]─────────────────────────────────────────────────────────╮
> │ "a                                                                           │
> │ #!magic                                                                      │
> │ b                                                                            │
> │ "                                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## magicMarker                                                               │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let magicMarker : Parser<string, unit> = pstring "#!"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "#!magic"
> |> run magicMarker
> |> _assertEqual (
>     Success ("#!", (), Position ("", 2, 1, 3))
> )
> 
> ╭─[ 62.64ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success: "#!"                                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "##!magic"
> |> run magicMarker
> |> _assertEqual (
>     Failure (
>         $"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",
>         ParserError (
>             Position ("", 0, 1, 1),
>             (),
>             ErrorMessageList (ExpectedString "#!")
>         ),
>         ()
>     )
> )
> 
> ╭─[ 57.08ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Failure:                                                                     │
> │ Error in Ln: 1 Col: 1                                                        │
> │ ##!magic                                                                     │
> │ ^                                                                            │
> │ Expecting: '#!'                                                              │
> │                                                                              │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## magicCommand                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let magicCommand =
>     magicMarker
>     >>. manyTill anyChar newline
>     |>> (System.String.Concat >> SpiralSm.trim)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "#!magic
> 
> a"
> |> run magicCommand
> |> _assertEqual (
>     Success ("magic", (), Position ("", 8, 2, 1))
> )
> 
> ╭─[ 60.91ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success: "magic"                                                             │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> " #!magic
> 
> a"
> |> run magicCommand
> |> _assertEqual (
>     Failure (
>         $"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",
>         ParserError (
>             Position ("", 0, 1, 1),
>             (),
>             ErrorMessageList (ExpectedString "#!")
>         ),
>         ()
>     )
> )
> 
> ╭─[ 37.41ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Failure:                                                                     │
> │ Error in Ln: 1 Col: 1                                                        │
> │  #!magic                                                                     │
> │ ^                                                                            │
> │ Expecting: '#!'                                                              │
> │                                                                              │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## content                                                                   │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let content =
>     (newline >>. magicMarker) <|> (eof >>. preturn "")
>     |> attempt
>     |> lookAhead
>     |> manyTill anyChar
>     |>> (System.String.Concat >> SpiralSm.trim)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "#!magic
> 
> 
> a
> 
> 
> "
> |> run content
> |> _assertEqual (
>     Success ("#!magic
> 
> 
> a", (), Position ("", 14, 7, 1))
> )
> 
> ╭─[ 50.24ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success: "#!magic                                                            │
> │                                                                              │
> │                                                                              │
> │ a"                                                                           │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## Output                                                                    │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type Output =
>     | Fs
>     | Md
>     | Spi
>     | Spir
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## Magic                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type Magic =
>     | Fsharp
>     | Markdown
>     | Spiral of Output
>     | Magic of string
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## kernelOutputs                                                             │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline kernelOutputs magic =
>     match magic with
>     | Fsharp -> [[ Fs ]]
>     | Markdown -> [[ Md ]]
>     | Spiral output -> [[ output ]]
>     | _ -> [[]]
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## Block                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type Block =
>     {
>         magic : Magic
>         content : string
>     }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## block                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let block =
>     pipe2
>         magicCommand
>         content
>         (fun magic content ->
>             let magic, content =
>                 match magic with
>                 | "fsharp" -> Fsharp, content
>                 | "markdown" -> Markdown, content
>                 | "spiral" ->
>                     let output = if content |> SpiralSm.contains "//// real\n" 
> then Spir else Spi
>                     let content =
>                         if output = Spi
>                         then content
>                         else
>                             content
>                             |> SpiralSm.replace "//// real\n\n" ""
>                             |> SpiralSm.replace "//// real\n" ""
>                     Spiral output, content
>                 | magic -> magic |> Magic, content
>             {
>                 magic = magic
>                 content = content
>             })
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "#!magic
> 
> 
> a
> 
> 
> "
> |> run block
> |> _assertEqual (
>     Success (
>         { magic = Magic "magic"; content = "a" },
>         (),
>         Position ("", 14, 7, 1)
>     )
> )
> 
> ╭─[ 68.41ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success: { magic = Magic "magic"                                             │
> │   content = "a" }                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## blocks                                                                    │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let blocks =
>     skipMany newline
>     >>. sepEndBy block (skipMany1 newline)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> 
> "#!magic1
> 
> a
> 
> \#!magic2
> 
> b
> 
> "
> |> escapeCell
> |> run blocks
> |> _assertEqual (
>     Success (
>         [[
>             { magic = Magic "magic1"; content = "a" }
>             { magic = Magic "magic2"; content = "b" }
>         ]],
>         (),
>         Position ("", 26, 9, 1)
>     )
> )
> 
> ╭─[ 60.15ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success: [{ magic = Magic "magic1"                                           │
> │    content = "a" }; { magic = Magic "magic2"                                 │
> │                       content = "b" }]                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## formatBlock                                                               │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline formatBlock output (block : Block) =
>     match output, block with
>     | output, { magic = Markdown; content = content } ->
>         let markdownComment =
>             match output with
>             | Spi | Spir -> "/// "
>             | Fs -> "/// "
>             | _ -> ""
>         content
>         |> SpiralSm.split "\n"
>         |> Array.map (SpiralSm.trim_end [[||]])
>         |> Array.filter (SpiralSm.ends_with " (test)" >> not)
>         |> Array.map (function
>             | "" -> markdownComment
>             | line -> System.Text.RegularExpressions.Regex.Replace (line, 
> "^\\s*", $"$&{markdownComment}")
>         )
>         |> SpiralSm.concat "\n"
>     | Fs, { magic = Fsharp; content = content } ->
>         let trimmedContent = content |> SpiralSm.trim
>         if trimmedContent |> SpiralSm.contains "//// test\n"
>             || trimmedContent |> SpiralSm.contains "//// ignore\n"
>         then ""
>         else
>             content
>             |> SpiralSm.split "\n"
>             |> Array.filter (SpiralSm.trim_start [[||]] >> SpiralSm.starts_with 
> "#r" >> not)
>             |> SpiralSm.concat "\n"
>     | (Spi | Spir), { magic = Spiral output'; content = content } when output' =
> output ->
>         let trimmedContent = content |> SpiralSm.trim
>         if trimmedContent |> SpiralSm.contains "//// test\n"
>             || trimmedContent |> SpiralSm.contains "//// ignore\n"
>         then ""
>         else content
>     | _ -> ""
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "#!markdown
> 
> 
> a
> 
>     b
> 
> c
> 
> 
> \#!markdown
> 
> 
> c
> 
> 
> \#!fsharp
> 
> 
> let a = 1"
> |> escapeCell
> |> run block
> |> function
>     | Success (block, _, _) -> formatBlock Fs block
>     | Failure (msg, _, _) -> failwith msg
> |> _assertEqual "/// a
> /// 
>     /// b
> /// 
> /// c"
> 
> ╭─[ 100.74ms - stdout ]────────────────────────────────────────────────────────╮
> │ "/// a                                                                       │
> │ ///                                                                          │
> │     /// b                                                                    │
> │ ///                                                                          │
> │ /// c"                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## formatBlocks                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline formatBlocks output blocks =
>     blocks
>     |> List.map (fun block ->
>         block, formatBlock output block
>     )
>     |> List.filter (snd >> (<>) "")
>     |> fun list ->
>         (list, (None, [[]]))
>         ||> List.foldBack (fun (block, content) (lastMagic, acc) ->
>             let lineBreak =
>                 if block.magic = Markdown && lastMagic <> Some Markdown && 
> lastMagic <> None
>                 then ""
>                 else "\n"
>             Some block.magic, $"{content}{lineBreak}" :: acc
>         )
>     |> snd
>     |> SpiralSm.concat "\n"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> "#!markdown
> 
> 
> a
> 
> b
> 
> 
> \#!markdown
> 
> 
> c
> 
> 
> \#!fsharp
> 
> 
> let a = 1
> 
> \#!markdown
> 
> d (test)
> 
> \#!fsharp
> 
> //// test
> 
> let a = 2
> 
> \#!markdown
> 
> e
> 
> \#!fsharp
> 
> let a = 3"
> |> escapeCell
> |> run blocks
> |> function
>     | Success (blocks, _, _) -> formatBlocks Fs blocks
>     | Failure (msg, _, _) -> failwith msg
> |> _assertEqual "/// a
> /// 
> /// b
> 
> /// c
> let a = 1
> 
> /// e
> let a = 3
> "
> 
> ╭─[ 98.56ms - stdout ]─────────────────────────────────────────────────────────╮
> │ "/// a                                                                       │
> │ ///                                                                          │
> │ /// b                                                                        │
> │                                                                              │
> │ /// c                                                                        │
> │ let a = 1                                                                    │
> │                                                                              │
> │ /// e                                                                        │
> │ let a = 3                                                                    │
> │ "                                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## parse                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline parse output input =
>     match run blocks input with
>     | Success (blocks, _, _) ->
>         let blocks =
>             blocks
>             |> List.filter (fun block ->
>                 block.magic |> kernelOutputs |> List.contains output || 
> block.magic = Markdown
>             )
> 
>         match blocks with
>         | { magic = Markdown; content = content } :: _
>             when output = Fs
>             && content |> SpiralSm.starts_with "# "
>             && content |> SpiralSm.ends_with ")"
>             ->
>             let inline indentBlock (block : Block) =
>                 { block with
>                     content =
>                         block.content
>                         |> SpiralSm.split "\n"
>                         |> Array.fold
>                             (fun (lines, isMultiline) line ->
>                                 let trimmedLine = line |> SpiralSm.trim
>                                 if trimmedLine = ""
>                                 then "" :: lines, isMultiline
>                                 else
>                                     let inline singleQuoteLine () =
>                                         trimmedLine |> Seq.sumBy ((=) '"' >> 
> System.Convert.ToInt32) = 1
>                                         && trimmedLine |> SpiralSm.contains 
> @"'""'" |> not
>                                         && trimmedLine |> SpiralSm.ends_with "{"
> |> not
>                                         && trimmedLine |> SpiralSm.ends_with 
> "{|" |> not
>                                         && trimmedLine |> SpiralSm.starts_with 
> "}" |> not
>                                         && trimmedLine |> SpiralSm.starts_with 
> "|}" |> not
> 
>                                     match isMultiline, trimmedLine |> 
> SpiralSm.split_string [[| $"{q}{q}{q}" |]] with
>                                     | false, [[| _; _ |]] ->
>                                         $"    {line}" :: lines, true
> 
>                                     | true, [[| _; _ |]] ->
>                                         line :: lines, false
> 
>                                     | false, _ when singleQuoteLine () ->
>                                         $"    {line}" :: lines, true
> 
>                                     | false, _ when line |> SpiralSm.starts_with
> "#" && block.magic = Fsharp ->
>                                         line :: lines, false
> 
>                                     | false, _ ->
>                                         $"    {line}" :: lines, false
> 
>                                     | true, _ when singleQuoteLine () && line |>
> SpiralSm.starts_with "    " ->
>                                         $"    {line}" :: lines, false
> 
>                                     | true, _ when singleQuoteLine () ->
>                                         line :: lines, false
> 
>                                     | true, _ ->
>                                         line :: lines, true
>                             )
>                             ([[]], false)
>                         |> fst
>                         |> List.rev
>                         |> SpiralSm.concat "\n"
>                 }
> 
>             let moduleName, namespaceName =
>                 System.Text.RegularExpressions.Regex.Match (content, @"# (.*) 
> \((.*)\)$")
>                 |> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value
> 
>             let moduleBlock =
>                 {
>                     magic = Fsharp
>                     content =
>                         $"#if !INTERACTIVE
> namespace {namespaceName}
> #endif
> 
> module {moduleName} ="
>                 }
> 
>             blocks
>             |> List.indexed
>             |> List.fold
>                 (fun blocks (index, block) ->
>                     match index with
>                     | 0 -> blocks
>                     | 1 -> indentBlock block :: moduleBlock :: blocks
>                     | _ -> indentBlock block :: blocks
>                 )
>                 [[]]
>             |> List.rev
>         | _ -> blocks
>         |> Result.Ok
>     | Failure (errorMsg, _, _) -> Result.Error errorMsg
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let example1 =
>     $"""#!meta
> 
> {{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":
> "fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}
> 
> \#!markdown
> 
> # TestModule (TestNamespace)
> 
> \#!fsharp
> 
> \#!import file.dib
> 
> \#!fsharp
> 
> \#r "nuget:Expecto"
> 
> \#!markdown
> 
> ## ParserLibrary
> 
> \#!fsharp
> 
> open System
> 
> \#!markdown
> 
> ## x (test)
> 
> \#!fsharp
> 
> //// ignore
> 
> let x = 1
> 
> \#!spiral
> 
> //// test
> 
> inl x = 1i32
> 
> \#!spiral
> 
> //// real
> 
> inl x = 2i32
> 
> \#!spiral
> 
> inl x = 3i32
> 
> \#!markdown
> 
> ### TextInput
> 
> \#!fsharp
> 
> let str1 = "abc
> def"
> 
> let str2 =
>     "abc\
> def"
> 
> let str3 =
>     $"1{{
>         1
>     }}1"
> 
> let str4 =
>     $"1{{({{|
>         a = 1
>     |}}).a}}1"
> 
> let str5 =
>     "abc \
>         def"
> 
> let x =
>     match '"' with
>     | '"' -> true
>     | _ -> false
> 
> let long1 = {q}{q}{q}a{q}{q}{q}
> 
> let long2 =
>     {q}{q}{q}
> a
> {q}{q}{q}
> 
> \#!fsharp
> 
> type Position =
>     {{
> #if INTERACTIVE
>         line : string
> #else
>         line : int
> #endif
>         column : int
>     }}"""
>     |> escapeCell
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> example1
> |> parse Fs
> |> Result.toOption
> |> Option.get
> |> (formatBlocks Fs)
> |> _assertEqual $"""#if !INTERACTIVE
> namespace TestNamespace
> #endif
> 
> module TestModule =
> 
>     /// ## ParserLibrary
>     open System
> 
>     /// ### TextInput
>     let str1 = "abc
> def"
> 
>     let str2 =
>         "abc\
> def"
> 
>     let str3 =
>         $"1{{
>             1
>         }}1"
> 
>     let str4 =
>         $"1{{({{|
>             a = 1
>         |}}).a}}1"
> 
>     let str5 =
>         "abc \
>             def"
> 
>     let x =
>         match '"' with
>         | '"' -> true
>         | _ -> false
> 
>     let long1 = {q}{q}{q}a{q}{q}{q}
> 
>     let long2 =
>         {q}{q}{q}
> a
> {q}{q}{q}
> 
>     type Position =
>         {{
> #if INTERACTIVE
>             line : string
> #else
>             line : int
> #endif
>             column : int
>         }}
> """
> 
> ╭─[ 276.06ms - stdout ]────────────────────────────────────────────────────────╮
> │ "#if !INTERACTIVE                                                            │
> │ namespace TestNamespace                                                      │
> │ #endif                                                                       │
> │                                                                              │
> │ module TestModule =                                                          │
> │                                                                              │
> │     /// ## ParserLibrary                                                     │
> │     open System                                                              │
> │                                                                              │
> │     /// ### TextInput                                                        │
> │     let str1 = "abc                                                          │
> │ def"                                                                         │
> │                                                                              │
> │     let str2 =                                                               │
> │         "abc\                                                                │
> │ def"                                                                         │
> │                                                                              │
> │     let str3 =                                                               │
> │         $"1{                                                                 │
> │             1                                                                │
> │         }1"                                                                  │
> │                                                                              │
> │     let str4 =                                                               │
> │         $"1{({|                                                              │
> │             a = 1                                                            │
> │         |}).a}1"                                                             │
> │                                                                              │
> │     let str5 =                                                               │
> │         "abc \                                                               │
> │             def"                                                             │
> │                                                                              │
> │     let x =                                                                  │
> │         match '"' with                                                       │
> │         | '"' -> true                                                        │
> │         | _ -> false                                                         │
> │                                                                              │
> │     let long1 = """a"""                                                      │
> │                                                                              │
> │     let long2 =                                                              │
> │         """                                                                  │
> │ a                                                                            │
> │ """                                                                          │
> │                                                                              │
> │     type Position =                                                          │
> │         {                                                                    │
> │ #if INTERACTIVE                                                              │
> │             line : string                                                    │
> │ #else                                                                        │
> │             line : int                                                       │
> │ #endif                                                                       │
> │             column : int                                                     │
> │         }                                                                    │
> │ "                                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> example1
> |> parse Md
> |> Result.toOption
> |> Option.get
> |> (formatBlocks Md)
> |> _assertEqual "# TestModule (TestNamespace)
> 
> ## ParserLibrary
> 
> ### TextInput
> "
> 
> ╭─[ 210.67ms - stdout ]────────────────────────────────────────────────────────╮
> │ "# TestModule (TestNamespace)                                                │
> │                                                                              │
> │ ## ParserLibrary                                                             │
> │                                                                              │
> │ ### TextInput                                                                │
> │ "                                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> example1
> |> parse Spi
> |> Result.toOption
> |> Option.get
> |> (formatBlocks Spi)
> |> _assertEqual "/// # TestModule (TestNamespace)
> 
> /// ## ParserLibrary
> inl x = 3i32
> 
> /// ### TextInput
> "
> 
> ╭─[ 228.44ms - stdout ]────────────────────────────────────────────────────────╮
> │ "/// # TestModule (TestNamespace)                                            │
> │                                                                              │
> │ /// ## ParserLibrary                                                         │
> │ inl x = 3i32                                                                 │
> │                                                                              │
> │ /// ### TextInput                                                            │
> │ "                                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> example1
> |> parse Spir
> |> Result.toOption
> |> Option.get
> |> (formatBlocks Spir)
> |> _assertEqual "/// # TestModule (TestNamespace)
> 
> /// ## ParserLibrary
> inl x = 2i32
> 
> /// ### TextInput
> "
> 
> ╭─[ 224.80ms - stdout ]────────────────────────────────────────────────────────╮
> │ "/// # TestModule (TestNamespace)                                            │
> │                                                                              │
> │ /// ## ParserLibrary                                                         │
> │ inl x = 2i32                                                                 │
> │                                                                              │
> │ /// ### TextInput                                                            │
> │ "                                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## parseDibCode                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline parseDibCode output file = async {
>     trace Debug
>         (fun () -> "parseDibCode")
>         (fun () -> $"output: {output} / file: {file} / {_locals ()}")
>     let! input = file |> SpiralFileSystem.read_all_text_async
>     match parse output input with
>     | Result.Ok blocks -> return blocks |> formatBlocks output
>     | Result.Error msg -> return failwith msg
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## writeDibCode                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline writeDibCode output path = async {
>     trace Debug
>         (fun () -> "writeDibCode")
>         (fun () -> $"output: {output} / path: {path} / {_locals ()}")
>     let! result = parseDibCode output path
>     let pathDir = path |> System.IO.Path.GetDirectoryName
>     let fileNameWithoutExt =
>         match output, path |> System.IO.Path.GetFileNameWithoutExtension with
>         | Spir, fileNameWithoutExt -> $"real_{fileNameWithoutExt}"
>         | _, fileNameWithoutExt -> fileNameWithoutExt
>     let outputPath = pathDir </> $"{fileNameWithoutExt}.{output |> string |> 
> SpiralSm.to_lower}"
>     do! result |> SpiralFileSystem.write_all_text_async outputPath
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## Arguments                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> [[<RequireQualifiedAccess>]]
> type Arguments =
>     | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]
>         File of file : string * Output
> 
>     interface Argu.IArgParserTemplate with
>         member s.Usage =
>             match s with
>             | File _ -> nameof File
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
> 
> ╭─[ 125.08ms - return value ]──────────────────────────────────────────────────╮
> │ "USAGE: dotnet-repl [--help] <file> <fs|md|spi|spir>                         │
> │                                                                              │
> │ FILE:                                                                        │
> │                                                                              │
> │     <file> <fs|md|spi|spir>                                                  │
> │                           File                                               │
> │                                                                              │
> │ OPTIONS:                                                                     │
> │                                                                              │
> │     --help                display this list of options.                      │
> │ "                                                                            │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## main                                                                      │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let main args =
>     let argsMap = args |> Runtime.parseArgsMap<Arguments>
> 
>     let files =
>         argsMap.[[nameof Arguments.File]]
>         |> List.map (function
>             | Arguments.File (path, output) -> path, output
>         )
> 
>     files
>     |> List.map (fun (path, output) -> path |> writeDibCode output)
>     |> Async.Parallel
>     |> Async.Ignore
>     |> Async.runWithTimeout 30000
>     |> function
>         | Some () -> 0
>         | None -> 1
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let args =
>     System.Environment.GetEnvironmentVariable "ARGS"
>     |> SpiralRuntime.split_args
>     |> Result.toArray
>     |> Array.collect id
> 
> match args with
> | [[||]] -> 0
> | args -> if main args = 0 then 0 else failwith "main failed"
> 
> ╭─[ 236.49ms - return value ]──────────────────────────────────────────────────╮
> │ <div class="dni-plaintext"><pre>0                                            │
> │ </pre></div><style>                                                          │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 240.65ms - stdout ]────────────────────────────────────────────────────────╮
> │ 00:00:08   debug #1 writeDibCode / output: Fs / path: DibParser.dib     │
> │ 00:00:08   debug #2 parseDibCode / output: Fs / file: DibParser.dib     │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 44158 }
00:00:33   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
    "nbconvert",
    "c:/home/git/polyglot/apps/parser/DibParser.dib.ipynb",
    "--to",
    "html",
    "--HTMLExporter.theme=dark",
]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/parser/DibParser.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:36 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/parser/DibParser.dib.ipynb to html
00:00:36 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:36 verbose #7 !   validate(nb)
00:00:38 verbose #8 ! [NbConvertApp] Writing 378847 bytes to c:\home\git\polyglot\apps\parser\DibParser.dib.html
00:00:39 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 651 }
00:00:39   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 651 }
00:00:39   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
    "-c",
    "$counter = 1; $path = 'c:/home/git/polyglot/apps/parser/DibParser.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/parser/DibParser.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:40 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:00:40   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:00:41   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 44868 }
00:00:00   debug #1 persistCodeProject / packages: [Argu; FParsec; FSharp.Control.AsyncSeq; ... ] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: DibParser / hash:  / code.Length: 10861
00:00:00   debug #2 buildProject / fullPath: C:\home\git\polyglot\target\Builder\DibParser\DibParser.fsproj
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\DibParser\DibParser.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\parser\dist" --runtime linux-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\DibParser" } }
00:00:01 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:02 verbose #3 >   Determining projects to restore...
00:00:03 verbose #4 >   Restored C:\home\git\polyglot\target\Builder\DibParser\DibParser.fsproj (in 570 ms).
00:00:03 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\DibParser\DibParser.fsproj]
00:00:18 verbose #6 >   DibParser -> C:\home\git\polyglot\target\Builder\DibParser\bin\Release\net9.0\linux-x64\DibParser.dll
00:00:20 verbose #7 >   DibParser -> C:\home\git\polyglot\apps\parser\dist\
00:00:20   debug #8 runtime.execute_with_options_async / { exit_code = 0; output_length = 680 }
00:00:20   debug #9 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\DibParser\DibParser.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\parser\dist" --runtime win-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\DibParser" } }
00:00:21 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:22 verbose #11 >   Determining projects to restore...
00:00:23 verbose #12 >   Restored C:\home\git\polyglot\target\Builder\DibParser\DibParser.fsproj (in 523 ms).
00:00:23 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\DibParser\DibParser.fsproj]
00:00:39 verbose #14 >   DibParser -> C:\home\git\polyglot\target\Builder\DibParser\bin\Release\net9.0\win-x64\DibParser.dll
00:00:44 verbose #15 >   DibParser -> C:\home\git\polyglot\apps\parser\dist\
00:00:44   debug #16 runtime.execute_with_options_async / { exit_code = 0; output_length = 678 }
00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "JsonParser.dib"])) }
00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
    "repl",
    "--exit-after-run",
    "--run",
    "c:/home/git/polyglot/apps/parser/JsonParser.dib",
    "--output-path",
    "c:/home/git/polyglot/apps/parser/JsonParser.dib.ipynb",
]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/parser/JsonParser.dib" --output-path "c:/home/git/polyglot/apps/parser/JsonParser.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ # JsonParser (Polyglot)                                                      │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> open Common
> open Parser
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## JsonParser                                                                │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> (*
> // --------------------------------
> JSON spec from http://www.json.org/
> // --------------------------------
> 
> The JSON spec is available at [[json.org]](http://www.json.org/). I'll paraphase
> it here:
> 
> * A `value` can be a `string` or a `number` or a `bool` or `null` or an `object`
> or an `array`.
>   * These structures can be nested.
> * A `string` is a sequence of zero or more Unicode characters, wrapped in double
> quotes, using backslash escapes.
> * A `number` is very much like a C or Java number, except that the octal and 
> hexadecimal formats are not used.
> * A `boolean` is the literal `true` or `false`
> * A `null` is the literal `null`
> * An `object` is an unordered set of name/value pairs.
>   * An object begins with { (left brace) and ends with } (right brace).
>   * Each name is followed by : (colon) and the name/value pairs are separated by
> , (comma).
> * An `array` is an ordered collection of values.
>   * An array begins with [[ (left bracket) and ends with ]] (right bracket).
>   * Values are separated by , (comma).
> * Whitespace can be inserted between any pair of tokens.
> *)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let inline parserEqual (expected : ParseResult<'a>) (actual : ParseResult<'a * 
> Input>) =
>     match actual, expected with
>     | Success (_actual, _), Success _expected ->
>         printResult actual
>         _actual |> _assertEqual _expected
>     | Failure (l1, e1, p1), Failure (l2, e2, p2) when l1 = l2 && e1 = e2 && p1 =
> p2 ->
>         printResult actual
>     | _ ->
>         printfn $"Actual: {actual}"
>         printfn $"Expected: {expected}"
>         failwith "Parse failed"
>     actual
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### JValue                                                                   │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type JValue =
>     | JString of string
>     | JNumber of float
>     | JBool   of bool
>     | JNull
>     | JObject of Map<string, JValue>
>     | JArray  of JValue list
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jValue, jValueRef = createParserForwardedToRef<JValue> ()
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jNull                                                                    │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jNull =
>     pstring "null"
>     >>% JNull
>     <?> "null"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> jValueRef <|
>     choice
>         [[
>             jNull
>         ]]
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jValue "null"
> |> parserEqual (Success JNull)
> 
> ╭─[ 322.63ms - return value ]──────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNull, { lines = [                      │
> │ |&quot;null&quot;|]<br />                  position = { line = 0<br />       │
> │ column = 4 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNull, { lines = [|&quot;null&quot;|]<br />     │
> │ position = { line = 0<br />               column = 4 }                       │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNull</code></span></summary><div><table><thead> │
> │ <tr></tr></thead><tbody><tr><td>IsJString</td><td><div                       │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;null&quot;|]<br />  position = │
> │ { line = 0<br />               column = 4 }                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ null                         │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 4                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>4                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 343.76ms - stdout ]────────────────────────────────────────────────────────╮
> │ JNull                                                                        │
> │ JNull                                                                        │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNull "nulp"
> |> parserEqual (
>     Failure (
>         "null",
>         "Unexpected 'p'",
>         { currentLine = "nulp"; line = 0; column = 3 }
>     )
> )
> 
> ╭─[ 68.70ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure (&quot;null&quot;, &quot;Unexpected      │
> │ &#39;p&#39;&quot;, { currentLine = &quot;nulp&quot;<br />                    │
> │ line = 0<br />                                     column = 3                │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;null&quot;              │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;p&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;nulp&quot;<br />  line = 0<br />  column = 3             │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;nulp&quot;         │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>3                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 74.89ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:3 Error parsing null                                              │
> │ nulp                                                                         │
> │    ^Unexpected 'p'                                                           │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jBool                                                                    │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jBool =
>     let jtrue =
>         pstring "true"
>         >>% JBool true
>     let jfalse =
>         pstring "false"
>         >>% JBool false
> 
>     jtrue <|> jfalse
>     <?> "bool"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> jValueRef <|
>     choice
>         [[
>             jNull
>             jBool
>         ]]
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jBool "true"
> |> parserEqual (Success (JBool true))
> 
> ╭─[ 74.54ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JBool true, { lines = [                 │
> │ |&quot;true&quot;|]<br />                       position = { line = 0<br />  │
> │ column = 4 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JBool true, { lines = [|&quot;true&quot;|]<br   │
> │ />  position = { line = 0<br />               column = 4 }                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JBool                                            │
> │ true</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │
> │ td>Item</td><td><div class="dni-plaintext"><pre>true                         │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;true&quot;|]<br />  position = │
> │ { line = 0<br />               column = 4 }                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ true                         │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 4                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>4                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 83.29ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JBool true                                                                   │
> │ JBool true                                                                   │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jBool "false"
> |> parserEqual (Success (JBool false))
> 
> ╭─[ 55.06ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JBool false, { lines = [                │
> │ |&quot;false&quot;|]<br />                        position = { line = 0<br   │
> │ />                                     column = 5 }                          │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JBool false, { lines = [|&quot;false&quot;|]<br │
> │ />  position = { line = 0<br />               column = 5 }                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JBool                                            │
> │ false</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr> │
> │ <td>Item</td><td><div class="dni-plaintext"><pre>false                       │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;false&quot;|]<br />  position  │
> │ = { line = 0<br />               column = 5 }                                │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ false                        │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 5                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>5                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 65.76ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JBool false                                                                  │
> │ JBool false                                                                  │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jBool "truX"
> |> parserEqual (
>     Failure (
>         "bool",
>         "Unexpected 't'",
>         { currentLine = "truX"; line = 0; column = 0 }
>     )
> )
> 
> ╭─[ 41.77ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure (&quot;bool&quot;, &quot;Unexpected      │
> │ &#39;t&#39;&quot;, { currentLine = &quot;truX&quot;<br />                    │
> │ line = 0<br />                                     column = 0                │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;bool&quot;              │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;t&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;truX&quot;<br />  line = 0<br />  column = 0             │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;truX&quot;         │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 47.69ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:0 Error parsing bool                                              │
> │ truX                                                                         │
> │ ^Unexpected 't'                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jUnescapedChar                                                           │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jUnescapedChar =
>     satisfy (fun ch -> ch <> '\\' && ch <> '\"') "char"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jUnescapedChar "a"
> |> parserEqual (Success 'a')
> 
> ╭─[ 88.35ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (&#39;a&#39;, { lines = [                │
> │ |&quot;a&quot;|]<br />                position = { line = 0<br />            │
> │ column = 1 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(a, { lines = [|&quot;a&quot;|]<br />  position  │
> │ = { line = 0<br />               column = 1 }                                │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&#39;a&#39;                   │
> │ </pre></div></td></tr><tr><td>Item2</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [  │
> │ |&quot;a&quot;|]<br />  position = { line = 0<br />               column = 1 │
> │ }                                                                            │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ a                            │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 1                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>1                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 97.34ms - stdout ]─────────────────────────────────────────────────────────╮
> │ 'a'                                                                          │
> │ 'a'                                                                          │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jUnescapedChar "\\"
> |> parserEqual (
>     Failure (
>         "char",
>         "Unexpected '\\'",
>         { currentLine = "\\"; line = 0; column = 0 }
>     )
> )
> 
> ╭─[ 55.40ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure (&quot;char&quot;, &quot;Unexpected      │
> │ &#39;\&#39;&quot;, { currentLine = &quot;\&quot;<br />                       │
> │ line = 0<br />                                     column = 0                │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;char&quot;              │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;\&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;\&quot;<br />  line = 0<br />  column = 0                │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;\&quot;            │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 61.87ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:0 Error parsing char                                              │
> │ \                                                                            │
> │ ^Unexpected '\'                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jEscapedChar                                                             │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jEscapedChar =
>     [[
>         ("\\\"",'\"')
>         ("\\\\",'\\')
>         ("\\/",'/')
>         ("\\b",'\b')
>         ("\\f",'\f')
>         ("\\n",'\n')
>         ("\\r",'\r')
>         ("\\t",'\t')
>     ]]
>     |> List.map (fun (toMatch, result) ->
>         pstring toMatch >>% result
>     )
>     |> choice
>     <?> "escaped char"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jEscapedChar "\\\\"
> |> parserEqual (Success '\\')
> 
> ╭─[ 53.88ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (&#39;\\&#39;, { lines = [               │
> │ |&quot;\\&quot;|]<br />                 position = { line = 0<br />          │
> │ column = 2 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(\, { lines = [|&quot;\\&quot;|]<br />  position │
> │ = { line = 0<br />               column = 2 }                                │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&#39;\\&#39;                  │
> │ </pre></div></td></tr><tr><td>Item2</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [  │
> │ |&quot;\\&quot;|]<br />  position = { line = 0<br />               column =  │
> │ 2 }                                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ \\                           │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 2                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>2                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 61.60ms - stdout ]─────────────────────────────────────────────────────────╮
> │ '\\'                                                                         │
> │ '\\'                                                                         │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jEscapedChar "\\t"
> |> parserEqual (Success '\t')
> 
> ╭─[ 51.24ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (&#39;\009&#39;, { lines = [             │
> │ |&quot;\t&quot;|]<br />                   position = { line = 0<br />        │
> │ column = 2 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(	, { lines = [|&quot;\t&quot;|]<br />  position = │
> │ { line = 0<br />               column = 2 }                                  │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&#39;\009&#39;                │
> │ </pre></div></td></tr><tr><td>Item2</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [  │
> │ |&quot;\t&quot;|]<br />  position = { line = 0<br />               column =  │
> │ 2 }                                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ \t                           │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 2                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>2                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 62.44ms - stdout ]─────────────────────────────────────────────────────────╮
> │ '\009'                                                                       │
> │ '\009'                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jEscapedChar @"\\"
> |> parserEqual (Success '\\')
> 
> ╭─[ 56.84ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (&#39;\\&#39;, { lines = [               │
> │ |&quot;\\&quot;|]<br />                 position = { line = 0<br />          │
> │ column = 2 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(\, { lines = [|&quot;\\&quot;|]<br />  position │
> │ = { line = 0<br />               column = 2 }                                │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&#39;\\&#39;                  │
> │ </pre></div></td></tr><tr><td>Item2</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [  │
> │ |&quot;\\&quot;|]<br />  position = { line = 0<br />               column =  │
> │ 2 }                                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ \\                           │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 2                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>2                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 65.69ms - stdout ]─────────────────────────────────────────────────────────╮
> │ '\\'                                                                         │
> │ '\\'                                                                         │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jEscapedChar @"\n"
> |> parserEqual (Success '\n')
> 
> ╭─[ 62.08ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (&#39;\010&#39;, { lines = [|&quot;<br   │
> │ />&quot;|]<br />                   position = { line = 0<br />               │
> │ column = 2 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(<br />, { lines = [|&quot;<br />&quot;|]<br />  │
> │ position = { line = 0<br />               column = 2 }                       │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&#39;\010&#39;                │
> │ </pre></div></td></tr><tr><td>Item2</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [  │
> │ |&quot;<br />&quot;|]<br />  position = { line = 0<br />                     │
> │ column = 2 }                                                                 │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ <br />                       │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 2                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>2                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 71.71ms - stdout ]─────────────────────────────────────────────────────────╮
> │ '\010'                                                                       │
> │ '\010'                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jEscapedChar "a"
> |> parserEqual (
>     Failure (
>         "escaped char",
>         "Unexpected 'a'",
>         { currentLine = "a"; line = 0; column = 0 }
>     )
> )
> 
> ╭─[ 47.99ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure (&quot;escaped char&quot;,               │
> │ &quot;Unexpected &#39;a&#39;&quot;, { currentLine = &quot;a&quot;<br />      │
> │ line = 0<br />                                             column = 0        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;escaped char&quot;      │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;a&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;a&quot;<br />  line = 0<br />  column = 0                │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;a&quot;            │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 55.89ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:0 Error parsing escaped char                                      │
> │ a                                                                            │
> │ ^Unexpected 'a'                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jUnicodeChar                                                             │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jUnicodeChar =
>     let backslash = pchar '\\'
>     let uChar = pchar 'u'
>     let hexdigit = anyOf ([[ '0' .. '9' ]] @ [[ 'A' .. 'F' ]] @ [[ 'a' .. 'f' 
> ]])
>     let fourHexDigits = hexdigit .>>. hexdigit .>>. hexdigit .>>. hexdigit
> 
>     let inline convertToChar (((h1, h2), h3), h4) =
>         let str = $"%c{h1}%c{h2}%c{h3}%c{h4}"
>         Int32.Parse (str, Globalization.NumberStyles.HexNumber) |> char
> 
>     backslash >>. uChar >>. fourHexDigits
>     |>> convertToChar
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jUnicodeChar "\\u263A"
> |> parserEqual (Success '☺')
> 
> ╭─[ 58.92ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (&#39;☺&#39;, { lines = [                │
> │ |&quot;\u263A&quot;|]<br />                position = { line = 0<br />       │
> │ column = 6 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(☺, { lines = [|&quot;\u263A&quot;|]<br />       │
> │ position = { line = 0<br />               column = 6 }                       │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&#39;☺&#39;                   │
> │ </pre></div></td></tr><tr><td>Item2</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [  │
> │ |&quot;\u263A&quot;|]<br />  position = { line = 0<br />                     │
> │ column = 6 }                                                                 │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ \u263A                       │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 6                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>6                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 69.04ms - stdout ]─────────────────────────────────────────────────────────╮
> │ '☺'                                                                          │
> │ '☺'                                                                          │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jString                                                                  │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let quotedString =
>     let quote = pchar '\"' <?> "quote"
>     let jchar = jUnescapedChar <|> jEscapedChar <|> jUnicodeChar
> 
>     quote >>. manyChars jchar .>> quote
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jString =
>     quotedString
>     |>> JString
>     <?> "quoted string"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> jValueRef <|
>     choice
>         [[
>             jNull
>             jBool
>             jString
>         ]]
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jString "\"\""
> |> parserEqual (Success (JString ""))
> 
> ╭─[ 71.36ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JString &quot;&quot;, { lines = [       │
> │ |&quot;&quot;&quot;&quot;|]<br />                       position = { line =  │
> │ 0<br />                                    column = 2 }                      │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JString &quot;&quot;, { lines = [               │
> │ |&quot;&quot;&quot;&quot;|]<br />  position = { line = 0<br />               │
> │ column = 2 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JString                                          │
> │ &quot;&quot;</code></span></summary><div><table><thead><tr></tr></thead><tbo │
> │ dy><tr><td>Item</td><td><div class="dni-plaintext"><pre>&quot;&quot;         │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><su...span                           │
> │ class="dni-code-hint"><code>{ lines = [|&quot;&quot;&quot;&quot;|]<br />     │
> │ position = { line = 0<br />               column = 2 }                       │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ &quot;&quot;                 │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 2                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>2                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 80.36ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JString ""                                                                   │
> │ JString ""                                                                   │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jString "\"a\""
> |> parserEqual (Success (JString "a"))
> 
> ╭─[ 50.68ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JString &quot;a&quot;, { lines = [      │
> │ |&quot;&quot;a&quot;&quot;|]<br />                        position = { line  │
> │ = 0<br />                                     column = 3 }                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JString &quot;a&quot;, { lines = [              │
> │ |&quot;&quot;a&quot;&quot;|]<br />  position = { line = 0<br />              │
> │ column = 3 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JString                                          │
> │ &quot;a&quot;</code></span></summary><div><table><thead><tr></tr></thead><tb │
> │ ody><tr><td>Item</td><td><div class="dni-plaintext"><pre>&quot;a&quot;       │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treev...an class="dni-code-hint"><code>{ lines │
> │ = [|&quot;&quot;a&quot;&quot;|]<br />  position = { line = 0<br />           │
> │ column = 3 }                                                                 │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ &quot;a&quot;                │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 3                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>3                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 61.19ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JString "a"                                                                  │
> │ JString "a"                                                                  │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jString "\"ab\""
> |> parserEqual (Success (JString "ab"))
> 
> ╭─[ 58.89ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JString &quot;ab&quot;, { lines = [     │
> │ |&quot;&quot;ab&quot;&quot;|]<br />                         position = {     │
> │ line = 0<br />                                      column = 4 }             │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JString &quot;ab&quot;, { lines = [             │
> │ |&quot;&quot;ab&quot;&quot;|]<br />  position = { line = 0<br />             │
> │ column = 4 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JString                                          │
> │ &quot;ab&quot;</code></span></summary><div><table><thead><tr></tr></thead><t │
> │ body><tr><td>Item</td><td><div class="dni-plaintext"><pre>&quot;ab&quot;     │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="d... class="dni-code-hint"><code>{ lines = [       │
> │ |&quot;&quot;ab&quot;&quot;|]<br />  position = { line = 0<br />             │
> │ column = 4 }                                                                 │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ &quot;ab&quot;               │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 4                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>4                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 69.85ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JString "ab"                                                                 │
> │ JString "ab"                                                                 │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jString "\"ab\\tde\""
> |> parserEqual (Success (JString "ab\tde"))
> 
> ╭─[ 55.13ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JString &quot;ab	de&quot;, { lines = [    │
> │ |&quot;&quot;ab\tde&quot;&quot;|]<br />                            position  │
> │ = { line = 0<br />                                         column = 8 }      │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JString &quot;ab	de&quot;, { lines = [            │
> │ |&quot;&quot;ab\tde&quot;&quot;|]<br />  position = { line = 0<br />         │
> │ column = 8 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JString &quot;ab	                                  │
> │ de&quot;</code></span></summary><div><table><thead><tr></tr></thead><tbody>< │
> │ tr><td>Item</td><td><div class="dni-plaintext"><pre>&quot;ab	de&quot;          │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2...dni-code-hint"><code>{ lines = [|&quot;&quot;ab\tde&quot;&quot;|]<br />  │
> │ position = { line = 0<br />               column = 8 }                       │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ &quot;ab\tde&quot;           │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 8                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>8                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 63.57ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JString "ab	de"                                                                │
> │ JString "ab	de"                                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jString "\"ab\\u263Ade\""
> |> parserEqual (Success (JString "ab☺de"))
> 
> ╭─[ 48.72ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JString &quot;ab☺de&quot;, { lines = [  │
> │ |&quot;&quot;ab\u263Ade&quot;&quot;|]<br />                                  │
> │ position = { line = 0<br />                                         column = │
> │ 12 }                                                                         │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JString &quot;ab☺de&quot;, { lines = [          │
> │ |&quot;&quot;ab\u263Ade&quot;&quot;|]<br />  position = { line = 0<br />     │
> │ column = 12 }                                                                │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JString                                          │
> │ &quot;ab☺de&quot;</code></span></summary><div><table><thead><tr></tr></thead │
> │ ><tbody><tr><td>Item</td><td><div                                            │
> │ class="dni-plaintext"><pre>&quot;ab☺de&quot;                                 │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr...nt"><c │
> │ ode>{ lines = [|&quot;&quot;ab\u263Ade&quot;&quot;|]<br />  position = {     │
> │ line = 0<br />               column = 12 }                                   │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ &quot;ab\u263Ade&quot;       │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 12                                                         │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>12                                                │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 61.14ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JString "ab☺de"                                                              │
> │ JString "ab☺de"                                                              │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jNumber                                                                  │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jNumber =
>     let optSign = opt (pchar '-')
> 
>     let zero = pstring "0"
> 
>     let digitOneNine =
>         satisfy (fun ch -> Char.IsDigit ch && ch <> '0') "1-9"
> 
>     let digit =
>         satisfy Char.IsDigit "digit"
> 
>     let point = pchar '.'
> 
>     let e = pchar 'e' <|> pchar 'E'
> 
>     let optPlusMinus = opt (pchar '-' <|> pchar '+')
> 
>     let nonZeroInt =
>         digitOneNine .>>. manyChars digit
>         |>> fun (first, rest) -> string first + rest
> 
>     let intPart = zero <|> nonZeroInt
> 
>     let fractionPart = point >>. manyChars1 digit
> 
>     let exponentPart = e >>. optPlusMinus .>>. manyChars1 digit
> 
>     let inline (|>?) opt f =
>         match opt with
>         | None -> ""
>         | Some x -> f x
> 
>     let inline convertToJNumber (((optSign, intPart), fractionPart), expPart) =
>         let signStr =
>             optSign
>             |>? string
> 
>         let fractionPartStr =
>             fractionPart
>             |>? (fun digits -> "." + digits)
> 
>         let expPartStr =
>             expPart
>             |>? fun (optSign, digits) ->
>                 let sign = optSign |>? string
>                 "e" + sign + digits
> 
>         (signStr + intPart + fractionPartStr + expPartStr)
>         |> float
>         |> JNumber
> 
>     optSign .>>. intPart .>>. opt fractionPart .>>. opt exponentPart
>     |>> convertToJNumber
>     <?> "number"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> jValueRef <|
>     choice
>         [[
>             jNull
>             jBool
>             jString
>             jNumber
>         ]]
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber "123"
> |> parserEqual (Success (JNumber 123.0))
> 
> ╭─[ 77.93ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [              │
> │ |&quot;123&quot;|]<br />                          position = { line = 0<br   │
> │ />                                       column = 3 }                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 123.0, { lines = [|&quot;123&quot;|]<br │
> │ />  position = { line = 0<br />               column = 3 }                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 123.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr> │
> │ <td>Item</td><td><div class="dni-plaintext"><pre>123.0                       │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;123&quot;|]<br />  position =  │
> │ { line = 0<br />               column = 3 }                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 123                          │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 3                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>3                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 86.14ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 123.0                                                                │
> │ JNumber 123.0                                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber "-123"
> |> parserEqual (Success (JNumber -123.0))
> 
> ╭─[ 52.64ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [             │
> │ |&quot;-123&quot;|]<br />                           position = { line = 0<br │
> │ />                                        column = 4 }                       │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber -123.0, { lines = [                     │
> │ |&quot;-123&quot;|]<br />  position = { line = 0<br />               column  │
> │ = 4 }                                                                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ -123.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr │
> │ ><td>Item</td><td><div class="dni-plaintext"><pre>-123.0                     │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;-123&quot;|]<br />  position = │
> │ { line = 0<br />               column = 4 }                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ -123                         │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 4                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>4                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 65.19ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber -123.0                                                               │
> │ JNumber -123.0                                                               │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber "123.4"
> |> parserEqual (Success (JNumber 123.4))
> 
> ╭─[ 80.19ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [              │
> │ |&quot;123.4&quot;|]<br />                          position = { line = 0<br │
> │ />                                       column = 5 }                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 123.4, { lines = [                      │
> │ |&quot;123.4&quot;|]<br />  position = { line = 0<br />               column │
> │ = 5 }                                                                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 123.4</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr> │
> │ <td>Item</td><td><div class="dni-plaintext"><pre>123.4                       │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;123.4&quot;|]<br />  position  │
> │ = { line = 0<br />               column = 5 }                                │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 123.4                        │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 5                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>5                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 91.39ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 123.4                                                                │
> │ JNumber 123.4                                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber "-123."
> |> parserEqual (Success (JNumber -123.0))
> 
> ╭─[ 53.02ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [             │
> │ |&quot;-123.&quot;|]<br />                           position = { line =     │
> │ 0<br />                                        column = 4 }                  │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber -123.0, { lines = [                     │
> │ |&quot;-123.&quot;|]<br />  position = { line = 0<br />               column │
> │ = 4 }                                                                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ -123.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr │
> │ ><td>Item</td><td><div class="dni-plaintext"><pre>-123.0                     │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;-123.&quot;|]<br />  position  │
> │ = { line = 0<br />               column = 4 }                                │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ -123.                        │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 4                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>4                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 62.54ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber -123.0                                                               │
> │ JNumber -123.0                                                               │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber "00.1"
> |> parserEqual (Success (JNumber 0.0))
> 
> ╭─[ 45.66ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 0.0, { lines = [                │
> │ |&quot;00.1&quot;|]<br />                        position = { line = 0<br /> │
> │ column = 1 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 0.0, { lines = [|&quot;00.1&quot;|]<br  │
> │ />  position = { line = 0<br />               column = 1 }                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 0.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
> │ d>Item</td><td><div class="dni-plaintext"><pre>0.0                           │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;00.1&quot;|]<br />  position = │
> │ { line = 0<br />               column = 1 }                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 00.1                         │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 0<br />  column = 1                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>0                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>1                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 55.16ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 0.0                                                                  │
> │ JNumber 0.0                                                                  │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let jNumber_ = jNumber .>> spaces1
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "123"
> |> parserEqual (Success (JNumber 123.0))
> 
> ╭─[ 59.39ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [              │
> │ |&quot;123&quot;|]<br />                          position = { line = 1<br   │
> │ />                                       column = 0 }                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 123.0, { lines = [|&quot;123&quot;|]<br │
> │ />  position = { line = 1<br />               column = 0 }                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 123.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr> │
> │ <td>Item</td><td><div class="dni-plaintext"><pre>123.0                       │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;123&quot;|]<br />  position =  │
> │ { line = 1<br />               column = 0 }                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 123                          │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 71.08ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 123.0                                                                │
> │ JNumber 123.0                                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "-123"
> |> parserEqual (Success (JNumber -123.0))
> 
> ╭─[ 56.90ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [             │
> │ |&quot;-123&quot;|]<br />                           position = { line = 1<br │
> │ />                                        column = 0 }                       │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber -123.0, { lines = [                     │
> │ |&quot;-123&quot;|]<br />  position = { line = 1<br />               column  │
> │ = 0 }                                                                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ -123.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr │
> │ ><td>Item</td><td><div class="dni-plaintext"><pre>-123.0                     │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;-123&quot;|]<br />  position = │
> │ { line = 1<br />               column = 0 }                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ -123                         │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 64.76ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber -123.0                                                               │
> │ JNumber -123.0                                                               │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "-123."
> |> parserEqual (
>     Failure (
>         "number andThen many1 whitespace",
>         "Unexpected '.'",
>         { currentLine = "-123."; line = 0; column = 4 }
>     )
> )
> 
> ╭─[ 33.52ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure<br />  (&quot;number andThen many1       │
> │ whitespace&quot;, &quot;Unexpected &#39;.&#39;&quot;, { currentLine =        │
> │ &quot;-123.&quot;<br />                                                      │
> │ line = 0<br />                                                               │
> │ column = 4                                                                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;number andThen many1    │
> │ whitespace&quot;                                                             │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;.&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;-123.&quot;<br />  line = 0<br />  column = 4            │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;-123.&quot;        │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>4                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 41.54ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:4 Error parsing number andThen many1 whitespace                   │
> │ -123.                                                                        │
> │     ^Unexpected '.'                                                          │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "123.4"
> |> parserEqual (Success (JNumber 123.4))
> 
> ╭─[ 52.13ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [              │
> │ |&quot;123.4&quot;|]<br />                          position = { line = 1<br │
> │ />                                       column = 0 }                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 123.4, { lines = [                      │
> │ |&quot;123.4&quot;|]<br />  position = { line = 1<br />               column │
> │ = 0 }                                                                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 123.4</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr> │
> │ <td>Item</td><td><div class="dni-plaintext"><pre>123.4                       │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;123.4&quot;|]<br />  position  │
> │ = { line = 1<br />               column = 0 }                                │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 123.4                        │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 61.60ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 123.4                                                                │
> │ JNumber 123.4                                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "00.4"
> |> parserEqual (
>     Failure (
>         "number andThen many1 whitespace",
>         "Unexpected '0'",
>         { currentLine = "00.4"; line = 0; column = 1 }
>     )
> )
> 
> ╭─[ 35.60ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure<br />  (&quot;number andThen many1       │
> │ whitespace&quot;, &quot;Unexpected &#39;0&#39;&quot;, { currentLine =        │
> │ &quot;00.4&quot;<br />                                                       │
> │ line = 0<br />                                                               │
> │ column = 1                                                                   │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;number andThen many1    │
> │ whitespace&quot;                                                             │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;0&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;00.4&quot;<br />  line = 0<br />  column = 1             │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;00.4&quot;         │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>1                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 41.39ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:1 Error parsing number andThen many1 whitespace                   │
> │ 00.4                                                                         │
> │  ^Unexpected '0'                                                             │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "123e4"
> |> parserEqual (Success (JNumber 1230000.0))
> 
> ╭─[ 57.42ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 1230000.0, { lines = [          │
> │ |&quot;123e4&quot;|]<br />                              position = { line =  │
> │ 1<br />                                           column = 0 }               │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 1230000.0, { lines = [                  │
> │ |&quot;123e4&quot;|]<br />  position = { line = 1<br />               column │
> │ = 0 }                                                                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 1230000.0</code></span></summary><div><table><thead><tr></tr></thead><tbody> │
> │ <tr><td>Item</td><td><div class="dni-plaintext"><pre>1230000.0               │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;123e4&quot;|]<br />  position  │
> │ = { line = 1<br />               column = 0 }                                │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 123e4                        │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 68.42ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 1230000.0                                                            │
> │ JNumber 1230000.0                                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "123.4e5"
> |> parserEqual (Success (JNumber 12340000.0))
> 
> ╭─[ 52.33ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 12340000.0, { lines = [         │
> │ |&quot;123.4e5&quot;|]<br />                               position = { line │
> │ = 1<br />                                            column = 0 }            │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 12340000.0, { lines = [                 │
> │ |&quot;123.4e5&quot;|]<br />  position = { line = 1<br />                    │
> │ column = 0 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 12340000.0</code></span></summary><div><table><thead><tr></tr></thead><tbody │
> │ ><tr><td>Item</td><td><div class="dni-plaintext"><pre>12340000.0             │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;123.4e5&quot;|]<br />          │
> │ position = { line = 1<br />               column = 0 }                       │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 123.4e5                      │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 69.89ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 12340000.0                                                           │
> │ JNumber 12340000.0                                                           │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jNumber_ "123.4e-5"
> |> parserEqual (Success (JNumber 0.001234))
> 
> ╭─[ 54.93ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JNumber 0.001234, { lines = [           │
> │ |&quot;123.4e-5&quot;|]<br />                             position = { line  │
> │ = 1<br />                                          column = 0 }              │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JNumber 0.001234, { lines = [                   │
> │ |&quot;123.4e-5&quot;|]<br />  position = { line = 1<br />                   │
> │ column = 0 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 0.001234</code></span></summary><div><table><thead><tr></tr></thead><tbody>< │
> │ tr><td>Item</td><td><div class="dni-plaintext"><pre>0.001234                 │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJObject</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJArray</td><td><div                          │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>Item │
> │ 2</td><td><details class="dni-treeview"><summary><span                       │
> │ class="dni-code-hint"><code>{ lines = [|&quot;123.4e-5&quot;|]<br />         │
> │ position = { line = 1<br />               column = 0 }                       │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ 123.4e-5                     │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 63.86ms - stdout ]─────────────────────────────────────────────────────────╮
> │ JNumber 0.001234                                                             │
> │ JNumber 0.001234                                                             │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jArray                                                                   │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jArray =
>     let left = pchar '[[' .>> spaces
>     let right = pchar ']]' .>> spaces
>     let comma = pchar ',' .>> spaces
>     let value = jValue .>> spaces
> 
>     let values = sepBy value comma
> 
>     between left values right
>     |>> JArray
>     <?> "array"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> jValueRef <|
>     choice
>         [[
>             jNull
>             jBool
>             jString
>             jNumber
>             jArray
>         ]]
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jArray "[[ 1, 2 ]]"
> |> parserEqual (Success (JArray [[ JNumber 1.0; JNumber 2.0 ]]))
> 
> ╭─[ 109.51ms - return value ]──────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success (JArray [JNumber 1.0; JNumber 2.0], {    │
> │ lines = [|&quot;[ 1, 2 ]&quot;|]<br />                                       │
> │ position = { line = 1<br />                                                  │
> │ column = 0 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JArray [JNumber 1.0; JNumber 2.0], { lines = [  │
> │ |&quot;[ 1, 2 ]&quot;|]<br />  position = { line = 1<br />                   │
> │ column = 0 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JArray [JNumber 1.0; JNumber                     │
> │ 2.0]</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │
> │ td>Item</td><td><table><thead><tr><th><i>index</i></th><th>value</th></tr></ │
> │ thead><tbody><tr><td>0</td><td><details class="dni-treeview"><summary><span  │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 1.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
> │ d>Item</td><td><div class="dni-plaintext"><pre>1.0                           │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr><tr><td>IsJBool</td><td><div                           │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNull</td><td>...ummary><span                │
> │ class="dni-code-hint"><code>{ lines = [|&quot;[ 1, 2 ]&quot;|]<br />         │
> │ position = { line = 1<br />               column = 0 }                       │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ [ 1, 2 ]                     │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 121.99ms - stdout ]────────────────────────────────────────────────────────╮
> │ JArray [JNumber 1.0; JNumber 2.0]                                            │
> │ JArray [JNumber 1.0; JNumber 2.0]                                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jArray "[[ 1, 2, ]]"
> |> parserEqual (
>     Failure (
>         "array",
>         "Unexpected ','",
>         { currentLine = "[[ 1, 2, ]]"; line = 0; column = 6 }
>     )
> )
> 
> ╭─[ 50.62ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure (&quot;array&quot;, &quot;Unexpected     │
> │ &#39;,&#39;&quot;, { currentLine = &quot;[ 1, 2, ]&quot;<br />               │
> │ line = 0<br />                                      column = 6               │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;array&quot;             │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;,&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;[ 1, 2, ]&quot;<br />  line = 0<br />  column = 6        │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;[ 1, 2, ]&quot;    │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>6                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 57.73ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:6 Error parsing array                                             │
> │ [ 1, 2, ]                                                                    │
> │       ^Unexpected ','                                                        │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jObject                                                                  │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let jObject =
>     let left = spaces >>. pchar '{' .>> spaces
>     let right = pchar '}' .>> spaces
>     let colon = pchar ':' .>> spaces
>     let comma = pchar ',' .>> spaces
>     let key = quotedString .>> spaces
>     let value = jValue .>> spaces
> 
>     let keyValue = (key .>> colon) .>>. value
>     let keyValues = sepBy keyValue comma
> 
>     between left keyValues right
>     |>> Map.ofList
>     |>> JObject
>     <?> "object"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> jValueRef <|
>     choice
>         [[
>             jNull
>             jBool
>             jString
>             jNumber
>             jArray
>             jObject
>         ]]
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jObject """{ "a":1, "b"  :  2 }"""
> |> parserEqual (
>     Success (
>         JObject (
>             Map.ofList [[
>                 "a", JNumber 1.0
>                 "b", JNumber 2.0
>             ]]
>         )
>     )
> )
> 
> ╭─[ 130.50ms - return value ]──────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success<br />  (JObject (map [(&quot;a&quot;,    │
> │ JNumber 1.0); (&quot;b&quot;, JNumber 2.0)]),<br />   { lines = [|&quot;{    │
> │ &quot;a&quot;:1, &quot;b&quot;  :  2 }&quot;|]<br />     position = { line = │
> │ 1<br />                  column = 0 }                                        │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item</td><td><details class="dni-treeview"><summary><span                   │
> │ class="dni-code-hint"><code>(JObject (map [(&quot;a&quot;, JNumber 1.0);     │
> │ (&quot;b&quot;, JNumber 2.0)]), { lines = [|&quot;{ &quot;a&quot;:1,         │
> │ &quot;b&quot;  :  2 }&quot;|]<br />  position = { line = 1<br />             │
> │ column = 0 }                                                                 │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>JObject (map [(&quot;a&quot;, JNumber 1.0);      │
> │ (&quot;b&quot;, JNumber                                                      │
> │ 2.0)])</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr │
> │ ><td>Item</td><td><table><thead><tr><th><i>key</i></th><th>value</th></tr></ │
> │ thead><tbody><tr><td><div class="dni-plaintext"><pre>&quot;a&quot;           │
> │ </pre></div></td><td><details class="dni-treeview"><summary><span            │
> │ class="dni-code-hint"><code>JNumber                                          │
> │ 1.0</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
> │ d>Item</td><td><div class="dni-plaintext"><pre>1.0                           │
> │ </pre></div></td></tr><tr><td>IsJString</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr><tr><td>IsJNumber</...ot;a&quot;:1, &quot;b&quot;  :   │
> │ 2 }&quot;|]<br />  position = { line = 1<br />               column = 0 }    │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ lines</td><td><div class="dni-plaintext"><pre>[ { &quot;a&quot;:1,           │
> │ &quot;b&quot;  :  2 }                                                        │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 1<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>1                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 142.83ms - stdout ]────────────────────────────────────────────────────────╮
> │ JObject (map [("a", JNumber 1.0); ("b", JNumber 2.0)])                       │
> │ JObject (map [("a", JNumber 1.0); ("b", JNumber 2.0)])                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run jObject """{ "a":1, "b"  :  2, }"""
> |> parserEqual (
>     Failure (
>         "object",
>         "Unexpected ','",
>         { currentLine = """{ "a":1, "b"  :  2, }"""; line = 0; column = 18 }
>     )
> )
> 
> ╭─[ 51.27ms - return value ]───────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Failure (&quot;object&quot;, &quot;Unexpected    │
> │ &#39;,&#39;&quot;, { currentLine = &quot;{ &quot;a&quot;:1, &quot;b&quot;  : │
> │ 2, }&quot;<br />                                       line = 0<br />        │
> │ column = 18                                                                  │
> │ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
> │ >Item1</td><td><div class="dni-plaintext"><pre>&quot;object&quot;            │
> │ </pre></div></td></tr><tr><td>Item2</td><td><div                             │
> │ class="dni-plaintext"><pre>&quot;Unexpected &#39;,&#39;&quot;                │
> │ </pre></div></td></tr><tr><td>Item3</td><td><details                         │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{            │
> │ currentLine = &quot;{ &quot;a&quot;:1, &quot;b&quot;  :  2, }&quot;<br />    │
> │ line = 0<br />  column = 18                                                  │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ currentLine</td><td><div class="dni-plaintext"><pre>&quot;{ &quot;a&quot;:1, │
> │ &quot;b&quot;  :  2, }&quot;                                                 │
> │ </pre></div></td></tr><tr><td>line</td><td><div class="dni-plaintext"><pre>0 │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>18                                                │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr><tr><td>IsSu │
> │ ccess</td><td><div class="dni-plaintext"><pre>false                          │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>true                                              │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 59.51ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Line:0 Col:18 Error parsing object                                           │
> │ { "a":1, "b"  :  2, }                                                        │
> │                   ^Unexpected ','                                            │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### jValue                                                                   │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let example1 = """{
>     "name" : "Scott",
>     "isMale" : true,
>     "bday" : {"year":2001, "month":12, "day":25 },
>     "favouriteColors" : [["blue", "green"]],
>     "emptyArray" : [[]],
>     "emptyObject" : {}
> }"""
> run jValue example1
> |> parserEqual (
>     Success (
>         JObject (
>             Map.ofList [[
>                 "name", JString "Scott"
>                 "isMale", JBool true
>                 "bday", JObject (
>                     Map.ofList [[
>                         "year", JNumber 2001.0
>                         "month", JNumber 12.0
>                         "day", JNumber 25.0
>                     ]]
>                 )
>                 "favouriteColors", JArray [[ JString "blue"; JString "green" ]]
>                 "emptyArray", JArray [[]]
>                 "emptyObject", JObject Map.empty
>             ]]
>         )
>     )
> )
> 
> ╭─[ 215.89ms - return value ]──────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success<br />  (JObject<br />     (map<br />     │
> │ [(&quot;bday&quot;,<br />          JObject<br />            (map<br />       │
> │ [(&quot;day&quot;, JNumber 25.0); (&quot;month&quot;, JNumber 12.0);<br />   │
> │ (&quot;year&quot;, JNumber 2001.0)])); (&quot;emptyArray&quot;, JArray [     │
> │ ]);<br />         (&quot;emptyObject&quot;, JObject (map []));<br />         │
> │ (&quot;favouriteColors&quot;,                                                │
> │ ...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
> │ d>Item</td><td><details class="dni-treeview"><summary><span                  │
> │ class="dni-code-hint"><code>(JObject<br />  (map<br />     [                 │
> │ (&quot;bday&quot;,<br />       JObject<br />         (map<br />            [ │
> │ (&quot;day&quot;, JNumber 25.0); (&quot;month&quot;, JNumber 12.0);<br />    │
> │ (&quot;year&quot;, JNumber 2001.0)])); (&quot;emptyArray&quot;, JArray [     │
> │ ]);<br />      (&quot;emptyObject&quot;, JObject (map []));<br />            │
> │ (&quot;favouriteColors&quot;, JArray [JString &quot;blue&quot;; JString      │
> │ &quot;gr...</code></span></summary><div><table><thead><tr></tr></thead><tbod │
> │ y><tr><td>Item1</td><td><details class="dni-treeview"><summary><span         │
> │ class="dni-code-hint"><code>JObject<br />  (map<br />     [                  │
> │ (&quot;bday&quot;,<br />       JObject<br />         (map<br />            [ │
> │ (&quot;day&quot;, JNumber 25.0); (&quot;month&quot;, JNumber 12.0);<br />    │
> │ (&quot;year&quot;, JNumber 2001.0)])); (&quot;emptyArray&quot;, JArra...,,   │
> │ &quot;isMale&quot; : true,,     &quot;bday&quot; : {&quot;year&quot;:2001,   │
> │ &quot;month&quot;:12, &quot;day&quot;:25 },,     &quot;favouriteColors&quot; │
> │ : [&quot;blue&quot;, &quot;green&quot;],,     &quot;emptyArray&quot; : [],,  │
> │ &quot;emptyObject&quot; : {}, }                                              │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 8<br />  column = 0                                                          │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>8                               │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 226.08ms - stdout ]────────────────────────────────────────────────────────╮
> │ JObject                                                                      │
> │   (map                                                                       │
> │      [("bday",                                                               │
> │        JObject                                                               │
> │          (map                                                                │
> │             [("day", JNumber 25.0); ("month", JNumber 12.0);                 │
> │              ("year", JNumber 2001.0)])); ("emptyArray", JArray []);         │
> │       ("emptyObject", JObject (map []));                                     │
> │       ("favouriteColors", JArray [JString "blue"; JString "green"]);         │
> │       ("isMale", JBool true); ("name", JString "Scott")])                    │
> │ JObject                                                                      │
> │   (map                                                                       │
> │      [("bday", JObject (map [("day", JNumber 25.0); ("month", JNumber 12.0); │
> │ ("year", JNumber 2001.0)]));                                                 │
> │       ("emptyArray", JArray []); ("emptyObject", JObject (map []));          │
> │       ("favouriteColors", JArray [JString "blue"; JString "green"]);         │
> │ ("isMale", JBool true); ("name", JString "Scott")])                          │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let example2 = """{"widget": {
>     "debug": "on",
>     "window": {
>         "title": "Sample Konfabulator Widget",
>         "name": "main_window",
>         "width": 500,
>         "height": 500
>     },
>     "image": {
>         "src": "Images/Sun.png",
>         "name": "sun1",
>         "hOffset": 250,
>         "vOffset": 250,
>         "alignment": "center"
>     },
>     "text": {
>         "data": "Click Here",
>         "size": 36,
>         "style": "bold",
>         "name": "text1",
>         "hOffset": 250,
>         "vOffset": 100,
>         "alignment": "center",
>         "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
>     }
> }}"""
> 
> run jValue example2
> |> parserEqual (
>     Success (
>         JObject (
>             Map.ofList [[
>                 "widget", JObject (
>                     Map.ofList [[
>                         "debug", JString "on"
>                         "window", JObject (
>                             Map.ofList [[
>                                 "title", JString "Sample Konfabulator Widget"
>                                 "name", JString "main_window"
>                                 "width", JNumber 500.0
>                                 "height", JNumber 500.0
>                             ]]
>                         )
>                         "image", JObject (
>                             Map.ofList [[
>                                 "src", JString "Images/Sun.png"
>                                 "name", JString "sun1"
>                                 "hOffset", JNumber 250.0
>                                 "vOffset", JNumber 250.0
>                                 "alignment", JString "center"
>                             ]]
>                         )
>                         "text", JObject (
>                             Map.ofList [[
>                                 "data", JString "Click Here"
>                                 "size", JNumber 36.0
>                                 "style", JString "bold"
>                                 "name", JString "text1"
>                                 "hOffset", JNumber 250.0
>                                 "vOffset", JNumber 100.0
>                                 "alignment", JString "center"
>                                 "onMouseUp", JString "sun1.opacity = 
> (sun1.opacity / 100) * 90;"
>                             ]]
>                         )
>                     ]]
>                 )
>             ]]
>         )
>     )
> )
> 
> ╭─[ 575.57ms - return value ]──────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success<br />  (JObject<br />     (map<br />     │
> │ [(&quot;widget&quot;,<br />          JObject<br />            (map<br />     │
> │ [(&quot;debug&quot;, JString &quot;on&quot;);<br />                          │
> │ (&quot;image&quot;,<br />                 JObject<br />                      │
> │ (map<br />                      [(&quot;alignment&quot;, JString             │
> │ &quot;center&quot;);<br />                                                   │
> │ (&quot;hOffset&quot;...</code></span></summary><div><table><thead><tr></tr>< │
> │ /thead><tbody><tr><td>Item</td><td><details                                  │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>(JObject<br  │
> │ />  (map<br />     [(&quot;widget&quot;,<br />       JObject<br />           │
> │ (map<br />            [(&quot;debug&quot;, JString &quot;on&quot;);<br />    │
> │ (&quot;image&quot;,<br />              JObject<br />                (map<br  │
> │ />                   [(&quot;alignment&quot;, JString &quot;center&quot;);   │
> │ (&quot;hOffset&quot;, JNumber 250.0);<br />                                  │
> │ (&quot;name&quot;, JString                                                   │
> │ &quot;sun1&quot;...</code></span></summary><div><table><thead><tr></tr></the │
> │ ad><tbody><tr><td>Item1</td><td><details class="dni-treeview"><summary><span │
> │ class="dni-code-hint"><code>JObject<br />  (map<br />     [                  │
> │ (&quot;widget&quot;,<br />       JObject<br />         (map<br />            │
> │ [(&quot;debug&quot;, JString &quot;on&quot;);<br />                          │
> │ (&quot;image&quot;,<br />              JObject<br />                (...t;,, │
> │ &quot;name&quot;: &quot;text1&quot;,,         &quot;hOffset&quot;: 250,,     │
> │ &quot;vOffset&quot;: 100,,         &quot;alignment&quot;:                    │
> │ &quot;center&quot;,,         &quot;onMouseUp&quot;: &quot;sun1.opacity =     │
> │ (sun1.opacity / 100) * 90;&quot;,     }, }}                                  │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 26<br />  column = 0                                                         │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>26                              │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 589.40ms - stdout ]────────────────────────────────────────────────────────╮
> │ JObject                                                                      │
> │   (map                                                                       │
> │      [("widget",                                                             │
> │        JObject                                                               │
> │          (map                                                                │
> │             [("debug", JString "on");                                        │
> │              ("image",                                                       │
> │               JObject                                                        │
> │                 (map                                                         │
> │                    [("alignment", JString "center"); ("hOffset", JNumber     │
> │ 250.0);                                                                      │
> │                     ("name", JString "sun1"); ("src", JString                │
> │ "Images/Sun.png");                                                           │
> │                     ("vOffset", JNumber 250.0)]));                           │
> │              ("text",                                                        │
> │               JObject                                                        │
> │                 (map                                                         │
> │                    [("alignment", JString "center");                         │
> │                     ("data", JString "Click Here"); ("hOffset", JNumber      │
> │ 250.0);                                                                      │
> │                     ("name", JString "text1");                               │
> │                     ("onMouseUp",                                            │
> │                      JString "sun1.opacity = (sun1.opacity / 100) * 90;");   │
> │                     ("size", JNumber 36.0); ("style", JString "bold");       │
> │                     ("vOffset", JNumber 100.0)]));                           │
> │              ("window",                                                      │
> │               JObject                                                        │
> │                 (map                                                         │
> │                    [("height", JNumber 500.0); ("name", JString              │
> │ "main_window");                                                              │
> │                     ("title", JString "Sample Konfabulator Widget");         │
> │                     ("width", JNumber 500.0)]))]))])                         │
> │ JObject                                                                      │
> │   (map                                                                       │
> │      [("widget",                                                             │
> │        JObject                                                               │
> │          (map                                                                │
> │             [("debug", JString "on");                                        │
> │              ("image",                                                       │
> │               JObject                                                        │
> │                 (map                                                         │
> │                    [("alignment", JString "center"); ("hOffset", JNumber     │
> │ 250.0); ("name", JString "sun1");                                            │
> │                     ("src", JString "Images/Sun.png"); ("vOffset", JNumber   │
> │ 250.0)]));                                                                   │
> │              ("text",                                                        │
> │               JObject                                                        │
> │                 (map                                                         │
> │                    [("alignment", JString "center"); ("data", JString "Click │
> │ Here"); ("hOffset", JNumber 250.0);                                          │
> │                     ("name", JString "text1"); ("onMouseUp", JString         │
> │ "sun1.opacity = (sun1.opacity / 100) * 90;");                                │
> │                     ("size", JNumber 36.0); ("style", JString "bold");       │
> │ ("vOffset", JNumber 100.0)]));                                               │
> │              ("window",                                                      │
> │               JObject                                                        │
> │                 (map                                                         │
> │                    [("height", JNumber 500.0); ("name", JString              │
> │ "main_window");                                                              │
> │                     ("title", JString "Sample Konfabulator Widget");         │
> │ ("width", JNumber 500.0)]))]))])                                             │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let example3 = """{
>   "string": "Hello, \"World\"!",
>   "escapedString": "This string contains \\/\\\\\\b\\f\\n\\r\\t\\\"\\'",
>   "number": 42,
>   "scientificNumber": 3.14e-10,
>   "boolean": true,
>   "nullValue": null,
>   "array": [[1, 2, 3, 4, 5]],
>   "unicodeString1": "프리마",
>   "unicodeString2": "\u0048\u0065\u006C\u006C\u006F, 
> \u0022\u0057\u006F\u0072\u006C\u0064\u0022!",
>   "specialCharacters": "!@#$%^&*()",
>   "emptyArray": [[]],
>   "emptyObject": {},
>   "nestedArrays": [[[[1, 2, 3]], [[4, 5, 6]]]],
>   "object": {
>     "nestedString": "Nested Value",
>     "nestedNumber": 3.14,
>     "nestedBoolean": false,
>     "nestedNull": null,
>     "nestedArray": [["a", "b", "c"]],
>     "nestedObject": {
>       "nestedProperty": "Nested Object Value"
>     }
>   },
>   "nestedObjects": [[
>     {"name": "Alice", "age": 25},
>     {"name": "Bob", "age": 30}
>   ]]
> }"""
> run jValue example3
> |> parserEqual (
>     Success (
>         JObject (
>             Map.ofList [[
>                 "string", JString @"Hello, ""World""!"
>                 "escapedString", JString @"This string contains 
> \/\\\b\f\n\r\t\""\'"
>                 "number", JNumber 42.0
>                 "scientificNumber", JNumber 3.14e-10
>                 "boolean", JBool true
>                 "nullValue", JNull
>                 "array", JArray [[
>                     JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber 
> 5.0
>                 ]]
>                 "unicodeString1", JString "프리마"
>                 "unicodeString2", JString @"Hello, ""World""!"
>                 "specialCharacters", JString "!@#$%^&*()"
>                 "emptyArray", JArray [[]]
>                 "emptyObject", JObject Map.empty
>                 "nestedArrays", JArray [[
>                     JArray [[ JNumber 1.0; JNumber 2.0; JNumber 3.0 ]]
>                     JArray [[ JNumber 4.0; JNumber 5.0; JNumber 6.0 ]]
>                 ]]
>                 "object", JObject (
>                     Map.ofList [[
>                         "nestedString", JString "Nested Value"
>                         "nestedNumber", JNumber 3.14
>                         "nestedBoolean", JBool false
>                         "nestedNull", JNull
>                         "nestedArray", JArray [[JString "a"; JString "b"; 
> JString "c"]]
>                         "nestedObject", JObject (
>                             Map.ofList [[
>                                 "nestedProperty", JString "Nested Object Value"
>                             ]]
>                         )
>                     ]]
>                 )
>                 "nestedObjects", JArray [[
>                   JObject (Map.ofList [[ "name", JString "Alice"; "age", JNumber
> 25.0 ]])
>                   JObject (Map.ofList [[ "name", JString "Bob"; "age", JNumber 
> 30.0 ]])
>                 ]]
>             ]]
>         )
>     )
> )
> 
> ╭─[ 601.45ms - return value ]──────────────────────────────────────────────────╮
> │ <details open="open" class="dni-treeview"><summary><span                     │
> │ class="dni-code-hint"><code>Success<br />  (JObject<br />     (map<br />     │
> │ [(&quot;array&quot;,<br />          JArray<br />            [JNumber 1.0;    │
> │ JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber 5.0]);<br />                  │
> │ (&quot;boolean&quot;, JBool true); (&quot;emptyArray&quot;, JArray []);<br   │
> │ />         (&quot;emptyObject&quot;, JObject (map []));<br />                │
> │ (&quot;escapedString&quot;, JString &quot;This                               │
> │ s...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │
> │ td>Item</td><td><details class="dni-treeview"><summary><span                 │
> │ class="dni-code-hint"><code>(JObject<br />  (map<br />     [                 │
> │ (&quot;array&quot;,<br />       JArray [JNumber 1.0; JNumber 2.0; JNumber    │
> │ 3.0; JNumber 4.0; JNumber 5.0]);<br />      (&quot;boolean&quot;, JBool      │
> │ true); (&quot;emptyArray&quot;, JArray []);<br />                            │
> │ (&quot;emptyObject&quot;, JObject (map []));<br />                           │
> │ (&quot;escapedString&quot;, JString &quot;This string contains \/\\\b\f<br   │
> │ />\r\t\&quot;\&#39;&quot;);<br />                                            │
> │ ...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
> │ d>Item1</td><td><details class="dni-treeview"><summary><span                 │
> │ class="dni-code-hint"><code>JObject<br />  (map<br />     [                  │
> │ (&quot;array&quot;,<br />       JArray [JNumber 1.0; JNumber 2.0; JNumber    │
> │ 3.0; JNumber 4.0; JNumber 5.0]);<br />      (&quot;boolean&quot;, JBool      │
> │ true); (&quot;emptyArray&quot;, JArray []);<br />                            │
> │ (&quot;emptyObject&quot;, JObject (map []));<br />                           │
> │ (&quot;es...nestedObject&quot;: {,       &quot;nestedProperty&quot;:         │
> │ &quot;Nested Object Value&quot;,     },   },,   &quot;nestedObjects&quot;: [ │
> │ ,     {&quot;name&quot;: &quot;Alice&quot;, &quot;age&quot;: 25},,           │
> │ {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 30},   ], }             │
> │ ]</pre></div></td></tr><tr><td>position</td><td><details                     │
> │ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ line =     │
> │ 29<br />  column = 0                                                         │
> │ }</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
> │ line</td><td><div class="dni-plaintext"><pre>29                              │
> │ </pre></div></td></tr><tr><td>column</td><td><div                            │
> │ class="dni-plaintext"><pre>0                                                 │
> │ </pre></div></td></tr></tbody></table></div></details></td></tr></tbody></ta │
> │ ble></div></details></td></tr></tbody></table></div></details></td></tr><tr> │
> │ <td>IsSuccess</td><td><div class="dni-plaintext"><pre>true                   │
> │ </pre></div></td></tr><tr><td>IsFailure</td><td><div                         │
> │ class="dni-plaintext"><pre>false                                             │
> │ </pre></div></td></tr></tbody></table></div></details><style>                │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ╭─[ 613.60ms - stdout ]────────────────────────────────────────────────────────╮
> │ JObject                                                                      │
> │   (map                                                                       │
> │      [("array",                                                              │
> │        JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber   │
> │ 5.0]);                                                                       │
> │       ("boolean", JBool true); ("emptyArray", JArray []);                    │
> │       ("emptyObject", JObject (map []));                                     │
> │       ("escapedString", JString "This string contains \/\\\b\f\n\r\t\"\'");  │
> │       ("nestedArrays",                                                       │
> │        JArray                                                                │
> │          [JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0];                    │
> │           JArray [JNumber 4.0; JNumber 5.0; JNumber 6.0]]);                  │
> │       ("nestedObjects",                                                      │
> │        JArray                                                                │
> │          [JObject (map [("age", JNumber 25.0); ("name", JString "Alice")]);  │
> │           JObject (map [("age", JNumber 30.0); ("name", JString "Bob")])]);  │
> │       ("nullValue", JNull); ("number", JNumber 42.0); ...])                  │
> │ JObject                                                                      │
> │   (map                                                                       │
> │      [("array", JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0;  │
> │ JNumber 5.0]); ("boolean", JBool true);                                      │
> │       ("emptyArray", JArray []); ("emptyObject", JObject (map []));          │
> │       ("escapedString", JString "This string contains \/\\\b\f\n\r\t\"\'");  │
> │       ("nestedArrays",                                                       │
> │        JArray [JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0]; JArray [      │
> │ JNumber 4.0; JNumber 5.0; JNumber 6.0]]);                                    │
> │       ("nestedObjects",                                                      │
> │        JArray                                                                │
> │          [JObject (map [("age", JNumber 25.0); ("name", JString "Alice")]);  │
> │           JObject (map [("age", JNumber 30.0); ("name", JString "Bob")])]);  │
> │ ("nullValue", JNull);                                                        │
> │       ("number", JNumber 42.0); ...])                                        │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 266592 }
00:00:33   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
    "nbconvert",
    "c:/home/git/polyglot/apps/parser/JsonParser.dib.ipynb",
    "--to",
    "html",
    "--HTMLExporter.theme=dark",
]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/parser/JsonParser.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:35 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/parser/JsonParser.dib.ipynb to html
00:00:35 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:35 verbose #7 !   validate(nb)
00:00:38 verbose #8 ! [NbConvertApp] Writing 534279 bytes to c:\home\git\polyglot\apps\parser\JsonParser.dib.html
00:00:38 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 653 }
00:00:38   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 653 }
00:00:38   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
    "-c",
    "$counter = 1; $path = 'c:/home/git/polyglot/apps/parser/JsonParser.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/parser/JsonParser.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:40 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:00:40   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:00:40   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 267304 }
00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Parser.dib"])) }
00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
    "repl",
    "--exit-after-run",
    "--run",
    "c:/home/git/polyglot/apps/parser/Parser.dib",
    "--output-path",
    "c:/home/git/polyglot/apps/parser/Parser.dib.ipynb",
]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/parser/Parser.dib" --output-path "c:/home/git/polyglot/apps/parser/Parser.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ # Parser (Polyglot)                                                          │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> open Common
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### TextInput                                                                │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type Position =
>     {
>         line : int
>         column : int
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let initialPos = { line = 0; column = 0 }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline incrCol (pos : Position) =
>     { pos with column = pos.column + 1 }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline incrLine pos =
>     { line = pos.line + 1; column = 0 }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type InputState =
>     {
>         lines : string[[]]
>         position : Position
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline fromStr str =
>     {
>         lines =
>             if str |> String.IsNullOrEmpty
>             then [[||]]
>             else str |> SpiralSm.split_string [[| "\r\n"; "\n" |]]
>         position = initialPos
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> fromStr "" |> _assertEqual {
>     lines = [[||]]
>     position = { line = 0; column = 0 }
> }
> 
> ╭─[ 76.39ms - stdout ]─────────────────────────────────────────────────────────╮
> │ { lines = [||]                                                               │
> │   position = { line = 0                                                      │
> │                column = 0 } }                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> fromStr "Hello \n World" |> _assertEqual {
>     lines = [[| "Hello "; " World" |]]
>     position = { line = 0; column = 0 }
> }
> 
> ╭─[ 36.63ms - stdout ]─────────────────────────────────────────────────────────╮
> │ { lines = [|"Hello "; " World"|]                                             │
> │   position = { line = 0                                                      │
> │                column = 0 } }                                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline currentLine inputState =
>     let linePos = inputState.position.line
>     if linePos < inputState.lines.Length
>     then inputState.lines.[[linePos]]
>     else "end of file"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline nextChar input =
>     let linePos = input.position.line
>     let colPos = input.position.column
> 
>     if linePos >= input.lines.Length
>     then input, None
>     else
>         let currentLine = currentLine input
>         if colPos < currentLine.Length then
>             let char = currentLine.[[colPos]]
>             let newPos = incrCol input.position
>             let newState = { input with position = newPos }
>             newState, Some char
>         else
>             let char = '\n'
>             let newPos = incrLine input.position
>             let newState = { input with position = newPos }
>             newState, Some char
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let newInput, charOpt = fromStr "Hello World" |> nextChar
> 
> newInput |> _assertEqual {
>     lines = [[| "Hello World" |]]
>     position = { line = 0; column = 1 }
> }
> charOpt |> _assertEqual (Some 'H')
> 
> ╭─[ 66.50ms - stdout ]─────────────────────────────────────────────────────────╮
> │ { lines = [|"Hello World"|]                                                  │
> │   position = { line = 0                                                      │
> │                column = 1 } }                                                │
> │                                                                              │
> │ Some 'H'                                                                     │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let newInput, charOpt = fromStr "Hello\n\nWorld" |> nextChar
> 
> newInput |> _assertEqual {
>     lines = [[| "Hello"; ""; "World" |]]
>     position = { line = 0; column = 1 }
> }
> charOpt |> _assertEqual (Some 'H')
> 
> ╭─[ 40.05ms - stdout ]─────────────────────────────────────────────────────────╮
> │ { lines = [|"Hello"; ""; "World"|]                                           │
> │   position = { line = 0                                                      │
> │                column = 1 } }                                                │
> │                                                                              │
> │ Some 'H'                                                                     │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### Parser                                                                   │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type Input = InputState
> type ParserLabel = string
> type ParserError = string
> 
> type ParserPosition =
>     {
>         currentLine : string
>         line : int
>         column : int
>     }
> 
> type ParseResult<'a> =
>     | Success of 'a
>     | Failure of ParserLabel * ParserError * ParserPosition
> 
> type Parser<'a> =
>     {
>         label : ParserLabel
>         parseFn : Input -> ParseResult<'a * Input>
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline printResult result =
>     match result with
>     | Success (value, input) ->
>         printfn $"%A{value}"
>     | Failure (label, error, parserPos) ->
>         let errorLine = parserPos.currentLine
>         let colPos = parserPos.column
>         let linePos = parserPos.line
>         let failureCaret = $"{' ' |> string |> String.replicate colPos}^{error}"
>         printfn $"Line:%i{linePos} Col:%i{colPos} Error parsing 
> %s{label}\n%s{errorLine}\n%s{failureCaret}"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline runOnInput parser input =
>     parser.parseFn input
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline run parser inputStr =
>     runOnInput parser (fromStr inputStr)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline parserPositionFromInputState (inputState : Input) =
>     {
>         currentLine = currentLine inputState
>         line = inputState.position.line
>         column = inputState.position.column
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline getLabel parser =
>     parser.label
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline setLabel parser newLabel =
>     {
>         label = newLabel
>         parseFn = fun input ->
>             match parser.parseFn input with
>             | Success s -> Success s
>             | Failure (oldLabel, err, pos) -> Failure (newLabel, err, pos)
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let (<?>) = setLabel
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline satisfy predicate label =
>     {
>         label = label
>         parseFn = fun input ->
>             let remainingInput, charOpt = nextChar input
>             match charOpt with
>             | None ->
>                 let err = "No more input"
>                 let pos = parserPositionFromInputState input
>                 Failure (label, err, pos)
>             | Some first ->
>                 if predicate first
>                 then Success (first, remainingInput)
>                 else
>                     let err = $"Unexpected '%c{first}'"
>                     let pos = parserPositionFromInputState input
>                     Failure (label, err, pos)
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> runOnInput parser input |> _assertEqual (
>     Success (
>         'H',
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 1 }
>         }
>     )
> )
> 
> ╭─[ 49.87ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ('H', { lines = [|"Hello"|]                                          │
> │                 position = { line = 0                                        │
> │                              column = 1 } })                                 │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "World"
> let parser = satisfy (fun c -> c = 'H') "H"
> runOnInput parser input |> _assertEqual (
>     Failure (
>         "H",
>         "Unexpected 'W'",
>         {
>             currentLine = "World"
>             line = 0
>             column = 0
>         }
>     )
> )
> 
> ╭─[ 41.92ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Failure ("H", "Unexpected 'W'", { currentLine = "World"                      │
> │                                   line = 0                                   │
> │                                   column = 0 })                              │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline bindP f p =
>     {
>         label = "unknown"
>         parseFn = fun input ->
>             match runOnInput p input with
>             | Failure (label, err, pos) -> Failure (label, err, pos)
>             | Success (value1, remainingInput) -> runOnInput (f value1) 
> remainingInput
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline (>>=) p f = bindP f p
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"
> runOnInput parser2 input |> _assertEqual (
>     Success (
>         'e',
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 2 }
>         }
>     )
> )
> 
> ╭─[ 63.45ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ('e', { lines = [|"Hello"|]                                          │
> │                 position = { line = 0                                        │
> │                              column = 2 } })                                 │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "World"
> let parser = satisfy (fun c -> c = 'W') "W"
> let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"
> runOnInput parser2 input |> _assertEqual (
>     Failure (
>         "e",
>         "Unexpected 'o'",
>         {
>             currentLine = "World"
>             line = 0
>             column = 1
>         }
>     )
> )
> 
> ╭─[ 75.71ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Failure ("e", "Unexpected 'o'", { currentLine = "World"                      │
> │                                   line = 0                                   │
> │                                   column = 1 })                              │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline returnP x =
>     {
>         label = $"%A{x}"
>         parseFn = fun input -> Success (x, input)
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = returnP "Hello"
> runOnInput parser input |> _assertEqual (
>     Success (
>         "Hello",
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 0 }
>         }
>     )
> )
> 
> ╭─[ 36.30ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ("Hello", { lines = [|"Hello"|]                                      │
> │                     position = { line = 0                                    │
> │                                  column = 0 } })                             │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline mapP f =
>     bindP (f >> returnP)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let (<!>) = mapP
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline (|>>) x f = f <!> x
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = parser |>> string
> runOnInput parser2 input |> _assertEqual (
>     Success (
>         "H",
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 1 }
>         }
>     )
> )
> 
> ╭─[ 52.48ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ("H", { lines = [|"Hello"|]                                          │
> │                 position = { line = 0                                        │
> │                              column = 1 } })                                 │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline applyP fP xP =
>     fP >>=
>         fun f ->
>             xP >>=
>                 fun x ->
>                     returnP (f x)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let (<*>) = applyP
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline lift2 f xP yP =
>     returnP f <*> xP <*> yP
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = satisfy (fun c -> c = 'e') "e"
> let parser3 = lift2 (fun c1 c2 -> string c1 + string c2) parser parser2
> runOnInput parser3 input |> _assertEqual (
>     Success (
>         "He",
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 2 }
>         }
>     )
> )
> 
> ╭─[ 81.04ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ("He", { lines = [|"Hello"|]                                         │
> │                  position = { line = 0                                       │
> │                               column = 2 } })                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline andThen p1 p2 =
>     p1 >>=
>         fun p1Result ->
>             p2 >>=
>                 fun p2Result ->
>                     returnP (p1Result, p2Result)
>     <?> $"{getLabel p1} andThen {getLabel p2}"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let (.>>.) = andThen
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = satisfy (fun c -> c = 'e') "e"
> let parser3 = parser .>>. parser2
> runOnInput parser3 input |> _assertEqual (
>     Success (
>         ('H', 'e'),
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 2 }
>         }
>     )
> )
> 
> ╭─[ 56.62ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success (('H', 'e'), { lines = [|"Hello"|]                                   │
> │                        position = { line = 0                                 │
> │                                     column = 2 } })                          │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline orElse p1 p2 =
>     {
>         label = $"{getLabel p1} orElse {getLabel p2}"
>         parseFn = fun input ->
>             match runOnInput p1 input with
>             | Success _ as result -> result
>             | Failure _ -> runOnInput p2 input
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let (<|>) = orElse
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = satisfy (fun c -> c = 'h') "h"
> let parser3 = parser <|> parser2
> runOnInput parser3 input |> _assertEqual (
>     Success (
>         'h',
>         {
>             lines = [[| "hello" |]]
>             position = { line = 0; column = 1 }
>         }
>     )
> )
> 
> ╭─[ 63.35ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ('h', { lines = [|"hello"|]                                          │
> │                 position = { line = 0                                        │
> │                              column = 1 } })                                 │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline choice listOfParsers =
>     listOfParsers |> List.reduce (<|>)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = satisfy (fun c -> c = 'h') "h"
> let parser3 = choice [[ parser; parser2 ]]
> runOnInput parser3 input |> _assertEqual (
>     Success (
>         'h',
>         {
>             lines = [[| "hello" |]]
>             position = { line = 0; column = 1 }
>         }
>     )
> )
> 
> ╭─[ 61.11ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ('h', { lines = [|"hello"|]                                          │
> │                 position = { line = 0                                        │
> │                              column = 1 } })                                 │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let rec sequence parserList =
>     match parserList with
>     | [[]] -> returnP [[]]
>     | head :: tail -> (lift2 cons) head (sequence tail)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = satisfy (fun c -> c = 'e') "e"
> let parser3 = sequence [[ parser; parser2 ]]
> runOnInput parser3 input |> _assertEqual (
>     Success (
>         [[ 'H'; 'e' ]],
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 2 }
>         }
>     )
> )
> 
> ╭─[ 79.24ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success (['H'; 'e'], { lines = [|"Hello"|]                                   │
> │                        position = { line = 0                                 │
> │                                     column = 2 } })                          │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let rec parseZeroOrMore parser input =
>     match runOnInput parser input with
>     | Failure (_, _, _) ->
>         [[]], input
>     | Success (firstValue, inputAfterFirstParse) ->
>         let subsequentValues, remainingInput = parseZeroOrMore parser 
> inputAfterFirstParse
>         firstValue :: subsequentValues, remainingInput
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline many parser =
>     {
>         label = $"many {getLabel parser}"
>         parseFn = fun input -> Success (parseZeroOrMore parser input)
>     }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = many parser
> runOnInput parser2 input |> _assertEqual (
>     Success (
>         [[]],
>         {
>             lines = [[| "hello" |]]
>             position = { line = 0; column = 0 }
>         }
>     )
> )
> 
> ╭─[ 50.29ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ([], { lines = [|"hello"|]                                           │
> │                position = { line = 0                                         │
> │                             column = 0 } })                                  │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline many1 p =
>     p >>=
>         fun head ->
>             many p >>=
>                 fun tail ->
>                     returnP (head :: tail)
>     <?> $"many1 {getLabel p}"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = many1 parser
> runOnInput parser2 input |> _assertEqual (
>     Failure (
>         "many1 H",
>         "Unexpected 'h'",
>         {
>             currentLine = "hello"
>             line = 0
>             column = 0
>         }
>     )
> )
> 
> ╭─[ 73.51ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Failure ("many1 H", "Unexpected 'h'", { currentLine = "hello"                │
> │                                         line = 0                             │
> │                                         column = 0 })                        │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline opt p =
>     let some = p |>> Some
>     let none = returnP None
>     (some <|> none)
>     <?> $"opt {getLabel p}"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "hello"
> let parser = satisfy (fun c -> c = 'H') "H"
> let parser2 = opt parser
> runOnInput parser2 input |> _assertEqual (
>     Success (
>         None,
>         {
>             lines = [[| "hello" |]]
>             position = { line = 0; column = 0 }
>         }
>     )
> )
> 
> ╭─[ 65.75ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success (None, { lines = [|"hello"|]                                         │
> │                  position = { line = 0                                       │
> │                               column = 0 } })                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline (.>>) p1 p2 =
>     p1 .>>. p2
>     |> mapP fst
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline (>>.) p1 p2 =
>     p1 .>>. p2
>     |> mapP snd
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline between p1 p2 p3 =
>     p1 >>. p2 .>> p3
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "[[Hello]]"
> let parser =
>     between
>         (satisfy (fun c -> c = '[[') "[[")
>         (many (satisfy (fun c -> [[ 'a' .. 'z' ]] @ [[ 'A' .. 'Z' ]] |> 
> List.contains c) "letter"))
>         (satisfy (fun c -> c = ']]') "]]")
> runOnInput parser input |> _assertEqual (
>     Success (
>         [[ 'H'; 'e'; 'l'; 'l'; 'o' ]],
>         {
>             lines = [[| "[[Hello]]" |]]
>             position = { line = 0; column = 7 }
>         }
>     )
> )
> 
> ╭─[ 185.47ms - stdout ]────────────────────────────────────────────────────────╮
> │ Success (['H'; 'e'; 'l'; 'l'; 'o'], { lines = [|"[Hello]"|]                  │
> │                                       position = { line = 0                  │
> │                                                    column = 7 } })           │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline sepBy1 p sep =
>     let sepThenP = sep >>. p
>     p .>>. many sepThenP
>     |>> fun (p, pList) -> p :: pList
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline sepBy p sep =
>     sepBy1 p sep <|> returnP [[]]
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello,World"
> let parser = sepBy (many (satisfy (fun c -> c <> ',') "not comma")) (satisfy 
> (fun c -> c = ',') "comma")
> runOnInput parser input |> _assertEqual (
>     Success (
>         [[ [[ 'H'; 'e'; 'l'; 'l'; 'o' ]]; [[ 'W'; 'o'; 'r'; 'l'; 'd'; '\n' ]] 
> ]],
>         {
>             lines = [[| "Hello,World" |]]
>             position = { line = 1; column = 0 }
>         }
>     )
> )
> 
> ╭─[ 116.52ms - stdout ]────────────────────────────────────────────────────────╮
> │ Success ([['H'; 'e'; 'l'; 'l'; 'o']; ['W'; 'o'; 'r'; 'l'; 'd'; '\010']], {   │
> │ lines = [|"Hello,World"|]                                                    │
> │                                                                              │
> │ position = { line = 1                                                        │
> │                                                                              │
> │ column = 0 } })                                                              │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline pchar charToMatch =
>     satisfy ((=) charToMatch) $"%c{charToMatch}"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline anyOf listOfChars =
>     listOfChars
>     |> List.map pchar
>     |> choice
>     <?> $"anyOf %A{listOfChars}"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = anyOf [[ 'H'; 'e'; 'l'; 'o' ]] |> many
> runOnInput parser input |> _assertEqual (
>     Success (
>         [[ 'H'; 'e'; 'l'; 'l'; 'o' ]],
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 5 }
>         }
>     )
> )
> 
> ╭─[ 66.03ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success (['H'; 'e'; 'l'; 'l'; 'o'], { lines = [|"Hello"|]                    │
> │                                       position = { line = 0                  │
> │                                                    column = 5 } })           │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline charListToStr charList =
>     charList |> List.toArray |> String
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline manyChars cp =
>     many cp
>     |>> charListToStr
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline manyChars1 cp =
>     many1 cp
>     |>> charListToStr
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = manyChars1 (anyOf [[ 'H'; 'e'; 'l'; 'o' ]])
> runOnInput parser input |> _assertEqual (
>     Success (
>         "Hello",
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 5 }
>         }
>     )
> )
> 
> ╭─[ 87.28ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ("Hello", { lines = [|"Hello"|]                                      │
> │                     position = { line = 0                                    │
> │                                  column = 5 } })                             │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline pstring str =
>     str
>     |> List.ofSeq
>     |> List.map pchar
>     |> sequence
>     |> mapP charListToStr
>     <?> str
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = pstring "Hello"
> runOnInput parser input |> _assertEqual (
>     Success (
>         "Hello",
>         {
>             lines = [[| "Hello" |]]
>             position = { line = 0; column = 5 }
>         }
>     )
> )
> 
> ╭─[ 73.51ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success ("Hello", { lines = [|"Hello"|]                                      │
> │                     position = { line = 0                                    │
> │                                  column = 5 } })                             │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let whitespaceChar =
>     satisfy Char.IsWhiteSpace "whitespace"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let spaces = many whitespaceChar
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let spaces1 = many1 whitespaceChar
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "  Hello"
> let parser = spaces1 .>>. pstring "Hello"
> runOnInput parser input |> _assertEqual (
>     Success (
>         ([[ ' '; ' ' ]], "Hello"),
>         {
>             lines = [[| "  Hello" |]]
>             position = { line = 0; column = 7 }
>         }
>     )
> )
> 
> ╭─[ 92.38ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success (([' '; ' '], "Hello"), { lines = [|"  Hello"|]                      │
> │                                   position = { line = 0                      │
> │                                                column = 7 } })               │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let digitChar =
>     satisfy Char.IsDigit "digit"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let input = fromStr "Hello"
> let parser = digitChar
> runOnInput parser input |> _assertEqual (
>     Failure (
>         "digit",
>         "Unexpected 'H'",
>         {
>             currentLine = "Hello"
>             line = 0
>             column = 0
>         }
>     )
> )
> 
> ╭─[ 37.16ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Failure ("digit", "Unexpected 'H'", { currentLine = "Hello"                  │
> │                                       line = 0                               │
> │                                       column = 0 })                          │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let pint =
>     let inline resultToInt (sign, digits) =
>         let i = int digits
>         match sign with
>         | Some ch -> -i
>         | None -> i
> 
>     let digits = manyChars1 digitChar
> 
>     opt (pchar '-') .>>. digits
>     |> mapP resultToInt
>     <?> "integer"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run pint "-123"
> |> _assertEqual (
>     Success (
>         -123,
>         {
>             lines = [[| "-123" |]]
>             position = { line = 0; column = 4 }
>         }
>     )
> )
> 
> ╭─[ 38.71ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success (-123, { lines = [|"-123"|]                                          │
> │                  position = { line = 0                                       │
> │                               column = 4 } })                                │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let pfloat =
>     let inline resultToFloat (((sign, digits1), point), digits2) =
>         let fl = float $"{digits1}.{digits2}"
>         match sign with
>         | Some ch -> -fl
>         | None -> fl
> 
>     let digits = manyChars1 digitChar
> 
>     opt (pchar '-') .>>. digits .>>. pchar '.' .>>. digits
>     |> mapP resultToFloat
>     <?> "float"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> run pfloat "-123.45"
> |> _assertEqual (
>     Success (
>         -123.45,
>         {
>             lines = [[| "-123.45" |]]
>             position = { line = 0; column = 7 }
>         }
>     )
> )
> 
> ╭─[ 49.31ms - stdout ]─────────────────────────────────────────────────────────╮
> │ Success (-123.45, { lines = [|"-123.45"|]                                    │
> │                     position = { line = 0                                    │
> │                                  column = 7 } })                             │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline createParserForwardedToRef<'a> () =
>     let mutable parserRef : Parser<'a> =
>         {
>             label = "unknown"
>             parseFn = fun _ -> failwith "unfixed forwarded parser"
>         }
> 
>     let wrapperParser =
>         { parserRef with
>             parseFn = fun input -> runOnInput parserRef input
>         }
> 
>     wrapperParser, (fun v -> parserRef <- v)
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline (>>%) p x =
>     p
>     |>> fun _ -> x
00:00:30 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 39314 }
00:00:30   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
    "nbconvert",
    "c:/home/git/polyglot/apps/parser/Parser.dib.ipynb",
    "--to",
    "html",
    "--HTMLExporter.theme=dark",
]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/parser/Parser.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:32 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/parser/Parser.dib.ipynb to html
00:00:32 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:32 verbose #7 !   validate(nb)
00:00:35 verbose #8 ! [NbConvertApp] Writing 413674 bytes to c:\home\git\polyglot\apps\parser\Parser.dib.html
00:00:35 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 645 }
00:00:35   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 645 }
00:00:35   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
    "-c",
    "$counter = 1; $path = 'c:/home/git/polyglot/apps/parser/Parser.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/parser/Parser.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:37 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:00:37   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:00:37   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 40018 }
00:00:00   debug #1 writeDibCode / output: Fs / path: Parser.dib
00:00:00   debug #1 writeDibCode / output: Fs / path: JsonParser.dib
00:00:00   debug #2 parseDibCode / output: Fs / file: Parser.dib
00:00:00   debug #3 parseDibCode / output: Fs / file: JsonParser.dib
In [ ]:
{ pwsh ../apps/spiral/build.ps1 } | Invoke-Block
00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Supervisor.dib", "--retries", "3"])) }
00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
    "repl",
    "--exit-after-run",
    "--run",
    "c:/home/git/polyglot/apps/spiral/Supervisor.dib",
    "--output-path",
    "c:/home/git/polyglot/apps/spiral/Supervisor.dib.ipynb",
]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/spiral/Supervisor.dib" --output-path "c:/home/git/polyglot/apps/spiral/Supervisor.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ # Supervisor (Polyglot)                                                      │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #r 
> @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
> dard2.1/FSharp.Control.AsyncSeq.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
> 0/System.Reactive.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
> netstandard2.0/System.Reactive.Linq.dll"
> #r 
> @"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com
> mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli
> ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.common/7.0.0
> /lib/net7.0/Microsoft.AspNetCore.SignalR.Common.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client/7.0.0
> /lib/net7.0/Microsoft.AspNetCore.SignalR.Client.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client.core/
> 7.0.0/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.Core.dll"
> #r 
> @"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
> rp.Json.dll"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #if !INTERACTIVE
> open Lib
> #endif
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> open Common
> open SpiralFileSystem.Operators
> open Microsoft.AspNetCore.SignalR.Client
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### sendJson                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline sendJson (port : int) (json : string) = async {
>     let host = "127.0.0.1"
>     let! portOpen = SpiralNetworking.test_port_open host port
>     if portOpen then
>         try
>             let connection = 
> HubConnectionBuilder().WithUrl($"http://{host}:{port}").Build()
>             do! connection.StartAsync () |> Async.AwaitTask
>             let! result = connection.InvokeAsync<string>("ClientToServerMsg", 
> json) |> Async.AwaitTask
>             do! connection.StopAsync () |> Async.AwaitTask
>             trace Verbose (fun () -> $"Supervisor.sendJson / port: {port} / 
> json: {json |> SpiralSm.ellipsis_end 200} / result: {result |> Option.ofObj |> 
> Option.map (SpiralSm.ellipsis_end 200)}") _locals
>             return Some result
>         with ex ->
>             trace Critical (fun () -> $"Supervisor.sendJson / port: {port} / 
> json: {json |> SpiralSm.ellipsis_end 200} / ex: {ex |> 
> SpiralSm.format_exception}") _locals
>             return None
>     else
>         trace Debug (fun () -> "Supervisor.sendJson / port: {port} / error: port
> not open") _locals
>         return None
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### sendObj                                                                  │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline sendObj port obj =
>     obj
>     |> System.Text.Json.JsonSerializer.Serialize
>     |> sendJson port
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### VSCPos                                                                   │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type VSCPos = {| line : int; character : int |}
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### VSCRange                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type VSCRange = VSCPos * VSCPos
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### RString                                                                  │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type RString = VSCRange * string
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### TracedError                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type TracedError = {| trace : string list; message : string |}
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### ClientErrorsRes                                                          │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type ClientErrorsRes =
>     | FatalError of string
>     | TracedError of TracedError
>     | PackageErrors of {| uri : string; errors : RString list |}
>     | TokenizerErrors of {| uri : string; errors : RString list |}
>     | ParserErrors of {| uri : string; errors : RString list |}
>     | TypeErrors of {| uri : string; errors : RString list |}
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### workspaceRoot                                                            │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let workspaceRoot = SpiralFileSystem.get_workspace_root ()
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### awaitCompiler                                                            │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline awaitCompiler port cancellationToken = async {
>     let host = "127.0.0.1"
>     let struct (ct, disposable) = cancellationToken |> 
> SpiralThreading.new_disposable_token
>     let! ct = ct |> SpiralAsync.merge_cancellation_token_with_default_async
> 
>     let compiler = MailboxProcessor.Start (fun inbox -> async {
>         let! availablePort = SpiralNetworking.get_available_port (Some 180) host
> port
>         if availablePort <> port then
>             inbox.Post (port, false)
>         else
>             let compilerPath =
>                 workspaceRoot </> "deps/The-Spiral-Language/The Spiral Language 
> 2/artifacts/bin/The Spiral Language 2/release"
>                 |> System.IO.Path.GetFullPath
> 
>             let dllPath = compilerPath </> "Spiral.dll"
> 
>             let! exitCode, result =
>                 SpiralRuntime.execution_options (fun x ->
>                     { x with
>                         l0 = $@"dotnet ""{dllPath}"" --port {availablePort} 
> --default-int i32 --default-float f64"
>                         l1 = Some ct
>                         l3 = Some (fun struct (_, line, _) -> async {
>                             if line |> SpiralSm.contains 
> $"System.IO.IOException: Failed to bind to address http://{host}:{port}: address
> already in use." then
>                                 inbox.Post (port, false)
> 
>                             if line |> SpiralSm.contains $"Server bound to: 
> http://localhost:{availablePort}" then
>                                 let rec loop retry = async {
>                                     do!
>                                         SpiralNetworking.wait_for_port_access 
> (Some 100) true host availablePort
>                                         |> Async.runWithTimeoutAsync 500
>                                         |> Async.Ignore
> 
>                                     let _locals () = $"port: {availablePort} / 
> retry: {retry} / {_locals ()}"
>                                     try
>                                         let pingObj = {| Ping = true |}
>                                         let! pingResult = pingObj |> sendObj 
> availablePort
>                                         trace Verbose (fun () -> $"awaitCompiler
> / Ping / result: '{pingResult}'") _locals
> 
>                                         inbox.Post (availablePort, true)
>                                     with ex ->
>                                         trace Verbose (fun () -> $"awaitCompiler
> / Ping / ex: {ex |> SpiralSm.format_exception}") _locals
>                                         do! Async.Sleep 10
>                                         do! loop (retry + 1)
>                                 }
>                                 do! loop 0
>                         })
>                         l6 = Some workspaceRoot
>                     }
>                 )
>                 |> SpiralRuntime.execute_with_options_async
> 
>             trace Debug (fun () -> $"awaitCompiler / exitCode: {exitCode} / 
> result: {result}") _locals
>             disposable.Dispose ()
>     }, ct)
> 
>     let! serverPort, managed = compiler.Receive ()
> 
>     let connection = 
> HubConnectionBuilder().WithUrl($"http://{host}:{serverPort}").Build ()
>     do! connection.StartAsync () |> Async.AwaitTask
> 
>     let event = Event<_> ()
>     let disposable' = connection.On<string> ("ServerToClientMsg", event.Trigger)
>     let stream =
>         FSharp.Control.AsyncSeq.unfoldAsync
>             (fun () -> async {
>                 let! msg = event.Publish |> Async.AwaitEvent
>                 return Some (msg |> 
> FSharp.Json.Json.deserialize<ClientErrorsRes>, ())
>             })
>             ()
> 
>     let disposable' =
>         new_disposable (fun () ->
>             async {
>                 disposable'.Dispose ()
>                 do! connection.StopAsync () |> Async.AwaitTask
>                 disposable.Dispose ()
>                 if managed
>                 then do!
>                     SpiralNetworking.wait_for_port_access (Some 100) false host 
> serverPort
>                     |> Async.runWithTimeoutAsync 1500
>                     |> Async.Ignore
>             }
>             |> Async.RunSynchronously
>         )
> 
>     return
>         serverPort,
>         stream,
>         ct,
>         disposable'
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### getFilePathFromUri                                                       │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline getFilePathFromUri uri =
>     match System.Uri.TryCreate (uri, System.UriKind.Absolute) with
>     | true, uri -> uri.AbsolutePath |> System.IO.Path.GetFullPath
>     | _ -> failwith "invalid uri"
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### getCompilerPort                                                          │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline getCompilerPort () =
>     13805
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### serialize_obj                                                            │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
>     let serializeObj obj =
>         try
>             obj
>             |> FSharp.Json.Json.serialize
>             |> SpiralSm.replace "\\\\" "\\"
>             |> SpiralSm.replace "\\r\\n" "\n"
>             |> SpiralSm.replace "\\n" "\n"
>         with ex ->
>             trace Critical (fun () -> "Supervisor.serialize_obj / obj: %A{obj}")
> _locals
>             ""
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### Backend                                                                  │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type Backend =
>     | Fsharp
>     | Cuda
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### buildFile                                                                │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline buildFile backend timeout port cancellationToken path =
>     let rec loop retry = async {
>         let fullPath = path |> System.IO.Path.GetFullPath
>         let fileDir = fullPath |> System.IO.Path.GetDirectoryName
>         let fileName = fullPath |> System.IO.Path.GetFileNameWithoutExtension
>         let! code = fullPath |> SpiralFileSystem.read_all_text_async
> 
>         let stream, disposable = fileDir |> FileSystem.watchDirectory (fun _ -> 
> true)
>         use _ = disposable
> 
>         let struct (token, disposable) = SpiralThreading.new_disposable_token 
> cancellationToken
>         use _ = disposable
> 
>         let port = port |> Option.defaultWith getCompilerPort
>         let! serverPort, errors, ct, disposable = awaitCompiler port (Some 
> token)
>         use _ = disposable
> 
>         let outputFileName =
>             match backend with
>             | Fsharp -> $"{fileName}.fsx"
>             | Cuda -> $"{fileName}.py"
> 
>         let outputContentSeq =
>             stream
>             |> FSharp.Control.AsyncSeq.chooseAsync (function
>                 | _, (FileSystem.FileSystemChange.Changed (path, Some text))
>                     when (path |> System.IO.Path.GetFileName) = outputFileName
>                     ->
>                         // fileDir </> path |> 
> SpiralFileSystem.read_all_text_retry_async
>                         text |> Some |> Async.init
>                 | _ -> None |> Async.init
>             )
>             |> FSharp.Control.AsyncSeq.map (fun content ->
>                 Some (content |> SpiralSm.replace "\r\n" "\n"), None
>             )
> 
>         let inline printErrorData (data : {| uri : string; errors : RString list
> |}) =
>             let fileName = data.uri |> System.IO.Path.GetFileName
>             let errors =
>                 data.errors
>                 |> List.map snd
>                 |> SpiralSm.concat "\n"
>             $"{fileName}:\n{errors}"
> 
>         let errorsSeq =
>             errors
>             |> FSharp.Control.AsyncSeq.choose (fun error ->
>                 match error with
>                 | FatalError message ->
>                     Some (message, error)
>                 | TracedError data ->
>                     Some (data.message, error)
>                 | PackageErrors data when data.errors |> List.isEmpty |> not ->
>                     Some (data |> printErrorData, error)
>                 | TokenizerErrors data when data.errors |> List.isEmpty |> not 
> ->
>                     Some (data |> printErrorData, error)
>                 | ParserErrors data when data.errors |> List.isEmpty |> not ->
>                     Some (data |> printErrorData, error)
>                 | TypeErrors data when data.errors |> List.isEmpty |> not ->
>                     Some (data |> printErrorData, error)
>                 | _ -> None
>             )
>             |> FSharp.Control.AsyncSeq.map (fun (message, error) ->
>                 None, Some (message, error)
>             )
> 
>         let timerSeq =
>             500
>             |> FSharp.Control.AsyncSeq.intervalMs
>             |> FSharp.Control.AsyncSeq.map (fun _ -> None, None)
> 
>         let outputSeq =
>             [[ outputContentSeq; errorsSeq; timerSeq ]]
>             |> FSharp.Control.AsyncSeq.mergeAll
> 
>         let! outputChild =
>             ((None, [[]], 0), outputSeq)
>             ||> FSharp.Control.AsyncSeq.scan (
>                 fun (outputContentResult, errors, typeErrorCount) 
> (outputContent, error) ->
>                     trace Debug (fun () -> $"Supervisor.buildFile / 
> AsyncSeq.scan / outputContent:\n{outputContent |> Option.defaultValue 
> System.String.Empty |> SpiralSm.ellipsis_end 300} / errors: {errors |> 
> serializeObj} / outputContentResult: {outputContentResult} / typeErrorCount: 
> {typeErrorCount} / retry: {retry} / error: {error} / path: {path}") _locals
>                     match outputContent, error with
>                     | Some outputContent, None -> Some outputContent, errors, 
> typeErrorCount
>                     | None, Some (_, FatalError "File main has a type error 
> somewhere in its path.") ->
>                         outputContentResult, errors, typeErrorCount + 1
>                     | None, Some error -> outputContentResult, error :: errors, 
> typeErrorCount
>                     | None, None when typeErrorCount >= 1 ->
>                         outputContentResult, errors, typeErrorCount + 1
>                     | _ -> outputContentResult, errors, typeErrorCount
>             )
>             |> FSharp.Control.AsyncSeq.takeWhileInclusive (fun (outputContent, 
> errors, typeErrorCount) ->
>                 trace Debug (fun () -> $"Supervisor.buildFile / 
> takeWhileInclusive / outputContent:\n{outputContent |> Option.defaultValue 
> System.String.Empty |> SpiralSm.ellipsis_end 300} / errors: {errors |> 
> serializeObj} / typeErrorCount: {typeErrorCount} / retry: {retry} / path: 
> {path}") _locals
>     #if INTERACTIVE
>                 let errorWait = 2
>     #else
>                 let errorWait = 2
>     #endif
>                 match outputContent, errors with
>                 | None, [[]] when typeErrorCount > errorWait -> false
>                 | None, [[]] -> true
>                 | _ -> false
>             )
>             |> FSharp.Control.AsyncSeq.tryLast
>             |> Async.withCancellationToken ct
>             |> Async.catch
>             |> Async.runWithTimeoutAsync timeout
>             |> Async.StartChild
> 
>         // do! Async.Sleep 60
> 
>         let fullPathUri = fullPath |> SpiralFileSystem.normalize_path |> 
> SpiralFileSystem.new_file_uri
> 
>         let fileOpenObj = {| FileOpen = {| uri = fullPathUri; spiText = code |} 
> |}
>         let! _fileOpenResult = fileOpenObj |> sendObj serverPort
> 
>         // do! Async.Sleep 60
> 
>         let backendId =
>             match backend with
>             | Fsharp -> "Fsharp"
>             | Cuda -> "Python + Cuda"
>         let buildFileObj = {| BuildFile = {| uri = fullPathUri; backend = 
> backendId |} |}
>         let! _buildFileResult = buildFileObj |> sendObj serverPort
> 
>         let! result, typeErrorCount =
>             outputChild
>             |> Async.map (function
>                 | Some (Ok (Some (outputCode, errors, typeErrorCount))) ->
>                     (outputCode, errors |> List.distinct |> List.rev), 
> typeErrorCount
>                 | Some (Error ex) ->
>                     trace Critical (fun () -> $"Supervisor.buildFile / error: 
> {ex |> SpiralSm.format_exception} / retry: {retry}") _locals
>                     (None, [[]]), 0
>                 | _ -> (None, [[]]), 0
>             )
>         
>         match result with
>         | None, _ when typeErrorCount > 0 && retry = 0 ->
>             return! loop (retry + 1)
>         | _ ->
>             if fileDir |> SpiralSm.starts_with (workspaceRoot </> "target") then
>                 let fileDirUri = fileDir |> SpiralFileSystem.normalize_path |> 
> SpiralFileSystem.new_file_uri
>                 let fileDeleteObj = {| FileDelete = {| uris = [[| fileDirUri |]]
> |} |}
>                 let! _fileDeleteResult = fileDeleteObj |> sendObj serverPort
>                 ()
> 
>             let outputPath = fileDir </> outputFileName
>             return outputPath, result
>     }
>     loop 0
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### SpiralInput                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> type SpiralInput =
>     | Spi of string * string option
>     | Spir of string
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### persistCode                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline persistCode backend input = async {
>     let targetDir = workspaceRoot </> "target/spiral_Eval"
> 
>     let packagesDir = targetDir </> "packages"
> 
>     let hashHex = $"%A{backend}%A{input}" |> SpiralCrypto.hash_text
> 
>     let codeDir = packagesDir </> hashHex
>     codeDir |> System.IO.Directory.CreateDirectory |> ignore
> 
>     let moduleName = "main"
> 
>     let spirModule, spiModule =
>         match input with
>         | Spi (spi, Some spir) -> true, true
>         | Spi (spi, None) -> false, true
>         | Spir spir -> true, false
>         |> fun (spir, spi) ->
>             (if spir then $"real_{moduleName}*-" else ""),
>             if spi then moduleName else ""
> 
>     let spiprojPath = codeDir </> "package.spiproj"
>     let spiprojCode =
>         $"""packageDir: {workspaceRoot </> "lib"}
> packages:
>     |core-
>     spiral-
> modules:
>     {spirModule}
>     {spiModule}
> """
>     do! spiprojCode |> SpiralFileSystem.write_all_text_exists spiprojPath
> 
>     let spirPath = codeDir </> $"real_{moduleName}.spir"
>     let spiPath = codeDir </> $"{moduleName}.spi"
> 
>     let spirCode, spiCode =
>         match input with
>         | Spi (spi, Some spir) -> Some spir, Some spi
>         | Spi (spi, None) -> None, Some spi
>         | Spir spir -> Some spir, None
> 
>     match spirCode with
>     | Some spir -> do! spir |> SpiralFileSystem.write_all_text_exists spirPath
>     | None -> ()
>     match spiCode with
>     | Some spi -> do! spi |> SpiralFileSystem.write_all_text_exists spiPath
>     | None -> ()
> 
>     let spiralPath =
>         match input with
>         | Spi _ -> spiPath
>         | Spir _ -> spirPath
>     match backend with
>     | None -> return spiralPath, None
>     | Some backend ->
>         let outputFileName =
>             let fileName =
>                 match input with
>                 | Spi _ -> moduleName
>                 | Spir _ -> $"real_{moduleName}"
>             match backend with
>             | Fsharp -> $"{fileName}.fsx"
>             | Cuda -> $"{fileName}.py"
>         let outputPath = codeDir </> outputFileName
>         if outputPath |> System.IO.File.Exists |> not
>         then return spiralPath, None
>         else
>             let! oldCode = spiralPath |> SpiralFileSystem.read_all_text_async
>             if oldCode <> (spiCode |> Option.defaultValue (spirCode |> 
> Option.defaultValue ""))
>             then return spiralPath, None
>             else
>                 let! outputCode = outputPath |> 
> SpiralFileSystem.read_all_text_async
>                 return spiralPath, Some (outputPath, outputCode |> 
> SpiralSm.replace "\r\n" "\n")
>     }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### buildCode                                                                │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let buildCode backend isCache timeout cancellationToken input = async {
>     let! mainPath, outputCache = input |> persistCode (Some backend)
>     match outputCache with
>     | Some (outputPath, outputCode) when isCache -> return mainPath, 
> (outputPath, Some outputCode), [[]]
>     | _ ->
>         let! outputPath, (outputCode, errors) = mainPath |> buildFile backend 
> timeout None cancellationToken
>         return mainPath, (outputPath, outputCode), errors
> }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """inl app () =
>     console.write_line "text"
>     1i32
> 
> inl main () =
>     app
>     |> dyn
>     |> ignore
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 15000 None
> |> Async.runWithTimeout 15000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         Some """let rec closure1 () () : unit =
>     let v0 : (string -> unit) = System.Console.WriteLine
>     let v1 : string = "text"
>     v0 v1
> and closure0 () () : int32 =
>     let v0 : unit = ()
>     let v1 : (unit -> unit) = closure1()
>     let v2 : unit = (fun () -> v1 (); v0) ()
>     1
> let v0 : (unit -> int32) = closure0()
> ()
> """,
>         [[]]
>     )
> )
> 
> ╭─[ 10.81s - stdout ]──────────────────────────────────────────────────────────╮
> │ 00:00:22 verbose #1 async.run_with_timeout_async / { timeout = 180 }    │
> │ 00:00:17   debug #1 runtime.execute_with_options_async / { options = {  │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:00:18 verbose #2 > 00:00:00   debug #1 pwd:                     │
> │ C:\home\git\polyglot                                                         │
> │ 00:00:18 verbose #3 > 00:00:00   debug #2 dllPath:                 │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:00:18 verbose #4 > 00:00:00   debug #3 targetDir:               │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:00:24 verbose #2 async.run_with_timeout_async / { timeout = 100 }    │
> │ 00:00:24 verbose #3 networking.wait_for_port_access / { port = 13805;   │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:00:24 verbose #4 async.run_with_timeout_async / { timeout = 100 }    │
> │ 00:00:24 verbose #5 async.run_with_timeout_async / { timeout = 100 }    │
> │ 00:00:14   debug #1 runWithTimeoutAsync / timeout: 500                  │
> │ 00:00:19 verbose #5 > Starting the Spiral Server. It is bound to:       │
> │ http://localhost:13805                                                       │
> │ 00:00:15 verbose #2 Supervisor.sendJson / port: 13805 / json:           │
> │ {"Ping":true} / result:                                                      │
> │ 00:00:15 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: │
> │ 13805 / retry: 0                                                             │
> │ 00:00:20 verbose #6 > Server bound to: http://localhost:13805           │
> │ 00:00:15   debug #4 Supervisor.buildFile / takeWhileInclusive /         │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:15   debug #5 Supervisor.buildFile / AsyncSeq.scan /              │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:15   debug #6 Supervisor.buildFile / takeWhileInclusive /         │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:15 verbose #7 Supervisor.sendJson / port: 13805 / json:           │
> │ {"FileOpen":{"spiText":"inl app () =\n    console.write_line                 │
> │ \u0022text\u0022\n    1i32\n\ninl main                                       │
> │ ...et/spiral_Eval/packages/22ccd04317d5605c65f81c7f777766f357e85dc69f2d6d04b │
> │ 9dc60aebd08a0d6/main.spi"}} / result:                                        │
> │ 00:00:15 verbose #8 Supervisor.sendJson / port: 13805 / json:           │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/22ccd04317d5605c65f81c7f777766f357e85dc69f2d6d04b9dc60a │
> │ ebd08a0d6/main.spi"}} / result:                                              │
> │ 00:00:15   debug #9 Supervisor.buildFile / AsyncSeq.scan /              │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:15   debug #10 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:16   debug #11 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:16   debug #12 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:22 verbose #7 > 00:00:03   debug #4                          │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6/main.spi                               │
> │ 00:00:16   debug #13 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:16   debug #14 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:17   debug #15 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:17   debug #16 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:17   debug #17 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:17   debug #18 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:18   debug #19 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:18   debug #20 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:18   debug #21 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:18   debug #22 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:19   debug #23 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:19   debug #24 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:20   debug #25 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:20   debug #26 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:20   debug #27 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:20   debug #28 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:21   debug #29 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:21   debug #30 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:21   debug #31 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:21   debug #32 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:22   debug #33 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:22   debug #34 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:22   debug #35 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │ let rec closure1 () () : unit =                                              │
> │     let v0 : (string -> unit) = System.Console.WriteLine                     │
> │     let v1 : string = "text"                                                 │
> │     v0 v1                                                                    │
> │ and closure0 () () : i...t v0 : unit = ()                                    │
> │     let v1 : (unit -> unit) = closure1()                                     │
> │     let v2 : unit = (fun () -> v1 (); v0) ()                                 │
> │     1                                                                        │
> │ let v0 : (unit -> int32) = closure0()                                        │
> │ ()                                                                           │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:22   debug #36 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │ let rec closure1 () () : unit =                                              │
> │     let v0 : (string -> unit) = System.Console.WriteLine                     │
> │     let v1 : string = "text"                                                 │
> │     v0 v1                                                                    │
> │ and closure0 () () : i...t v0 : unit = ()                                    │
> │     let v1 : (unit -> unit) = closure1()                                     │
> │     let v2 : unit = (fun () -> v1 (); v0) ()                                 │
> │     1                                                                        │
> │ let v0 : (unit -> int32) = closure0()                                        │
> │ ()                                                                           │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\22ccd04317d5605c65f81c7f777 │
> │ 766f357e85dc69f2d6d04b9dc60aebd08a0d6\main.spi                               │
> │ 00:00:22 verbose #37 Supervisor.sendJson / port: 13805 / json:          │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/22ccd04317d5605c65 │
> │ f81c7f777766f357e85dc69f2d6d04b9dc60aebd08a0d6"]}} / result:                 │
> │ 00:00:32 verbose #6 networking.wait_for_port_access / { port = 13805;   │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:00:32 verbose #7 async.run_with_timeout_async / { timeout = 100 }    │
> │ 00:00:22   debug #38 FileSystem.watchWithFilter / Disposing watch       │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some                                                                         │
> │   (Some                                                                      │
> │      "let rec closure1 () () : unit =                                        │
> │     let v0 : (string -> unit) = System.Console.WriteLine                     │
> │     let v1 : string = "text"                                                 │
> │     v0 v1                                                                    │
> │ and closure0 () () : int32 =                                                 │
> │     let v0 : unit = ()                                                       │
> │     let v1 : (unit -> unit) = closure1()                                     │
> │     let v2 : unit = (fun () -> v1 (); v0) ()                                 │
> │     1                                                                        │
> │ let v0 : (unit -> int32) = closure0()                                        │
> │ ()                                                                           │
> │ ",                                                                           │
> │    [])                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> ""
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         None,
>         [[ "Cannot find `main` in file main." ]]
>     )
> )
> 
> ╭─[ 6.83s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:00:33 verbose #8 async.run_with_timeout_async / { timeout = 180 }    │
> │ 00:00:28   debug #8 runtime.execute_with_options_async / { options = {  │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:00:28 verbose #9 > 00:00:00   debug #1 pwd:                     │
> │ C:\home\git\polyglot                                                         │
> │ 00:00:28 verbose #10 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:00:28 verbose #11 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:00:33 verbose #9 async.run_with_timeout_async / { timeout = 100 }    │
> │ 00:00:33 verbose #10 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:00:33 verbose #11 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:34 verbose #12 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:29 verbose #12 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:00:34 verbose #13 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:23   debug #39 runWithTimeoutAsync / timeout: 500                 │
> │ 00:00:24 verbose #40 Supervisor.sendJson / port: 13805 / json:          │
> │ {"Ping":true} / result:                                                      │
> │ 00:00:24 verbose #41 awaitCompiler / Ping / result: 'Some(null)' /      │
> │ port: 13805 / retry: 0                                                       │
> │ 00:00:29 verbose #13 > Server bound to: http://localhost:13805          │
> │ 00:00:24   debug #42 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:24   debug #43 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:24   debug #44 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:24 verbose #45 Supervisor.sendJson / port: 13805 / json:          │
> │ {"FileOpen":{"spiText":"","uri":"file:///c:/home/git/polyglot/target/spiral_ │
> │ Eval/packages/a65342ccc7da0da967b18d8e705d0260e9a932e5e68c0feb33db55c4d28170 │
> │ aa/main.spi"}} / result:                                                     │
> │ 00:00:24 verbose #46 Supervisor.sendJson / port: 13805 / json:          │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/a65342ccc7da0da967b18d8e705d0260e9a932e5e68c0feb33db55c │
> │ 4d28170aa/main.spi"}} / result:                                              │
> │ 00:00:24   debug #47 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:24   debug #48 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:30 verbose #14 > 00:00:01   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa/main.spi                               │
> │ 00:00:25   debug #49 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:25   debug #50 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:25   debug #51 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:25   debug #52 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:26   debug #53 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:26   debug #54 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:26   debug #55 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:26   debug #56 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:27   debug #57 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:27   debug #58 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:27   debug #59 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:27   debug #60 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:28   debug #61 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:28   debug #62 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:28   debug #63 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:28   debug #64 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:29   debug #65 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error: Some((Cannot find `main` in file main., FatalError "Cannot find       │
> │ `main` in file main.")) / path:                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:29   debug #66 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "Cannot find `main` in file main.",                                      │
> │     {                                                                        │
> │       "FatalError": "Cannot find `main` in file main."                       │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 0 / retry: 0 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\a65342ccc7da0da967b18d8e705 │
> │ d0260e9a932e5e68c0feb33db55c4d28170aa\main.spi                               │
> │ 00:00:29 verbose #67 Supervisor.sendJson / port: 13805 / json:          │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/a65342ccc7da0da967 │
> │ b18d8e705d0260e9a932e5e68c0feb33db55c4d28170aa"]}} / result:                 │
> │ 00:00:39 verbose #14 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:00:39 verbose #15 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:29   debug #68 FileSystem.watchWithFilter / Disposing watch       │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (None, ["Cannot find `main` in file main."])                            │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """inl main () =
>     1i32 / 0i32
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         None,
>         [[ "An attempt to divide by zero has been detected at compile time." ]]
>     )
> )
> 
> ╭─[ 7.15s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:00:40 verbose #16 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:00:35   debug #15 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:00:35 verbose #16 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:00:35 verbose #17 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:00:35 verbose #18 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:00:40 verbose #17 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:40 verbose #18 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:00:40 verbose #19 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:41 verbose #20 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:36 verbose #19 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:00:41 verbose #21 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:30   debug #69 runWithTimeoutAsync / timeout: 500                 │
> │ 00:00:31 verbose #70 Supervisor.sendJson / port: 13805 / json:          │
> │ {"Ping":true} / result:                                                      │
> │ 00:00:31 verbose #71 awaitCompiler / Ping / result: 'Some(null)' /      │
> │ port: 13805 / retry: 0                                                       │
> │ 00:00:36 verbose #20 > Server bound to: http://localhost:13805          │
> │ 00:00:31   debug #72 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:31   debug #73 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:31   debug #74 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:31 verbose #75 Supervisor.sendJson / port: 13805 / json:          │
> │ {"FileOpen":{"spiText":"inl main () =\n    1i32 /                            │
> │ 0i32\n","uri":"file:///c:/home/git/polyglot/target/spiral_Eval/packages/fef9 │
> │ 812d9b06b75b1ab26589e52c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2/main.spi"}} /   │
> │ result:                                                                      │
> │ 00:00:31 verbose #76 Supervisor.sendJson / port: 13805 / json:          │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/fef9812d9b06b75b1ab26589e52c6d6ff05910b73ead9e8c4f27f88 │
> │ d2a5cdfb2/main.spi"}} / result:                                              │
> │ 00:00:32   debug #77 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:32   debug #78 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:37 verbose #21 > 00:00:02   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2/main.spi                               │
> │ 00:00:32   debug #79 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:32   debug #80 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:33   debug #81 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:33   debug #82 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:33   debug #83 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:33   debug #84 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:34   debug #85 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:34   debug #86 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:34   debug #87 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:34   debug #88 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:35   debug #89 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:35   debug #90 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:35   debug #91 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:35   debug #92 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:36   debug #93 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:36   debug #94 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:36   debug #95 Supervisor.buildFile / AsyncSeq.scan /             │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error: Some((An attempt to divide by zero has been detected at compile       │
> │ time., TracedError                                                           │
> │   { message = "An attempt to divide by zero has been detected at compile     │
> │ time."                                                                       │
> │     trace =                                                                  │
> │      ["Error trace on line: 1, column: 10 in module:                         │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2/main.spi.                              │
> │ inl main () =                                                                │
> │          ^                                                                   │
> │ ";                                                                           │
> │       "Error trace on line: 2, column: 5 in module:                          │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2/main.spi.                              │
> │     1i32 / 0i32                                                              │
> │     ^                                                                        │
> │ "] })) / path:                                                               │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:36   debug #96 Supervisor.buildFile / takeWhileInclusive /        │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "An attempt to divide by zero has been detected at compile time.",       │
> │     {                                                                        │
> │       "TracedError": {                                                       │
> │         "message": "An attempt to divide by zero has been detected at        │
> │ compile time.",                                                              │
> │         "trace": [                                                           │
> │           "Error trace on line: 1, column: 10 in module:                     │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2/main.spi.                              │
> │ inl main () =                                                                │
> │          ^                                                                   │
> │ ",                                                                           │
> │           "Error trace on line: 2, column: 5 in module:                      │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2/main.spi.                              │
> │     1i32 / 0i32                                                              │
> │     ^                                                                        │
> │ "                                                                            │
> │         ]                                                                    │
> │       }                                                                      │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 0 / retry: 0 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\fef9812d9b06b75b1ab26589e52 │
> │ c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2\main.spi                               │
> │ 00:00:36 verbose #97 Supervisor.sendJson / port: 13805 / json:          │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/fef9812d9b06b75b1a │
> │ b26589e52c6d6ff05910b73ead9e8c4f27f88d2a5cdfb2"]}} / result:                 │
> │ 00:00:46 verbose #22 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:00:46 verbose #23 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:36   debug #98 FileSystem.watchWithFilter / Disposing watch       │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (None, ["An attempt to divide by zero has been detected at compile      │
> │ time."])                                                                     │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """inl main () =
>     1 + ""
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         None,
>         [[
>             "main.spi:
> Constraint satisfaction error.
> Got: string
> Fails to satisfy: number"
>         ]]
>     )
> )
> 
> ╭─[ 6.80s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:00:47 verbose #24 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:00:42   debug #22 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:00:42 verbose #23 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:00:42 verbose #24 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:00:42 verbose #25 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:00:47 verbose #25 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:47 verbose #26 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:00:48 verbose #27 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:48 verbose #28 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:43 verbose #26 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:00:48 verbose #29 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:37   debug #99 runWithTimeoutAsync / timeout: 500                 │
> │ 00:00:38 verbose #100 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:00:38 verbose #101 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:00:44 verbose #27 > Server bound to: http://localhost:13805          │
> │ 00:00:38   debug #102 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:38   debug #103 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:38   debug #104 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:38 verbose #105 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"inl main () =\n    1 \u002B                          │
> │ \u0022\u0022\n","uri":"file:///c:/home/git/polyg...et/spiral_Eval/packages/c │
> │ 030f84f8e553befcbdd9aabeace67685221d91a46e3655199e42df713504aa0/main.spi"}}  │
> │ / result:                                                                    │
> │ 00:00:38 verbose #106 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/c030f84f8e553befcbdd9aabeace67685221d91a46e3655199e42df │
> │ 713504aa0/main.spi"}} / result:                                              │
> │ 00:00:39   debug #107 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:39   debug #108 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:44 verbose #28 > 00:00:02   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0/main.spi                               │
> │ 00:00:39   debug #109 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:39   debug #110 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:40   debug #111 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:40   debug #112 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:40   debug #113 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:40   debug #114 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:41   debug #115 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:41   debug #116 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:41   debug #117 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:41   debug #118 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #119 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #120 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #121 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #122 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #123 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error: Some((File main has a type error somewhere in its path., FatalError   │
> │ "File main has a type error somewhere in its path.")) / path:                │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #124 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 1 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #125 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 1 / retry: 0 /       │
> │ error: Some((main.spi:                                                       │
> │ Constraint satisfaction error.                                               │
> │ Got: string                                                                  │
> │ Fails to satisfy: number, TypeErrors                                         │
> │   { errors =                                                                 │
> │      [(({ character = 8                                                      │
> │           line = 1 }, { character = 10                                       │
> │                         line = 1 }),                                         │
> │        "Constraint satisfaction error.                                       │
> │ Got: string                                                                  │
> │ Fails to satisfy: number")]                                                  │
> │     uri =                                                                    │
> │                                                                              │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/c030f84f8e553befcb │
> │ dd9aabeace67685221d91a46e3655199e42df713504aa0/main.spi" })) / path:         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:42   debug #126 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "main.spi:                                                               │
> │ Constraint satisfaction error.                                               │
> │ Got: string                                                                  │
> │ Fails to satisfy: number",                                                   │
> │     {                                                                        │
> │       "TypeErrors": {                                                        │
> │         "errors": [                                                          │
> │           [                                                                  │
> │             [                                                                │
> │               {                                                              │
> │                 "character": 8,                                              │
> │                 "line": 1                                                    │
> │               },                                                             │
> │               {                                                              │
> │                 "character": 10,                                             │
> │                 "line": 1                                                    │
> │               }                                                              │
> │             ],                                                               │
> │             "Constraint satisfaction error.                                  │
> │ Got: string                                                                  │
> │ Fails to satisfy: number"                                                    │
> │           ]                                                                  │
> │         ],                                                                   │
> │         "uri":                                                               │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/c030f84f8e553befcb │
> │ dd9aabeace67685221d91a46e3655199e42df713504aa0/main.spi"                     │
> │       }                                                                      │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 1 / retry: 0 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:53 verbose #30 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:00:43   debug #127 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 1 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:43   debug #128 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 1 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:43   debug #129 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 1 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:43 verbose #130 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"inl main () =\n    1 \u002B                          │
> │ \u0022\u0022\n","uri":"file:///c:/home/git/polyg...et/spiral_Eval/packages/c │
> │ 030f84f8e553befcbdd9aabeace67685221d91a46e3655199e42df713504aa0/main.spi"}}  │
> │ / result:                                                                    │
> │ 00:00:43 verbose #131 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/c030f84f8e553befcbdd9aabeace67685221d91a46e3655199e42df │
> │ 713504aa0/main.spi"}} / result:                                              │
> │ 00:00:48 verbose #29 > 00:00:06   debug #5                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0/main.spi                               │
> │ 00:00:43   debug #132 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 1 /       │
> │ error: Some((main.spi:                                                       │
> │ Constraint satisfaction error.                                               │
> │ Got: string                                                                  │
> │ Fails to satisfy: number, TypeErrors                                         │
> │   { errors =                                                                 │
> │      [(({ character = 8                                                      │
> │           line = 1 }, { character = 10                                       │
> │                         line = 1 }),                                         │
> │        "Constraint satisfaction error.                                       │
> │ Got: string                                                                  │
> │ Fails to satisfy: number")]                                                  │
> │     uri =                                                                    │
> │                                                                              │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/c030f84f8e553befcb │
> │ dd9aabeace67685221d91a46e3655199e42df713504aa0/main.spi" })) / path:         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:43   debug #133 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "main.spi:                                                               │
> │ Constraint satisfaction error.                                               │
> │ Got: string                                                                  │
> │ Fails to satisfy: number",                                                   │
> │     {                                                                        │
> │       "TypeErrors": {                                                        │
> │         "errors": [                                                          │
> │           [                                                                  │
> │             [                                                                │
> │               {                                                              │
> │                 "character": 8,                                              │
> │                 "line": 1                                                    │
> │               },                                                             │
> │               {                                                              │
> │                 "character": 10,                                             │
> │                 "line": 1                                                    │
> │               }                                                              │
> │             ],                                                               │
> │             "Constraint satisfaction error.                                  │
> │ Got: string                                                                  │
> │ Fails to satisfy: number"                                                    │
> │           ]                                                                  │
> │         ],                                                                   │
> │         "uri":                                                               │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/c030f84f8e553befcb │
> │ dd9aabeace67685221d91a46e3655199e42df713504aa0/main.spi"                     │
> │       }                                                                      │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 0 / retry: 1 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c030f84f8e553befcbdd9aabeac │
> │ e67685221d91a46e3655199e42df713504aa0\main.spi                               │
> │ 00:00:43 verbose #134 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/c030f84f8e553befcb │
> │ dd9aabeace67685221d91a46e3655199e42df713504aa0"]}} / result:                 │
> │ 00:00:43   debug #135 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ 00:00:53 verbose #31 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:00:53 verbose #32 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:43   debug #136 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (None, ["main.spi:                                                      │
> │ Constraint satisfaction error.                                               │
> │ Got: string                                                                  │
> │ Fails to satisfy: number"])                                                  │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """inl main () =
>     x + y
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         None,
>         [[
>             "main.spi:
> Unbound variable: x.
> Unbound variable: y."
>         ]]
>     )
> )
> 
> ╭─[ 6.61s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:00:54 verbose #33 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:00:49   debug #30 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:00:49 verbose #31 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:00:49 verbose #32 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:00:49 verbose #33 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:00:54 verbose #34 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:54 verbose #35 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:00:54 verbose #36 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:54 verbose #37 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:50 verbose #34 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:00:55 verbose #38 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:44   debug #137 runWithTimeoutAsync / timeout: 500                │
> │ 00:00:45 verbose #138 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:00:45 verbose #139 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:00:50 verbose #35 > Server bound to: http://localhost:13805          │
> │ 00:00:45   debug #140 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:45   debug #141 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:45   debug #142 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:45 verbose #143 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"inl main () =\n    x \u002B                          │
> │ y\n","uri":"file:///c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec5 │
> │ 07f9de5ba9c8429cfa7049b777a622aa3bf7333b151c767fde35dc5d1/main.spi"}} /      │
> │ result:                                                                      │
> │ 00:00:45 verbose #144 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/6cdeec507f9de5ba9c8429cfa7049b777a622aa3bf7333b151c767f │
> │ de35dc5d1/main.spi"}} / result:                                              │
> │ 00:00:46   debug #145 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:46   debug #146 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:51 verbose #36 > 00:00:02   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1/main.spi                               │
> │ 00:00:46   debug #147 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:46   debug #148 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:47   debug #149 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:47   debug #150 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:47   debug #151 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:47   debug #152 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:48   debug #153 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:48   debug #154 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:48   debug #155 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:48   debug #156 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #157 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #158 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #159 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #160 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #161 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error: Some((File main has a type error somewhere in its path., FatalError   │
> │ "File main has a type error somewhere in its path.")) / path:                │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #162 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 1 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #163 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 1 / retry: 0 /       │
> │ error: Some((main.spi:                                                       │
> │ Unbound variable: x.                                                         │
> │ Unbound variable: y., TypeErrors                                             │
> │   { errors =                                                                 │
> │      [(({ character = 4                                                      │
> │           line = 1 }, { character = 5                                        │
> │                         line = 1 }), "Unbound variable: x.");                │
> │       (({ character = 8                                                      │
> │           line = 1 }, { character = 9                                        │
> │                         line = 1 }), "Unbound variable: y.")]                │
> │     uri =                                                                    │
> │                                                                              │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec507f9de5ba9c │
> │ 8429cfa7049b777a622aa3bf7333b151c767fde35dc5d1/main.spi" })) / path:         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #164 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "main.spi:                                                               │
> │ Unbound variable: x.                                                         │
> │ Unbound variable: y.",                                                       │
> │     {                                                                        │
> │       "TypeErrors": {                                                        │
> │         "errors": [                                                          │
> │           [                                                                  │
> │             [                                                                │
> │               {                                                              │
> │                 "character": 4,                                              │
> │                 "line": 1                                                    │
> │               },                                                             │
> │               {                                                              │
> │                 "character": 5,                                              │
> │                 "line": 1                                                    │
> │               }                                                              │
> │             ],                                                               │
> │             "Unbound variable: x."                                           │
> │           ],                                                                 │
> │           [                                                                  │
> │             [                                                                │
> │               {                                                              │
> │                 "character": 8,                                              │
> │                 "line": 1                                                    │
> │               },                                                             │
> │               {                                                              │
> │                 "character": 9,                                              │
> │                 "line": 1                                                    │
> │               }                                                              │
> │             ],                                                               │
> │             "Unbound variable: y."                                           │
> │           ]                                                                  │
> │         ],                                                                   │
> │         "uri":                                                               │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec507f9de5ba9c │
> │ 8429cfa7049b777a622aa3bf7333b151c767fde35dc5d1/main.spi"                     │
> │       }                                                                      │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 1 / retry: 0 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:01:00 verbose #39 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:00:49   debug #165 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 1 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #166 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 1 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #167 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 1 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49 verbose #168 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"inl main () =\n    x \u002B                          │
> │ y\n","uri":"file:///c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec5 │
> │ 07f9de5ba9c8429cfa7049b777a622aa3bf7333b151c767fde35dc5d1/main.spi"}} /      │
> │ result:                                                                      │
> │ 00:00:49 verbose #170 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/6cdeec507f9de5ba9c8429cfa7049b777a622aa3bf7333b151c767f │
> │ de35dc5d1/main.spi"}} / result:                                              │
> │ 00:00:55 verbose #37 > 00:00:05   debug #5                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1/main.spi                               │
> │ 00:00:49   debug #169 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 1 /       │
> │ error: Some((main.spi:                                                       │
> │ Unbound variable: x.                                                         │
> │ Unbound variable: y., TypeErrors                                             │
> │   { errors =                                                                 │
> │      [(({ character = 4                                                      │
> │           line = 1 }, { character = 5                                        │
> │                         line = 1 }), "Unbound variable: x.");                │
> │       (({ character = 8                                                      │
> │           line = 1 }, { character = 9                                        │
> │                         line = 1 }), "Unbound variable: y.")]                │
> │     uri =                                                                    │
> │                                                                              │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec507f9de5ba9c │
> │ 8429cfa7049b777a622aa3bf7333b151c767fde35dc5d1/main.spi" })) / path:         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49   debug #171 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "main.spi:                                                               │
> │ Unbound variable: x.                                                         │
> │ Unbound variable: y.",                                                       │
> │     {                                                                        │
> │       "TypeErrors": {                                                        │
> │         "errors": [                                                          │
> │           [                                                                  │
> │             [                                                                │
> │               {                                                              │
> │                 "character": 4,                                              │
> │                 "line": 1                                                    │
> │               },                                                             │
> │               {                                                              │
> │                 "character": 5,                                              │
> │                 "line": 1                                                    │
> │               }                                                              │
> │             ],                                                               │
> │             "Unbound variable: x."                                           │
> │           ],                                                                 │
> │           [                                                                  │
> │             [                                                                │
> │               {                                                              │
> │                 "character": 8,                                              │
> │                 "line": 1                                                    │
> │               },                                                             │
> │               {                                                              │
> │                 "character": 9,                                              │
> │                 "line": 1                                                    │
> │               }                                                              │
> │             ],                                                               │
> │             "Unbound variable: y."                                           │
> │           ]                                                                  │
> │         ],                                                                   │
> │         "uri":                                                               │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec507f9de5ba9c │
> │ 8429cfa7049b777a622aa3bf7333b151c767fde35dc5d1/main.spi"                     │
> │       }                                                                      │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 0 / retry: 1 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\6cdeec507f9de5ba9c8429cfa70 │
> │ 49b777a622aa3bf7333b151c767fde35dc5d1\main.spi                               │
> │ 00:00:49 verbose #172 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/6cdeec507f9de5ba9c │
> │ 8429cfa7049b777a622aa3bf7333b151c767fde35dc5d1"]}} / result:                 │
> │ 00:00:49   debug #173 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ 00:01:00 verbose #40 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:00 verbose #41 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:49   debug #174 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (None, ["main.spi:                                                      │
> │ Unbound variable: x.                                                         │
> │ Unbound variable: y."])                                                      │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """
> inl main () =
>     real
>         inl real_unbox forall a. (obj : a) : a =
>             typecase obj with
>             | _ => obj
>         real_unbox ()
>     ()
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         None,
>         [[ "Cannot apply a forall with a term." ]]
>     )
> )
> 
> ╭─[ 6.30s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:01:00 verbose #42 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:00:55   debug #38 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:00:56 verbose #39 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:00:56 verbose #40 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:00:56 verbose #41 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:01:01 verbose #43 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:01 verbose #44 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:01:01 verbose #45 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:01 verbose #46 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:56 verbose #42 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:01:01 verbose #47 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:51   debug #175 runWithTimeoutAsync / timeout: 500                │
> │ 00:00:51 verbose #176 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:00:51 verbose #177 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:00:57 verbose #43 > Server bound to: http://localhost:13805          │
> │ 00:00:51   debug #178 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:51   debug #179 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:51   debug #180 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:51 verbose #181 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"\ninl main () =\n    real\n        inl real_unbox    │
> │ forall a. (obj : a) : a                                                      │
> │ =\...et/spiral_Eval/packages/61c59548b11a56efe6894b6855e845b5bd8d9f78be60580 │
> │ 3496c626bd6369493/main.spi"}} / result:                                      │
> │ 00:00:51 verbose #182 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/61c59548b11a56efe6894b6855e845b5bd8d9f78be605803496c626 │
> │ bd6369493/main.spi"}} / result:                                              │
> │ 00:00:52   debug #183 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:52   debug #184 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:57 verbose #44 > 00:00:01   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493/main.spi                               │
> │ 00:00:52   debug #185 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:52   debug #186 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:53   debug #187 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:53   debug #188 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:53   debug #189 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:53   debug #190 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:54   debug #191 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:54   debug #192 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:54   debug #193 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:54   debug #194 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:55   debug #195 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:55   debug #196 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:55   debug #197 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:55   debug #198 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:56   debug #199 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error: Some((Cannot apply a forall with a term., TracedError                 │
> │   { message = "Cannot apply a forall with a term."                           │
> │     trace =                                                                  │
> │      ["Error trace on line: 2, column: 10 in module:                         │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493/main.spi.                              │
> │ inl main () =                                                                │
> │          ^                                                                   │
> │ ";                                                                           │
> │       "Error trace on line: 4, column: 9 in module:                          │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493/main.spi.                              │
> │         inl real_unbox forall a. (obj : a) : a =                             │
> │         ^                                                                    │
> │ ";                                                                           │
> │       "Error trace on line: 7, column: 9 in module:                          │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493/main.spi.                              │
> │         real_unbox ()                                                        │
> │         ^                                                                    │
> │ "] })) / path:                                                               │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:56   debug #200 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "Cannot apply a forall with a term.",                                    │
> │     {                                                                        │
> │       "TracedError": {                                                       │
> │         "message": "Cannot apply a forall with a term.",                     │
> │         "trace": [                                                           │
> │           "Error trace on line: 2, column: 10 in module:                     │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493/main.spi.                              │
> │ inl main () =                                                                │
> │          ^                                                                   │
> │ ",                                                                           │
> │           "Error trace on line: 4, column: 9 in module:                      │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493/main.spi.                              │
> │         inl real_unbox forall a. (obj : a) : a =                             │
> │         ^                                                                    │
> │ ",                                                                           │
> │           "Error trace on line: 7, column: 9 in module:                      │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493/main.spi.                              │
> │         real_unbox ()                                                        │
> │         ^                                                                    │
> │ "                                                                            │
> │         ]                                                                    │
> │       }                                                                      │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 0 / retry: 0 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\61c59548b11a56efe6894b6855e │
> │ 845b5bd8d9f78be605803496c626bd6369493\main.spi                               │
> │ 00:00:56 verbose #201 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/61c59548b11a56efe6 │
> │ 894b6855e845b5bd8d9f78be605803496c626bd6369493"]}} / result:                 │
> │ 00:01:06 verbose #48 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:06 verbose #49 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:56   debug #202 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (None, ["Cannot apply a forall with a term."])                          │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """
> inl main () =
>     real
>         inl real_unbox forall a. (obj : a) : a =
>             typecase obj with
>             | _ => obj
>         real_unbox `i32 1
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         None,
>         [[ "The main function should not have a forall." ]]
>     )
> )
> 
> ╭─[ 6.90s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:01:07 verbose #50 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:01:02   debug #45 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:01:02 verbose #46 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:01:02 verbose #47 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:01:02 verbose #48 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:01:07 verbose #51 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:07 verbose #52 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:01:07 verbose #53 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:07 verbose #54 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:08 verbose #55 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:00:57   debug #203 runWithTimeoutAsync / timeout: 500                │
> │ 00:01:03 verbose #49 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:00:58 verbose #204 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:00:58 verbose #205 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:01:03 verbose #50 > Server bound to: http://localhost:13805          │
> │ 00:00:58   debug #206 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:00:58   debug #207 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:00:58   debug #208 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:00:58 verbose #209 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"\ninl main () =\n    real\n        inl real_unbox    │
> │ forall a. (obj : a) : a                                                      │
> │ =\...et/spiral_Eval/packages/d18ab5eccdd16bb367f1cae1e75791ae1134c04410280fa │
> │ 27c5ddd010dff3b10/main.spi"}} / result:                                      │
> │ 00:00:58 verbose #210 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/d18ab5eccdd16bb367f1cae1e75791ae1134c04410280fa27c5ddd0 │
> │ 10dff3b10/main.spi"}} / result:                                              │
> │ 00:00:59   debug #211 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:00:59   debug #212 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:04 verbose #51 > 00:00:02   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10/main.spi                               │
> │ 00:00:59   debug #213 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:00:59   debug #214 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:00   debug #215 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:00   debug #216 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:00   debug #217 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:00   debug #218 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:01   debug #219 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:01   debug #220 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:01   debug #221 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:01   debug #222 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:02   debug #223 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:02   debug #224 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:02   debug #225 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:02   debug #226 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:03   debug #227 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:03   debug #228 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:03   debug #229 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error: Some((The main function should not have a forall., TracedError {      │
> │ message = "The main function should not have a forall."                      │
> │               trace = [] })) / path:                                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:03   debug #230 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [                                                                 │
> │   [                                                                          │
> │     "The main function should not have a forall.",                           │
> │     {                                                                        │
> │       "TracedError": {                                                       │
> │         "message": "The main function should not have a forall.",            │
> │         "trace": []                                                          │
> │       }                                                                      │
> │     }                                                                        │
> │   ]                                                                          │
> │ ] / typeErrorCount: 0 / retry: 0 / path:                                     │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\d18ab5eccdd16bb367f1cae1e75 │
> │ 791ae1134c04410280fa27c5ddd010dff3b10\main.spi                               │
> │ 00:01:03 verbose #231 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/d18ab5eccdd16bb367 │
> │ f1cae1e75791ae1134c04410280fa27c5ddd010dff3b10"]}} / result:                 │
> │ 00:01:13 verbose #56 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:13 verbose #57 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:03   debug #232 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (None, ["The main function should not have a forall."])                 │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """
> inl init_series start end inc =
>     inl total : f64 = conv ((end - start) / inc) + 1
>     listm.init total (conv >> (*) inc >> (+) start) : list f64
> 
> type integration = (f64 -> f64) -> f64 -> f64 -> f64
> 
> inl integral dt : integration =
>     fun f a b =>
>         init_series (a + dt / 2) (b - dt / 2) dt
>         |> listm.map (f >> (*) dt)
>         |> listm.fold (+) 0
> 
> inl main () =
>     integral 0.1 (fun x => x ** 2) 0 1
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         Some "0.3325000000000001\n",
>         [[]]
>     )
> )
> 
> ╭─[ 7.36s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:01:14 verbose #58 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:01:09   debug #52 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:01:09 verbose #53 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:01:09 verbose #54 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:01:09 verbose #55 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:01:14 verbose #59 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:14 verbose #60 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:01:14 verbose #61 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:14 verbose #62 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:10 verbose #56 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:01:15 verbose #63 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:04   debug #233 runWithTimeoutAsync / timeout: 500                │
> │ 00:01:05 verbose #234 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:01:05 verbose #235 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:01:10 verbose #57 > Server bound to: http://localhost:13805          │
> │ 00:01:05   debug #236 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:05   debug #237 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:05   debug #238 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:05 verbose #239 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n    inl total :   │
> │ f64 = conv ((end -                                                           │
> │ start)...et/spiral_Eval/packages/c127414de2a2a92d9fd93ea5a8e9312a6aad9129ffd │
> │ 3cbd56ac7f0327106f1db/main.spi"}} / result:                                  │
> │ 00:01:05 verbose #240 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/c127414de2a2a92d9fd93ea5a8e9312a6aad9129ffd3cbd56ac7f03 │
> │ 27106f1db/main.spi"}} / result:                                              │
> │ 00:01:06   debug #241 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:06   debug #242 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:11 verbose #58 > 00:00:02   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db/main.spi                               │
> │ 00:01:06   debug #243 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:06   debug #244 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:07   debug #245 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:07   debug #246 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:07   debug #247 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:07   debug #248 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:08   debug #249 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:08   debug #250 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:08   debug #251 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:08   debug #252 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:09   debug #253 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:09   debug #254 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:09   debug #255 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:09   debug #256 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:10   debug #257 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:10   debug #258 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:10   debug #259 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │ 0.3325000000000001                                                           │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:10   debug #260 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │ 0.3325000000000001                                                           │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\c127414de2a2a92d9fd93ea5a8e │
> │ 9312a6aad9129ffd3cbd56ac7f0327106f1db\main.spi                               │
> │ 00:01:10 verbose #261 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/c127414de2a2a92d9f │
> │ d93ea5a8e9312a6aad9129ffd3cbd56ac7f0327106f1db"]}} / result:                 │
> │ 00:01:20 verbose #64 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:20 verbose #65 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:10   debug #262 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (Some "0.3325000000000001                                               │
> │ ", [])                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """
> inl init_series start end inc =
>     inl total : f64 = conv ((end - start) / inc) + 1
>     listm.init total (conv >> (*) inc >> (+) start) : list f64
> 
> type integration = (f64 -> f64) -> f64 -> f64 -> f64
> 
> inl integral dt : integration =
>     fun f a b =>
>         init_series (a + dt / 2) (b - dt / 2) dt
>         |> listm.map (f >> (*) dt)
>         |> listm.fold (+) 0
> 
> inl main () =
>     integral 0.1 (fun x => x ** 2) 0 1
> """
> |> fun code -> Spi (code, None)
> |> buildCode Cuda false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         Some @"kernel = r""""""
> """"""
> class static_array():
>     def __init__(self, length):
>         self.ptr = [[]]
>         for _ in range(length):
>             self.ptr.append(None)
> 
>     def __getitem__(self, index):
>         assert 0 <= index < len(self.ptr), ""The get index needs to be in 
> range.""
>         return self.ptr[[index]]
>     
>     def __setitem__(self, index, value):
>         assert 0 <= index < len(self.ptr), ""The set index needs to be in 
> range.""
>         self.ptr[[index]] = value
> 
> class static_array_list(static_array):
>     def __init__(self, length):
>         super().__init__(length)
>         self.length = 0
> 
>     def __getitem__(self, index):
>         assert 0 <= index < self.length, ""The get index needs to be in range.""
>         return self.ptr[[index]]
>     
>     def __setitem__(self, index, value):
>         assert 0 <= index < self.length, ""The set index needs to be in range.""
>         self.ptr[[index]] = value
> 
>     def push(self,value):
>         assert (self.length < len(self.ptr)), ""The length before pushing has to
> be less than the maximum length of the array.""
>         self.ptr[[self.length]] = value
>         self.length += 1
> 
>     def pop(self):
>         assert (0 < self.length), ""The length before popping has to be greater 
> than 0.""
>         self.length -= 1
>         return self.ptr[[self.length]]
> 
>     def unsafe_set_length(self,i):
>         assert 0 <= i <= len(self.ptr), ""The new length has to be in range.""
>         self.length = i
> 
> class dynamic_array(static_array): 
>     pass
> 
> class dynamic_array_list(static_array_list):
>     def length_(self): return self.length
> 
> import cupy as cp
> from dataclasses import dataclass
> from typing import NamedTuple, Union, Callable, Tuple
> i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = 
> string = str
> 
> def main():
>     return 0.3325000000000001
> 
> if __name__ == '__main__': result = main(); None if result is None else 
> print(result)
> ",
>         [[]]
>     )
> )
> 
> ╭─[ 6.18s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:01:21 verbose #66 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:01:16   debug #59 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:01:17 verbose #60 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:01:17 verbose #61 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:01:17 verbose #62 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:01:22 verbose #67 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:22 verbose #68 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:01:22 verbose #69 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:22 verbose #70 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:17 verbose #63 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:01:22 verbose #71 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:12   debug #263 runWithTimeoutAsync / timeout: 500                │
> │ 00:01:12 verbose #264 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:01:12 verbose #265 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:01:17 verbose #64 > Server bound to: http://localhost:13805          │
> │ 00:01:12   debug #266 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:12   debug #267 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:12   debug #268 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:12 verbose #269 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n    inl total :   │
> │ f64 = conv ((end -                                                           │
> │ start)...et/spiral_Eval/packages/ca288d6928a8e761855210f25f97fdc056ee1f21be4 │
> │ a24b26e8533ec368831c8/main.spi"}} / result:                                  │
> │ 00:01:12 verbose #270 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Python \u002B                                       │
> │ Cuda","uri":"file:///c:/home/git/polyglot/target/spiral_Eval/packages/ca288d │
> │ 6928a8e761855210f25f97fdc056ee1f21be4a24b26e8533ec368831c8/main.spi"}} /     │
> │ result:                                                                      │
> │ 00:01:12   debug #271 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:12   debug #272 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:18 verbose #65 > 00:00:01   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8/main.spi                               │
> │ 00:01:13   debug #273 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:13   debug #274 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:13   debug #275 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:13   debug #276 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:14   debug #277 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:14   debug #278 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:14   debug #279 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:14   debug #280 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:15   debug #281 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:15   debug #282 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:15   debug #283 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:15   debug #284 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:16   debug #285 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:16   debug #286 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:16   debug #287 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │ kernel = r"""                                                                │
> │ """                                                                          │
> │ class static_array():                                                        │
> │     def __init__(self, length):                                              │
> │         self.ptr = []                                                        │
> │         for _ in range(length):                                              │
> │             self.ptr.app...char = string = str                               │
> │                                                                              │
> │ def main():                                                                  │
> │     return 0.3325000000000001                                                │
> │                                                                              │
> │ if __name__ == '__main__': result = main(); None if result is None else      │
> │ print(result)                                                                │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:16   debug #288 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │ kernel = r"""                                                                │
> │ """                                                                          │
> │ class static_array():                                                        │
> │     def __init__(self, length):                                              │
> │         self.ptr = []                                                        │
> │         for _ in range(length):                                              │
> │             self.ptr.app...char = string = str                               │
> │                                                                              │
> │ def main():                                                                  │
> │     return 0.3325000000000001                                                │
> │                                                                              │
> │ if __name__ == '__main__': result = main(); None if result is None else      │
> │ print(result)                                                                │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\ca288d6928a8e761855210f25f9 │
> │ 7fdc056ee1f21be4a24b26e8533ec368831c8\main.spi                               │
> │ 00:01:16 verbose #289 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/ca288d6928a8e76185 │
> │ 5210f25f97fdc056ee1f21be4a24b26e8533ec368831c8"]}} / result:                 │
> │ 00:01:27 verbose #72 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:27 verbose #73 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:16   debug #290 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some                                                                         │
> │   (Some                                                                      │
> │      "kernel = r"""                                                          │
> │ """                                                                          │
> │ class static_array():                                                        │
> │     def __init__(self, length):                                              │
> │         self.ptr = []                                                        │
> │         for _ in range(length):                                              │
> │             self.ptr.append(None)                                            │
> │                                                                              │
> │     def __getitem__(self, index):                                            │
> │         assert 0 <= index < len(self.ptr), "The get index needs to be in     │
> │ range."                                                                      │
> │         return self.ptr[index]                                               │
> │                                                                              │
> │     def __setitem__(self, index, value):                                     │
> │         assert 0 <= index < len(self.ptr), "The set index needs to be in     │
> │ range."                                                                      │
> │         self.ptr[index] = value                                              │
> │                                                                              │
> │ class static_array_list(static_array):                                       │
> │     def __init__(self, length):                                              │
> │         super().__init__(length)                                             │
> │         self.length = 0                                                      │
> │                                                                              │
> │     def __getitem__(self, index):                                            │
> │         assert 0 <= index < self.length, "The get index needs to be in       │
> │ range."                                                                      │
> │         return self.ptr[index]                                               │
> │                                                                              │
> │     def __setitem__(self, index, value):                                     │
> │         assert 0 <= index < self.length, "The set index needs to be in       │
> │ range."                                                                      │
> │         self.ptr[index] = value                                              │
> │                                                                              │
> │     def push(self,value):                                                    │
> │         assert (self.length < len(self.ptr)), "The length before pushing has │
> │ to be less than the maximum length of the array."                            │
> │         self.ptr[self.length] = value                                        │
> │         self.length += 1                                                     │
> │                                                                              │
> │     def pop(self):                                                           │
> │         assert (0 < self.length), "The length before popping has to be       │
> │ greater than 0."                                                             │
> │         self.length -= 1                                                     │
> │         return self.ptr[self.length]                                         │
> │                                                                              │
> │     def unsafe_set_length(self,i):                                           │
> │         assert 0 <= i <= len(self.ptr), "The new length has to be in range." │
> │         self.length = i                                                      │
> │                                                                              │
> │ class dynamic_array(static_array):                                           │
> │     pass                                                                     │
> │                                                                              │
> │ class dynamic_array_list(static_array_list):                                 │
> │     def length_(self): return self.length                                    │
> │                                                                              │
> │ import cupy as cp                                                            │
> │ from dataclasses import dataclass                                            │
> │ from typing import NamedTuple, Union, Callable, Tuple                        │
> │ i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = │
> │ string = str                                                                 │
> │                                                                              │
> │ def main():                                                                  │
> │     return 0.3325000000000001                                                │
> │                                                                              │
> │ if __name__ == '__main__': result = main(); None if result is None else      │
> │ print(result)                                                                │
> │ ",                                                                           │
> │    [])                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """
> inl init_series start end inc =
>     inl total : f64 = conv ((end - start) / inc) + 1
>     listm.init total (conv >> (*) inc >> (+) start) : list f64
> 
> type integration = (f64 -> f64) -> f64 -> f64 -> f64
> 
> inl integral dt : integration =
>     fun f a b =>
>         init_series (a + dt / 2) (b - dt / 2) dt
>         |> listm.map (f >> (*) dt)
>         |> listm.fold (+) 0
> 
> inl main () =
>     integral 0.01 (fun x => x ** 2) 0 1
> """
> |> fun code -> Spi (code, None)
> |> buildCode Fsharp false 10000 None
> |> Async.runWithTimeout 10000
> |> Option.map (fun (_, (_, outputContent), errors) -> outputContent, errors |> 
> List.map fst)
> |> _assertEqual (
>     Some (
>         Some "0.33332500000000004\n",
>         [[]]
>     )
> )
> // |> _assertEqual None
> // |> fun x -> printfn $"{x.ToDisplayString ()}"
> 
> ╭─[ 6.07s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:01:27 verbose #74 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:01:22   debug #66 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:buildCode@6-92>; stdin = None; trace = true; working_directory =   │
> │ Some "C:\home\git\polyglot" } }                                              │
> │ 00:01:23 verbose #67 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:01:23 verbose #68 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:01:23 verbose #69 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:01:28 verbose #75 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:28 verbose #76 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:01:28 verbose #77 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:28 verbose #78 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:23 verbose #70 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:01:28 verbose #79 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:18   debug #291 runWithTimeoutAsync / timeout: 500                │
> │ 00:01:18 verbose #292 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:01:18 verbose #293 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:01:23 verbose #71 > Server bound to: http://localhost:13805          │
> │ 00:01:18   debug #294 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:18   debug #295 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:18   debug #296 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:18 verbose #297 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n    inl total :   │
> │ f64 = conv ((end -                                                           │
> │ start)...et/spiral_Eval/packages/2acc44d97e6b50ce3caf39a0b93135633484d22c3ef │
> │ 6e7797ce64875a41451f4/main.spi"}} / result:                                  │
> │ 00:01:18 verbose #298 Supervisor.sendJson / port: 13805 / json:         │
> │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
> │ spiral_Eval/packages/2acc44d97e6b50ce3caf39a0b93135633484d22c3ef6e7797ce6487 │
> │ 5a41451f4/main.spi"}} / result:                                              │
> │ 00:01:19   debug #299 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:19   debug #300 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:24 verbose #72 > 00:00:01   debug #4                         │
> │ Supervisor.supervisor_server.BuildFile / file:                               │
> │ c:/home/git/polyglot/target/spiral_Eval/packages/2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4/main.spi                               │
> │ 00:01:19   debug #301 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:19   debug #302 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:20   debug #303 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:20   debug #304 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:20   debug #305 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:20   debug #306 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:21   debug #307 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:21   debug #308 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:21   debug #309 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:21   debug #310 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:22   debug #311 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:22   debug #312 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:22   debug #313 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:22   debug #314 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:22   debug #315 Supervisor.buildFile / AsyncSeq.scan /            │
> │ outputContent:                                                               │
> │ 0.33332500000000004                                                          │
> │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
> │ error:  / path:                                                              │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:22   debug #316 Supervisor.buildFile / takeWhileInclusive /       │
> │ outputContent:                                                               │
> │ 0.33332500000000004                                                          │
> │  / errors: [] / typeErrorCount: 0 / retry: 0 / path:                         │
> │ C:\home\git\polyglot\target/spiral_Eval\packages\2acc44d97e6b50ce3caf39a0b93 │
> │ 135633484d22c3ef6e7797ce64875a41451f4\main.spi                               │
> │ 00:01:22 verbose #317 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/2acc44d97e6b50ce3c │
> │ af39a0b93135633484d22c3ef6e7797ce64875a41451f4"]}} / result:                 │
> │ 00:01:33 verbose #80 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:33 verbose #81 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:22   debug #318 FileSystem.watchWithFilter / Disposing watch      │
> │ stream / filter: FileName, LastWrite                                         │
> │ Some (Some "0.33332500000000004                                              │
> │ ", [])                                                                       │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## getFileTokenRange                                                         │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline getFileTokenRange port cancellationToken path = async {
>     let fullPath = path |> System.IO.Path.GetFullPath
>     let! code = fullPath |> SpiralFileSystem.read_all_text_async
>     let lines = code |> SpiralSm.split "\n"
> 
>     let struct (token, disposable) = SpiralThreading.new_disposable_token 
> cancellationToken
>     use _ = disposable
> 
>     let port = port |> Option.defaultWith getCompilerPort
>     let! serverPort, _errors, ct, disposable = awaitCompiler port (Some token)
>     use _ = disposable
> 
>     let fullPathUri = fullPath |> SpiralFileSystem.normalize_path |> 
> SpiralFileSystem.new_file_uri
> 
>     let fileOpenObj = {| FileOpen = {| uri = fullPathUri; spiText = code |} |}
>     let! _fileOpenResult = fileOpenObj |> sendObj serverPort
> 
>     // do! Async.Sleep 60
> 
>     let fileTokenRangeObj =
>         {|
>             FileTokenRange =
>                 {|
>                     uri = fullPathUri
>                     range =
>                         [[|
>                             {| line = 0; character = 0 |}
>                             {| line = lines.Length - 1; character = 
> lines.[[lines.Length - 1]].Length |}
>                         |]]
>                 |}
>         |}
>     let! fileTokenRangeResult =
>         fileTokenRangeObj
>         |> sendObj serverPort
>         |> Async.withCancellationToken ct
> 
>     let fileDir = fullPath |> System.IO.Path.GetDirectoryName
>     if fileDir |> SpiralSm.starts_with (workspaceRoot </> "target") then
>         let fileDirUri = fileDir |> SpiralFileSystem.normalize_path |> 
> SpiralFileSystem.new_file_uri
>         let fileDeleteObj = {| FileDelete = {| uris = [[| fileDirUri |]] |} |}
>         let! _fileDeleteResult = fileDeleteObj |> sendObj serverPort
>         ()
> 
>     return fileTokenRangeResult |> Option.map FSharp.Json.Json.deserialize<int 
> array>
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## getCodeTokenRange                                                         │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline getCodeTokenRange cancellationToken code = async {
>     let! mainPath, _ = Spi (code, None) |> persistCode None
> 
>     let codeDir = mainPath |> System.IO.Path.GetDirectoryName
>     let tokensPath = codeDir </> "tokens.json"
>     let! tokens = async {
>         if tokensPath |> System.IO.File.Exists |> not
>         then return None
>         else
>             let! text = tokensPath |> SpiralFileSystem.read_all_text_async
> 
>             return
>                 if text.Length > 2
>                 then text |> FSharp.Json.Json.deserialize<int array> |> Some
>                 else None
>     }
>     match tokens with
>     | Some tokens ->
>         return tokens |> Some
>     | None -> return! mainPath |> getFileTokenRange None cancellationToken
> }
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """inl main () = ()"""
> |> getCodeTokenRange None
> |> Async.runWithTimeout 10000
> |> Option.flatten
> |> _assertEqual (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 
> 8; 0; 0; 2; 1; 4; 0; 0;
> 2; 1; 8; 0; 0; 1; 1; 8; 0 |]])
> 
> ╭─[ 4.99s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:01:39 verbose #82 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:01:34   debug #73 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:it@4-187>; stdin = None; trace = true; working_directory = Some    │
> │ "C:\home\git\polyglot" } }                                                   │
> │ 00:01:35 verbose #74 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:01:35 verbose #75 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:01:35 verbose #76 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:01:40 verbose #83 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:40 verbose #84 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:01:40 verbose #85 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:40 verbose #86 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:35 verbose #77 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:01:40 verbose #87 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:30   debug #319 runWithTimeoutAsync / timeout: 500                │
> │ 00:01:30 verbose #320 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:01:30 verbose #321 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:01:36 verbose #78 > Server bound to: http://localhost:13805          │
> │ 00:01:30 verbose #322 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"inl main () =                                        │
> │ ()","uri":"file:///c:/home/git/polyglot/target/spiral_Eval/packages/20e725d4 │
> │ 6cfdc99c0f307f1933a76ec7da4570c1b757721164d86f19feaf821e/main.spi"}} /       │
> │ result:                                                                      │
> │ 00:01:31 verbose #323 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileTokenRange":{"range":[                                                 │
> │ {"character":0,"line":0},{"character":16,"line":0}],"uri":"file:///c:/ho...e │
> │ t/spiral_Eval/packages/20e725d46cfdc99c0f307f1933a76ec7da4570c1b757721164d86 │
> │ f19feaf821e/main.spi"}} / result: Some([                                     │
> │   0,                                                                         │
> │   0,                                                                         │
> │   3,                                                                         │
> │   7,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   4,                                                                         │
> │   4,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   5,                                                                         │
> │   1,                                                                         │
> │   8,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │  ...8,                                                                       │
> │   0,                                                                         │
> │   0,                                                                         │
> │   2,                                                                         │
> │   1,                                                                         │
> │   4,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   2,                                                                         │
> │   1,                                                                         │
> │   8,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   1,                                                                         │
> │   1,                                                                         │
> │   8,                                                                         │
> │   0                                                                          │
> │ ])                                                                           │
> │ 00:01:31 verbose #324 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/20e725d46cfdc99c0f │
> │ 307f1933a76ec7da4570c1b757721164d86f19feaf821e"]}} / result:                 │
> │ 00:01:42 verbose #88 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:42 verbose #89 async.run_with_timeout_async / { timeout = 100 }   │
> │ Some [|0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0; 0; 2; 1;  │
> │ 4; 0; 0; 2; 1; 8; 0; 0; 1; 1; 8; 0|]                                         │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> """inl main () = 1i32"""
> |> getCodeTokenRange None
> |> Async.runWithTimeout 10000
> |> Option.flatten
> |> _assertEqual (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 
> 8; 0; 0; 2; 1; 4; 0; 0;
> 2; 1; 3; 0; 0; 1; 3; 12; 0 |]])
> 
> ╭─[ 5.29s - stdout ]───────────────────────────────────────────────────────────╮
> │ 00:01:45 verbose #90 async.run_with_timeout_async / { timeout = 180 }   │
> │ 00:01:40   debug #79 runtime.execute_with_options_async / { options = { │
> │ command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral   │
> │ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port    │
> │ 13805 --default-int i32 --default-float f64; cancellation_token = Some       │
> │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
> │ Some <fun:it@4-411>; stdin = None; trace = true; working_directory = Some    │
> │ "C:\home\git\polyglot" } }                                                   │
> │ 00:01:40 verbose #80 > 00:00:00   debug #1 pwd:                    │
> │ C:\home\git\polyglot                                                         │
> │ 00:01:40 verbose #81 > 00:00:00   debug #2 dllPath:                │
> │ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language            │
> │ 2\artifacts\bin\The Spiral Language 2\release                                │
> │ 00:01:40 verbose #82 > 00:00:00   debug #3 targetDir:              │
> │ C:\home\git\polyglot\target/spiral_Eval                                      │
> │ 00:01:45 verbose #91 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:45 verbose #92 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = true }                               │
> │ 00:01:45 verbose #93 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:46 verbose #94 async.run_with_timeout_async / { timeout = 100 }   │
> │ 00:01:41 verbose #83 > Starting the Spiral Server. It is bound to:      │
> │ http://localhost:13805                                                       │
> │ 00:01:35   debug #325 runWithTimeoutAsync / timeout: 500                │
> │ 00:01:36 verbose #326 Supervisor.sendJson / port: 13805 / json:         │
> │ {"Ping":true} / result:                                                      │
> │ 00:01:36 verbose #327 awaitCompiler / Ping / result: 'Some(null)' /     │
> │ port: 13805 / retry: 0                                                       │
> │ 00:01:41 verbose #84 > Server bound to: http://localhost:13805          │
> │ 00:01:36 verbose #328 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileOpen":{"spiText":"inl main () =                                        │
> │ 1i32","uri":"file:///c:/home/git/polyglot/target/spiral_Eval/packages/537082 │
> │ 9508ddefc7386d6b4d280722b47d97cb925585525bee733a187ff8f18b/main.spi"}} /     │
> │ result:                                                                      │
> │ 00:01:37 verbose #329 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileTokenRange":{"range":[                                                 │
> │ {"character":0,"line":0},{"character":18,"line":0}],"uri":"file:///c:/ho...e │
> │ t/spiral_Eval/packages/5370829508ddefc7386d6b4d280722b47d97cb925585525bee733 │
> │ a187ff8f18b/main.spi"}} / result: Some([                                     │
> │   0,                                                                         │
> │   0,                                                                         │
> │   3,                                                                         │
> │   7,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   4,                                                                         │
> │   4,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   5,                                                                         │
> │   1,                                                                         │
> │   8,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │  ...,                                                                        │
> │   0,                                                                         │
> │   0,                                                                         │
> │   2,                                                                         │
> │   1,                                                                         │
> │   4,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   2,                                                                         │
> │   1,                                                                         │
> │   3,                                                                         │
> │   0,                                                                         │
> │   0,                                                                         │
> │   1,                                                                         │
> │   3,                                                                         │
> │   12,                                                                        │
> │   0                                                                          │
> │ ])                                                                           │
> │ 00:01:37 verbose #330 Supervisor.sendJson / port: 13805 / json:         │
> │ {"FileDelete":{"uris":[                                                      │
> │ "file:///c:/home/git/polyglot/target/spiral_Eval/packages/5370829508ddefc738 │
> │ 6d6b4d280722b47d97cb925585525bee733a187ff8f18b"]}} / result:                 │
> │ 00:01:47 verbose #95 networking.wait_for_port_access / { port = 13805;  │
> │ retry = 0; timeout = Some 100; status = false }                              │
> │ 00:01:47 verbose #96 async.run_with_timeout_async / { timeout = 100 }   │
> │ Some [|0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0; 0; 2; 1;  │
> │ 4; 0; 0; 2; 1; 3; 0; 0; 1; 3; 12; 0|]                                        │
> │                                                                              │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## Arguments                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> [[<RequireQualifiedAccess>]]
> type Arguments =
>     | Build_File of string * string
>     | File_Token_Range of string * string
>     | Execute_Command of string
>     | [[<Argu.ArguAttributes.Unique>]] Timeout of int
>     | [[<Argu.ArguAttributes.Unique>]] Port of int
>     | [[<Argu.ArguAttributes.Unique>]] Parallel
>     | [[<Argu.ArguAttributes.Unique>]] Exit_On_Error
> 
>     interface Argu.IArgParserTemplate with
>         member s.Usage =
>             match s with
>             | Build_File _ -> nameof Build_File
>             | File_Token_Range _ -> nameof File_Token_Range
>             | Execute_Command _ -> nameof Execute_Command
>             | Timeout _ -> nameof Timeout
>             | Port _ -> nameof Port
>             | Parallel -> nameof Parallel
>             | Exit_On_Error-> nameof Exit_On_Error
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
> 
> ╭─[ 185.56ms - return value ]──────────────────────────────────────────────────╮
> │ "USAGE: dotnet-repl [--help] [--build-file <string> <string>]                │
> │                    [--file-token-range <string> <string>]                    │
> │                    [--execute-command <string>] [--timeout <int>] [--port    │
> │ <int>]                                                                       │
> │                    [--parallel] [--exit-on-error]                            │
> │                                                                              │
> │ OPTIONS:                                                                     │
> │                                                                              │
> │     --build-file <string> <string>                                           │
> │                           Build_File                                         │
> │     --file-token-range <string> <string>                                     │
> │                           File_Token_Range                                   │
> │     --execute-command <string>                                               │
> │                           Execute_Command                                    │
> │     --timeout <int>       Timeout                                            │
> │     --port <int>          Port                                               │
> │     --parallel            Parallel                                           │
> │     --exit-on-error       Exit_On_Error                                      │
> │     --help                display this list of options.                      │
> │ "                                                                            │
> │                                                                              │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## main                                                                      │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let main args =
>     let argsMap = args |> Runtime.parseArgsMap<Arguments>
> 
>     let buildFileActions =
>         argsMap
>         |> Map.tryFind (nameof Arguments.Build_File)
>         |> Option.defaultValue [[]]
>         |> List.choose (function
>             | Arguments.Build_File (inputPath, outputPath) -> Some (inputPath, 
> outputPath)
>             | _ -> None
>         )
> 
>     let fileTokenRangeActions =
>         argsMap
>         |> Map.tryFind (nameof Arguments.File_Token_Range)
>         |> Option.defaultValue [[]]
>         |> List.choose (function
>             | Arguments.File_Token_Range (inputPath, outputPath) -> Some 
> (inputPath, outputPath)
>             | _ -> None
>         )
> 
>     let executeCommandActions =
>         argsMap
>         |> Map.tryFind (nameof Arguments.Execute_Command)
>         |> Option.defaultValue [[]]
>         |> List.choose (function
>             | Arguments.Execute_Command command -> Some command
>             | _ -> None
>         )
> 
>     let timeout =
>         match argsMap |> Map.tryFind (nameof Arguments.Timeout) with
>         | Some [[ Arguments.Timeout timeout ]] -> timeout
>         | _ -> 60000 * 60
> 
>     let port =
>         match argsMap |> Map.tryFind (nameof Arguments.Port) with
>         | Some [[ Arguments.Port port ]] -> Some port
>         | _ -> None
> 
>     let isParallel = argsMap |> Map.containsKey (nameof Arguments.Parallel)
> 
>     let isExitOnError = argsMap |> Map.containsKey (nameof 
> Arguments.Exit_On_Error)
> 
>     async {
>         let port =
>             port
>             |> Option.defaultWith getCompilerPort
>         let struct (localToken, disposable) = 
> SpiralThreading.new_disposable_token None
>         let! serverPort, _errors, compilerToken, disposable = awaitCompiler port
> (Some localToken)
>         use _ = disposable
> 
>         let buildFileAsync =
>             buildFileActions
>             |> List.map (fun (inputPath, outputPath) -> async {
>                 let! _outputPath, (outputCode, errors) =
>                     let backend =
>                         if outputPath |> SpiralSm.ends_with ".fsx"
>                         then Fsharp
>                         elif outputPath |> SpiralSm.ends_with ".py"
>                         then Cuda
>                         else failwith $"Supervisor.main / invalid backend / 
> outputPath: {outputPath}"
>                     let isReal = inputPath |> SpiralSm.ends_with ".spir"
>                     inputPath |> buildFile backend timeout (Some serverPort) 
> None
> 
>                 errors
>                 |> List.map snd
>                 |> List.iter (fun error ->
>                     trace Critical (fun () -> $"main / error: {error |> 
> serializeObj}") _locals
>                 )
> 
>                 match outputCode with
>                 | Some outputCode ->
>                     do! outputCode |> SpiralFileSystem.write_all_text_exists 
> outputPath
>                     return 0
>                 | None ->
>                     if isExitOnError
>                     then SpiralRuntime.current_process_kill ()
> 
>                     return 1
>             })
> 
>         let fileTokenRangeAsync =
>             fileTokenRangeActions
>             |> List.map (fun (inputPath, outputPath) -> async {
>                 let! tokenRange = inputPath |> getFileTokenRange (Some 
> serverPort) None
>                 match tokenRange with
>                 | Some tokenRange ->
>                     do! tokenRange |> FSharp.Json.Json.serialize |> 
> SpiralFileSystem.write_all_text_exists outputPath
>                     return 0
>                 | None ->
>                     if isExitOnError
>                     then SpiralRuntime.current_process_kill ()
> 
>                     return 1
>             })
> 
>         let executeCommandAsync =
>             executeCommandActions
>             |> List.map (fun command -> async {
>                 let! exitCode, result =
>                     SpiralRuntime.execution_options (fun x ->
>                         { x with
>                             l0 = command
>                             l1 = Some compilerToken
>                         }
>                     )
>                     |> SpiralRuntime.execute_with_options_async
> 
>                 trace Debug (fun () -> $"main / executeCommand / exitCode: 
> {exitCode} / command: {command}") _locals
> 
>                 if isExitOnError && exitCode <> 0
>                 then SpiralRuntime.current_process_kill ()
> 
>                 return exitCode
>             })
> 
>         return!
>             [[| buildFileAsync; fileTokenRangeAsync; executeCommandAsync |]]
>             |> Seq.collect id
>             |> fun x ->
>                 if isParallel
>                 then Async.Parallel (x, float System.Environment.ProcessorCount 
> * 0.51 |> ceil |> int)
>                 else Async.Sequential x
>             |> Async.map Array.sum
>     }
>     |> Async.runWithTimeout timeout
>     |> Option.defaultValue 1
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> //// test
> 
> let args =
>     System.Environment.GetEnvironmentVariable "ARGS"
>     |> SpiralRuntime.split_args
>     |> Result.toArray
>     |> Array.collect id
> 
> match args with
> | [[||]] -> 0
> | args -> if main args = 0 then 0 else failwith "main failed"
> 
> ╭─[ 118.22ms - return value ]──────────────────────────────────────────────────╮
> │ <div class="dni-plaintext"><pre>0                                            │
> │ </pre></div><style>                                                          │
> │ .dni-code-hint {                                                             │
> │     font-style: italic;                                                      │
> │     overflow: hidden;                                                        │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview {                                                              │
> │     white-space: nowrap;                                                     │
> │ }                                                                            │
> │ .dni-treeview td {                                                           │
> │     vertical-align: top;                                                     │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ details.dni-treeview {                                                       │
> │     padding-left: 1em;                                                       │
> │ }                                                                            │
> │ table td {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ table tr {                                                                   │
> │     vertical-align: top;                                                     │
> │     margin: 0em 0px;                                                         │
> │ }                                                                            │
> │ table tr td pre                                                              │
> │ {                                                                            │
> │     vertical-align: top !important;                                          │
> │     margin: 0em 0px !important;                                              │
> │ }                                                                            │
> │ table th {                                                                   │
> │     text-align: start;                                                       │
> │ }                                                                            │
> │ </style>                                                                     │
> ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:12 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 256945 }
00:02:12   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
    "nbconvert",
    "c:/home/git/polyglot/apps/spiral/Supervisor.dib.ipynb",
    "--to",
    "html",
    "--HTMLExporter.theme=dark",
]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/spiral/Supervisor.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:15 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/spiral/Supervisor.dib.ipynb to html
00:02:15 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:15 verbose #7 !   validate(nb)
00:02:18 verbose #8 ! [NbConvertApp] Writing 590194 bytes to c:\home\git\polyglot\apps\spiral\Supervisor.dib.html
00:02:18 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 653 }
00:02:18   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 653 }
00:02:18   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
    "-c",
    "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/Supervisor.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/Supervisor.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:20 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:02:20   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:02:20   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 257657 }
00:00:00   debug #1 writeDibCode / output: Fs / path: Supervisor.dib
00:00:00   debug #2 parseDibCode / output: Fs / file: Supervisor.dib
00:00:00   debug #1 persistCodeProject / packages: [Argu; FSharp.Control.AsyncSeq; FSharp.Json; ... ] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: Supervisor / hash:  / code.Length: 27506
00:00:00   debug #2 buildProject / fullPath: C:\home\git\polyglot\target\Builder\Supervisor\Supervisor.fsproj
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\Supervisor\Supervisor.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime linux-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\Supervisor" } }
00:00:01 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:02 verbose #3 >   Determining projects to restore...
00:00:03 verbose #4 >   Restored C:\home\git\polyglot\target\Builder\Supervisor\Supervisor.fsproj (in 648 ms).
00:00:03 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\Supervisor\Supervisor.fsproj]
00:00:26 verbose #6 >   Supervisor -> C:\home\git\polyglot\target\Builder\Supervisor\bin\Release\net9.0\linux-x64\Supervisor.dll
00:00:28 verbose #7 >   Supervisor -> C:\home\git\polyglot\apps\spiral\dist\
00:00:28   debug #8 runtime.execute_with_options_async / { exit_code = 0; output_length = 688 }
00:00:28   debug #9 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\Supervisor\Supervisor.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime win-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\Supervisor" } }
00:00:28 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:29 verbose #11 >   Determining projects to restore...
00:00:30 verbose #12 >   Restored C:\home\git\polyglot\target\Builder\Supervisor\Supervisor.fsproj (in 623 ms).
00:00:30 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\Supervisor\Supervisor.fsproj]
00:00:53 verbose #14 >   Supervisor -> C:\home\git\polyglot\target\Builder\Supervisor\bin\Release\net9.0\win-x64\Supervisor.dll
00:00:57 verbose #15 >   Supervisor -> C:\home\git\polyglot\apps\spiral\dist\
00:00:57   debug #16 runtime.execute_with_options_async / { exit_code = 0; output_length = 686 }
00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Eval.dib", "--retries", "3"])) }
00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
    "repl",
    "--exit-after-run",
    "--run",
    "c:/home/git/polyglot/apps/spiral/Eval.dib",
    "--output-path",
    "c:/home/git/polyglot/apps/spiral/Eval.dib.ipynb",
]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/spiral/Eval.dib" --output-path "c:/home/git/polyglot/apps/spiral/Eval.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ # Eval (Polyglot)                                                            │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #r 
> @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
> dard2.1/FSharp.Control.AsyncSeq.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
> 0/System.Reactive.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
> netstandard2.0/System.Reactive.Linq.dll"
> #r 
> @"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com
> mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli
> ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.common/7.0.0
> /lib/net7.0/Microsoft.AspNetCore.SignalR.Common.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client/7.0.0
> /lib/net7.0/Microsoft.AspNetCore.SignalR.Client.dll"
> #r 
> @"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client.core/
> 7.0.0/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.Core.dll"
> #r 
> @"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
> rp.Json.dll"
> #r 
> @"../../../../../../../.nuget/packages/system.management/7.0.0/lib/netstandard2.
> 0/System.Management.dll"
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> #if !INTERACTIVE
> open Lib
> #endif
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> open Common
> open SpiralFileSystem.Operators
> open Microsoft.AspNetCore.SignalR.Client
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> open System
> open System.Collections.Generic
> open System.IO
> open System.Text
> open System.Threading
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## mapErrors                                                                 │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline mapErrors (severity, errors, lastTopLevelIndex) allCode =
>     let allCodeLineLength =
>         allCode |> SpiralSm.split "\n" |> Array.length
> 
>     errors
>     |> List.map (fun (_, error) ->
>         match error with
>         | Supervisor.FatalError message ->
>             (
>                 severity, message, 0, ("", (0, 0), (0, 0))
>             )
>             |> List.singleton
>         | Supervisor.TracedError data ->
>             data.trace
>             |> List.truncate 5
>             |> List.append [[ data.message ]]
>             |> List.map (fun message ->
>                 (
>                     severity, message, 0, ("", (0, 0), (0, 0))
>                 )
>             )
>         | Supervisor.PackageErrors data
>         | Supervisor.TokenizerErrors data
>         | Supervisor.ParserErrors data
>         | Supervisor.TypeErrors data ->
>             data.errors
>             |> List.filter (fun ((rangeStart, _), _) ->
>                 trace Debug (fun () -> $"Eval.mapErrors / rangeStart.line: 
> {rangeStart.line} / lastTopLevelIndex: {lastTopLevelIndex} / allCodeLineLength: 
> {allCodeLineLength} / filtered: {rangeStart.line > allCodeLineLength}") _locals
>                 rangeStart.line > allCodeLineLength
>             )
>             |> List.map (fun ((rangeStart, rangeEnd), message) ->
>                 (
>                     severity,
>                     message,
>                     0,
>                     (
>                         (data.uri |> System.IO.Path.GetFileName),
>                         (
>                             (match lastTopLevelIndex with
>                             | Some i when rangeStart.line >= i + 
> allCodeLineLength + 3 ->
>                                 rangeStart.line - allCodeLineLength - 2
>                             | _ -> rangeStart.line - allCodeLineLength),
>                             (match lastTopLevelIndex with
>                             | Some i when rangeStart.line >= i + 
> allCodeLineLength + 3 ->
>                                 rangeStart.character - 4
>                             | _ -> rangeStart.character)
>                         ),
>                         (
>                             (match lastTopLevelIndex with
>                             | Some i when rangeStart.line >= i + 
> allCodeLineLength + 3 ->
>                                 rangeEnd.line - allCodeLineLength - 2
>                             | _ -> rangeEnd.line - allCodeLineLength),
>                             (match lastTopLevelIndex with
>                             | Some i when rangeStart.line >= i + 
> allCodeLineLength + 3 ->
>                                 rangeEnd.character - 4
>                             | _ -> rangeEnd.character)
>                         )
>                     )
>                 )
>             )
>     )
>     |> List.collect id
>     |> List.toArray
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### workspaceRoot                                                            │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let workspaceRoot = SpiralFileSystem.get_workspace_root ()
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### targetDir                                                                │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let targetDir = workspaceRoot </> "target/spiral_Eval"
> [[ targetDir ]]
> |> List.iter (fun dir -> if Directory.Exists dir |> not then 
> Directory.CreateDirectory dir |> ignore)
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ### assemblyName                                                             │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let assemblyName = Reflection.Assembly.GetEntryAssembly().GetName().Name
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## allCode                                                                   │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let mutable allCode = ""
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## allCodeReal                                                               │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let mutable allCodeReal = ""
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## traceToggle                                                               │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let mutable traceToggle = false
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## getParentProcessId                                                        │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let getParentProcessId () =
>     if SpiralPlatform.is_windows () |> not
>     then 0u
>     else
>         let pid = System.Diagnostics.Process.GetCurrentProcess().Id
>         let query = $"SELECT ParentProcessId FROM Win32_Process WHERE ProcessId 
> = {pid}"
>         use searcher = new System.Management.ManagementObjectSearcher (query)
>         use results = searcher.Get ()
>         let data = results |> Seq.cast<System.Management.ManagementObject>
>         if data |> Seq.isEmpty
>         then 0u
>         else data |> Seq.head |> (fun mo -> mo.[["ParentProcessId"]] :?> uint32)
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## startTokenRangeWatcher                                                    │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline startTokenRangeWatcher () =
>     if [[ "dotnet-repl" ]] |> List.contains assemblyName |> not then
>         let tokensDir = targetDir </> "tokens"
> 
>         [[ tokensDir ]]
>         |> List.iter (fun dir -> if Directory.Exists dir |> not then 
> Directory.CreateDirectory dir |> ignore)
> 
>         let stream, disposable = FileSystem.watchDirectory (fun _ -> false) 
> tokensDir
> 
>         try
>             let existingFilesChild =
>                 tokensDir
>                 |> System.IO.Directory.GetDirectories
>                 |> Array.map (fun codeDir -> async {
>                     try
>                         let tokensPath = codeDir </> "tokens.json"
>                         if tokensPath |> File.Exists |> not then
>                             let spiralCodePath = codeDir </> "main.spi"
>                             let spiralRealCodePath = codeDir </> 
> "real_main.spir"
>                             let spiralExists = spiralCodePath |> 
> System.IO.File.Exists
>                             let spiralRealExists = spiralRealCodePath |> 
> System.IO.File.Exists
>                             if spiralExists |> not && spiralRealExists |> not
>                             then do! codeDir |> 
> SpiralFileSystem.delete_directory_async |> Async.Ignore
>                             else
>                                 let! tokens =
>                                     if spiralExists then spiralCodePath else 
> spiralRealCodePath
>                                     |> Supervisor.getFileTokenRange None None
>                                 match tokens with
>                                 | Some tokens ->
>                                     do!
>                                         tokens
>                                         |> FSharp.Json.Json.serialize
>                                         |> SpiralFileSystem.write_all_text_async
> tokensPath
>                                 | None ->
>                                     trace Verbose (fun () -> 
> $"Eval.startTokenRangeWatcher / GetDirectories / tokens: None") _locals
>                     with ex ->
>                         trace Critical (fun () -> $"Eval.startTokenRangeWatcher 
> / GetDirectories / ex: {ex |> SpiralSm.format_exception}") _locals
>                 })
>                 |> Async.Parallel
>                 |> Async.Ignore
> 
>             let streamAsyncChild =
>                 stream
>                 |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun (ticks, event)
> ->
>                     match event with
>                     | FileSystem.FileSystemChange.Changed (codePath, _)
>                         when [[ "main.spi"; "real_main.spir" ]]
>                             |> List.contains (System.IO.Path.GetFileName 
> codePath)
>                         ->
>                         async {
>                             let hashDir = codePath |> 
> System.IO.Directory.GetParent
>                             let hashHex = hashDir.Name
>                             let codePath = tokensDir </> codePath
>                             let tokensPath = tokensDir </> hashHex </> 
> "tokens.json"
>                             // do! Async.Sleep 30
>                             let rec loop retry = async {
>                                 let! tokens = codePath |> 
> Supervisor.getFileTokenRange None None
>                                 if retry = 3 || tokens <> Some [[||]]
>                                 then return tokens, retry
>                                 else
>                                     trace Debug
>                                         (fun () -> $"Eval.startTokenRangeWatcher
> / iterAsyncParallel")
>                                         (fun () -> $"retry: {retry} / tokens: 
> {tokens}")
>                                     do! Async.Sleep 30
>                                     return! loop (retry + 1)
>                             }
>                             let! tokens, retries = loop 1
>                             match tokens with
>                             | Some tokens ->
>                                 do!
>                                     tokens
>                                     |> FSharp.Json.Json.serialize
>                                     |> SpiralFileSystem.write_all_text_exists 
> tokensPath
>                             | None ->
>                                 trace Debug
>                                     (fun () -> $"Eval.startTokenRangeWatcher / 
> iterAsyncParallel")
>                                     (fun () -> $"retries: {retries} / tokens: 
> {tokens}")
>                         }
>                         |> Async.retryAsync 3
>                         |> Async.map (Result.toOption >> Option.defaultValue ())
>                     | _ -> () |> Async.init
>                 )
> 
>             let parentAsyncChild = async {
>                 let parentProcessId = getParentProcessId ()
>                 trace Verbose
>                     (fun () -> "Eval.parentAsyncChild")
>                     (fun () -> $"parentProcessId: {parentProcessId} / {_locals 
> ()}")
> 
>                 if parentProcessId > 0u then
>                     let parentProcess = parentProcessId |> int |> 
> System.Diagnostics.Process.GetProcessById
>                     do! parentProcess.WaitForExitAsync () |> Async.AwaitTask
>                     trace Debug
>                         (fun () -> "Eval.parentAsyncChild / Parent process has 
> exited. Performing cleanup...")
>                         (fun () -> $"{_locals ()}")
>                     System.Threading.Thread.Sleep 1000
>                     System.Environment.Exit 1
>             }
> 
>             async {
>                 do! Async.Sleep 3000
>                 existingFilesChild |> Async.StartImmediate
>                 streamAsyncChild |> Async.Start
>                 parentAsyncChild |> Async.Start
>             }
>             |> Async.Start
>         with ex ->
>             trace Critical (fun () -> $"Eval.startTokenRangeWatcher / ex: {ex |>
> SpiralSm.format_exception}") _locals
> 
>         disposable
>     else new_disposable (fun () -> ())
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## startCommandsWatcher                                                      │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let startCommandsWatcher (uriServer : string) =
>     let commandsDir = targetDir </> "eval_commands"
>     let commandHistoryDir = targetDir </> "eval_command_history"
>     [[ commandsDir; commandHistoryDir ]]
>     |> List.iter (fun dir -> if Directory.Exists dir |> not then 
> Directory.CreateDirectory dir |> ignore)
> 
>     Directory.EnumerateFiles commandsDir |> Seq.iter File.Delete
> 
>     let stream, disposable =
>         commandsDir
>         |> FileSystem.watchDirectory (function
>             | FileSystem.FileSystemChange.Created _ -> true
>             | _ -> false
>         )
> 
>     let connection = HubConnectionBuilder().WithUrl(uriServer).Build()
>     connection.StartAsync() |> Async.AwaitTask |> Async.Start
>     // let _ = connection.On<string>("ServerToClientMsg", fun x ->
>     //     printfn $"ServerToClientMsg: '{x}'"
>     // )
> 
>     stream
>     |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun (ticks, event) -> async {
>         let _locals () = $"ticks: {ticks} / event: {event} / {_locals ()}"
>         trace Verbose (fun () -> "Eval.startCommandsWatcher / 
> iterAsyncParallel") _locals
> 
>         match event with
>         | FileSystem.FileSystemChange.Created (path, Some json) ->
>             try
>                 let fullPath = commandsDir </> path
>                 let! result = 
> connection.InvokeAsync<string>("ClientToServerMsg", json) |> Async.AwaitTask
>                 let commandHistoryPath = commandHistoryDir </> path
>                 do! fullPath |> SpiralFileSystem.move_file_async 
> commandHistoryPath |> Async.Ignore
>                 if result |> SpiralSm.trim |> String.length > 0 then
>                     let resultPath = commandHistoryDir </> 
> $"{Path.GetFileNameWithoutExtension path}_result.json"
>                     do! result |> SpiralFileSystem.write_all_text_async 
> resultPath
>             with ex ->
>                 let _locals () = $"ex: {ex |> SpiralSm.format_exception} / 
> {_locals ()}"
>                 trace Critical (fun () -> "Eval.startCommandsWatcher / 
> iterAsyncParallel") _locals
>         | _ -> ()
>     })
>     |> Async.StartChild
>     |> Async.Ignore
>     |> Async.Start
> 
>     new_disposable (fun () ->
>         disposable.Dispose ()
>     )
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## prepareSpiral                                                             │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let prepareSpiral rawCellCode lines =
>     let lastBlock =
>         lines
>         |> Array.tryFindBack (fun line ->
>             line |> String.length > 0
>             && line.[[0]] <> ' '
>         )
> 
>     let hasMain =
>         lastBlock
>         |> Option.exists (fun line ->
>             line |> SpiralSm.starts_with "inl main "
>             || line |> SpiralSm.starts_with "let main "
>         )
> 
>     if hasMain
>     then rawCellCode, None
>     else
>         let lastTopLevelIndex, _ =
>             (lines |> Array.indexed, (None, false))
>             ||> Array.foldBack (fun (i, line) (lastTopLevelIndex, finished) ->
>                 // trace Verbose (fun () -> $"Eval.prepareSpiral / i: {i} / 
> line: '{line}' / lastTopLevelIndex: {lastTopLevelIndex} / finished: {finished}")
> _locals
>                 match line with
>                 | _ when finished -> lastTopLevelIndex, true
>                 | "" -> lastTopLevelIndex, false
>                 | line when
>                     line |> SpiralSm.starts_with " "
>                     || line |> SpiralSm.starts_with "// " -> lastTopLevelIndex, 
> false
>                 | line when
>                     line |> SpiralSm.starts_with "open "
>                     || line |> SpiralSm.starts_with "prototype "
>                     || line |> SpiralSm.starts_with "instance "
>                     || line |> SpiralSm.starts_with "type "
>                     || line |> SpiralSm.starts_with "union "
>                     || line |> SpiralSm.starts_with "nominal " -> 
> lastTopLevelIndex, true
>                 | line when
>                     line |> SpiralSm.starts_with "inl "
>                     || line |> SpiralSm.starts_with "and "
>                     || line |> SpiralSm.starts_with "let " ->
>                     let m =
>                         System.Text.RegularExpressions.Regex.Match (
>                             line,
>                             @"^(?:and +)?(inl|let) +((?:[[{( 
> ]]*)?[[~\(\w]]+[[\w\d']]*(?:|[[\w\d']]+[[ }]]*(?:&? *[[\w\d']]*\))?| 
> *[[~\w]][[\w\d']]*\)|, *[[~\w]][[\w\d']]*)) +[[:=]](?! +function)"
>                         )
>                     trace Verbose (fun () -> $"Eval.prepareSpi / m: '{m}' / 
> m.Groups.Count: {m.Groups.Count}") _locals
>                     if m.Groups.Count = 3
>                     then Some i, false
>                     else lastTopLevelIndex, true
>                 | _ -> Some i, false
>             )
>         let code =
>             match lastTopLevelIndex with
>             | Some lastTopLevelIndex ->
>                 lines
>                 |> Array.mapi (fun i line ->
>                     match i with
>                     | i when i < lastTopLevelIndex -> line
>                     | i when i = lastTopLevelIndex -> $"\nlet main () =\n    
> {line}"
>                     | _ when line |> SpiralSm.trim = "" -> ""
>                     | _ -> $"    {line}"
>                 )
>                 |> SpiralSm.concat "\n"
>             | None -> $"{rawCellCode}\n\ninl main () = ()\n"
>         code, lastTopLevelIndex
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## processSpiralOutput                                                       │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let processSpiralOutput
>     (props : {|
>         printCode: bool
>         traceLevel: TraceLevel
>         builderCommands: string array
>         lastTopLevelIndex: int option
>         backend: Supervisor.Backend
>         cancellationToken: _
>         spiralErrors: _
>         code: string
>         outputPath: string
>         isReal: bool
>     |})
>     = async {
>     let inline _trace (fn : unit -> string) =
>         if props.traceLevel = Verbose
>         then trace Info (fun () -> $"Eval.processSpiralOutput / props: {props |>
> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 400} / {fn ()}") _locals
>         else fn () |> System.Console.WriteLine
> 
>     if props.printCode then
>         let ext = props.outputPath |> System.IO.Path.GetExtension
>         _trace (fun () -> if props.builderCommands.Length > 0 then 
> $"{ext}:\n{props.code}\n" else props.code)
> 
>     let workspaceRootExternal =
>         let currentDir =
>             System.IO.Directory.GetCurrentDirectory ()
>             |> SpiralSm.to_lower
>         let workspaceRoot = workspaceRoot |> SpiralSm.to_lower
>         if currentDir |> SpiralSm.starts_with workspaceRoot
>         then None
>         else Some workspaceRoot
> 
>     let! spiralBuilderResults =
>         match props.builderCommands, props.lastTopLevelIndex with
>         | [[||]], _ | _, None -> [[||]] |> Async.init
>         | builderCommands, _ ->
>             builderCommands
>             |> Array.map (fun builderCommand ->
>                 let path =
>                     workspaceRoot </> 
> $@"workspace/target/release/spiral_builder{SpiralPlatform.get_executable_suffix 
> ()}"
>                     |> System.IO.Path.GetFullPath
>                 let commands =
>                     if props.backend = Supervisor.Fsharp
>                         && (
>                             builderCommand |> SpiralSm.starts_with "rust"
>                             || builderCommand |> SpiralSm.starts_with 
> "typescript"
>                             || builderCommand |> SpiralSm.starts_with "python"
>                         )
>                     then [[| $"{path} fable --fs-path \"{props.outputPath}\" 
> --command \"{builderCommand}\"" |]]
>                     elif props.backend = Supervisor.Cuda
>                         && builderCommand |> SpiralSm.starts_with "cuda"
>                     then [[| $"{path} {builderCommand} --py-path 
> \"{props.outputPath}\"" |]]
>                     else [[||]]
>                 builderCommand, commands
>             )
>             |> Array.filter (fun (_, commands) -> commands.Length > 0)
>             |> Array.map (fun (builderCommand, commands) ->
>                 commands
>                 |> Array.map (fun command -> async {
>                     let! exitCode, result =
>                         SpiralRuntime.execution_options (fun x ->
>                             { x with
>                                 l0 = command
>                                 l1 = props.cancellationToken
>                                 l2 = [[|
>                                     "AUTOMATION", assemblyName = "dotnet-repl" 
> |> string
>                                     "TRACE_LEVEL", $"%A{if props.printCode then 
> props.traceLevel else Info}"
>                                 |]]
>                                 l6 = workspaceRootExternal
>                             }
>                         )
>                         |> SpiralRuntime.execute_with_options_async
>                     trace Debug
>                         (fun () -> $"Eval.processSpiralOutput / spiral_builder")
>                         (fun () -> $"exitCode: {exitCode} / builderCommand: 
> {builderCommand} / result: {result |> SpiralSm.ellipsis_end 400} / {_locals 
> ()}")
>                     return
>                         if exitCode = 0
>                         then {| code = result; eval = false; builderCommand = 
> builderCommand |} |> Ok
>                         else result |> Error
>                 })
>             )
>             |> Array.collect id
>             |> Async.Parallel
> 
>     let hasEval =
>         props.backend = Supervisor.Fsharp
>         && props.builderCommands |> Array.exists (fun x -> x |> 
> SpiralSm.starts_with "fsharp")
> 
>     let outputResult =
>         if props.builderCommands.Length > 0 && not hasEval
>         then None
>         else
>             let code =
>                 if props.builderCommands.Length > 1
>                 then
>                     let header = "System.Console.WriteLine \".fsx output:\"\n"
>                     $"{header}{props.code}"
>                 else props.code
>             Some (Ok [[ {| code = code; eval = true; builderCommand = "" |} ]])
> 
>     match outputResult, spiralBuilderResults with
>     | Some outputResult, [[||]] ->
>         return outputResult, [[||]]
>     | None, [[||]] ->
>         return Ok [[ {| code = "()"; eval = true; builderCommand = "" |} ]], 
> [[||]]
>     | _, spiralBuilderResults ->
>         try
>             let spiralResults =
>                 match outputResult with
>                 | Some (Ok code) ->
>                     spiralBuilderResults
>                     |> Array.append (code |> List.map Ok |> List.toArray)
>                 | _ -> spiralBuilderResults
>             let codes =
>                 spiralResults
>                 |> Array.map (fun spiralBuilderResult' ->
>                     let commandResult, errors =
>                         match spiralBuilderResult' with
>                         | Ok result when result.eval = false ->
>                             let result' =
>                                 result.code
>                                 |> 
> FSharp.Json.Json.deserialize<Map<string,string>>
>                             let result =
>                                 match result' |> Map.tryFind "command_result" 
> with
>                                 | Some result'' ->
>                                     result''
>                                     |> 
> FSharp.Json.Json.deserialize<Map<string,string>>
>                                     |> Map.add "builderCommand" 
> result.builderCommand
>                                 | None -> Map.empty
>                             result, [[||]]
>                         | Ok result when result.eval = true ->
>                             let result =
>                                 [[
>                                     "extension", "fsx"
>                                     "code", result.code
>                                     "output", ""
>                                 ]]
>                                 |> Map.ofList
>                             result, [[||]]
>                         | Error error ->
>                             Map.empty,
>                             [[|
>                                 (
>                                     TraceLevel.Critical, 
> $"Eval.processSpiralOutput / evalResult error / errors[[0]] / outputPath: 
> {props.outputPath} / builderCommands: %A{props.builderCommands} / 
> spiralBuilderResult': %A{spiralBuilderResult'} / error: %A{error}", 0, ("", (0, 
> 0), (0, 0))
>                                 )
>                             |]]
>                         | _ ->
>                             Map.empty, [[||]]
> 
>                     if errors |> Array.isEmpty |> not
>                     then Error (Exception $"Eval.processSpiralOutput / 
> evalResult errors / Exception / commandResult: %A{commandResult}"), errors
>                     else
>                         let extension = commandResult.[["extension"]]
>                         let code = commandResult.[["code"]]
>                         let output = commandResult.[["output"]]
>                         let builderCommand =
>                             commandResult
>                             |> Map.tryFind "builderCommand"
>                             |> Option.defaultValue ""
> 
>                         let eval = output = "" && extension = "fsx"
> 
>                         if props.printCode && not eval
>                         then _trace (fun () -> $""".{extension}:{'\n'}{code}""")
> 
>                         trace Debug
>                             (fun () -> $"Eval.processSpiralOutput / result")
>                             (fun () -> $"builderCommand: {builderCommand} / 
> extension: {extension} / commandResult: {commandResult |> 
> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 400}/ {_locals ()}")
> 
>                         let code =
>                             if props.printCode
>                                 || spiralResults.Length > 1
>                                 || props.builderCommands.Length > 1
>                             then
>                                 if eval then
>                                     code
>                                 else
>                                     let header =
>                                         let info =
>                                             match props.backend, builderCommand 
> with
>                                             | Supervisor.Fsharp, builderCommand
>                                                 when builderCommand |> 
> SpiralSm.contains " " -> $" ({builderCommand})"
>                                             | Supervisor.Fsharp, _ -> ""
>                                             | _ -> $" ({props.backend})"
>                                         if info = ""
>                                         then $".{extension} output:\n"
>                                         else $".{extension} output{info}:\n"
>                                     $"""{if output |> SpiralSm.contains "\n" 
> then "\n" else ""}{header}{output}"""
>                             elif eval
>                             then code
>                             else output
>                         Ok {| code = code; eval = eval; builderCommand = 
> builderCommand |}, [[||]]
>                 )
>             trace Debug
>                 (fun () -> $"Eval.processSpiralOutput / codes")
>                 (fun () ->
>                     let props = {| props with cancellationToken = None |}
>                     $"codes: {codes |> FSharp.Json.Json.serialize |> 
> SpiralSm.ellipsis_end 400} / spiralResults: {spiralResults |> 
> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 400} / spiralBuilderResults:
> {spiralBuilderResults |> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 
> 400} / props: {props |> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 400}
> / {_locals ()}")
>             return
>                 (((Ok [[]]), [[||]]), codes)
>                 ||> Array.fold (fun (acc_code, acc_errors) (code, errors) ->
>                     match code, acc_code with
>                     | Ok code, Ok acc_code ->
>                         let errors =
>                             acc_errors
>                             |> Array.append errors
>                             |> Array.append props.spiralErrors
>                         let errors =
>                             if errors |> Array.isEmpty
>                             then errors
>                             else
>                                 let code = $"%A{code}"
>                                 errors
>                                 |> Array.append [[|
>                                     TraceLevel.Critical, 
> $"Eval.processSpiralOutput / errors / errors[[-1]] / outputPath: 
> {props.outputPath} / builderCommands: %A{props.builderCommands} / code: {code |>
> SpiralSm.ellipsis_end 400}", 0, ("", (0, 0), (0, 0))
>                                 |]]
>                         Ok (code :: acc_code), errors
>                     | Error ex, _
>                     | _, Error ex ->
>                         Error (Exception $"Eval.processSpiralOutput / -1 / 
> Exception / spiralBuilderResults: %A{spiralBuilderResults} / ex: {ex |> 
> SpiralSm.format_exception}"),
>                         acc_errors |> Array.append errors
>                 )
>         with ex ->
>             trace Critical (fun () -> $"Eval.processSpiralOutput / try 2 ex / 
> spiralBuilderResults: %A{spiralBuilderResults} / ex: {ex |> 
> SpiralSm.format_exception}") _locals
>             return
>                 Error (Exception $"Eval.processSpiralOutput / try 2 ex / 
> Exception / spiralBuilderResults: %A{spiralBuilderResults} / ex: {ex |> 
> SpiralSm.format_exception}"),
>                 [[|
>                     (
>                         TraceLevel.Critical, $"Eval.processSpiralOutput / try 2 
> ex / errors[[0]] / spiralBuilderResults: %A{spiralBuilderResults} / ex: {ex |> 
> SpiralSm.format_exception}", 0, ("", (0, 0), (0, 0))
>                     )
>                 |]]
> }
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## tryGetPropertyValue                                                       │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let tryGetPropertyValue (propertyName: string) (obj: obj) =
>     let objType = obj.GetType ()
>     let propertyInfo = propertyName |> objType.GetProperty
>     if propertyInfo <> null
>     then propertyInfo.GetValue (obj, null) |> Some
>     else None
> 
> ── markdown ────────────────────────────────────────────────────────────────────
> ╭──────────────────────────────────────────────────────────────────────────────╮
> │ ## eval                                                                      │
> ╰──────────────────────────────────────────────────────────────────────────────╯
> 
> ── fsharp ──────────────────────────────────────────────────────────────────────
> let inline eval
>     (fsi_eval:
>         string
>         -> System.Threading.CancellationToken
>         -> Choice<'a, Exception> * (TraceLevel * string * int * (string * (int *
> int) * (int * int))) array)
>     (cancellationToken: Option<System.Threading.CancellationToken>)
>     (code: string)
>     =
>     trace Verbose
>         (fun () -> $"Eval.eval")
>         (fun () -> $"code: {code |> SpiralSm.ellipsis_end 400} / {_locals ()}")
> 
>     let rawCellCode =
>         code |> SpiralSm.replace "\r\n" "\n"
> 
>     let lines = rawCellCode |> SpiralSm.split "\n"
> 
>     if lines |> Array.exists (fun line -> line |> SpiralSm.starts_with "#r " && 
> line |> SpiralSm.ends_with "\"") then
>         let cancellationToken = defaultArg cancellationToken 
> System.Threading.CancellationToken.None
>         let ch, errors = fsi_eval code cancellationToken
>         trace Verbose (fun () -> $"Eval.eval / fsi_eval 1 / ch: %A{ch} / errors:
> {errors}") _locals
>         match ch with
>         | Choice1Of2 v -> Ok(v), errors
>         | Choice2Of2 ex -> Error(ex), errors
>     else
>         let builderCommands =
>             lines
>             |> Array.choose (fun line ->
>                 if line |> SpiralSm.starts_with "///! "
>                 then line |> SpiralSm.split "///! " |> Array.tryItem 1
>                 else None
>             )
> 
>         let timeout =
>             lines
>             |> Array.tryPick (fun line ->
>                 if line |> SpiralSm.starts_with "//// timeout="
>                 then line |> SpiralSm.split "=" |> Array.tryItem 1 |> Option.map
> int
>                 else None
>             )
>             |> Option.defaultValue (60000 * 60)
> 
>         let boolArg def command =
>             lines
>             |> Array.tryPick (fun line ->
>                 let text = $"//// {command}"
>                 match line.[[0..text.Length-1]], line.[[text.Length..]] with
>                 | head, "" when head = text ->
>                     Some true
>                 | head, _ when head = text ->
>                     line |> SpiralSm.split "=" |> Array.tryItem 1 |> Option.map 
> ((<>) "false")
>                 | _ -> None
>             )
>             |> Option.defaultValue def
> 
>         let printCode = "print_code" |> boolArg false
>         let isTraceToggle = "trace_toggle" |> boolArg false
>         let isTrace = "trace" |> boolArg false
>         let isCache = "cache" |> boolArg false
>         let isReal = "real" |> boolArg false
> 
>         if isTraceToggle
>         then traceToggle <- not traceToggle
> 
>         let oldLevel = get_trace_level ()
>         let traceLevel =
>             if isTrace || traceToggle
>             then Verbose
>             else Info
>         traceLevel
>         |> to_trace_level
>         |> set_trace_level
>         use _ = (new_disposable (fun () ->
>             oldLevel |> set_trace_level
>         ))
> 
>         async {
>             try
>                 let cellCode, lastTopLevelIndex = prepareSpiral rawCellCode 
> lines
>                 let newAllCode =
>                     if isReal
>                     then $"{allCodeReal}\n\n{cellCode}"
>                     else $"{allCode}\n\n{cellCode}"
> 
>                 let buildBackends =
>                     if builderCommands.Length = 0
>                     then [[| Supervisor.Fsharp |]]
>                     else
>                         builderCommands
>                         |> Array.map (fun x ->
>                             if x |> SpiralSm.starts_with "cuda"
>                             then Supervisor.Cuda
>                             else Supervisor.Fsharp
>                         )
>                         |> Array.distinct
> 
>                 trace Verbose
>                     (fun () -> $"Eval.eval")
>                     (fun () -> $"lastTopLevelIndex: {lastTopLevelIndex} / 
> builderCommands: %A{builderCommands} / buildBackends: %A{buildBackends} / 
> isReal: {isReal} / {_locals ()}")
> 
>                 let! buildCodeResults =
>                     buildBackends
>                     |> Array.map (fun backend -> async {
>                         let! result =
>                             if isReal
>                             then Supervisor.Spir newAllCode
>                             else
>                                 Supervisor.Spi
>                                     (newAllCode, if allCodeReal = "" then None 
> else Some allCodeReal)
>                             |> Supervisor.buildCode backend isCache timeout 
> cancellationToken
>                         return backend, result
>                     })
>                     |> Async.Parallel
>                     |> Async.catch
>                     |> Async.runWithTimeoutAsync timeout
> 
>                 match buildCodeResults with
>                 | Some (Ok buildCodeResults) ->
>                     let! result, errors =
>                         ((Ok [[]], [[||]]), buildCodeResults)
>                         ||> Async.fold (fun acc buildCodeResult -> async {
>                             match buildCodeResult with
>                             | backend, (_, (outputPath, Some code), 
> spiralErrors) ->
>                                 let spiralErrors =
>                                     mapErrors (Warning, spiralErrors, 
> lastTopLevelIndex) allCode
>                                 let! result =
>                                     processSpiralOutput
>                                         {|
>                                             printCode = printCode
>                                             traceLevel = traceLevel
>                                             builderCommands = builderCommands
>                                             lastTopLevelIndex = 
> lastTopLevelIndex
>                                             backend = backend
>                                             cancellationToken = 
> cancellationToken
>                                             spiralErrors = spiralErrors
>                                             code = code
>                                             outputPath = outputPath
>                                             isReal = isReal
>                                         |}
>                                 match result, acc with
>                                 | (Ok code, errors), (Ok acc_code, acc_errors) 
> ->
>                                     return Ok (acc_code @ code), acc_errors |> 
> Array.append errors
>                                 | (Error ex, errors), _ | _, (Error ex, errors) 
> ->
>                                     return
>                                         Error (Exception $"Eval.eval / 
> processSpiralOutput / Exception / buildCodeResult: %A{buildCodeResult |> 
> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 400} / ex: {ex |> 
> SpiralSm.format_exception}"),
>                                         errors |> Array.append errors
>                             | _, (_, _, errors) when errors |> List.isEmpty |> 
> not ->
>                                 return errors.[[0]] |> fst |> Exception |> 
> Error,
>                                 mapErrors (TraceLevel.Critical, errors, 
> lastTopLevelIndex) allCode
>                             | _ -> return acc
>                         })
>                     let cancellationToken = defaultArg cancellationToken 
> System.Threading.CancellationToken.None
>                     match result, errors with
>                     | Ok code, [[||]] ->
>                         let code, eval =
>                             code
>                             |> List.map (fun code ->
>                                 if code.eval
>                                 then None, Some code.code
>                                 else Some code.code, None
>                             )
>                             |> List.unzip
>                         let code = code |> List.choose id
>                         let eval = eval |> List.choose id
> 
>                         trace Debug
>                             (fun () -> $"Eval.eval")
>                             (fun () -> $"eval: {eval |> 
> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 400} / code: {code |> 
> FSharp.Json.Json.serialize |> SpiralSm.ellipsis_end 400} / {_locals ()}")
> 
>                         let ch, errors =
>                             match eval, code with
>                             | [[]], [[]] ->
>                                 Choice2Of2 (Exception $"Eval.eval / eval=[[]] / 
> code=[[]] / buildCodeResults: %A{buildCodeResults} / code: %A{code}"), errors
>                             | [[ eval ]], [[]] ->
>                                 let ch, errors2 = fsi_eval eval 
> cancellationToken
>                                 let errors =
>                                     errors2
>                                     // |> Array.map (fun (e1, e2, e3, _) ->
>                                     //     (e1, e2, e3, ("", (0, 0), (0, 0)))
>                                     // )
>                                     |> Array.append errors
>                                 ch, errors
>                             | [[]], _ ->
>                                 let code = code |> List.rev |> String.concat 
> "\n\n"
>                                 let code =
>                                     if printCode
>                                     then $"\"\"\"{code}\n\n\"\"\""
>                                     else $"\"\"\"{code}\n\"\"\""
>                                 let ch, errors2 = fsi_eval code 
> cancellationToken
>                                 let errors =
>                                     errors2
>                                     // |> Array.map (fun (e1, e2, e3, _) ->
>                                     //     (e1, e2, e3, ("", (0, 0), (0, 0)))
>                                     // )
>                                     |> Array.append errors
>                                 ch, errors
>                             | _ ->
>                                 let code, errors =
>                                     ((Ok (code |> List.rev), [[||]]), eval)
>                                     ||> List.fold (fun (acc, acc_errors) eval ->
>                                         match acc with
>                                         | Error ch -> Error ch, acc_errors
>                                         | Ok acc ->
>                                             let ch, errors = fsi_eval eval 
> cancellationToken
>                                             let errors =
>                                                 errors
>                                                 // |> Array.map (fun (e1, e2, 
> e3, _) ->
>                                                 //     (e1, e2, e3, ("", (0, 0),
> (0, 0)))
>                                                 // )
>                                                 |> Array.append acc_errors
>                                             match ch with
>                                             | Choice1Of2 v ->
>                                                 let v =
>                                                     v
>                                                     |> tryGetPropertyValue 
> "ReflectionValue"
>                                                     |> Option.map (fun x -> 
> $"%A{x}")
>                                                     |> Option.defaultValue ""
>                                                 Ok (v :: acc), errors
>                                             | Choice2Of2 ex ->
>                                                 trace Critical (fun () -> 
> $"Eval.eval / fsi_eval fold Choice error / buildCodeResults: 
> %A{buildCodeResults} / ex: {ex |> SpiralSm.format_exception}") _locals
>                                                 Error ch, errors
>                                     )
>                                 match code with
>                                 | Error ch -> ch, errors
>                                 | Ok code ->
>                                     let code =
>                                         code
>                                         |> List.filter ((<>) "")
>                                         |> String.concat "\n\n"
> 
>                                     let code =
>                                         if builderCommands.Length > 0 && 
> eval.Length = 0
>                                         then code
>                                         elif code |> SpiralSm.contains "\n\n\n"
>                                         then $"{code}\n\n"
>                                         else $"{code}\n"
> 
>                                     let code =
>                                         if printCode
>                                         then $"\"\"\"{code}\n\n\n\"\"\""
>                                         else $"\"\"\"{code}\n\"\"\""
>                                     let ch, errors2 = fsi_eval code 
> cancellationToken
>                                     let errors =
>                                         errors2
>                                         // |> Array.map (fun (e1, e2, e3, _) ->
>                                         //     (e1, e2, e3, ("", (0, 0), (0, 
> 0)))
>                                         // )
>                                         |> Array.append errors
>                                     ch, errors
>                         match ch with
>                         | Choice1Of2 v ->
>                             if isReal
>                             then allCodeReal <- newAllCode
>                             else allCode <- newAllCode
>                             return Ok(v), errors
>                         | Choice2Of2 ex ->
>                             return
>                                 Error (Exception $"Eval.eval / -2 / Exception / 
> buildCodeResults: {buildCodeResults |> FSharp.Json.Json.serialize |> 
> SpiralSm.ellipsis_end 400} / ex: {ex |> SpiralSm.format_exception}"),
>                                 errors
>                     | Ok code, errors ->
>                         return
>                             Error (Exception "Eval.eval / errors / 
> buildCodeResults: %A{buildCodeResults} / code: %A{code}"),
>                             errors
>                     | Error ex, errors ->
>                         return
>                             Error (Exception $"Eval.eval / -1 / Exception / 
> buildCodeResults: {buildCodeResults |> FSharp.Json.Json.serialize |> 
> SpiralSm.ellipsis_end 1500} / ex: {ex |> SpiralSm.format_exception}"),
>                             errors
>                 | Some (Error ex) ->
>                     trace Critical (fun () -> $"Eval.eval / buildCodeResults 
> Error / buildCodeResults: %A{buildCodeResults} / ex: {ex |> 
> SpiralSm.format_exception}") _locals
>                     return
>                         Error (Exception $"Eval.eval / buildCodeResults Error / 
> Exception / buildCodeResults: %A{buildCodeResults} / ex: {ex |> 
> SpiralSm.format_exception}"),
>                         [[|
>                             (
>                                 TraceLevel.Critical, $"Eval.eval / 
> buildCodeResults Error / errors[[0]] / buildCodeResults: %A{buildCodeResults} / 
> ex: {ex |> SpiralSm.format_exception}", 0, ("", (0, 0), (0, 0))
>                             )
>                         |]]
>                 | _ ->
>                     return
>                         Error (Exception $"Eval.eval / buildCodeResults / 
> Exception / buildCodeResults: %A{buildCodeResults}"),
>                         [[|
>                             (
>                                 TraceLevel.Critical, $"Eval.eval / 
> buildCodeResults / errors[[0]] / buildCodeResults: %A{buildCodeResults}", 0, 
> ("", (0, 0), (0, 0))
>                             )
>                         |]]
>             with ex ->
>                 trace Critical (fun () -> $"Eval.eval / try 1 ex / ex: {ex |> 
> SpiralSm.format_exception} / lines: %A{lines}") _locals
>                 return
>                     Error (Exception $"Eval.eval / try 1 ex / Exception / ex: 
> {ex |> SpiralSm.format_exception} / lines: %A{lines}"),
>                     [[|
>                         (
>                             TraceLevel.Critical, $"Eval.eval / try 1 ex / 
> errors[[0]] / ex: {ex |> SpiralSm.format_exception} / lines: %A{lines}", 0, ("",
> (0, 0), (0, 0))
>                         )
>                     |]]
>         }
>         |> Async.runWithTimeout timeout
>         |> Option.defaultValue (
>             Error (Exception $"Eval.eval / Async.runWithTimeout / Exception / 
> timeout: {timeout} / lines: %A{lines}"),
>             [[|
>                 (
>                     TraceLevel.Critical, $"Eval.eval / Async.runWithTimeout / 
> errors[[0]] / timeout: {timeout} / lines: %A{lines}", 0, ("", (0, 0), (0, 0))
>                 )
>             |]]
>         )
00:01:05 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 51725 }
00:01:05   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
    "nbconvert",
    "c:/home/git/polyglot/apps/spiral/Eval.dib.ipynb",
    "--to",
    "html",
    "--HTMLExporter.theme=dark",
]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/spiral/Eval.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:08 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/spiral/Eval.dib.ipynb to html
00:01:08 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:08 verbose #7 !   validate(nb)
00:01:11 verbose #8 ! [NbConvertApp] Writing 449085 bytes to c:\home\git\polyglot\apps\spiral\Eval.dib.html
00:01:11 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 641 }
00:01:11   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 641 }
00:01:11   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
    "-c",
    "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/Eval.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/Eval.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:12 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:01:12   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:01:13   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 52425 }
00:00:00   debug #1 writeDibCode / output: Fs / path: Eval.dib
00:00:00   debug #2 parseDibCode / output: Fs / file: Eval.dib
In [ ]:
{ pwsh ../lib/fsharp/build.ps1 -sequential 1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02   debug #7 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path Async.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:02 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Async.dib", "--retries", "3"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/lib/fsharp/Async.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/lib/fsharp/Async.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/fsharp/Async.dib" --output-path "c:/home/git/polyglot/lib/fsharp/Async.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:06 verbose #17 > >
00:00:06 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #20 > > │ # Async (Polyglot)                                                           │
00:00:06 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #22 > >
00:00:29 verbose #23 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #24 > > #if !INTERACTIVE
00:00:29 verbose #25 > > open Lib
00:00:29 verbose #26 > > #endif
00:00:29 verbose #27 > >
00:00:29 verbose #28 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #29 > > open Common
00:00:29 verbose #30 > >
00:00:29 verbose #31 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 verbose #32 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 verbose #33 > > │ ## choice                                                                    │
00:00:29 verbose #34 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #35 > >
00:00:29 verbose #36 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #37 > > let inline choice asyncs = async {
00:00:29 verbose #38 > >     let e = Event<_> ()
00:00:29 verbose #39 > >     use cts = new System.Threading.CancellationTokenSource ()
00:00:29 verbose #40 > >     let fn =
00:00:29 verbose #41 > >         asyncs
00:00:29 verbose #42 > >         |> Seq.map (fun a -> async {
00:00:29 verbose #43 > >             let! x = a
00:00:29 verbose #44 > >             e.Trigger x
00:00:29 verbose #45 > >         })
00:00:29 verbose #46 > >         |> Async.Parallel
00:00:29 verbose #47 > >         |> Async.Ignore
00:00:29 verbose #48 > >     Async.Start (fn, cts.Token)
00:00:29 verbose #49 > >     let! result = Async.AwaitEvent e.Publish
00:00:29 verbose #50 > >     cts.Cancel ()
00:00:29 verbose #51 > >     return result
00:00:29 verbose #52 > > }
00:00:29 verbose #53 > >
00:00:29 verbose #54 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 verbose #55 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 verbose #56 > > │ ## map                                                                       │
00:00:29 verbose #57 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #58 > >
00:00:29 verbose #59 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #60 > > let inline map fn a = async {
00:00:29 verbose #61 > >     let! x = a
00:00:29 verbose #62 > >     return fn x
00:00:29 verbose #63 > > }
00:00:29 verbose #64 > >
00:00:29 verbose #65 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 verbose #66 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 verbose #67 > > │ ## catch                                                                     │
00:00:29 verbose #68 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #69 > >
00:00:29 verbose #70 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #71 > > let inline catch a =
00:00:29 verbose #72 > >     a
00:00:29 verbose #73 > >     |> Async.Catch
00:00:29 verbose #74 > >     |> map (function
00:00:29 verbose #75 > >         | Choice1Of2 result -> Ok result
00:00:29 verbose #76 > >         | Choice2Of2 ex -> Error ex
00:00:29 verbose #77 > >     )
00:00:29 verbose #78 > >
00:00:29 verbose #79 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 verbose #80 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 verbose #81 > > │ ## runWithTimeoutChoiceAsync                                                 │
00:00:29 verbose #82 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #83 > >
00:00:29 verbose #84 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #85 > > let inline runWithTimeoutChoiceAsync (timeout : int) fn =
00:00:29 verbose #86 > >     let _locals () = $"timeout: {timeout} / {_locals ()}"
00:00:29 verbose #87 > >
00:00:29 verbose #88 > >     let timeoutTask = async {
00:00:29 verbose #89 > >         do! Async.Sleep timeout
00:00:29 verbose #90 > >         trace Debug (fun () -> "runWithTimeoutChoiceAsync") _locals
00:00:29 verbose #91 > >         return None
00:00:29 verbose #92 > >     }
00:00:29 verbose #93 > >
00:00:29 verbose #94 > >     let task = async {
00:00:29 verbose #95 > >         try
00:00:29 verbose #96 > >             let! result = fn
00:00:29 verbose #97 > >             return Some result
00:00:29 verbose #98 > >         with
00:00:29 verbose #99 > >         | :? System.AggregateException as ex when
00:00:29 verbose #100 > >             ex.InnerExceptions
00:00:29 verbose #101 > >             |> Seq.exists (function :?
00:00:29 verbose #102 > > System.Threading.Tasks.TaskCanceledException -> true | _ -> false)
00:00:29 verbose #103 > >             ->
00:00:29 verbose #104 > >             trace Warning
00:00:29 verbose #105 > >                 (fun () -> "runWithTimeoutChoiceAsync")
00:00:29 verbose #106 > >                 (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:29 verbose #107 > > ()}")
00:00:29 verbose #108 > >             return None
00:00:29 verbose #109 > >         | ex ->
00:00:29 verbose #110 > >             trace Critical
00:00:29 verbose #111 > >                 (fun () -> "runWithTimeoutChoiceAsync")
00:00:29 verbose #112 > >                 (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:29 verbose #113 > > ()}")
00:00:29 verbose #114 > >             return None
00:00:29 verbose #115 > >     }
00:00:29 verbose #116 > >
00:00:29 verbose #117 > >     [[ timeoutTask; task ]]
00:00:29 verbose #118 > >     |> choice
00:00:29 verbose #119 > >
00:00:29 verbose #120 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #121 > > let inline runWithTimeoutChoice timeout fn =
00:00:29 verbose #122 > >     fn
00:00:29 verbose #123 > >     |> runWithTimeoutChoiceAsync timeout
00:00:29 verbose #124 > >     |> Async.RunSynchronously
00:00:29 verbose #125 > >
00:00:29 verbose #126 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #127 > > //// test
00:00:29 verbose #128 > >
00:00:29 verbose #129 > > Async.Sleep 120
00:00:29 verbose #130 > > |> runWithTimeoutChoice 10
00:00:29 verbose #131 > > |> _assertEqual None
00:00:29 verbose #132 > >
00:00:29 verbose #133 > > ╭─[ 259.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 verbose #134 > > │ 00:00:01   debug #1 runWithTimeoutChoiceAsync / timeout: 10             │
00:00:29 verbose #135 > > │ <null>                                                                       │
00:00:29 verbose #136 > > │                                                                              │
00:00:29 verbose #137 > > │                                                                              │
00:00:29 verbose #138 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #139 > >
00:00:29 verbose #140 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #141 > > //// test
00:00:29 verbose #142 > >
00:00:29 verbose #143 > > Async.Sleep 10
00:00:29 verbose #144 > > |> runWithTimeoutChoice 60
00:00:29 verbose #145 > > |> _assertEqual (Some ())
00:00:30 verbose #146 > >
00:00:30 verbose #147 > > ╭─[ 213.99ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #148 > > │ Some ()                                                                      │
00:00:30 verbose #149 > > │                                                                              │
00:00:30 verbose #150 > > │                                                                              │
00:00:30 verbose #151 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #152 > >
00:00:30 verbose #153 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #154 > > //// test
00:00:30 verbose #155 > >
00:00:30 verbose #156 > > async {
00:00:30 verbose #157 > >     raise (exn "error")
00:00:30 verbose #158 > > }
00:00:30 verbose #159 > > |> runWithTimeoutChoice 60
00:00:30 verbose #160 > > |> _assertEqual None
00:00:30 verbose #161 > >
00:00:30 verbose #162 > > ╭─[ 210.37ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #163 > > │ 00:00:01 critical #2 runWithTimeoutChoiceAsync / ex: System.Exception:  │
00:00:30 verbose #164 > > │ error / timeout: 60                                                          │
00:00:30 verbose #165 > > │ <null>                                                                       │
00:00:30 verbose #166 > > │                                                                              │
00:00:30 verbose #167 > > │                                                                              │
00:00:30 verbose #168 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #169 > >
00:00:30 verbose #170 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 verbose #171 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 verbose #172 > > │ ## runWithTimeoutAsync                                                       │
00:00:30 verbose #173 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #174 > >
00:00:30 verbose #175 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #176 > > let inline runWithTimeoutAsync (timeout : int) fn = async {
00:00:30 verbose #177 > >     let _locals () = $"timeout: {timeout} / {_locals ()}"
00:00:30 verbose #178 > >     let! child = Async.StartChild (fn, timeout)
00:00:30 verbose #179 > >     return!
00:00:30 verbose #180 > >         child
00:00:30 verbose #181 > >         |> catch
00:00:30 verbose #182 > >         |> map (function
00:00:30 verbose #183 > >             | Ok result -> Some result
00:00:30 verbose #184 > >             | Error (:? System.TimeoutException as ex) ->
00:00:30 verbose #185 > >                 trace Debug (fun () -> $"runWithTimeoutAsync") _locals
00:00:30 verbose #186 > >                 None
00:00:30 verbose #187 > >             | Error ex ->
00:00:30 verbose #188 > >                 trace Critical (fun () -> $"runWithTimeoutAsync** / ex: %A{ex}")
00:00:30 verbose #189 > > _locals
00:00:30 verbose #190 > >                 None
00:00:30 verbose #191 > >         )
00:00:30 verbose #192 > > }
00:00:30 verbose #193 > >
00:00:30 verbose #194 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #195 > > let inline runWithTimeout timeout fn =
00:00:30 verbose #196 > >     fn
00:00:30 verbose #197 > >     |> runWithTimeoutAsync timeout
00:00:30 verbose #198 > >     |> Async.RunSynchronously
00:00:30 verbose #199 > >
00:00:30 verbose #200 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #201 > > //// test
00:00:30 verbose #202 > >
00:00:30 verbose #203 > > Async.Sleep 60
00:00:30 verbose #204 > > |> runWithTimeout 10
00:00:30 verbose #205 > > |> _assertEqual None
00:00:30 verbose #206 > >
00:00:30 verbose #207 > > ╭─[ 158.46ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #208 > > │ 00:00:02   debug #3 runWithTimeoutAsync / timeout: 10                   │
00:00:30 verbose #209 > > │ <null>                                                                       │
00:00:30 verbose #210 > > │                                                                              │
00:00:30 verbose #211 > > │                                                                              │
00:00:30 verbose #212 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #213 > >
00:00:30 verbose #214 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #215 > > //// test
00:00:30 verbose #216 > >
00:00:30 verbose #217 > > Async.Sleep 10
00:00:30 verbose #218 > > |> runWithTimeout 60
00:00:30 verbose #219 > > |> _assertEqual (Some ())
00:00:30 verbose #220 > >
00:00:30 verbose #221 > > ╭─[ 121.13ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #222 > > │ Some ()                                                                      │
00:00:30 verbose #223 > > │                                                                              │
00:00:30 verbose #224 > > │                                                                              │
00:00:30 verbose #225 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #226 > >
00:00:30 verbose #227 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #228 > > //// test
00:00:30 verbose #229 > >
00:00:30 verbose #230 > > async {
00:00:30 verbose #231 > >     raise (exn "error")
00:00:30 verbose #232 > > }
00:00:30 verbose #233 > > |> runWithTimeout 60
00:00:30 verbose #234 > > |> _assertEqual None
00:00:31 verbose #235 > >
00:00:31 verbose #236 > > ╭─[ 147.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 verbose #237 > > │ 00:00:02 critical #4 runWithTimeoutAsync** / ex: System.Exception:      │
00:00:31 verbose #238 > > │ error                                                                        │
00:00:31 verbose #239 > > │    at FSI_0036.it@4-119.Invoke(Unit unitVar)                                 │
00:00:31 verbose #240 > > │    at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[               │
00:00:31 verbose #241 > > │ T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in   │
00:00:31 verbose #242 > > │ D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510                             │
00:00:31 verbose #243 > > │    at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)  │
00:00:31 verbose #244 > > │ in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112                          │
00:00:31 verbose #245 > > │ --- End of stack trace from previous location ---                            │
00:00:31 verbose #246 > > │    at Microsoft.FSharp.Control.AsyncResult`1.Commit() in                     │
00:00:31 verbose #247 > > │ D:\a\_work\1\s\src\FSharp.Core\async.fs:line 454                             │
00:00:31 verbose #248 > > │    at                                                                        │
00:00:31 verbose #249 > > │ <StartupCode$FSharp-Core>.$Async.AwaitAndBindChildResult@1962-4.Invoke(Unit  │
00:00:31 verbose #250 > > │ unitVar) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1964                │
00:00:31 verbose #251 > > │    at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[               │
00:00:31 verbose #252 > > │ T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in   │
00:00:31 verbose #253 > > │ D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510                             │
00:00:31 verbose #254 > > │    at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)  │
00:00:31 verbose #255 > > │ in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112 / timeout: 60            │
00:00:31 verbose #256 > > │ <null>                                                                       │
00:00:31 verbose #257 > > │                                                                              │
00:00:31 verbose #258 > > │                                                                              │
00:00:31 verbose #259 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #260 > >
00:00:31 verbose #261 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #262 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #263 > > │ ## runWithTimeoutStrict                                                      │
00:00:31 verbose #264 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #265 > >
00:00:31 verbose #266 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #267 > > let inline runWithTimeoutStrict (timeout : int) fn =
00:00:31 verbose #268 > >     let _locals () = $"timeout: {timeout} / {_locals ()}"
00:00:31 verbose #269 > >
00:00:31 verbose #270 > >     let timeoutTask = async {
00:00:31 verbose #271 > >         do! Async.Sleep timeout
00:00:31 verbose #272 > >         return None, _locals
00:00:31 verbose #273 > >     }
00:00:31 verbose #274 > >
00:00:31 verbose #275 > >     let task = async {
00:00:31 verbose #276 > >         try
00:00:31 verbose #277 > >             return Async.RunSynchronously (fn, timeout) |> Some, _locals
00:00:31 verbose #278 > >         with
00:00:31 verbose #279 > >         | :? System.TimeoutException as ex ->
00:00:31 verbose #280 > >             let _locals () = $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:31 verbose #281 > > ()}"
00:00:31 verbose #282 > >             return None, _locals
00:00:31 verbose #283 > >         | ex ->
00:00:31 verbose #284 > >             trace Critical
00:00:31 verbose #285 > >                 (fun () -> "runWithTimeoutStrict / async error")
00:00:31 verbose #286 > >                 (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:31 verbose #287 > > ()}")
00:00:31 verbose #288 > >             return raise ex
00:00:31 verbose #289 > >     }
00:00:31 verbose #290 > >
00:00:31 verbose #291 > >     try
00:00:31 verbose #292 > >         [[| timeoutTask; task |]]
00:00:31 verbose #293 > >         |> Array.map Async.StartAsTask
00:00:31 verbose #294 > >         |> System.Threading.Tasks.Task.WhenAny
00:00:31 verbose #295 > >         |> fun task ->
00:00:31 verbose #296 > >             match task.Result.Result with
00:00:31 verbose #297 > >             | None, _locals ->
00:00:31 verbose #298 > >                 trace Debug (fun () -> "runWithTimeoutStrict") _locals
00:00:31 verbose #299 > >                 None
00:00:31 verbose #300 > >             | result, _ -> result
00:00:31 verbose #301 > >     with
00:00:31 verbose #302 > >     | :? System.AggregateException as ex when
00:00:31 verbose #303 > >         ex.InnerExceptions
00:00:31 verbose #304 > >         |> Seq.exists (function :? System.Threading.Tasks.TaskCanceledException
00:00:31 verbose #305 > > -> true | _ -> false)
00:00:31 verbose #306 > >         ->
00:00:31 verbose #307 > >         trace Warning
00:00:31 verbose #308 > >             (fun () -> "runWithTimeoutStrict")
00:00:31 verbose #309 > >             (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals ()}")
00:00:31 verbose #310 > >         None
00:00:31 verbose #311 > >     | ex ->
00:00:31 verbose #312 > >         trace Critical
00:00:31 verbose #313 > >             (fun () -> "runWithTimeoutStrict / task error")
00:00:31 verbose #314 > >             (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals ()}")
00:00:31 verbose #315 > >         None
00:00:31 verbose #316 > >
00:00:31 verbose #317 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #318 > > //// test
00:00:31 verbose #319 > >
00:00:31 verbose #320 > > Async.Sleep 60
00:00:31 verbose #321 > > |> runWithTimeoutStrict 10
00:00:31 verbose #322 > > |> _assertEqual None
00:00:31 verbose #323 > >
00:00:31 verbose #324 > > ╭─[ 161.17ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 verbose #325 > > │ 00:00:02   debug #5 runWithTimeoutStrict / timeout: 10                  │
00:00:31 verbose #326 > > │ <null>                                                                       │
00:00:31 verbose #327 > > │                                                                              │
00:00:31 verbose #328 > > │                                                                              │
00:00:31 verbose #329 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #330 > >
00:00:31 verbose #331 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #332 > > //// test
00:00:31 verbose #333 > >
00:00:31 verbose #334 > > Async.Sleep 10
00:00:31 verbose #335 > > |> runWithTimeoutStrict 60
00:00:31 verbose #336 > > |> _assertEqual (Some ())
00:00:31 verbose #337 > >
00:00:31 verbose #338 > > ╭─[ 170.43ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 verbose #339 > > │ Some ()                                                                      │
00:00:31 verbose #340 > > │                                                                              │
00:00:31 verbose #341 > > │                                                                              │
00:00:31 verbose #342 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #343 > >
00:00:31 verbose #344 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #345 > > //// test
00:00:31 verbose #346 > >
00:00:31 verbose #347 > > async {
00:00:31 verbose #348 > >     raise (exn "error")
00:00:31 verbose #349 > > }
00:00:31 verbose #350 > > |> runWithTimeoutStrict 60
00:00:31 verbose #351 > > |> _assertEqual None
00:00:31 verbose #352 > >
00:00:31 verbose #353 > > ╭─[ 170.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 verbose #354 > > │ 00:00:03 critical #6 runWithTimeoutStrict / async error / ex:           │
00:00:31 verbose #355 > > │ System.Exception: error / timeout: 60                                        │
00:00:31 verbose #356 > > │ 00:00:03 critical #7 runWithTimeoutStrict / task error / ex:            │
00:00:31 verbose #357 > > │ System.AggregateException: One or more errors occurred. (error) / timeout:   │
00:00:31 verbose #358 > > │ 60                                                                           │
00:00:31 verbose #359 > > │ <null>                                                                       │
00:00:31 verbose #360 > > │                                                                              │
00:00:31 verbose #361 > > │                                                                              │
00:00:31 verbose #362 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #363 > >
00:00:31 verbose #364 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #365 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #366 > > │ ## awaitValueTask                                                            │
00:00:31 verbose #367 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #368 > >
00:00:31 verbose #369 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #370 > > let inline awaitValueTaskUnit (task : System.Threading.Tasks.ValueTask) =
00:00:31 verbose #371 > >     task.AsTask () |> Async.AwaitTask
00:00:31 verbose #372 > >
00:00:31 verbose #373 > > let inline awaitValueTask (task : System.Threading.Tasks.ValueTask<_>) =
00:00:31 verbose #374 > >     task.AsTask () |> Async.AwaitTask
00:00:31 verbose #375 > >
00:00:31 verbose #376 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #377 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #378 > > │ ## init                                                                      │
00:00:31 verbose #379 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #380 > >
00:00:31 verbose #381 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #382 > > let inline init x = async {
00:00:31 verbose #383 > >     return x
00:00:31 verbose #384 > > }
00:00:31 verbose #385 > >
00:00:31 verbose #386 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #387 > > //// test
00:00:31 verbose #388 > >
00:00:31 verbose #389 > > init 1
00:00:31 verbose #390 > > |> Async.RunSynchronously
00:00:31 verbose #391 > > |> _assertEqual 1
00:00:31 verbose #392 > >
00:00:31 verbose #393 > > ╭─[ 35.36ms - stdout ]─────────────────────────────────────────────────────────╮
00:00:31 verbose #394 > > │ 1                                                                            │
00:00:31 verbose #395 > > │                                                                              │
00:00:31 verbose #396 > > │                                                                              │
00:00:31 verbose #397 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #398 > >
00:00:31 verbose #399 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #400 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #401 > > │ ## withCancellationToken                                                     │
00:00:31 verbose #402 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #403 > >
00:00:31 verbose #404 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #405 > > let inline withCancellationToken (ct : System.Threading.CancellationToken) fn =
00:00:31 verbose #406 > >     Async.StartImmediateAsTask (fn, ct)
00:00:31 verbose #407 > >     |> Async.AwaitTask
00:00:31 verbose #408 > >
00:00:31 verbose #409 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #410 > > //// test
00:00:31 verbose #411 > >
00:00:31 verbose #412 > > let cts = new System.Threading.CancellationTokenSource ()
00:00:31 verbose #413 > >
00:00:31 verbose #414 > > async {
00:00:31 verbose #415 > >     let run = async {
00:00:31 verbose #416 > >         do! Async.Sleep 100
00:00:31 verbose #417 > >         return 1
00:00:31 verbose #418 > >     }
00:00:31 verbose #419 > >
00:00:31 verbose #420 > >     let! child =
00:00:31 verbose #421 > >         run
00:00:31 verbose #422 > >         |> withCancellationToken cts.Token
00:00:31 verbose #423 > >         |> catch
00:00:31 verbose #424 > >         |> Async.StartChild
00:00:31 verbose #425 > >
00:00:31 verbose #426 > >     do! Async.Sleep 50
00:00:31 verbose #427 > >     cts.Cancel ()
00:00:31 verbose #428 > >     return! child
00:00:31 verbose #429 > > }
00:00:31 verbose #430 > > |> Async.RunSynchronously
00:00:31 verbose #431 > > |> Result.mapError _.Message
00:00:31 verbose #432 > > |> _assertEqual (Error ("A task was canceled."))
00:00:32 verbose #433 > >
00:00:32 verbose #434 > > ╭─[ 207.27ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 verbose #435 > > │ Error "A task was canceled."                                                 │
00:00:32 verbose #436 > > │                                                                              │
00:00:32 verbose #437 > > │                                                                              │
00:00:32 verbose #438 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #439 > >
00:00:32 verbose #440 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #441 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #442 > > │ ## retryAsync                                                                │
00:00:32 verbose #443 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #444 > >
00:00:32 verbose #445 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #446 > > let inline retryAsync retries fn =
00:00:32 verbose #447 > >     let rec loop retry lastError = async {
00:00:32 verbose #448 > >         try
00:00:32 verbose #449 > >             return!
00:00:32 verbose #450 > >                 if retry <= retries
00:00:32 verbose #451 > >                 then fn |> map Ok
00:00:32 verbose #452 > >                 else lastError |> Error |> init
00:00:32 verbose #453 > >         with ex ->
00:00:32 verbose #454 > >             trace Debug (fun () -> $"Async.retryAsync / retry: {retry}/{retries}
00:00:32 verbose #455 > > / ex: {ex |> SpiralSm.format_exception}") _locals
00:00:32 verbose #456 > >             do! Async.Sleep 30
00:00:32 verbose #457 > >             return! loop (retry + 1) (ex |> SpiralSm.format_exception)
00:00:32 verbose #458 > >     }
00:00:32 verbose #459 > >     loop 1 "Async.retryAsync / invalid retries / retries: {retries}"
00:00:32 verbose #460 > >
00:00:32 verbose #461 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #462 > > //// test
00:00:32 verbose #463 > >
00:00:32 verbose #464 > > let retry_fn_test = ref 0
00:00:32 verbose #465 > > async {
00:00:32 verbose #466 > >     retry_fn_test.Value <- retry_fn_test.Value + 1
00:00:32 verbose #467 > >     return retry_fn_test.Value
00:00:32 verbose #468 > > }
00:00:32 verbose #469 > > |> retryAsync 3
00:00:32 verbose #470 > > |> Async.RunSynchronously
00:00:32 verbose #471 > > |> _assertEqual (Ok 1)
00:00:32 verbose #472 > >
00:00:32 verbose #473 > > ╭─[ 147.34ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 verbose #474 > > │ Ok 1                                                                         │
00:00:32 verbose #475 > > │                                                                              │
00:00:32 verbose #476 > > │                                                                              │
00:00:32 verbose #477 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #478 > >
00:00:32 verbose #479 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #480 > > //// test
00:00:32 verbose #481 > >
00:00:32 verbose #482 > > let retry_fn_test = ref 0
00:00:32 verbose #483 > > async {
00:00:32 verbose #484 > >     return
00:00:32 verbose #485 > >         if retry_fn_test.Value >= 2
00:00:32 verbose #486 > >         then retry_fn_test.Value
00:00:32 verbose #487 > >         else
00:00:32 verbose #488 > >             retry_fn_test.Value <- retry_fn_test.Value + 1
00:00:32 verbose #489 > >             failwith "test"
00:00:32 verbose #490 > > }
00:00:32 verbose #491 > > |> retryAsync 3
00:00:32 verbose #492 > > |> Async.RunSynchronously
00:00:32 verbose #493 > > |> _assertEqual (Ok 2)
00:00:32 verbose #494 > >
00:00:32 verbose #495 > > ╭─[ 199.41ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 verbose #496 > > │ 00:00:03   debug #8 Async.retryAsync / retry: 1/3 / ex:                 │
00:00:32 verbose #497 > > │ System.Exception: test                                                       │
00:00:32 verbose #498 > > │ 00:00:03   debug #9 Async.retryAsync / retry: 2/3 / ex:                 │
00:00:32 verbose #499 > > │ System.Exception: test                                                       │
00:00:32 verbose #500 > > │ Ok 2                                                                         │
00:00:32 verbose #501 > > │                                                                              │
00:00:32 verbose #502 > > │                                                                              │
00:00:32 verbose #503 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #504 > >
00:00:32 verbose #505 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #506 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #507 > > │ ## fold                                                                      │
00:00:32 verbose #508 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #509 > >
00:00:32 verbose #510 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #511 > > let fold folder state array =
00:00:32 verbose #512 > >     let rec loop acc i =
00:00:32 verbose #513 > >         async {
00:00:32 verbose #514 > >             if i < Array.length array then
00:00:32 verbose #515 > >                 let! newAcc = folder acc array.[[i]]
00:00:32 verbose #516 > >                 return! loop newAcc (i + 1)
00:00:32 verbose #517 > >             else
00:00:32 verbose #518 > >                 return acc
00:00:32 verbose #519 > >         }
00:00:32 verbose #520 > >     loop state 0
00:00:32 verbose #521 > 00:00:30 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 21258 }
00:00:32 verbose #522 > 00:00:30   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:00:32 verbose #523 >     "nbconvert",
00:00:32 verbose #524 >     "c:/home/git/polyglot/lib/fsharp/Async.dib.ipynb",
00:00:32 verbose #525 >     "--to",
00:00:32 verbose #526 >     "html",
00:00:32 verbose #527 >     "--HTMLExporter.theme=dark",
00:00:32 verbose #528 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/fsharp/Async.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:35 verbose #529 > 00:00:33 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/fsharp/Async.dib.ipynb to html
00:00:35 verbose #530 > 00:00:33 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:35 verbose #531 > 00:00:33 verbose #7 !   validate(nb)
00:00:38 verbose #532 > 00:00:35 verbose #8 ! [NbConvertApp] Writing 332761 bytes to c:\home\git\polyglot\lib\fsharp\Async.dib.html
00:00:38 verbose #533 > 00:00:36 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 641 }
00:00:38 verbose #534 > 00:00:36   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 641 }
00:00:38 verbose #535 > 00:00:36   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:00:38 verbose #536 >     "-c",
00:00:38 verbose #537 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/Async.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:00:38 verbose #538 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/Async.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:40 verbose #539 > 00:00:38 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:00:40 verbose #540 > 00:00:38   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:00:41 verbose #541 > 00:00:39   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 21958 }
00:00:41   debug #542 runtime.execute_with_options_async / { exit_code = 0; output_length = 25635 }
00:00:41   debug #4 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path Async.dib --retries 3
00:00:41   debug #543 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path AsyncSeq.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:41 verbose #544 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "AsyncSeq.dib", "--retries", "3"])) }
00:00:41 verbose #545 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:41 verbose #546 >     "repl",
00:00:41 verbose #547 >     "--exit-after-run",
00:00:41 verbose #548 >     "--run",
00:00:41 verbose #549 >     "c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib",
00:00:41 verbose #550 >     "--output-path",
00:00:41 verbose #551 >     "c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib.ipynb",
00:00:41 verbose #552 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib" --output-path "c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:45 verbose #553 > >
00:00:45 verbose #554 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:45 verbose #555 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:45 verbose #556 > > │ # AsyncSeq (Polyglot)                                                        │
00:00:45 verbose #557 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #558 > >
00:01:08 verbose #559 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #560 > > #r
00:01:08 verbose #561 > > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:01:08 verbose #562 > > dard2.1/FSharp.Control.AsyncSeq.dll"
00:01:08 verbose #563 > > #r
00:01:08 verbose #564 > > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:01:08 verbose #565 > > 0/System.Reactive.dll"
00:01:08 verbose #566 > > #r
00:01:08 verbose #567 > > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:01:08 verbose #568 > > netstandard2.0/System.Reactive.Linq.dll"
00:01:09 verbose #569 > >
00:01:09 verbose #570 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #571 > > #if !INTERACTIVE
00:01:09 verbose #572 > > open Lib
00:01:09 verbose #573 > > #endif
00:01:09 verbose #574 > >
00:01:09 verbose #575 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #576 > > open Common
00:01:09 verbose #577 > >
00:01:09 verbose #578 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:09 verbose #579 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:09 verbose #580 > > │ ## subscribeEvent                                                            │
00:01:09 verbose #581 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:09 verbose #582 > >
00:01:09 verbose #583 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #584 > > let inline subscribeEvent (event: IEvent<'H, 'A>) map =
00:01:09 verbose #585 > >     let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
00:01:09 verbose #586 > > 'A>(event.AddHandler, event.RemoveHandler)
00:01:09 verbose #587 > >     System.Reactive.Linq.Observable.Select (observable, fun event -> map
00:01:09 verbose #588 > > event.EventArgs)
00:01:09 verbose #589 > >     |> FSharp.Control.AsyncSeq.ofObservableBuffered
00:01:09 verbose #590 > >
00:01:09 verbose #591 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #592 > > //// test
00:01:09 verbose #593 > >
00:01:09 verbose #594 > > type TestEvent () as self =
00:01:09 verbose #595 > >     member val Calls = [[]] with get, set
00:01:09 verbose #596 > >     member val Event = Event<ErrorEventHandler, ErrorEventArgs> () with get
00:01:09 verbose #597 > >
00:01:09 verbose #598 > >     member _.AddCall text =
00:01:09 verbose #599 > >         self.Calls <- self.Calls @ [[ text ]]
00:01:09 verbose #600 > >
00:01:09 verbose #601 > >     member _.EventInterface =
00:01:09 verbose #602 > >         { new IEvent<ErrorEventHandler, ErrorEventArgs> with
00:01:09 verbose #603 > >             member _.AddHandler handler =
00:01:09 verbose #604 > >                 self.AddCall "AddHandler"
00:01:09 verbose #605 > >                 self.Event.Publish.AddHandler handler
00:01:09 verbose #606 > >
00:01:09 verbose #607 > >             member _.RemoveHandler handler =
00:01:09 verbose #608 > >                 self.AddCall "RemoveHandler"
00:01:09 verbose #609 > >                 self.Event.Publish.RemoveHandler handler
00:01:09 verbose #610 > >
00:01:09 verbose #611 > >             member _.Subscribe observer =
00:01:09 verbose #612 > >                 self.AddCall "IObservable.Subscribe"
00:01:09 verbose #613 > >                 let disposable = self.Event.Publish.Subscribe observer
00:01:09 verbose #614 > >                 new_disposable (fun () ->
00:01:09 verbose #615 > >                     self.AddCall "IObservable.Dispose"
00:01:09 verbose #616 > >                     disposable.Dispose ()
00:01:09 verbose #617 > >                 )
00:01:09 verbose #618 > >         }
00:01:09 verbose #619 > >
00:01:09 verbose #620 > >     member _.Subscribe () =
00:01:09 verbose #621 > >         subscribeEvent
00:01:09 verbose #622 > >             self.EventInterface
00:01:09 verbose #623 > >             (fun args ->
00:01:09 verbose #624 > >                 let result = args.GetException () |> SpiralSm.format_exception
00:01:09 verbose #625 > >                 self.AddCall $"TestEvent.Subscribe({result})"
00:01:09 verbose #626 > >                 result
00:01:09 verbose #627 > >             )
00:01:09 verbose #628 > >
00:01:09 verbose #629 > >     member _.Iter subscription =
00:01:09 verbose #630 > >         subscription
00:01:09 verbose #631 > >         |> FSharp.Control.AsyncSeq.iteriAsync (fun i error -> async {
00:01:09 verbose #632 > >             self.AddCall $"TestEvent.Iter({i}: {error})"
00:01:09 verbose #633 > >         })
00:01:09 verbose #634 > >
00:01:09 verbose #635 > >     member _.WaitCall text = async {
00:01:09 verbose #636 > >         while self.Calls |> List.last <> text do
00:01:09 verbose #637 > >             do! Async.SwitchToThreadPool ()
00:01:09 verbose #638 > >     }
00:01:09 verbose #639 > >
00:01:09 verbose #640 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #641 > > //// test
00:01:09 verbose #642 > >
00:01:09 verbose #643 > > let testEvent = TestEvent ()
00:01:09 verbose #644 > >
00:01:09 verbose #645 > > async {
00:01:09 verbose #646 > >     testEvent.AddCall "1"
00:01:09 verbose #647 > >     let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
00:01:09 verbose #648 > >     do! testEvent.WaitCall "AddHandler"
00:01:09 verbose #649 > >     testEvent.AddCall "2"
00:01:09 verbose #650 > >     do! child
00:01:09 verbose #651 > >     testEvent.AddCall "3"
00:01:09 verbose #652 > > }
00:01:09 verbose #653 > > |> Async.runWithTimeout 300
00:01:09 verbose #654 > > |> _assertEqual None
00:01:09 verbose #655 > >
00:01:09 verbose #656 > > testEvent.Calls
00:01:09 verbose #657 > > |> Seq.toList
00:01:09 verbose #658 > > |> _assertEqual [[ "1"; "AddHandler"; "2"; "RemoveHandler" ]]
00:01:10 verbose #659 > >
00:01:10 verbose #660 > > ╭─[ 600.15ms - stdout ]────────────────────────────────────────────────────────╮
00:01:10 verbose #661 > > │ 00:00:02   debug #1 runWithTimeoutAsync / timeout: 300                  │
00:01:10 verbose #662 > > │ <null>                                                                       │
00:01:10 verbose #663 > > │                                                                              │
00:01:10 verbose #664 > > │ ["1"; "AddHandler"; "2"; "RemoveHandler"]                                    │
00:01:10 verbose #665 > > │                                                                              │
00:01:10 verbose #666 > > │                                                                              │
00:01:10 verbose #667 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:10 verbose #668 > >
00:01:10 verbose #669 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:10 verbose #670 > > //// test
00:01:10 verbose #671 > >
00:01:10 verbose #672 > > let testEvent = TestEvent ()
00:01:10 verbose #673 > >
00:01:10 verbose #674 > > async {
00:01:10 verbose #675 > >     testEvent.AddCall "1"
00:01:10 verbose #676 > >     let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
00:01:10 verbose #677 > >     do! testEvent.WaitCall "AddHandler"
00:01:10 verbose #678 > >     testEvent.AddCall "2"
00:01:10 verbose #679 > >     use _ = testEvent.EventInterface.Subscribe (fun args ->
00:01:10 verbose #680 > >         testEvent.AddCall $"testEvent.EventInterface.Subscribe({args})"
00:01:10 verbose #681 > >     )
00:01:10 verbose #682 > >     testEvent.AddCall "3"
00:01:10 verbose #683 > >     do! child
00:01:10 verbose #684 > >     testEvent.AddCall "4"
00:01:10 verbose #685 > > }
00:01:10 verbose #686 > > |> Async.runWithTimeout 300
00:01:10 verbose #687 > > |> _assertEqual None
00:01:10 verbose #688 > >
00:01:10 verbose #689 > > testEvent.Calls
00:01:10 verbose #690 > > |> _assertEqual [[ "1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3";
00:01:10 verbose #691 > > "RemoveHandler"; "IObservable.Dispose" ]]
00:01:10 verbose #692 > >
00:01:10 verbose #693 > > ╭─[ 517.20ms - stdout ]────────────────────────────────────────────────────────╮
00:01:10 verbose #694 > > │ 00:00:03   debug #2 runWithTimeoutAsync / timeout: 300                  │
00:01:10 verbose #695 > > │ <null>                                                                       │
00:01:10 verbose #696 > > │                                                                              │
00:01:10 verbose #697 > > │ ["1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3"; "RemoveHandler";      │
00:01:10 verbose #698 > > │ "IObservable.Dispose"]                                                       │
00:01:10 verbose #699 > > │                                                                              │
00:01:10 verbose #700 > > │                                                                              │
00:01:10 verbose #701 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:10 verbose #702 > >
00:01:10 verbose #703 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:10 verbose #704 > > //// test
00:01:10 verbose #705 > >
00:01:10 verbose #706 > > let testEvent = TestEvent ()
00:01:10 verbose #707 > >
00:01:10 verbose #708 > > async {
00:01:10 verbose #709 > >     testEvent.AddCall "1"
00:01:10 verbose #710 > >     let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
00:01:10 verbose #711 > >     do! testEvent.WaitCall "AddHandler"
00:01:10 verbose #712 > >     testEvent.AddCall "2"
00:01:10 verbose #713 > >     use _ = testEvent.EventInterface.Subscribe (fun args ->
00:01:10 verbose #714 > >         async {
00:01:10 verbose #715 > >             do! testEvent.WaitCall "TestEvent.Iter(0: System.Exception: error)"
00:01:10 verbose #716 > >             testEvent.AddCall
00:01:10 verbose #717 > > $"testEvent.EventInterface.Subscribe({args.GetException () |>
00:01:10 verbose #718 > > SpiralSm.format_exception})"
00:01:10 verbose #719 > >         }
00:01:10 verbose #720 > >         |> Async.RunSynchronously
00:01:10 verbose #721 > >     )
00:01:10 verbose #722 > >     testEvent.AddCall "3"
00:01:10 verbose #723 > >     testEvent.Event.Trigger (null, ErrorEventArgs (Exception "error"))
00:01:10 verbose #724 > >     testEvent.AddCall "4"
00:01:10 verbose #725 > >     do! child
00:01:10 verbose #726 > >     testEvent.AddCall "5"
00:01:10 verbose #727 > > }
00:01:10 verbose #728 > > |> Async.runWithTimeout 300
00:01:10 verbose #729 > > |> _assertEqual None
00:01:10 verbose #730 > >
00:01:10 verbose #731 > > testEvent.Calls
00:01:10 verbose #732 > > |> _assertEqual [[
00:01:10 verbose #733 > >     "1"
00:01:10 verbose #734 > >     "AddHandler"
00:01:10 verbose #735 > >     "2"
00:01:10 verbose #736 > >     "IObservable.Subscribe"
00:01:10 verbose #737 > >     "3"
00:01:10 verbose #738 > >     "TestEvent.Subscribe(System.Exception: error)"
00:01:10 verbose #739 > >     "TestEvent.Iter(0: System.Exception: error)"
00:01:10 verbose #740 > >     "testEvent.EventInterface.Subscribe(System.Exception: error)"
00:01:10 verbose #741 > >     "4"
00:01:10 verbose #742 > >     "RemoveHandler"
00:01:10 verbose #743 > >     "IObservable.Dispose"
00:01:10 verbose #744 > > ]]
00:01:11 verbose #745 > >
00:01:11 verbose #746 > > ╭─[ 538.83ms - stdout ]────────────────────────────────────────────────────────╮
00:01:11 verbose #747 > > │ 00:00:03   debug #3 runWithTimeoutAsync / timeout: 300                  │
00:01:11 verbose #748 > > │ <null>                                                                       │
00:01:11 verbose #749 > > │                                                                              │
00:01:11 verbose #750 > > │ ["1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3";                       │
00:01:11 verbose #751 > > │ "TestEvent.Subscribe(System.Exception: error)";                              │
00:01:11 verbose #752 > > │  "TestEvent.Iter(0: System.Exception: error)";                               │
00:01:11 verbose #753 > > │ "testEvent.EventInterface.Subscribe(System.Exception: error)"; "4";          │
00:01:11 verbose #754 > > │  "RemoveHandler"; "IObservable.Dispose"]                                     │
00:01:11 verbose #755 > > │                                                                              │
00:01:11 verbose #756 > > │                                                                              │
00:01:11 verbose #757 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:11 verbose #758 > >
00:01:11 verbose #759 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:11 verbose #760 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:11 verbose #761 > > │ ## subscribeToken                                                            │
00:01:11 verbose #762 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:11 verbose #763 > >
00:01:11 verbose #764 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:11 verbose #765 > > let subscribeToken (token : System.Threading.CancellationToken) =
00:01:11 verbose #766 > >     let tcs = new System.Threading.Tasks.TaskCompletionSource ()
00:01:11 verbose #767 > >     System.Action tcs.SetResult |> token.Register |> ignore
00:01:11 verbose #768 > >     let start = System.DateTime.Now.Ticks
00:01:11 verbose #769 > >     FSharp.Control.AsyncSeq.unfoldAsync
00:01:11 verbose #770 > >         (fun () -> async {
00:01:11 verbose #771 > >             do! tcs.Task |> Async.AwaitTask
00:01:11 verbose #772 > >             return Some (System.DateTime.Now.Ticks - start, ())
00:01:11 verbose #773 > >         })
00:01:11 verbose #774 > >         ()
00:01:11 verbose #775 > >
00:01:11 verbose #776 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:11 verbose #777 > > //// test
00:01:11 verbose #778 > >
00:01:11 verbose #779 > > let cts = new System.Threading.CancellationTokenSource ()
00:01:11 verbose #780 > >
00:01:11 verbose #781 > > async {
00:01:11 verbose #782 > >     let! child =
00:01:11 verbose #783 > >         cts.Token
00:01:11 verbose #784 > >         |> subscribeToken
00:01:11 verbose #785 > >         |> FSharp.Control.AsyncSeq.tryFirst
00:01:11 verbose #786 > >         |> Async.StartChild
00:01:11 verbose #787 > >
00:01:11 verbose #788 > >     do! Async.Sleep 100
00:01:11 verbose #789 > >     cts.Cancel ()
00:01:11 verbose #790 > >     return! child
00:01:11 verbose #791 > > }
00:01:11 verbose #792 > > |> Async.RunSynchronously
00:01:11 verbose #793 > > |> Option.get
00:01:11 verbose #794 > > |> fun x -> x > 900000
00:01:11 verbose #795 > > |> _assertEqual true
00:01:11 verbose #796 > >
00:01:11 verbose #797 > > ╭─[ 195.93ms - stdout ]────────────────────────────────────────────────────────╮
00:01:11 verbose #798 > > │ true                                                                         │
00:01:11 verbose #799 > > │                                                                              │
00:01:11 verbose #800 > > │                                                                              │
00:01:11 verbose #801 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:11 verbose #802 > 00:00:30 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 9731 }
00:01:11 verbose #803 > 00:00:30   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:01:11 verbose #804 >     "nbconvert",
00:01:11 verbose #805 >     "c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib.ipynb",
00:01:11 verbose #806 >     "--to",
00:01:11 verbose #807 >     "html",
00:01:11 verbose #808 >     "--HTMLExporter.theme=dark",
00:01:11 verbose #809 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:14 verbose #810 > 00:00:32 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib.ipynb to html
00:01:14 verbose #811 > 00:00:32 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:14 verbose #812 > 00:00:32 verbose #7 !   validate(nb)
00:01:16 verbose #813 > 00:00:34 verbose #8 ! [NbConvertApp] Writing 302872 bytes to c:\home\git\polyglot\lib\fsharp\AsyncSeq.dib.html
00:01:16 verbose #814 > 00:00:34 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 647 }
00:01:16 verbose #815 > 00:00:34   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 647 }
00:01:16 verbose #816 > 00:00:34   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:01:16 verbose #817 >     "-c",
00:01:16 verbose #818 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:01:16 verbose #819 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/AsyncSeq.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:17 verbose #820 > 00:00:36 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:01:17 verbose #821 > 00:00:36   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:01:18 verbose #822 > 00:00:36   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 10437 }
00:01:18   debug #823 runtime.execute_with_options_async / { exit_code = 0; output_length = 13630 }
00:01:18   debug #5 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path AsyncSeq.dib --retries 3
00:01:18   debug #824 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path Common.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:18 verbose #825 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Common.dib", "--retries", "3"])) }
00:01:18 verbose #826 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:01:18 verbose #827 >     "repl",
00:01:18 verbose #828 >     "--exit-after-run",
00:01:18 verbose #829 >     "--run",
00:01:18 verbose #830 >     "c:/home/git/polyglot/lib/fsharp/Common.dib",
00:01:18 verbose #831 >     "--output-path",
00:01:18 verbose #832 >     "c:/home/git/polyglot/lib/fsharp/Common.dib.ipynb",
00:01:18 verbose #833 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/fsharp/Common.dib" --output-path "c:/home/git/polyglot/lib/fsharp/Common.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:01:21 verbose #834 > >
00:01:21 verbose #835 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:21 verbose #836 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:21 verbose #837 > > │ # Common (Polyglot)                                                          │
00:01:21 verbose #838 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #839 > >
00:01:44 verbose #840 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #841 > > #if !INTERACTIVE
00:01:44 verbose #842 > > open Lib
00:01:44 verbose #843 > > #endif
00:01:44 verbose #844 > >
00:01:44 verbose #845 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #846 > > let nl = System.Environment.NewLine
00:01:44 verbose #847 > > let q = @""""
00:01:44 verbose #848 > >
00:01:44 verbose #849 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #850 > > let inline cons head tail = head :: tail
00:01:44 verbose #851 > >
00:01:44 verbose #852 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:44 verbose #853 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:44 verbose #854 > > │ ## memoize                                                                   │
00:01:44 verbose #855 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #856 > >
00:01:44 verbose #857 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #858 > > let inline memoize fn =
00:01:44 verbose #859 > >     let result = lazy fn ()
00:01:44 verbose #860 > >     fun () -> result.Value
00:01:44 verbose #861 > >
00:01:44 verbose #862 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:44 verbose #863 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:44 verbose #864 > > │ ## TraceLevel                                                                │
00:01:44 verbose #865 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #866 > >
00:01:44 verbose #867 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #868 > > type TraceLevel =
00:01:44 verbose #869 > >     | Verbose
00:01:44 verbose #870 > >     | Debug
00:01:44 verbose #871 > >     | Info
00:01:44 verbose #872 > >     | Warning
00:01:44 verbose #873 > >     | Critical
00:01:44 verbose #874 > >
00:01:44 verbose #875 > > let inline _locals () = ""
00:01:44 verbose #876 > >
00:01:44 verbose #877 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:44 verbose #878 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:44 verbose #879 > > │ ## trace                                                                     │
00:01:44 verbose #880 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #881 > >
00:01:44 verbose #882 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #883 > > let to_trace_level = function
00:01:44 verbose #884 > >     | Verbose -> SpiralTrace.TraceLevel.US0_0
00:01:44 verbose #885 > >     | Debug -> SpiralTrace.TraceLevel.US0_1
00:01:44 verbose #886 > >     | Info -> SpiralTrace.TraceLevel.US0_2
00:01:44 verbose #887 > >     | Warning -> SpiralTrace.TraceLevel.US0_3
00:01:44 verbose #888 > >     | Critical -> SpiralTrace.TraceLevel.US0_4
00:01:44 verbose #889 > >
00:01:44 verbose #890 > > let trace level fn locals =
00:01:44 verbose #891 > >     let level = level |> to_trace_level
00:01:44 verbose #892 > >     SpiralTrace.trace level fn locals
00:01:44 verbose #893 > >
00:01:44 verbose #894 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #895 > > //// test
00:01:44 verbose #896 > >
00:01:44 verbose #897 > > trace Debug (fun () -> "test") _locals
00:01:44 verbose #898 > >
00:01:44 verbose #899 > > ╭─[ 35.80ms - stdout ]─────────────────────────────────────────────────────────╮
00:01:44 verbose #900 > > │ 00:00:00   debug #1 test                                                │
00:01:44 verbose #901 > > │                                                                              │
00:01:44 verbose #902 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #903 > 00:00:26 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 2930 }
00:01:44 verbose #904 > 00:00:26   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:01:44 verbose #905 >     "nbconvert",
00:01:44 verbose #906 >     "c:/home/git/polyglot/lib/fsharp/Common.dib.ipynb",
00:01:44 verbose #907 >     "--to",
00:01:44 verbose #908 >     "html",
00:01:44 verbose #909 >     "--HTMLExporter.theme=dark",
00:01:44 verbose #910 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/fsharp/Common.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:47 verbose #911 > 00:00:28 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/fsharp/Common.dib.ipynb to html
00:01:47 verbose #912 > 00:00:28 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:47 verbose #913 > 00:00:28 verbose #7 !   validate(nb)
00:01:48 verbose #914 > 00:00:30 verbose #8 ! [NbConvertApp] Writing 280734 bytes to c:\home\git\polyglot\lib\fsharp\Common.dib.html
00:01:49 verbose #915 > 00:00:30 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 643 }
00:01:49 verbose #916 > 00:00:30   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 643 }
00:01:49 verbose #917 > 00:00:30   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:01:49 verbose #918 >     "-c",
00:01:49 verbose #919 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/Common.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:01:49 verbose #920 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/Common.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:50 verbose #921 > 00:00:32 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:01:50 verbose #922 > 00:00:32   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:01:51 verbose #923 > 00:00:32   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 3632 }
00:01:51   debug #924 runtime.execute_with_options_async / { exit_code = 0; output_length = 6446 }
00:01:51   debug #6 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path Common.dib --retries 3
00:01:51   debug #925 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path CommonFSharp.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:51 verbose #926 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "CommonFSharp.dib", "--retries", "3"])) }
00:01:51 verbose #927 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:01:51 verbose #928 >     "repl",
00:01:51 verbose #929 >     "--exit-after-run",
00:01:51 verbose #930 >     "--run",
00:01:51 verbose #931 >     "c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib",
00:01:51 verbose #932 >     "--output-path",
00:01:51 verbose #933 >     "c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib.ipynb",
00:01:51 verbose #934 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib" --output-path "c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:01:54 verbose #935 > >
00:01:54 verbose #936 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:54 verbose #937 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:54 verbose #938 > > │ # CommonFSharp (Polyglot)                                                    │
00:01:54 verbose #939 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:17 verbose #940 > >
00:02:17 verbose #941 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:17 verbose #942 > > open Common
00:02:17 verbose #943 > >
00:02:17 verbose #944 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:17 verbose #945 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:17 verbose #946 > > │ ## getUnionCaseName                                                          │
00:02:17 verbose #947 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:17 verbose #948 > >
00:02:17 verbose #949 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:17 verbose #950 > > let inline getUnionCaseName<'T> (x: 'T) =
00:02:17 verbose #951 > >     match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
00:02:17 verbose #952 > >     | case, _ -> case.Name
00:02:17 verbose #953 > >
00:02:17 verbose #954 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:17 verbose #955 > > //// test
00:02:17 verbose #956 > >
00:02:17 verbose #957 > > TraceLevel.Critical
00:02:17 verbose #958 > > |> getUnionCaseName
00:02:17 verbose #959 > > |> _assertEqual (nameof TraceLevel.Critical)
00:02:17 verbose #960 > >
00:02:17 verbose #961 > > ╭─[ 91.31ms - stdout ]─────────────────────────────────────────────────────────╮
00:02:17 verbose #962 > > │ "Critical"                                                                   │
00:02:17 verbose #963 > > │                                                                              │
00:02:17 verbose #964 > > │                                                                              │
00:02:17 verbose #965 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:17 verbose #966 > 00:00:26 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 1546 }
00:02:17 verbose #967 > 00:00:26   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:02:17 verbose #968 >     "nbconvert",
00:02:17 verbose #969 >     "c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib.ipynb",
00:02:17 verbose #970 >     "--to",
00:02:17 verbose #971 >     "html",
00:02:17 verbose #972 >     "--HTMLExporter.theme=dark",
00:02:17 verbose #973 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:20 verbose #974 > 00:00:28 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib.ipynb to html
00:02:20 verbose #975 > 00:00:28 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:20 verbose #976 > 00:00:28 verbose #7 !   validate(nb)
00:02:21 verbose #977 > 00:00:30 verbose #8 ! [NbConvertApp] Writing 275592 bytes to c:\home\git\polyglot\lib\fsharp\CommonFSharp.dib.html
00:02:22 verbose #978 > 00:00:30 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 655 }
00:02:22 verbose #979 > 00:00:30   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 655 }
00:02:22 verbose #980 > 00:00:30   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:02:22 verbose #981 >     "-c",
00:02:22 verbose #982 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:02:22 verbose #983 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/CommonFSharp.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:23 verbose #984 > 00:00:32 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:02:23 verbose #985 > 00:00:32   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:02:24 verbose #986 > 00:00:32   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 2260 }
00:02:24   debug #987 runtime.execute_with_options_async / { exit_code = 0; output_length = 5052 }
00:02:24   debug #7 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path CommonFSharp.dib --retries 3
00:02:24   debug #988 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path FileSystem.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:24 verbose #989 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "FileSystem.dib", "--retries", "3"])) }
00:02:24 verbose #990 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:02:24 verbose #991 >     "repl",
00:02:24 verbose #992 >     "--exit-after-run",
00:02:24 verbose #993 >     "--run",
00:02:24 verbose #994 >     "c:/home/git/polyglot/lib/fsharp/FileSystem.dib",
00:02:24 verbose #995 >     "--output-path",
00:02:24 verbose #996 >     "c:/home/git/polyglot/lib/fsharp/FileSystem.dib.ipynb",
00:02:24 verbose #997 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/fsharp/FileSystem.dib" --output-path "c:/home/git/polyglot/lib/fsharp/FileSystem.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:02:27 verbose #998 > >
00:02:27 verbose #999 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:27 verbose #1000 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:27 verbose #1001 > > │ # FileSystem (Polyglot)                                                      │
00:02:27 verbose #1002 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:33 verbose #1003 > >
00:02:33 verbose #1004 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:33 verbose #1005 > > #r
00:02:33 verbose #1006 > > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:02:33 verbose #1007 > > dard2.1/FSharp.Control.AsyncSeq.dll"
00:02:33 verbose #1008 > > #r
00:02:33 verbose #1009 > > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:02:33 verbose #1010 > > 0/System.Reactive.dll"
00:02:33 verbose #1011 > > #r
00:02:33 verbose #1012 > > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:02:33 verbose #1013 > > netstandard2.0/System.Reactive.Linq.dll"
00:02:33 verbose #1014 > > #r
00:02:33 verbose #1015 > > @"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
00:02:52 verbose #1016 > >
00:02:52 verbose #1017 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:52 verbose #1018 > > #if !INTERACTIVE
00:02:52 verbose #1019 > > open Lib
00:02:52 verbose #1020 > > #endif
00:02:52 verbose #1021 > >
00:02:52 verbose #1022 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:52 verbose #1023 > > open Common
00:02:52 verbose #1024 > > open SpiralFileSystem.Operators
00:02:52 verbose #1025 > >
00:02:52 verbose #1026 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:52 verbose #1027 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:52 verbose #1028 > > │ ## watchDirectory                                                            │
00:02:52 verbose #1029 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:52 verbose #1030 > >
00:02:52 verbose #1031 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:52 verbose #1032 > > [[<RequireQualifiedAccess>]]
00:02:52 verbose #1033 > > type FileSystemChangeType =
00:02:52 verbose #1034 > >     | Failure
00:02:52 verbose #1035 > >     | Changed
00:02:52 verbose #1036 > >     | Created
00:02:52 verbose #1037 > >     | Deleted
00:02:52 verbose #1038 > >     | Renamed
00:02:52 verbose #1039 > >
00:02:52 verbose #1040 > > [[<RequireQualifiedAccess>]]
00:02:52 verbose #1041 > > type FileSystemChange =
00:02:52 verbose #1042 > >     | Failure of exn: exn
00:02:52 verbose #1043 > >     | Changed of path: string * content: string option
00:02:52 verbose #1044 > >     | Created of path: string * content: string option
00:02:52 verbose #1045 > >     | Deleted of path: string
00:02:52 verbose #1046 > >     | Renamed of oldPath: string * (string * string option)
00:02:52 verbose #1047 > >
00:02:52 verbose #1048 > >
00:02:52 verbose #1049 > > let inline watchDirectoryWithFilter filter shouldReadContent path =
00:02:52 verbose #1050 > >     let fullPath = path |> System.IO.Path.GetFullPath
00:02:52 verbose #1051 > >     let _locals () = $"filter: {filter} / {_locals ()}"
00:02:52 verbose #1052 > >
00:02:52 verbose #1053 > >     let watcher =
00:02:52 verbose #1054 > >         new System.IO.FileSystemWatcher (
00:02:52 verbose #1055 > >             Path = fullPath,
00:02:52 verbose #1056 > >             NotifyFilter = filter,
00:02:52 verbose #1057 > >             EnableRaisingEvents = true,
00:02:52 verbose #1058 > >             IncludeSubdirectories = true
00:02:52 verbose #1059 > >         )
00:02:52 verbose #1060 > >
00:02:52 verbose #1061 > >     let inline getEventPath (path : string) =
00:02:52 verbose #1062 > >         path |> SpiralSm.trim |> SpiralSm.replace fullPath "" |>
00:02:52 verbose #1063 > > SpiralSm.trim_start [[| '/'; '\\' |]]
00:02:52 verbose #1064 > >
00:02:52 verbose #1065 > >     let inline ticks () =
00:02:52 verbose #1066 > >         System.DateTime.UtcNow.Ticks
00:02:52 verbose #1067 > >
00:02:52 verbose #1068 > >     let changedStream =
00:02:52 verbose #1069 > >         AsyncSeq.subscribeEvent
00:02:52 verbose #1070 > >             watcher.Changed
00:02:52 verbose #1071 > >             (fun event ->
00:02:52 verbose #1072 > >                 ticks (),
00:02:52 verbose #1073 > >                 [[ FileSystemChange.Changed (getEventPath event.FullPath, None)
00:02:52 verbose #1074 > > ]]
00:02:52 verbose #1075 > >             )
00:02:52 verbose #1076 > >
00:02:52 verbose #1077 > >     let deletedStream =
00:02:52 verbose #1078 > >         AsyncSeq.subscribeEvent
00:02:52 verbose #1079 > >             watcher.Deleted
00:02:52 verbose #1080 > >             (fun event ->
00:02:52 verbose #1081 > >                 ticks (),
00:02:52 verbose #1082 > >                 [[ FileSystemChange.Deleted (getEventPath event.FullPath) ]]
00:02:52 verbose #1083 > >             )
00:02:52 verbose #1084 > >
00:02:52 verbose #1085 > >     let createdStream =
00:02:52 verbose #1086 > >         AsyncSeq.subscribeEvent
00:02:52 verbose #1087 > >             watcher.Created
00:02:52 verbose #1088 > >             (fun event ->
00:02:52 verbose #1089 > >                 let path = getEventPath event.FullPath
00:02:52 verbose #1090 > >                 ticks (), [[
00:02:52 verbose #1091 > >                     FileSystemChange.Created (path, None)
00:02:52 verbose #1092 > >                     if SpiralPlatform.is_windows () then
00:02:52 verbose #1093 > >                         FileSystemChange.Changed (path, None)
00:02:52 verbose #1094 > >                 ]])
00:02:52 verbose #1095 > >
00:02:52 verbose #1096 > >     let renamedStream =
00:02:52 verbose #1097 > >         AsyncSeq.subscribeEvent
00:02:52 verbose #1098 > >             watcher.Renamed
00:02:52 verbose #1099 > >             (fun event ->
00:02:52 verbose #1100 > >                 ticks (), [[
00:02:52 verbose #1101 > >                     FileSystemChange.Renamed (
00:02:52 verbose #1102 > >                         getEventPath event.OldFullPath,
00:02:52 verbose #1103 > >                         (getEventPath event.FullPath, None)
00:02:52 verbose #1104 > >                     )
00:02:52 verbose #1105 > >                 ]]
00:02:52 verbose #1106 > >             )
00:02:52 verbose #1107 > >
00:02:52 verbose #1108 > >     let failureStream =
00:02:52 verbose #1109 > >         AsyncSeq.subscribeEvent
00:02:52 verbose #1110 > >             watcher.Error
00:02:52 verbose #1111 > >             (fun event -> ticks (), [[ FileSystemChange.Failure
00:02:52 verbose #1112 > > (event.GetException ()) ]])
00:02:52 verbose #1113 > >
00:02:52 verbose #1114 > >     let stream =
00:02:52 verbose #1115 > >         [[
00:02:52 verbose #1116 > >             changedStream
00:02:52 verbose #1117 > >             deletedStream
00:02:52 verbose #1118 > >             createdStream
00:02:52 verbose #1119 > >             renamedStream
00:02:52 verbose #1120 > >             failureStream
00:02:52 verbose #1121 > >         ]]
00:02:52 verbose #1122 > >         |> FSharp.Control.AsyncSeq.mergeAll
00:02:52 verbose #1123 > >         |> FSharp.Control.AsyncSeq.map (fun (t, events) ->
00:02:52 verbose #1124 > >             events
00:02:52 verbose #1125 > >             |> List.fold
00:02:52 verbose #1126 > >                 (fun (i, events) event ->
00:02:52 verbose #1127 > >                     i + 1L,
00:02:52 verbose #1128 > >                     (t + i, event) :: events)
00:02:52 verbose #1129 > >                 (0L, [[]])
00:02:52 verbose #1130 > >             |> snd
00:02:52 verbose #1131 > >             |> List.rev
00:02:52 verbose #1132 > >         )
00:02:52 verbose #1133 > >         |> FSharp.Control.AsyncSeq.concatSeq
00:02:52 verbose #1134 > >         |> FSharp.Control.AsyncSeq.mapAsyncParallel (fun (t, event) -> async {
00:02:52 verbose #1135 > >             match shouldReadContent event, event with
00:02:52 verbose #1136 > >             | true, FileSystemChange.Changed (path, _) ->
00:02:52 verbose #1137 > >                 do! Async.Sleep 5
00:02:52 verbose #1138 > >                 let! content = fullPath </> path |>
00:02:52 verbose #1139 > > SpiralFileSystem.read_all_text_retry_async
00:02:52 verbose #1140 > >                 return t, FileSystemChange.Changed (path, content)
00:02:52 verbose #1141 > >             | true, FileSystemChange.Created (path, _) ->
00:02:52 verbose #1142 > >                 do! Async.Sleep 5
00:02:52 verbose #1143 > >                 let! content = fullPath </> path |>
00:02:52 verbose #1144 > > SpiralFileSystem.read_all_text_retry_async
00:02:52 verbose #1145 > >                 return t, FileSystemChange.Created (path, content)
00:02:52 verbose #1146 > >             | true, FileSystemChange.Renamed (oldPath, (newPath, _)) ->
00:02:52 verbose #1147 > >                 let! content = fullPath </> newPath |>
00:02:52 verbose #1148 > > SpiralFileSystem.read_all_text_retry_async
00:02:52 verbose #1149 > >                 return t, FileSystemChange.Renamed (oldPath, (newPath, content))
00:02:52 verbose #1150 > >             | _ -> return t, event
00:02:52 verbose #1151 > >         })
00:02:52 verbose #1152 > >
00:02:52 verbose #1153 > >     let disposable =
00:02:52 verbose #1154 > >         new_disposable (fun () ->
00:02:52 verbose #1155 > >             trace Debug (fun () -> "FileSystem.watchWithFilter / Disposing watch
00:02:52 verbose #1156 > > stream") _locals
00:02:52 verbose #1157 > >             watcher.EnableRaisingEvents <- false
00:02:52 verbose #1158 > >             watcher.Dispose ()
00:02:52 verbose #1159 > >         )
00:02:52 verbose #1160 > >
00:02:52 verbose #1161 > >     stream, disposable
00:02:52 verbose #1162 > >
00:02:52 verbose #1163 > > let inline watchDirectory path =
00:02:52 verbose #1164 > >     watchDirectoryWithFilter
00:02:52 verbose #1165 > >         (System.IO.NotifyFilters.FileName
00:02:52 verbose #1166 > >         // ||| System.IO.NotifyFilters.DirectoryName
00:02:52 verbose #1167 > >         // ||| System.IO.NotifyFilters.Attributes
00:02:52 verbose #1168 > >         //// ||| System.IO.NotifyFilters.Size
00:02:52 verbose #1169 > >         ||| System.IO.NotifyFilters.LastWrite
00:02:52 verbose #1170 > >         //// ||| System.IO.NotifyFilters.LastAccess
00:02:52 verbose #1171 > >         // ||| System.IO.NotifyFilters.CreationTime
00:02:52 verbose #1172 > >         // ||| System.IO.NotifyFilters.Security
00:02:52 verbose #1173 > >         )
00:02:52 verbose #1174 > >         path
00:02:53 verbose #1175 > >
00:02:53 verbose #1176 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:53 verbose #1177 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:53 verbose #1178 > > │ ### testEventsRaw (test)                                                     │
00:02:53 verbose #1179 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:53 verbose #1180 > >
00:02:53 verbose #1181 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:53 verbose #1182 > > //// test
00:02:53 verbose #1183 > >
00:02:53 verbose #1184 > > let inline testEventsRaw
00:02:53 verbose #1185 > >     (watchFn : (_ -> bool) -> string -> FSharp.Control.AsyncSeq<int64 *
00:02:53 verbose #1186 > > FileSystemChange> * IDisposable)
00:02:53 verbose #1187 > >     write
00:02:53 verbose #1188 > >     =
00:02:53 verbose #1189 > >     let struct (tempDir, tempDisposable) =
00:02:53 verbose #1190 > >         "FileSystem.testEventsRaw"
00:02:53 verbose #1191 > >         |> SpiralCrypto.hash_text
00:02:53 verbose #1192 > >         |> SpiralFileSystem.create_temp_dir'
00:02:53 verbose #1193 > >     let stream, disposable = watchFn (fun _ -> true) tempDir
00:02:53 verbose #1194 > >
00:02:53 verbose #1195 > >     let events = System.Collections.Concurrent.ConcurrentBag ()
00:02:53 verbose #1196 > >
00:02:53 verbose #1197 > >     let inline iter () =
00:02:53 verbose #1198 > >         stream
00:02:53 verbose #1199 > >         |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async {
00:02:53 verbose #1200 > > events.Add event })
00:02:53 verbose #1201 > >
00:02:53 verbose #1202 > >     let run = async {
00:02:53 verbose #1203 > >         let! _ = iter () |> Async.StartChild
00:02:53 verbose #1204 > >         do! Async.Sleep 250
00:02:53 verbose #1205 > >         return! write tempDir
00:02:53 verbose #1206 > >     }
00:02:53 verbose #1207 > >
00:02:53 verbose #1208 > >     try
00:02:53 verbose #1209 > >         run
00:02:53 verbose #1210 > >         |> Async.runWithTimeout 60000
00:02:53 verbose #1211 > >         |> _assertEqual (Some ())
00:02:53 verbose #1212 > >     finally
00:02:53 verbose #1213 > >         disposable.Dispose ()
00:02:53 verbose #1214 > >         tempDisposable.Dispose ()
00:02:53 verbose #1215 > >
00:02:53 verbose #1216 > >     let eventsLog =
00:02:53 verbose #1217 > >         events
00:02:53 verbose #1218 > >         |> Seq.toList
00:02:53 verbose #1219 > >         |> List.sortBy fst
00:02:53 verbose #1220 > >         |> List.fold
00:02:53 verbose #1221 > >             (fun (prev, acc) (ticks, event) ->
00:02:53 verbose #1222 > >                 ticks, (ticks, (if prev = 0L then 0L else ticks - prev), event)
00:02:53 verbose #1223 > > :: acc
00:02:53 verbose #1224 > >             )
00:02:53 verbose #1225 > >             (0L, [[]])
00:02:53 verbose #1226 > >         |> snd
00:02:53 verbose #1227 > >         |> List.rev
00:02:53 verbose #1228 > >         |> List.map (fun (diff, n, event) -> $"{n} / {diff} / {event}" |>
00:02:53 verbose #1229 > > SpiralSm.ellipsis_end 100L)
00:02:53 verbose #1230 > >         |> SpiralSm.concat "\n"
00:02:53 verbose #1231 > >     let _locals () = $"eventsLog: \n{eventsLog} / {_locals ()}"
00:02:53 verbose #1232 > >     trace Debug (fun () -> "FileSystem.testEventsRaw") _locals
00:02:53 verbose #1233 > >
00:02:53 verbose #1234 > >     events
00:02:53 verbose #1235 > >     |> Seq.toList
00:02:53 verbose #1236 > >     |> List.sortBy fst
00:02:53 verbose #1237 > >     |> List.map snd
00:02:53 verbose #1238 > >     |> List.fold
00:02:53 verbose #1239 > >         (fun acc event ->
00:02:53 verbose #1240 > >             match acc, event with
00:02:53 verbose #1241 > >             | FileSystemChange.Changed (lastPath, Some lastContent) as lastEvent
00:02:53 verbose #1242 > > :: acc,
00:02:53 verbose #1243 > >                 FileSystemChange.Changed (path, Some content)
00:02:53 verbose #1244 > >                 when lastPath = path && content |> SpiralSm.starts_with
00:02:53 verbose #1245 > > lastContent
00:02:53 verbose #1246 > >                 ->
00:02:53 verbose #1247 > >                 event :: acc
00:02:53 verbose #1248 > >             | _ -> event :: acc
00:02:53 verbose #1249 > >         )
00:02:53 verbose #1250 > >         [[]]
00:02:53 verbose #1251 > >     |> List.rev
00:02:53 verbose #1252 > >
00:02:53 verbose #1253 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:53 verbose #1254 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:53 verbose #1255 > > │ #### fast (test)                                                             │
00:02:53 verbose #1256 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:53 verbose #1257 > >
00:02:53 verbose #1258 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:53 verbose #1259 > > //// test
00:02:53 verbose #1260 > >
00:02:53 verbose #1261 > > let inline write path = async {
00:02:53 verbose #1262 > >     let n = 2
00:02:53 verbose #1263 > >
00:02:53 verbose #1264 > >     for i = 1 to n do
00:02:53 verbose #1265 > >         do! $"a{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:53 verbose #1266 > > $"file{i}.txt")
00:02:53 verbose #1267 > >
00:02:53 verbose #1268 > >     do! Async.Sleep 250
00:02:53 verbose #1269 > >
00:02:53 verbose #1270 > >     for i = 1 to n do
00:02:53 verbose #1271 > >         do! $"b{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:53 verbose #1272 > > $"file{i}.txt")
00:02:53 verbose #1273 > >
00:02:53 verbose #1274 > >     do! Async.Sleep 250
00:02:53 verbose #1275 > >
00:02:53 verbose #1276 > >     for i = 1 to n do
00:02:53 verbose #1277 > >         do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:02:53 verbose #1278 > > </> $"file_{i}.txt") |> Async.Ignore
00:02:53 verbose #1279 > >
00:02:53 verbose #1280 > >     do! Async.Sleep 250
00:02:53 verbose #1281 > >
00:02:53 verbose #1282 > >     for i = 1 to n do
00:02:53 verbose #1283 > >         do! $"c{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:53 verbose #1284 > > $"file_{i}.txt")
00:02:53 verbose #1285 > >
00:02:53 verbose #1286 > >     do! Async.Sleep 250
00:02:53 verbose #1287 > >
00:02:53 verbose #1288 > >     for i = 1 to n do
00:02:53 verbose #1289 > >         do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:02:53 verbose #1290 > > Async.Ignore
00:02:53 verbose #1291 > >
00:02:53 verbose #1292 > >     do! Async.Sleep 250
00:02:53 verbose #1293 > > }
00:02:53 verbose #1294 > >
00:02:53 verbose #1295 > > let inline run () =
00:02:53 verbose #1296 > >     let events = testEventsRaw watchDirectory write
00:02:53 verbose #1297 > >
00:02:53 verbose #1298 > >     events
00:02:53 verbose #1299 > >     |> _sequenceEqual [[
00:02:53 verbose #1300 > >         FileSystemChange.Created ("file1.txt", Some "a1")
00:02:53 verbose #1301 > >         FileSystemChange.Changed ("file1.txt", Some "a1")
00:02:53 verbose #1302 > >         FileSystemChange.Created ("file2.txt", Some "a2")
00:02:53 verbose #1303 > >         FileSystemChange.Changed ("file2.txt", Some "a2")
00:02:53 verbose #1304 > >
00:02:53 verbose #1305 > >         FileSystemChange.Changed ("file1.txt", Some "b1")
00:02:53 verbose #1306 > >         FileSystemChange.Changed ("file2.txt", Some "b2")
00:02:53 verbose #1307 > >
00:02:53 verbose #1308 > >         FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "b1"))
00:02:53 verbose #1309 > >         FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "b2"))
00:02:53 verbose #1310 > >
00:02:53 verbose #1311 > >         FileSystemChange.Changed ("file_1.txt", Some "c1")
00:02:53 verbose #1312 > >         FileSystemChange.Changed ("file_2.txt", Some "c2")
00:02:53 verbose #1313 > >
00:02:53 verbose #1314 > >         FileSystemChange.Deleted "file_1.txt"
00:02:53 verbose #1315 > >         FileSystemChange.Deleted "file_2.txt"
00:02:53 verbose #1316 > >     ]]
00:02:53 verbose #1317 > >
00:02:53 verbose #1318 > > run
00:02:53 verbose #1319 > > |> retry_fn 3
00:02:53 verbose #1320 > > |> _assertEqual (Some ())
00:02:57 verbose #1321 > >
00:02:57 verbose #1322 > > ╭─[ 4.11s - stdout ]───────────────────────────────────────────────────────────╮
00:02:57 verbose #1323 > > │ Some ()                                                                      │
00:02:57 verbose #1324 > > │                                                                              │
00:02:57 verbose #1325 > > │ 00:00:07   debug #1 FileSystem.watchWithFilter / Disposing watch stream │
00:02:57 verbose #1326 > > │ / filter: FileName, LastWrite                                                │
00:02:57 verbose #1327 > > │ 00:00:07   debug #2 FileSystem.testEventsRaw / eventsLog:               │
00:02:57 verbose #1328 > > │ 0 / 638617030925169124 / Created ("file1.txt", Some "a1")                    │
00:02:57 verbose #1329 > > │ 1 / 638617030925169125 / Changed ("file1.txt", Some "a1")                    │
00:02:57 verbose #1330 > > │ 23588 / 638617030925192713 / Changed ("file1.txt", Some "a1")                │
00:02:57 verbose #1331 > > │ 1335 / 638617030925194048 / Created ("file2.txt", Some "a2")                 │
00:02:57 verbose #1332 > > │ 1 / 638617030925194049 / Changed ("file2.txt", Some "a2")                    │
00:02:57 verbose #1333 > > │ 100 / 638617030925194149 / Changed ("file2.txt", Some "a2")                  │
00:02:57 verbose #1334 > > │ 2503549 / 638617030927697698 / Changed ("file1.txt", Some "b1")              │
00:02:57 verbose #1335 > > │ 3211 / 638617030927700909 / Changed ("file1.txt", Some "b1")                 │
00:02:57 verbose #1336 > > │ 11967 / 638617030927712876 / Changed ("file2.txt", Some "b2")                │
00:02:57 verbose #1337 > > │ 2085 / 638617030927714961 / Changed ("file2.txt", Some "b2")                 │
00:02:57 verbose #1338 > > │ 2673478 / 638617030930388439 / Renamed ("file1.txt", ("file_1.txt", Some     │
00:02:57 verbose #1339 > > │ "b1"))                                                                       │
00:02:57 verbose #1340 > > │ 15417 / 638617030930403856 / Renamed ("file2.txt", ("file_2.txt", Some       │
00:02:57 verbose #1341 > > │ "b2"))                                                                       │
00:02:57 verbose #1342 > > │ 2573332 / 638617030932977188 / Changed ("file_1.txt", Some "c1")             │
00:02:57 verbose #1343 > > │ 2313 / 638617030932979501 / Changed ("file_1.txt", Some "c1")                │
00:02:57 verbose #1344 > > │ 7650 / 638617030932987151 / Changed ("file_2.txt", Some "c2")                │
00:02:57 verbose #1345 > > │ 1982 / 638617030932989133 / Changed ("file_2.txt", Some "c2")                │
00:02:57 verbose #1346 > > │ 2666183 / 638617030935655316 / Deleted "file_1.txt"                          │
00:02:57 verbose #1347 > > │ 2831 / 638617030935658147 / Deleted "file_2.txt"                             │
00:02:57 verbose #1348 > > │ [Created ("file1.txt", Some "a1"); Changed ("file1.txt", Some "a1"); Created │
00:02:57 verbose #1349 > > │ ("file2.txt", Some "a2");                                                    │
00:02:57 verbose #1350 > > │  Changed ("file2.txt", Some "a2"); Changed ("file1.txt", Some "b1"); Changed │
00:02:57 verbose #1351 > > │ ("file2.txt", Some "b2");                                                    │
00:02:57 verbose #1352 > > │  Renamed ("file1.txt", ("file_1.txt", Some "b1")); Renamed ("file2.txt",     │
00:02:57 verbose #1353 > > │ ("file_2.txt", Some "b2"));                                                  │
00:02:57 verbose #1354 > > │  Changed ("file_1.txt", Some "c1"); Changed ("file_2.txt", Some "c2");       │
00:02:57 verbose #1355 > > │ Deleted "file_1.txt"; Deleted "file_2.txt"]                                  │
00:02:57 verbose #1356 > > │                                                                              │
00:02:57 verbose #1357 > > │ Some ()                                                                      │
00:02:57 verbose #1358 > > │                                                                              │
00:02:57 verbose #1359 > > │                                                                              │
00:02:57 verbose #1360 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:57 verbose #1361 > >
00:02:57 verbose #1362 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:57 verbose #1363 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:57 verbose #1364 > > │ #### slow (test)                                                             │
00:02:57 verbose #1365 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:57 verbose #1366 > >
00:02:57 verbose #1367 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:57 verbose #1368 > > //// test
00:02:57 verbose #1369 > >
00:02:57 verbose #1370 > > let inline write path = async {
00:02:57 verbose #1371 > >     let n = 2
00:02:57 verbose #1372 > >
00:02:57 verbose #1373 > >     let contents =
00:02:57 verbose #1374 > >         [[ 1 .. n ]]
00:02:57 verbose #1375 > >         |> List.map (string >> String.replicate 1_000_000)
00:02:57 verbose #1376 > >
00:02:57 verbose #1377 > >     for i = 1 to n do
00:02:57 verbose #1378 > >         do! $"{contents.[[i - 1]]}a" |> SpiralFileSystem.write_all_text_async
00:02:57 verbose #1379 > > (path </> $"file{i}.txt")
00:02:57 verbose #1380 > >
00:02:57 verbose #1381 > >     do! Async.Sleep 1500
00:02:57 verbose #1382 > >
00:02:57 verbose #1383 > >     for i = 1 to n do
00:02:57 verbose #1384 > >         do! $"{contents.[[i - 1]]}b" |> SpiralFileSystem.write_all_text_async
00:02:57 verbose #1385 > > (path </> $"file{i}.txt")
00:02:57 verbose #1386 > >
00:02:57 verbose #1387 > >     do! Async.Sleep 1500
00:02:57 verbose #1388 > >
00:02:57 verbose #1389 > >     for i = 1 to n do
00:02:57 verbose #1390 > >         do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:02:57 verbose #1391 > > </> $"file_{i}.txt") |> Async.Ignore
00:02:57 verbose #1392 > >
00:02:57 verbose #1393 > >     do! Async.Sleep 1500
00:02:57 verbose #1394 > >
00:02:57 verbose #1395 > >     for i = 1 to n do
00:02:57 verbose #1396 > >         do! $"{contents.[[i - 1]]}c" |> SpiralFileSystem.write_all_text_async
00:02:57 verbose #1397 > > (path </> $"file_{i}.txt")
00:02:57 verbose #1398 > >
00:02:57 verbose #1399 > >     do! Async.Sleep 1500
00:02:57 verbose #1400 > >
00:02:57 verbose #1401 > >     for i = 1 to n do
00:02:57 verbose #1402 > >         do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:02:57 verbose #1403 > > Async.Ignore
00:02:57 verbose #1404 > >
00:02:57 verbose #1405 > >     do! Async.Sleep 1500
00:02:57 verbose #1406 > > }
00:02:57 verbose #1407 > >
00:02:57 verbose #1408 > > let inline run () =
00:02:57 verbose #1409 > >     let events =
00:02:57 verbose #1410 > >         testEventsRaw watchDirectory write
00:02:57 verbose #1411 > >         |> List.map (function
00:02:57 verbose #1412 > >             | FileSystemChange.Changed (path, Some content) ->
00:02:57 verbose #1413 > >                 FileSystemChange.Changed (path, content |> Seq.distinct |>
00:02:57 verbose #1414 > > Seq.map string |> SpiralSm.concat "" |> Some)
00:02:57 verbose #1415 > >             | FileSystemChange.Created (path, Some content) ->
00:02:57 verbose #1416 > >                 FileSystemChange.Created (path, content |> Seq.distinct |>
00:02:57 verbose #1417 > > Seq.map string |> SpiralSm.concat "" |> Some)
00:02:57 verbose #1418 > >             | FileSystemChange.Renamed (oldPath, (newPath, Some content)) ->
00:02:57 verbose #1419 > >                 FileSystemChange.Renamed (
00:02:57 verbose #1420 > >                     oldPath,
00:02:57 verbose #1421 > >                     (newPath, content |> Seq.distinct |> Seq.map string |>
00:02:57 verbose #1422 > > SpiralSm.concat "" |> Some)
00:02:57 verbose #1423 > >                 )
00:02:57 verbose #1424 > >             | event -> event
00:02:57 verbose #1425 > >         )
00:02:57 verbose #1426 > >
00:02:57 verbose #1427 > >     events
00:02:57 verbose #1428 > >     |> _sequenceEqual [[
00:02:57 verbose #1429 > >         FileSystemChange.Created ("file1.txt", Some "1a")
00:02:57 verbose #1430 > >         FileSystemChange.Changed ("file1.txt", Some "1a")
00:02:57 verbose #1431 > >         FileSystemChange.Created ("file2.txt", Some "2a")
00:02:57 verbose #1432 > >         FileSystemChange.Changed ("file2.txt", Some "2a")
00:02:57 verbose #1433 > >
00:02:57 verbose #1434 > >         FileSystemChange.Changed ("file1.txt", Some "1b")
00:02:57 verbose #1435 > >         FileSystemChange.Changed ("file2.txt", Some "2b")
00:02:57 verbose #1436 > >
00:02:57 verbose #1437 > >         FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "1b"))
00:02:57 verbose #1438 > >         FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "2b"))
00:02:57 verbose #1439 > >
00:02:57 verbose #1440 > >         FileSystemChange.Changed ("file_1.txt", Some "1c")
00:02:57 verbose #1441 > >         FileSystemChange.Changed ("file_2.txt", Some "2c")
00:02:57 verbose #1442 > >
00:02:57 verbose #1443 > >         FileSystemChange.Deleted "file_1.txt"
00:02:57 verbose #1444 > >         FileSystemChange.Deleted "file_2.txt"
00:02:57 verbose #1445 > >     ]]
00:02:57 verbose #1446 > >
00:02:57 verbose #1447 > > run
00:02:57 verbose #1448 > > |> retry_fn 5
00:02:57 verbose #1449 > > |> _assertEqual (Some ())
00:03:08 verbose #1450 > >
00:03:08 verbose #1451 > > ╭─[ 11.10s - stdout ]──────────────────────────────────────────────────────────╮
00:03:08 verbose #1452 > > │ Some ()                                                                      │
00:03:08 verbose #1453 > > │                                                                              │
00:03:08 verbose #1454 > > │ 00:00:17   debug #3 FileSystem.watchWithFilter / Disposing watch stream │
00:03:08 verbose #1455 > > │ / filter: FileName, LastWrite                                                │
00:03:08 verbose #1456 > > │ 00:00:18   debug #4 FileSystem.testEventsRaw / eventsLog:               │
00:03:08 verbose #1457 > > │ 0 / 638617030969141474 / Created                                             │
00:03:08 verbose #1458 > > │   ("file1.txt",                                                              │
00:03:08 verbose #1459 > > │  ...11111111111111111111111111111111111111111111111a")                       │
00:03:08 verbose #1460 > > │ 1 / 638617030969141475 / Changed                                             │
00:03:08 verbose #1461 > > │   ("file1.txt",                                                              │
00:03:08 verbose #1462 > > │  ...11111111111111111111111111111111111111111111111a")                       │
00:03:08 verbose #1463 > > │ 63857 / 638617030969205332 / Changed                                         │
00:03:08 verbose #1464 > > │   ("file1.txt...11111111111111111111111111111111111111111111111a")           │
00:03:08 verbose #1465 > > │ 19305 / 638617030969224637 / Created                                         │
00:03:08 verbose #1466 > > │   ("file2.txt...22222222222222222222222222222222222222222222222a")           │
00:03:08 verbose #1467 > > │ 1 / 638617030969224638 / Changed                                             │
00:03:08 verbose #1468 > > │   ("file2.txt",                                                              │
00:03:08 verbose #1469 > > │  ...22222222222222222222222222222222222222222222222a")                       │
00:03:08 verbose #1470 > > │ 87826 / 638617030969312464 / Changed                                         │
00:03:08 verbose #1471 > > │   ("file2.txt...22222222222222222222222222222222222222222222222a")           │
00:03:08 verbose #1472 > > │ 15161437 / 638617030984473901 / Changed                                      │
00:03:08 verbose #1473 > > │   ("file1....11111111111111111111111111111111111111111111111b")              │
00:03:08 verbose #1474 > > │ 69836 / 638617030984543737 / Changed                                         │
00:03:08 verbose #1475 > > │   ("file1.txt...11111111111111111111111111111111111111111111111b")           │
00:03:08 verbose #1476 > > │ 26177 / 638617030984569914 / Changed                                         │
00:03:08 verbose #1477 > > │   ("file2.txt...22222222222222222222222222222222222222222222222b")           │
00:03:08 verbose #1478 > > │ 90027 / 638617030984659941 / Changed                                         │
00:03:08 verbose #1479 > > │   ("file2.txt...22222222222222222222222222222222222222222222222b")           │
00:03:08 verbose #1480 > > │ 15191062 / 638617030999851003 / Renamed                                      │
00:03:08 verbose #1481 > > │   ("file1....1111111111111111111111111111111111111111111111b"))              │
00:03:08 verbose #1482 > > │ 3414 / 638617030999854417 / Renamed                                          │
00:03:08 verbose #1483 > > │   ("file2.txt"...2222222222222222222222222222222222222222222222b"))          │
00:03:08 verbose #1484 > > │ 15151934 / 638617031015006351 / Changed                                      │
00:03:08 verbose #1485 > > │   ("file_1...11111111111111111111111111111111111111111111111c")              │
00:03:08 verbose #1486 > > │ 121088 / 638617031015127439 / Changed                                        │
00:03:08 verbose #1487 > > │   ("file_1.t...11111111111111111111111111111111111111111111111c")            │
00:03:08 verbose #1488 > > │ 53962 / 638617031015181401 / Changed                                         │
00:03:08 verbose #1489 > > │   ("file_2.tx...22222222222222222222222222222222222222222222222c")           │
00:03:08 verbose #1490 > > │ 77966 / 638617031015259367 / Changed                                         │
00:03:08 verbose #1491 > > │   ("file_2.tx...22222222222222222222222222222222222222222222222c")           │
00:03:08 verbose #1492 > > │ 15115351 / 638617031030374718 / Deleted "file_1.txt"                         │
00:03:08 verbose #1493 > > │ 8981 / 638617031030383699 / Deleted "file_2.txt"                             │
00:03:08 verbose #1494 > > │ [Created ("file1.txt", Some "1a"); Changed ("file1.txt", Some "1a"); Created │
00:03:08 verbose #1495 > > │ ("file2.txt", Some "2a");                                                    │
00:03:08 verbose #1496 > > │  Changed ("file2.txt", Some "2a"); Changed ("file1.txt", Some "1b"); Changed │
00:03:08 verbose #1497 > > │ ("file2.txt", Some "2b");                                                    │
00:03:08 verbose #1498 > > │  Renamed ("file1.txt", ("file_1.txt", Some "1b")); Renamed ("file2.txt",     │
00:03:08 verbose #1499 > > │ ("file_2.txt", Some "2b"));                                                  │
00:03:08 verbose #1500 > > │  Changed ("file_1.txt", Some "1c"); Changed ("file_2.txt", Some "2c");       │
00:03:08 verbose #1501 > > │ Deleted "file_1.txt"; Deleted "file_2.txt"]                                  │
00:03:08 verbose #1502 > > │                                                                              │
00:03:08 verbose #1503 > > │ Some ()                                                                      │
00:03:08 verbose #1504 > > │                                                                              │
00:03:08 verbose #1505 > > │                                                                              │
00:03:08 verbose #1506 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #1507 > >
00:03:08 verbose #1508 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:08 verbose #1509 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:08 verbose #1510 > > │ ### testEventsSorted (test)                                                  │
00:03:08 verbose #1511 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #1512 > >
00:03:08 verbose #1513 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:08 verbose #1514 > > //// test
00:03:08 verbose #1515 > >
00:03:08 verbose #1516 > > let inline sortEvent event =
00:03:08 verbose #1517 > >     match event with
00:03:08 verbose #1518 > >     | FileSystemChange.Failure _ -> 0
00:03:08 verbose #1519 > >     | FileSystemChange.Created _ -> 1
00:03:08 verbose #1520 > >     | FileSystemChange.Changed _ -> 2
00:03:08 verbose #1521 > >     | FileSystemChange.Renamed (_oldPath, _) -> 3
00:03:08 verbose #1522 > >     | FileSystemChange.Deleted _ -> 4
00:03:08 verbose #1523 > >
00:03:08 verbose #1524 > > let inline formatEvents events =
00:03:08 verbose #1525 > >     events
00:03:08 verbose #1526 > >     |> Seq.toList
00:03:08 verbose #1527 > >     |> List.sortBy (snd >> sortEvent)
00:03:08 verbose #1528 > >     |> List.choose (fun (ticks, event) ->
00:03:08 verbose #1529 > >         match event with
00:03:08 verbose #1530 > >         | FileSystemChange.Failure _ ->
00:03:08 verbose #1531 > >             None
00:03:08 verbose #1532 > >         | FileSystemChange.Changed (path, _) ->
00:03:08 verbose #1533 > >             Some (ticks, System.IO.Path.GetFileName path, nameof
00:03:08 verbose #1534 > > FileSystemChangeType.Changed)
00:03:08 verbose #1535 > >         | FileSystemChange.Created (path, _) ->
00:03:08 verbose #1536 > >             Some (ticks, System.IO.Path.GetFileName path, nameof
00:03:08 verbose #1537 > > FileSystemChangeType.Created)
00:03:08 verbose #1538 > >         | FileSystemChange.Deleted path ->
00:03:08 verbose #1539 > >             Some (ticks, System.IO.Path.GetFileName path, nameof
00:03:08 verbose #1540 > > FileSystemChangeType.Deleted)
00:03:08 verbose #1541 > >         | FileSystemChange.Renamed (_oldPath, (path, _)) ->
00:03:08 verbose #1542 > >             Some (ticks, System.IO.Path.GetFileName path, nameof
00:03:08 verbose #1543 > > FileSystemChangeType.Renamed)
00:03:08 verbose #1544 > >     )
00:03:08 verbose #1545 > >     |> List.sortBy (fun (_, path, _) -> path)
00:03:08 verbose #1546 > >     |> List.distinctBy (fun (_, path, event) -> path, event)
00:03:08 verbose #1547 > >
00:03:08 verbose #1548 > > let inline testEventsSorted
00:03:08 verbose #1549 > >     (watchFn : string -> FSharp.Control.AsyncSeq<int64 * FileSystemChange> *
00:03:08 verbose #1550 > > IDisposable)
00:03:08 verbose #1551 > >     write
00:03:08 verbose #1552 > >     =
00:03:08 verbose #1553 > >     let struct (tempDir, tempDisposable) =
00:03:08 verbose #1554 > >         "FileSystem.testEventsSorted"
00:03:08 verbose #1555 > >         |> SpiralCrypto.hash_text
00:03:08 verbose #1556 > >         |> SpiralFileSystem.create_temp_dir'
00:03:08 verbose #1557 > >     let stream, disposable = watchFn tempDir
00:03:08 verbose #1558 > >
00:03:08 verbose #1559 > >     let events = System.Collections.Concurrent.ConcurrentBag ()
00:03:08 verbose #1560 > >
00:03:08 verbose #1561 > >     let inline iter () =
00:03:08 verbose #1562 > >         stream
00:03:08 verbose #1563 > >         |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async {
00:03:08 verbose #1564 > > events.Add event })
00:03:08 verbose #1565 > >
00:03:08 verbose #1566 > >     let run = async {
00:03:08 verbose #1567 > >         let! _ = iter () |> Async.StartChild
00:03:08 verbose #1568 > >         do! Async.Sleep 250
00:03:08 verbose #1569 > >         return! write tempDir
00:03:08 verbose #1570 > >     }
00:03:08 verbose #1571 > >
00:03:08 verbose #1572 > >     try
00:03:08 verbose #1573 > >         run
00:03:08 verbose #1574 > >         |> Async.runWithTimeout 5000
00:03:08 verbose #1575 > >         |> _assertEqual (Some ())
00:03:08 verbose #1576 > >     finally
00:03:08 verbose #1577 > >         disposable.Dispose ()
00:03:08 verbose #1578 > >         tempDisposable.Dispose ()
00:03:08 verbose #1579 > >
00:03:08 verbose #1580 > >     let events = formatEvents events
00:03:08 verbose #1581 > >
00:03:08 verbose #1582 > >     let eventMap =
00:03:08 verbose #1583 > >         events
00:03:08 verbose #1584 > >         |> List.map (fun (ticks, path, event) -> path, (event, ticks))
00:03:08 verbose #1585 > >         |> List.groupBy fst
00:03:08 verbose #1586 > >         |> List.map (fun (path, events) ->
00:03:08 verbose #1587 > >             let event, _ticks =
00:03:08 verbose #1588 > >                 events
00:03:08 verbose #1589 > >                 |> List.map snd
00:03:08 verbose #1590 > >                 |> List.sortByDescending snd
00:03:08 verbose #1591 > >                 |> List.head
00:03:08 verbose #1592 > >
00:03:08 verbose #1593 > >             path, event
00:03:08 verbose #1594 > >         )
00:03:08 verbose #1595 > >         |> Map.ofList
00:03:08 verbose #1596 > >
00:03:08 verbose #1597 > >     let eventList =
00:03:08 verbose #1598 > >         events
00:03:08 verbose #1599 > >         |> List.map (fun (_ticks, path, event) -> path, event)
00:03:08 verbose #1600 > >
00:03:08 verbose #1601 > >     eventMap, eventList
00:03:08 verbose #1602 > >
00:03:08 verbose #1603 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:08 verbose #1604 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:08 verbose #1605 > > │ #### create and delete (test)                                                │
00:03:08 verbose #1606 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #1607 > >
00:03:08 verbose #1608 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:08 verbose #1609 > > //// test
00:03:08 verbose #1610 > >
00:03:08 verbose #1611 > > let inline write path = async {
00:03:08 verbose #1612 > >     let n = 3
00:03:08 verbose #1613 > >
00:03:08 verbose #1614 > >     for i = 1 to n do
00:03:08 verbose #1615 > >         do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:03:08 verbose #1616 > > $"file{i}.txt")
00:03:08 verbose #1617 > >
00:03:08 verbose #1618 > >     for i = 1 to n do
00:03:08 verbose #1619 > >         do! SpiralFileSystem.delete_file_async (path </> $"file{i}.txt") |>
00:03:08 verbose #1620 > > Async.Ignore
00:03:08 verbose #1621 > >
00:03:08 verbose #1622 > >     do! Async.Sleep 150
00:03:08 verbose #1623 > > }
00:03:08 verbose #1624 > >
00:03:08 verbose #1625 > > let inline run () =
00:03:08 verbose #1626 > >     let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:03:08 verbose #1627 > > write
00:03:08 verbose #1628 > >
00:03:08 verbose #1629 > >     [[
00:03:08 verbose #1630 > >         "file1.txt", nameof FileSystemChangeType.Created
00:03:08 verbose #1631 > >         "file1.txt", nameof FileSystemChangeType.Changed
00:03:08 verbose #1632 > >         "file1.txt", nameof FileSystemChangeType.Deleted
00:03:08 verbose #1633 > >
00:03:08 verbose #1634 > >         "file2.txt", nameof FileSystemChangeType.Created
00:03:08 verbose #1635 > >         "file2.txt", nameof FileSystemChangeType.Changed
00:03:08 verbose #1636 > >         "file2.txt", nameof FileSystemChangeType.Deleted
00:03:08 verbose #1637 > >
00:03:08 verbose #1638 > >         "file3.txt", nameof FileSystemChangeType.Created
00:03:08 verbose #1639 > >         "file3.txt", nameof FileSystemChangeType.Changed
00:03:08 verbose #1640 > >         "file3.txt", nameof FileSystemChangeType.Deleted
00:03:08 verbose #1641 > >     ]]
00:03:08 verbose #1642 > >     |> _sequenceEqual eventList
00:03:08 verbose #1643 > >
00:03:08 verbose #1644 > >     [[
00:03:08 verbose #1645 > >         "file1.txt", nameof FileSystemChangeType.Deleted
00:03:08 verbose #1646 > >         "file2.txt", nameof FileSystemChangeType.Deleted
00:03:08 verbose #1647 > >         "file3.txt", nameof FileSystemChangeType.Deleted
00:03:08 verbose #1648 > >     ]]
00:03:08 verbose #1649 > >     |> Map.ofList
00:03:08 verbose #1650 > >     |> _sequenceEqual eventMap
00:03:08 verbose #1651 > >
00:03:08 verbose #1652 > > run
00:03:08 verbose #1653 > > |> retry_fn 3
00:03:08 verbose #1654 > > |> _assertEqual (Some ())
00:03:11 verbose #1655 > >
00:03:11 verbose #1656 > > ╭─[ 2.21s - stdout ]───────────────────────────────────────────────────────────╮
00:03:11 verbose #1657 > > │ Some ()                                                                      │
00:03:11 verbose #1658 > > │                                                                              │
00:03:11 verbose #1659 > > │ 00:00:21   debug #5 FileSystem.watchWithFilter / Disposing watch stream │
00:03:11 verbose #1660 > > │ / filter: FileName, LastWrite                                                │
00:03:11 verbose #1661 > > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file1.txt",           │
00:03:11 verbose #1662 > > │ "Deleted"); ("file2.txt", "Created");                                        │
00:03:11 verbose #1663 > > │  ("file2.txt", "Changed"); ("file2.txt", "Deleted"); ("file3.txt",           │
00:03:11 verbose #1664 > > │ "Created"); ("file3.txt", "Changed");                                        │
00:03:11 verbose #1665 > > │  ("file3.txt", "Deleted")]                                                   │
00:03:11 verbose #1666 > > │                                                                              │
00:03:11 verbose #1667 > > │ map [("file1.txt", "Deleted"); ("file2.txt", "Deleted"); ("file3.txt",       │
00:03:11 verbose #1668 > > │ "Deleted")]                                                                  │
00:03:11 verbose #1669 > > │                                                                              │
00:03:11 verbose #1670 > > │ Some ()                                                                      │
00:03:11 verbose #1671 > > │                                                                              │
00:03:11 verbose #1672 > > │                                                                              │
00:03:11 verbose #1673 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:11 verbose #1674 > >
00:03:11 verbose #1675 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:11 verbose #1676 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:11 verbose #1677 > > │ #### change (test)                                                           │
00:03:11 verbose #1678 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:11 verbose #1679 > >
00:03:11 verbose #1680 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:11 verbose #1681 > > //// test
00:03:11 verbose #1682 > >
00:03:11 verbose #1683 > > let inline write path = async {
00:03:11 verbose #1684 > >     let n = 2
00:03:11 verbose #1685 > >
00:03:11 verbose #1686 > >     for i = 1 to n do
00:03:11 verbose #1687 > >         do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:03:11 verbose #1688 > > $"file{i}.txt")
00:03:11 verbose #1689 > >
00:03:11 verbose #1690 > >     for i = 1 to n do
00:03:11 verbose #1691 > >         do! "" |> SpiralFileSystem.write_all_text_async (path </>
00:03:11 verbose #1692 > > $"file{i}.txt")
00:03:11 verbose #1693 > >
00:03:11 verbose #1694 > >     for i = 1 to n do
00:03:11 verbose #1695 > >         do! SpiralFileSystem.delete_file_async (path </> $"file{i}.txt") |>
00:03:11 verbose #1696 > > Async.Ignore
00:03:11 verbose #1697 > >
00:03:11 verbose #1698 > >     do! Async.Sleep 150
00:03:11 verbose #1699 > > }
00:03:11 verbose #1700 > >
00:03:11 verbose #1701 > > let inline run () =
00:03:11 verbose #1702 > >     let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:03:11 verbose #1703 > > write
00:03:11 verbose #1704 > >
00:03:11 verbose #1705 > >     [[
00:03:11 verbose #1706 > >         "file1.txt", nameof FileSystemChangeType.Created
00:03:11 verbose #1707 > >         "file1.txt", nameof FileSystemChangeType.Changed
00:03:11 verbose #1708 > >         "file1.txt", nameof FileSystemChangeType.Deleted
00:03:11 verbose #1709 > >
00:03:11 verbose #1710 > >         "file2.txt", nameof FileSystemChangeType.Created
00:03:11 verbose #1711 > >         "file2.txt", nameof FileSystemChangeType.Changed
00:03:11 verbose #1712 > >         "file2.txt", nameof FileSystemChangeType.Deleted
00:03:11 verbose #1713 > >     ]]
00:03:11 verbose #1714 > >     |> _sequenceEqual eventList
00:03:11 verbose #1715 > >
00:03:11 verbose #1716 > >     [[
00:03:11 verbose #1717 > >         "file1.txt", nameof FileSystemChangeType.Deleted
00:03:11 verbose #1718 > >         "file2.txt", nameof FileSystemChangeType.Deleted
00:03:11 verbose #1719 > >     ]]
00:03:11 verbose #1720 > >     |> Map.ofList
00:03:11 verbose #1721 > >     |> _sequenceEqual eventMap
00:03:11 verbose #1722 > >
00:03:11 verbose #1723 > > run
00:03:11 verbose #1724 > > |> retry_fn 3
00:03:11 verbose #1725 > > |> _assertEqual (Some ())
00:03:13 verbose #1726 > >
00:03:13 verbose #1727 > > ╭─[ 2.34s - stdout ]───────────────────────────────────────────────────────────╮
00:03:13 verbose #1728 > > │ Some ()                                                                      │
00:03:13 verbose #1729 > > │                                                                              │
00:03:13 verbose #1730 > > │ 00:00:23   debug #6 FileSystem.watchWithFilter / Disposing watch stream │
00:03:13 verbose #1731 > > │ / filter: FileName, LastWrite                                                │
00:03:13 verbose #1732 > > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file1.txt",           │
00:03:13 verbose #1733 > > │ "Deleted"); ("file2.txt", "Created");                                        │
00:03:13 verbose #1734 > > │  ("file2.txt", "Changed"); ("file2.txt", "Deleted")]                         │
00:03:13 verbose #1735 > > │                                                                              │
00:03:13 verbose #1736 > > │ map [("file1.txt", "Deleted"); ("file2.txt", "Deleted")]                     │
00:03:13 verbose #1737 > > │                                                                              │
00:03:13 verbose #1738 > > │ Some ()                                                                      │
00:03:13 verbose #1739 > > │                                                                              │
00:03:13 verbose #1740 > > │                                                                              │
00:03:13 verbose #1741 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:13 verbose #1742 > >
00:03:13 verbose #1743 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:13 verbose #1744 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:13 verbose #1745 > > │ #### rename (test)                                                           │
00:03:13 verbose #1746 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:13 verbose #1747 > >
00:03:13 verbose #1748 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:13 verbose #1749 > > //// test
00:03:13 verbose #1750 > >
00:03:13 verbose #1751 > > let inline write path = async {
00:03:13 verbose #1752 > >     let n = 2
00:03:13 verbose #1753 > >
00:03:13 verbose #1754 > >     for i = 1 to n do
00:03:13 verbose #1755 > >         do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:03:13 verbose #1756 > > $"file{i}.txt")
00:03:13 verbose #1757 > >
00:03:13 verbose #1758 > >     for i = 1 to n do
00:03:13 verbose #1759 > >         do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:03:13 verbose #1760 > > </> $"file_{i}.txt") |> Async.Ignore
00:03:13 verbose #1761 > >
00:03:13 verbose #1762 > >     for i = 1 to n do
00:03:13 verbose #1763 > >         do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:03:13 verbose #1764 > > Async.Ignore
00:03:13 verbose #1765 > >
00:03:13 verbose #1766 > >     do! Async.Sleep 150
00:03:13 verbose #1767 > > }
00:03:13 verbose #1768 > >
00:03:13 verbose #1769 > > let inline run () =
00:03:13 verbose #1770 > >     let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:03:13 verbose #1771 > > write
00:03:13 verbose #1772 > >
00:03:13 verbose #1773 > >     [[
00:03:13 verbose #1774 > >         "file1.txt", nameof FileSystemChangeType.Created
00:03:13 verbose #1775 > >         "file1.txt", nameof FileSystemChangeType.Changed
00:03:13 verbose #1776 > >         "file2.txt", nameof FileSystemChangeType.Created
00:03:13 verbose #1777 > >         "file2.txt", nameof FileSystemChangeType.Changed
00:03:13 verbose #1778 > >
00:03:13 verbose #1779 > >         "file_1.txt", nameof FileSystemChangeType.Renamed
00:03:13 verbose #1780 > >         "file_1.txt", nameof FileSystemChangeType.Deleted
00:03:13 verbose #1781 > >
00:03:13 verbose #1782 > >         "file_2.txt", nameof FileSystemChangeType.Renamed
00:03:13 verbose #1783 > >         "file_2.txt", nameof FileSystemChangeType.Deleted
00:03:13 verbose #1784 > >     ]]
00:03:13 verbose #1785 > >     |> _sequenceEqual eventList
00:03:13 verbose #1786 > >
00:03:13 verbose #1787 > >     [[
00:03:13 verbose #1788 > >         "file1.txt", nameof FileSystemChangeType.Changed
00:03:13 verbose #1789 > >         "file2.txt", nameof FileSystemChangeType.Changed
00:03:13 verbose #1790 > >         "file_1.txt", nameof FileSystemChangeType.Deleted
00:03:13 verbose #1791 > >         "file_2.txt", nameof FileSystemChangeType.Deleted
00:03:13 verbose #1792 > >     ]]
00:03:13 verbose #1793 > >     |> Map.ofList
00:03:13 verbose #1794 > >     |> _sequenceEqual eventMap
00:03:13 verbose #1795 > >
00:03:13 verbose #1796 > > run
00:03:13 verbose #1797 > > |> retry_fn 3
00:03:13 verbose #1798 > > |> _assertEqual (Some ())
00:03:15 verbose #1799 > >
00:03:15 verbose #1800 > > ╭─[ 2.46s - stdout ]───────────────────────────────────────────────────────────╮
00:03:15 verbose #1801 > > │ Some ()                                                                      │
00:03:15 verbose #1802 > > │                                                                              │
00:03:15 verbose #1803 > > │ 00:00:25   debug #7 FileSystem.watchWithFilter / Disposing watch stream │
00:03:15 verbose #1804 > > │ / filter: FileName, LastWrite                                                │
00:03:15 verbose #1805 > > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file2.txt",           │
00:03:15 verbose #1806 > > │ "Created"); ("file2.txt", "Changed");                                        │
00:03:15 verbose #1807 > > │  ("file_1.txt", "Renamed"); ("file_1.txt", "Deleted"); ("file_2.txt",        │
00:03:15 verbose #1808 > > │ "Renamed"); ("file_2.txt", "Deleted")]                                       │
00:03:15 verbose #1809 > > │                                                                              │
00:03:15 verbose #1810 > > │ map [("file1.txt", "Changed"); ("file2.txt", "Changed"); ("file_1.txt",      │
00:03:15 verbose #1811 > > │ "Deleted"); ("file_2.txt", "Deleted")]                                       │
00:03:15 verbose #1812 > > │                                                                              │
00:03:15 verbose #1813 > > │ Some ()                                                                      │
00:03:15 verbose #1814 > > │                                                                              │
00:03:15 verbose #1815 > > │                                                                              │
00:03:15 verbose #1816 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #1817 > >
00:03:15 verbose #1818 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:15 verbose #1819 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:15 verbose #1820 > > │ #### full (test)                                                             │
00:03:15 verbose #1821 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #1822 > >
00:03:15 verbose #1823 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:15 verbose #1824 > > //// test
00:03:15 verbose #1825 > >
00:03:15 verbose #1826 > > let inline write path = async {
00:03:15 verbose #1827 > >     let n = 2
00:03:15 verbose #1828 > >
00:03:15 verbose #1829 > >     for i = 1 to n do
00:03:15 verbose #1830 > >         do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:03:15 verbose #1831 > > $"file{i}.txt")
00:03:15 verbose #1832 > >
00:03:15 verbose #1833 > >     for i = 1 to n do
00:03:15 verbose #1834 > >         do! "" |> SpiralFileSystem.write_all_text_async (path </>
00:03:15 verbose #1835 > > $"file{i}.txt")
00:03:15 verbose #1836 > >
00:03:15 verbose #1837 > >     for i = 1 to n do
00:03:15 verbose #1838 > >         do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:03:15 verbose #1839 > > </> $"file_{i}.txt") |> Async.Ignore
00:03:15 verbose #1840 > >
00:03:15 verbose #1841 > >     for i = 1 to n do
00:03:15 verbose #1842 > >         do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:03:15 verbose #1843 > > $"file_{i}.txt")
00:03:15 verbose #1844 > >
00:03:15 verbose #1845 > >     for i = 1 to n do
00:03:15 verbose #1846 > >         do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:03:15 verbose #1847 > > Async.Ignore
00:03:15 verbose #1848 > >
00:03:15 verbose #1849 > >     do! Async.Sleep 150
00:03:15 verbose #1850 > > }
00:03:15 verbose #1851 > >
00:03:15 verbose #1852 > > let inline run () =
00:03:15 verbose #1853 > >     let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:03:15 verbose #1854 > > write
00:03:15 verbose #1855 > >
00:03:15 verbose #1856 > >     [[
00:03:15 verbose #1857 > >         "file1.txt", nameof FileSystemChangeType.Created
00:03:15 verbose #1858 > >         "file1.txt", nameof FileSystemChangeType.Changed
00:03:15 verbose #1859 > >         "file2.txt", nameof FileSystemChangeType.Created
00:03:15 verbose #1860 > >         "file2.txt", nameof FileSystemChangeType.Changed
00:03:15 verbose #1861 > >
00:03:15 verbose #1862 > >         "file_1.txt", nameof FileSystemChangeType.Changed
00:03:15 verbose #1863 > >         "file_1.txt", nameof FileSystemChangeType.Renamed
00:03:15 verbose #1864 > >         "file_1.txt", nameof FileSystemChangeType.Deleted
00:03:15 verbose #1865 > >
00:03:15 verbose #1866 > >         "file_2.txt", nameof FileSystemChangeType.Changed
00:03:15 verbose #1867 > >         "file_2.txt", nameof FileSystemChangeType.Renamed
00:03:15 verbose #1868 > >         "file_2.txt", nameof FileSystemChangeType.Deleted
00:03:15 verbose #1869 > >     ]]
00:03:15 verbose #1870 > >     |> _sequenceEqual eventList
00:03:15 verbose #1871 > >
00:03:15 verbose #1872 > >     [[
00:03:15 verbose #1873 > >         "file1.txt", nameof FileSystemChangeType.Changed
00:03:15 verbose #1874 > >         "file2.txt", nameof FileSystemChangeType.Changed
00:03:15 verbose #1875 > >         "file_1.txt", nameof FileSystemChangeType.Deleted
00:03:15 verbose #1876 > >         "file_2.txt", nameof FileSystemChangeType.Deleted
00:03:15 verbose #1877 > >     ]]
00:03:15 verbose #1878 > >     |> Map.ofList
00:03:15 verbose #1879 > >     |> _sequenceEqual eventMap
00:03:15 verbose #1880 > >
00:03:15 verbose #1881 > > run
00:03:15 verbose #1882 > > |> retry_fn 3
00:03:15 verbose #1883 > > |> _assertEqual (Some ())
00:03:18 verbose #1884 > >
00:03:18 verbose #1885 > > ╭─[ 2.99s - stdout ]───────────────────────────────────────────────────────────╮
00:03:18 verbose #1886 > > │ Some ()                                                                      │
00:03:18 verbose #1887 > > │                                                                              │
00:03:18 verbose #1888 > > │ 00:00:28   debug #8 FileSystem.watchWithFilter / Disposing watch stream │
00:03:18 verbose #1889 > > │ / filter: FileName, LastWrite                                                │
00:03:18 verbose #1890 > > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file2.txt",           │
00:03:18 verbose #1891 > > │ "Created"); ("file2.txt", "Changed");                                        │
00:03:18 verbose #1892 > > │  ("file_1.txt", "Changed"); ("file_1.txt", "Renamed"); ("file_1.txt",        │
00:03:18 verbose #1893 > > │ "Deleted"); ("file_2.txt", "Changed");                                       │
00:03:18 verbose #1894 > > │  ("file_2.txt", "Renamed"); ("file_2.txt", "Deleted")]                       │
00:03:18 verbose #1895 > > │                                                                              │
00:03:18 verbose #1896 > > │ map [("file1.txt", "Changed"); ("file2.txt", "Changed"); ("file_1.txt",      │
00:03:18 verbose #1897 > > │ "Deleted"); ("file_2.txt", "Deleted")]                                       │
00:03:18 verbose #1898 > > │                                                                              │
00:03:18 verbose #1899 > > │ Some ()                                                                      │
00:03:18 verbose #1900 > > │                                                                              │
00:03:18 verbose #1901 > > │                                                                              │
00:03:18 verbose #1902 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:19 verbose #1903 > 00:00:54 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 36872 }
00:03:19 verbose #1904 > 00:00:54   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:03:19 verbose #1905 >     "nbconvert",
00:03:19 verbose #1906 >     "c:/home/git/polyglot/lib/fsharp/FileSystem.dib.ipynb",
00:03:19 verbose #1907 >     "--to",
00:03:19 verbose #1908 >     "html",
00:03:19 verbose #1909 >     "--HTMLExporter.theme=dark",
00:03:19 verbose #1910 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/fsharp/FileSystem.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:03:21 verbose #1911 > 00:00:57 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/fsharp/FileSystem.dib.ipynb to html
00:03:21 verbose #1912 > 00:00:57 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:03:21 verbose #1913 > 00:00:57 verbose #7 !   validate(nb)
00:03:24 verbose #1914 > 00:00:59 verbose #8 ! [NbConvertApp] Writing 380526 bytes to c:\home\git\polyglot\lib\fsharp\FileSystem.dib.html
00:03:24 verbose #1915 > 00:01:00 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 651 }
00:03:24 verbose #1916 > 00:01:00   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 651 }
00:03:24 verbose #1917 > 00:01:00   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:03:24 verbose #1918 >     "-c",
00:03:24 verbose #1919 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/FileSystem.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:03:24 verbose #1920 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/FileSystem.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:03:25 verbose #1921 > 00:01:01 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:03:25 verbose #1922 > 00:01:01   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:03:26 verbose #1923 > 00:01:02   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 37582 }
00:03:26   debug #1924 runtime.execute_with_options_async / { exit_code = 0; output_length = 42106 }
00:03:26   debug #8 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path FileSystem.dib --retries 3
00:03:26   debug #1925 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path Runtime.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:03:26 verbose #1926 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Runtime.dib", "--retries", "3"])) }
00:03:26 verbose #1927 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:03:26 verbose #1928 >     "repl",
00:03:26 verbose #1929 >     "--exit-after-run",
00:03:26 verbose #1930 >     "--run",
00:03:26 verbose #1931 >     "c:/home/git/polyglot/lib/fsharp/Runtime.dib",
00:03:26 verbose #1932 >     "--output-path",
00:03:26 verbose #1933 >     "c:/home/git/polyglot/lib/fsharp/Runtime.dib.ipynb",
00:03:26 verbose #1934 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/fsharp/Runtime.dib" --output-path "c:/home/git/polyglot/lib/fsharp/Runtime.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:03:29 verbose #1935 > >
00:03:29 verbose #1936 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:29 verbose #1937 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:29 verbose #1938 > > │ # Runtime (Polyglot)                                                         │
00:03:29 verbose #1939 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:35 verbose #1940 > >
00:03:35 verbose #1941 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:35 verbose #1942 > > #r
00:03:35 verbose #1943 > > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:03:35 verbose #1944 > > dard2.1/FSharp.Control.AsyncSeq.dll"
00:03:35 verbose #1945 > > #r
00:03:35 verbose #1946 > > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:03:35 verbose #1947 > > 0/System.Reactive.dll"
00:03:35 verbose #1948 > > #r
00:03:35 verbose #1949 > > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:03:35 verbose #1950 > > netstandard2.0/System.Reactive.Linq.dll"
00:03:35 verbose #1951 > > #r
00:03:35 verbose #1952 > > @"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
00:03:54 verbose #1953 > >
00:03:54 verbose #1954 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #1955 > > #if !INTERACTIVE
00:03:54 verbose #1956 > > open Lib
00:03:54 verbose #1957 > > #endif
00:03:54 verbose #1958 > >
00:03:54 verbose #1959 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #1960 > > open Common
00:03:54 verbose #1961 > >
00:03:54 verbose #1962 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #1963 > > //// test
00:03:54 verbose #1964 > >
00:03:54 verbose #1965 > > open SpiralFileSystem.Operators
00:03:54 verbose #1966 > >
00:03:54 verbose #1967 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:54 verbose #1968 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:54 verbose #1969 > > │ ## parseArgs                                                                 │
00:03:54 verbose #1970 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:54 verbose #1971 > >
00:03:54 verbose #1972 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #1973 > > let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
00:03:54 verbose #1974 > >     let assemblyName =
00:03:54 verbose #1975 > > System.Reflection.Assembly.GetEntryAssembly().GetName().Name
00:03:54 verbose #1976 > >     let errorHandler : Argu.IExiter =
00:03:54 verbose #1977 > >         if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
00:03:54 verbose #1978 > > List.contains assemblyName
00:03:54 verbose #1979 > >         then Argu.ExceptionExiter ()
00:03:54 verbose #1980 > >         else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None | _ ->
00:03:54 verbose #1981 > > Some System.ConsoleColor.Red)
00:03:54 verbose #1982 > >
00:03:54 verbose #1983 > >     let parser =
00:03:54 verbose #1984 > >         Argu.ArgumentParser.Create<'T> (
00:03:54 verbose #1985 > >             programName = $"{assemblyName}{SpiralPlatform.get_executable_suffix
00:03:54 verbose #1986 > > ()}",
00:03:54 verbose #1987 > >             errorHandler = errorHandler
00:03:54 verbose #1988 > >         )
00:03:54 verbose #1989 > >
00:03:54 verbose #1990 > >     parser.ParseCommandLine args
00:03:54 verbose #1991 > >
00:03:54 verbose #1992 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #1993 > > //// test
00:03:54 verbose #1994 > >
00:03:54 verbose #1995 > > [[<RequireQualifiedAccess>]]
00:03:54 verbose #1996 > > type Arguments =
00:03:54 verbose #1997 > >     | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce;
00:03:54 verbose #1998 > > Argu.ArguAttributes.Last>]]
00:03:54 verbose #1999 > >         Paths of paths : string list
00:03:54 verbose #2000 > >
00:03:54 verbose #2001 > >     interface Argu.IArgParserTemplate with
00:03:54 verbose #2002 > >         member s.Usage =
00:03:54 verbose #2003 > >             match s with
00:03:54 verbose #2004 > >             | Paths _ -> nameof Paths
00:03:54 verbose #2005 > >
00:03:54 verbose #2006 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #2007 > > //// test
00:03:54 verbose #2008 > >
00:03:54 verbose #2009 > > Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
00:03:54 verbose #2010 > >
00:03:54 verbose #2011 > > ╭─[ 169.45ms - return value ]──────────────────────────────────────────────────╮
00:03:54 verbose #2012 > > │ "USAGE: dotnet-repl [--help] <paths>...                                      │
00:03:54 verbose #2013 > > │                                                                              │
00:03:54 verbose #2014 > > │ PATHS:                                                                       │
00:03:54 verbose #2015 > > │                                                                              │
00:03:54 verbose #2016 > > │     <paths>...            Paths                                              │
00:03:54 verbose #2017 > > │                                                                              │
00:03:54 verbose #2018 > > │ OPTIONS:                                                                     │
00:03:54 verbose #2019 > > │                                                                              │
00:03:54 verbose #2020 > > │     --help                display this list of options.                      │
00:03:54 verbose #2021 > > │ "                                                                            │
00:03:54 verbose #2022 > > │                                                                              │
00:03:54 verbose #2023 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:54 verbose #2024 > >
00:03:54 verbose #2025 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #2026 > > //// test
00:03:54 verbose #2027 > >
00:03:54 verbose #2028 > > fun () -> parseArgs<Arguments> [[||]] |> ignore
00:03:54 verbose #2029 > > |> _throwsC (fun ex _ ->
00:03:54 verbose #2030 > >     SpiralSm.format_exception ex
00:03:54 verbose #2031 > >     |> _stringContains "Argu.ArguParseException: ERROR: missing parameter
00:03:54 verbose #2032 > > '<paths>...'."
00:03:54 verbose #2033 > > )
00:03:55 verbose #2034 > >
00:03:55 verbose #2035 > > ╭─[ 91.58ms - stdout ]─────────────────────────────────────────────────────────╮
00:03:55 verbose #2036 > > │ <fun:it@3-3>                                                                 │
00:03:55 verbose #2037 > > │                                                                              │
00:03:55 verbose #2038 > > │ "Argu.ArguParseException: ERROR: missing parameter '<paths>...'.             │
00:03:55 verbose #2039 > > │ USAGE: dotnet-repl.exe [--help] <paths>...                                   │
00:03:55 verbose #2040 > > │                                                                              │
00:03:55 verbose #2041 > > │ PATHS:                                                                       │
00:03:55 verbose #2042 > > │                                                                              │
00:03:55 verbose #2043 > > │     <paths>...            Paths                                              │
00:03:55 verbose #2044 > > │                                                                              │
00:03:55 verbose #2045 > > │ OPTIONS:                                                                     │
00:03:55 verbose #2046 > > │                                                                              │
00:03:55 verbose #2047 > > │     --help                display this list of options.                      │
00:03:55 verbose #2048 > > │ "                                                                            │
00:03:55 verbose #2049 > > │                                                                              │
00:03:55 verbose #2050 > > │                                                                              │
00:03:55 verbose #2051 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:55 verbose #2052 > >
00:03:55 verbose #2053 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:55 verbose #2054 > > let inline parseAllArgs<'T when 'T :> Argu.IArgParserTemplate> args =
00:03:55 verbose #2055 > >     args
00:03:55 verbose #2056 > >     |> parseArgs<'T>
00:03:55 verbose #2057 > >     |> fun results -> results.GetAllResults ()
00:03:55 verbose #2058 > >
00:03:55 verbose #2059 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:55 verbose #2060 > > //// test
00:03:55 verbose #2061 > >
00:03:55 verbose #2062 > > [[<RequireQualifiedAccess>]]
00:03:55 verbose #2063 > > type Arguments =
00:03:55 verbose #2064 > >     | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce;
00:03:55 verbose #2065 > > Argu.ArguAttributes.Last>]]
00:03:55 verbose #2066 > >         Paths of paths : string list
00:03:55 verbose #2067 > >
00:03:55 verbose #2068 > >     interface Argu.IArgParserTemplate with
00:03:55 verbose #2069 > >         member s.Usage =
00:03:55 verbose #2070 > >             match s with
00:03:55 verbose #2071 > >             | Paths _ -> nameof Paths
00:03:55 verbose #2072 > >
00:03:55 verbose #2073 > > parseAllArgs<Arguments> [[| "a b"; "c" |]]
00:03:55 verbose #2074 > > |> _assertEqual [[ Arguments.Paths [[ "a b"; "c" ]] ]]
00:03:55 verbose #2075 > >
00:03:55 verbose #2076 > > ╭─[ 143.31ms - stdout ]────────────────────────────────────────────────────────╮
00:03:55 verbose #2077 > > │ [Paths ["a b"; "c"]]                                                         │
00:03:55 verbose #2078 > > │                                                                              │
00:03:55 verbose #2079 > > │                                                                              │
00:03:55 verbose #2080 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:55 verbose #2081 > >
00:03:55 verbose #2082 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:55 verbose #2083 > > let inline parseArgsMap<'T when 'T :> Argu.IArgParserTemplate> args =
00:03:55 verbose #2084 > >     args
00:03:55 verbose #2085 > >     |> parseAllArgs<'T>
00:03:55 verbose #2086 > >     |> List.groupBy CommonFSharp.getUnionCaseName<'T>
00:03:55 verbose #2087 > >     |> Map.ofList
00:03:55 verbose #2088 > >
00:03:55 verbose #2089 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:55 verbose #2090 > > //// test
00:03:55 verbose #2091 > >
00:03:55 verbose #2092 > > parseArgsMap<Arguments> [[| "a b"; "c" |]]
00:03:55 verbose #2093 > > |> _assertEqual (
00:03:55 verbose #2094 > >     [[ nameof Arguments.Paths, [[ Arguments.Paths [[ "a b"; "c" ]] ]] ]]
00:03:55 verbose #2095 > >     |> Map.ofList
00:03:55 verbose #2096 > > )
00:03:55 verbose #2097 > >
00:03:55 verbose #2098 > > ╭─[ 82.87ms - stdout ]─────────────────────────────────────────────────────────╮
00:03:55 verbose #2099 > > │ map [("Paths", [Paths ["a b"; "c"]])]                                        │
00:03:55 verbose #2100 > > │                                                                              │
00:03:55 verbose #2101 > > │                                                                              │
00:03:55 verbose #2102 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:55 verbose #2103 > 00:00:29 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 7590 }
00:03:55 verbose #2104 > 00:00:29   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:03:55 verbose #2105 >     "nbconvert",
00:03:55 verbose #2106 >     "c:/home/git/polyglot/lib/fsharp/Runtime.dib.ipynb",
00:03:55 verbose #2107 >     "--to",
00:03:55 verbose #2108 >     "html",
00:03:55 verbose #2109 >     "--HTMLExporter.theme=dark",
00:03:55 verbose #2110 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/fsharp/Runtime.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:03:58 verbose #2111 > 00:00:31 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/fsharp/Runtime.dib.ipynb to html
00:03:58 verbose #2112 > 00:00:31 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:03:58 verbose #2113 > 00:00:31 verbose #7 !   validate(nb)
00:03:59 verbose #2114 > 00:00:33 verbose #8 ! [NbConvertApp] Writing 292946 bytes to c:\home\git\polyglot\lib\fsharp\Runtime.dib.html
00:04:00 verbose #2115 > 00:00:33 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 645 }
00:04:00 verbose #2116 > 00:00:33   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 645 }
00:04:00 verbose #2117 > 00:00:33   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:04:00 verbose #2118 >     "-c",
00:04:00 verbose #2119 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/Runtime.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:04:00 verbose #2120 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/fsharp/Runtime.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:04:01 verbose #2121 > 00:00:34 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:04:01 verbose #2122 > 00:00:34   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:04:02 verbose #2123 > 00:00:35   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 8294 }
00:04:02   debug #2124 runtime.execute_with_options_async / { exit_code = 0; output_length = 11315 }
00:04:02   debug #9 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path Runtime.dib --retries 3
00:04:02 verbose #6 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:04:02 verbose #7 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 writeDibCode / output: Fs / path: Async.dib
00:00:00   debug #1 writeDibCode / output: Fs / path: Common.dib
00:00:00   debug #1 writeDibCode / output: Fs / path: Runtime.dib
00:00:00   debug #1 writeDibCode / output: Fs / path: AsyncSeq.dib
00:00:00   debug #1 writeDibCode / output: Fs / path: CommonFSharp.dib
00:00:00   debug #1 writeDibCode / output: Fs / path: FileSystem.dib
00:00:00   debug #4 parseDibCode / output: Fs / file: CommonFSharp.dib
00:00:00   debug #4 parseDibCode / output: Fs / file: AsyncSeq.dib
00:00:00   debug #5 parseDibCode / output: Fs / file: FileSystem.dib
00:00:00   debug #2 parseDibCode / output: Fs / file: Async.dib
00:00:00   debug #6 parseDibCode / output: Fs / file: Common.dib
00:00:00   debug #7 parseDibCode / output: Fs / file: Runtime.dib
In [ ]:
{ pwsh ../apps/spiral/builder/build.ps1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02   debug #7 runtime.execute_with_options_async / { options = { command = ../../../workspace/target/release/spiral_builder.exe dib --path spiral_builder.dib; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:02 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "spiral_builder.dib"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib" --output-path "c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:05 verbose #17 > >
00:00:05 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #20 > > │ # spiral_builder                                                             │
00:00:06 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #22 > >
00:00:11 verbose #23 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 verbose #24 > > open file_system_operators
00:00:11 verbose #25 > > open rust.rust_operators
00:00:11 verbose #26 > > open rust
00:00:11 verbose #27 > > open sm'_operators
00:00:12 verbose #28 > 00:00:11   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0a05e723d7750e776c0cda7db05556498a21aca97e686f2fef7bb8434bd6cea5/main.spi
00:00:17 verbose #29 > >
00:00:17 verbose #30 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #31 > > //// test
00:00:17 verbose #32 > >
00:00:17 verbose #33 > > open testing
00:00:17 verbose #34 > 00:00:16   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/58b7d1a35ee32515cfc868cc16e695b799ca185b5aaf17dd5e23d4e8a9ba6d18/main.spi
00:00:18 verbose #35 > >
00:00:18 verbose #36 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #37 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #38 > > │ ## get_args                                                                  │
00:00:18 verbose #39 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #40 > >
00:00:18 verbose #41 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #42 > > inl get_args () =
00:00:18 verbose #43 > >     {
00:00:18 verbose #44 > >         fsharp = "fsharp", {
00:00:18 verbose #45 > >             spi_path = "spi-path", 's'
00:00:18 verbose #46 > >         }
00:00:18 verbose #47 > >         cuda = "cuda", {
00:00:18 verbose #48 > >             py_path = "py-path", 'p'
00:00:18 verbose #49 > >             env = "env", 'e'
00:00:18 verbose #50 > >             deps = "deps", 'd'
00:00:18 verbose #51 > >         }
00:00:18 verbose #52 > >         fable = "fable", {
00:00:18 verbose #53 > >             fs_path = "fs-path", 'f'
00:00:18 verbose #54 > >             command = "command", 'c'
00:00:18 verbose #55 > >         }
00:00:18 verbose #56 > >         rust = "rust", {
00:00:18 verbose #57 > >             fs_path = "fs-path", 'f'
00:00:18 verbose #58 > >             deps = "deps", 'd'
00:00:18 verbose #59 > >             wasm = "wasm", 'w'
00:00:18 verbose #60 > >             contract = "contract", 'c'
00:00:18 verbose #61 > >         }
00:00:18 verbose #62 > >         typescript = "typescript", {
00:00:18 verbose #63 > >             fs_path = "fs-path", 'f'
00:00:18 verbose #64 > >             deps = "deps", 'd'
00:00:18 verbose #65 > >         }
00:00:18 verbose #66 > >         python = "python", {
00:00:18 verbose #67 > >             fs_path = "fs-path", 'f'
00:00:18 verbose #68 > >             deps = "deps", 'd'
00:00:18 verbose #69 > >         }
00:00:18 verbose #70 > >         dib = "dib", {
00:00:18 verbose #71 > >             path = "path", 'p'
00:00:18 verbose #72 > >             retries = "retries", 'r'
00:00:18 verbose #73 > >             working_directory = "working-directory", 'w'
00:00:18 verbose #74 > >         }
00:00:18 verbose #75 > >     }
00:00:18 verbose #76 > 00:00:17   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d659f29e7e4fa5530eaa36f6ac19c899213f6ee88733c2b519fcfe842c93f6c6/main.spi
00:00:18 verbose #77 > >
00:00:18 verbose #78 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #79 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #80 > > │ ## cuda_env                                                                  │
00:00:18 verbose #81 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #82 > >
00:00:18 verbose #83 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #84 > > union cuda_env =
00:00:18 verbose #85 > >     | Pip
00:00:18 verbose #86 > >     | Poetry
00:00:18 verbose #87 > 00:00:17   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa1e07aa0b56202c9eccaea336bb51210fb9e72a5052b36034efd487db95ccf8/main.spi
00:00:19 verbose #88 > >
00:00:19 verbose #89 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #90 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #91 > > │ ## get_command                                                               │
00:00:19 verbose #92 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #93 > >
00:00:19 verbose #94 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #95 > > let get_command () =
00:00:19 verbose #96 > >     ##"command"
00:00:19 verbose #97 > >     |> runtime.new_command
00:00:19 verbose #98 > >     |> runtime.command_subcommand_required true
00:00:19 verbose #99 > >     |> runtime.command_subcommand (
00:00:19 verbose #100 > >         ##(get_args () .fsharp |> fst)
00:00:19 verbose #101 > >         |> runtime.new_command
00:00:19 verbose #102 > >         |> runtime.command_init_arg ((get_args () .fsharp |> snd).spi_path) (
00:00:19 verbose #103 > >             runtime.arg_required true
00:00:19 verbose #104 > >         )
00:00:19 verbose #105 > >     )
00:00:19 verbose #106 > >     |> runtime.command_subcommand (
00:00:19 verbose #107 > >         ##(get_args () .cuda |> fst)
00:00:19 verbose #108 > >         |> runtime.new_command
00:00:19 verbose #109 > >         |> runtime.command_init_arg ((get_args () .cuda |> snd).py_path) (
00:00:19 verbose #110 > >             runtime.arg_required true
00:00:19 verbose #111 > >         )
00:00:19 verbose #112 > >         |> runtime.command_init_arg ((get_args () .cuda |> snd).env) (
00:00:19 verbose #113 > >             real runtime.arg_union `cuda_env ignore
00:00:19 verbose #114 > >         )
00:00:19 verbose #115 > >         |> runtime.command_init_arg ((get_args () .cuda |> snd).deps) (
00:00:19 verbose #116 > >             runtime.arg_value_names ;[[ ##"NAME"; ##"VERSION" ]]
00:00:19 verbose #117 > >             >> runtime.arg_num_args_range (
00:00:19 verbose #118 > >                 runtime.new_value_range
00:00:19 verbose #119 > >                     false
00:00:19 verbose #120 > >                     (am'.Start (1i32 |> convert : unativeint))
00:00:19 verbose #121 > >                     (am'.End id)
00:00:19 verbose #122 > >             )
00:00:19 verbose #123 > >             >> runtime.arg_action runtime.Append
00:00:19 verbose #124 > >         )
00:00:19 verbose #125 > >     )
00:00:19 verbose #126 > >     |> runtime.command_subcommand (
00:00:19 verbose #127 > >         ##(get_args () .fable |> fst)
00:00:19 verbose #128 > >         |> runtime.new_command
00:00:19 verbose #129 > >         |> runtime.command_init_arg ((get_args () .fable |> snd).fs_path) (
00:00:19 verbose #130 > >             runtime.arg_required true
00:00:19 verbose #131 > >         )
00:00:19 verbose #132 > >         |> runtime.command_init_arg ((get_args () .fable |> snd).command) (
00:00:19 verbose #133 > >             id
00:00:19 verbose #134 > >         )
00:00:19 verbose #135 > >     )
00:00:19 verbose #136 > >     |> runtime.command_subcommand (
00:00:19 verbose #137 > >         ##(get_args () .rust |> fst)
00:00:19 verbose #138 > >         |> runtime.new_command
00:00:19 verbose #139 > >         |> runtime.command_init_arg ((get_args () .rust |> snd).fs_path) (
00:00:19 verbose #140 > >             runtime.arg_required true
00:00:19 verbose #141 > >         )
00:00:19 verbose #142 > >         |> runtime.command_init_arg ((get_args () .rust |> snd).deps) (
00:00:19 verbose #143 > >             runtime.arg_value_names ;[[ ##"NAME"; ##"VERSION" ]]
00:00:19 verbose #144 > >             >> runtime.arg_num_args_range (
00:00:19 verbose #145 > >                 runtime.new_value_range
00:00:19 verbose #146 > >                     false
00:00:19 verbose #147 > >                     (am'.Start (1i32 |> convert : unativeint))
00:00:19 verbose #148 > >                     (am'.End id)
00:00:19 verbose #149 > >             )
00:00:19 verbose #150 > >             >> runtime.arg_action runtime.Append
00:00:19 verbose #151 > >         )
00:00:19 verbose #152 > >         |> runtime.command_init_arg ((get_args () .rust |> snd).wasm) (
00:00:19 verbose #153 > >             runtime.arg_num_args_range (
00:00:19 verbose #154 > >                 runtime.new_value_range
00:00:19 verbose #155 > >                     true
00:00:19 verbose #156 > >                     (am'.End id)
00:00:19 verbose #157 > >                     (am'.End fun _ => (1i32 |> convert : unativeint))
00:00:19 verbose #158 > >             )
00:00:19 verbose #159 > >             >> runtime.arg_require_equals true
00:00:19 verbose #160 > >             >> runtime.arg_default_missing_value ""
00:00:19 verbose #161 > >         )
00:00:19 verbose #162 > >         |> runtime.command_init_arg ((get_args () .rust |> snd).contract) (
00:00:19 verbose #163 > >             runtime.arg_num_args_range (
00:00:19 verbose #164 > >                 runtime.new_value_range
00:00:19 verbose #165 > >                     true
00:00:19 verbose #166 > >                     (am'.End id)
00:00:19 verbose #167 > >                     (am'.End fun _ => (1i32 |> convert : unativeint))
00:00:19 verbose #168 > >             )
00:00:19 verbose #169 > >             >> runtime.arg_require_equals true
00:00:19 verbose #170 > >             >> runtime.arg_default_missing_value ""
00:00:19 verbose #171 > >         )
00:00:19 verbose #172 > >     )
00:00:19 verbose #173 > >     |> runtime.command_subcommand (
00:00:19 verbose #174 > >         ##(get_args () .typescript |> fst)
00:00:19 verbose #175 > >         |> runtime.new_command
00:00:19 verbose #176 > >         |> runtime.command_init_arg ((get_args () .typescript |> snd).fs_path) (
00:00:19 verbose #177 > >             runtime.arg_required true
00:00:19 verbose #178 > >         )
00:00:19 verbose #179 > >         |> runtime.command_init_arg ((get_args () .typescript |> snd).deps) (
00:00:19 verbose #180 > >             runtime.arg_value_names ;[[ ##"NAME"; ##"VERSION" ]]
00:00:19 verbose #181 > >             >> runtime.arg_num_args_range (
00:00:19 verbose #182 > >                 runtime.new_value_range
00:00:19 verbose #183 > >                     false
00:00:19 verbose #184 > >                     (am'.Start (1i32 |> convert : unativeint))
00:00:19 verbose #185 > >                     (am'.End id)
00:00:19 verbose #186 > >             )
00:00:19 verbose #187 > >             >> runtime.arg_action runtime.Append
00:00:19 verbose #188 > >         )
00:00:19 verbose #189 > >     )
00:00:19 verbose #190 > >     |> runtime.command_subcommand (
00:00:19 verbose #191 > >         ##(get_args () .python |> fst)
00:00:19 verbose #192 > >         |> runtime.new_command
00:00:19 verbose #193 > >         |> runtime.command_init_arg ((get_args () .python |> snd).fs_path) (
00:00:19 verbose #194 > >             runtime.arg_required true
00:00:19 verbose #195 > >         )
00:00:19 verbose #196 > >         |> runtime.command_init_arg ((get_args () .python |> snd).deps) (
00:00:19 verbose #197 > >             runtime.arg_value_names ;[[ ##"NAME"; ##"VERSION" ]]
00:00:19 verbose #198 > >             >> runtime.arg_num_args_range (
00:00:19 verbose #199 > >                 runtime.new_value_range
00:00:19 verbose #200 > >                     false
00:00:19 verbose #201 > >                     (am'.Start (1i32 |> convert : unativeint))
00:00:19 verbose #202 > >                     (am'.End id)
00:00:19 verbose #203 > >             )
00:00:19 verbose #204 > >             >> runtime.arg_action runtime.Append
00:00:19 verbose #205 > >         )
00:00:19 verbose #206 > >     )
00:00:19 verbose #207 > >     |> runtime.command_subcommand (
00:00:19 verbose #208 > >         ##(get_args () .dib |> fst)
00:00:19 verbose #209 > >         |> runtime.new_command
00:00:19 verbose #210 > >         |> runtime.command_init_arg ((get_args () .dib |> snd).path) (
00:00:19 verbose #211 > >             runtime.arg_required true
00:00:19 verbose #212 > >             // >> runtime.arg_value_parser (runtime.value_parser_path_buf ())
00:00:19 verbose #213 > >         )
00:00:19 verbose #214 > >         |> runtime.command_init_arg ((get_args () .dib |> snd).retries) (
00:00:19 verbose #215 > >             runtime.arg_value_parser (runtime.value_parser_expr "u8")
00:00:19 verbose #216 > >         )
00:00:19 verbose #217 > >         |> runtime.command_init_arg ((get_args () .dib |>
00:00:19 verbose #218 > > snd).working_directory) (
00:00:19 verbose #219 > >             id
00:00:19 verbose #220 > >         )
00:00:19 verbose #221 > >     )
00:00:19 verbose #222 > 00:00:18   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7e74dbe7a7246e00ac3f4f3c4d0d22c632d54ef46f477e10b5a4cfa4e1e2e19b/main.spi
00:00:19 verbose #223 > >
00:00:19 verbose #224 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #225 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #226 > > │ ## fable                                                                     │
00:00:19 verbose #227 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #228 > >
00:00:19 verbose #229 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #230 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #231 > > │ ### fable_target                                                             │
00:00:19 verbose #232 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #233 > >
00:00:19 verbose #234 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #235 > > union fable_target =
00:00:19 verbose #236 > >     | Rust
00:00:19 verbose #237 > >     | TypeScript
00:00:19 verbose #238 > >     | Python
00:00:20 verbose #239 > 00:00:19   debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/105c47a6993e5354775ef82dc382b13a3c3024aeb61c0f99330653ca260e9172/main.spi
00:00:20 verbose #240 > >
00:00:20 verbose #241 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 verbose #242 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 verbose #243 > > │ ### fable_runtime                                                            │
00:00:20 verbose #244 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #245 > >
00:00:20 verbose #246 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #247 > > union fable_runtime =
00:00:20 verbose #248 > >     | Wasm : string
00:00:20 verbose #249 > >     | Contract : string
00:00:20 verbose #250 > 00:00:19   debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d6274aa7d10c56930c83c42f37aee8ac791eb04c78e5365a3980b5d0f3e1d2af/main.spi
00:00:21 verbose #251 > >
00:00:21 verbose #252 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:21 verbose #253 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:21 verbose #254 > > │ ### execute_dotnet_fable                                                     │
00:00:21 verbose #255 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 verbose #256 > >
00:00:21 verbose #257 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 verbose #258 > > let execute_dotnet_fable { workspace_root_external fsproj_path extension
00:00:21 verbose #259 > > package_dir runtime } =
00:00:21 verbose #260 > >     open runtime
00:00:21 verbose #261 > >     execution_options fun x => { x with
00:00:21 verbose #262 > >         command =
00:00:21 verbose #263 > >             inl platform =
00:00:21 verbose #264 > >                 if platform.is_windows ()
00:00:21 verbose #265 > >                 then "_WINDOWS"
00:00:21 verbose #266 > >                 else "_LINUX"
00:00:21 verbose #267 > >             inl platform : string = $'$" --define {!platform}"'
00:00:21 verbose #268 > >             inl runtime =
00:00:21 verbose #269 > >                 match runtime with
00:00:21 verbose #270 > >                 | Some (runtime : fable_runtime) =>
00:00:21 verbose #271 > >                     inl runtime = runtime |> reflection.union_to_string |>
00:00:21 verbose #272 > > sm'.to_upper
00:00:21 verbose #273 > >                     $'$" --define {!runtime}"'
00:00:21 verbose #274 > >                 | None => ""
00:00:21 verbose #275 > >             $'$"dotnet fable \\\"{!fsproj_path}\\\" --optimize --lang
00:00:21 verbose #276 > > {!extension} --extension .{!extension} --outDir
00:00:21 verbose #277 > > \\\"{!package_dir}\\\"{!platform}{!runtime}"'
00:00:21 verbose #278 > >         working_directory = workspace_root_external |> resultm.box |>
00:00:21 verbose #279 > > resultm.ok'
00:00:21 verbose #280 > >     }
00:00:21 verbose #281 > >     |> execute_retry 3u8
00:00:21 verbose #282 > 00:00:20   debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9dfc9ff442ff0ab7a9cc315baf08ae24651c77ad2e5ee4033babe21430f1e730/main.spi
00:00:22 verbose #283 > >
00:00:22 verbose #284 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 verbose #285 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 verbose #286 > > │ ### get_package_dir                                                          │
00:00:22 verbose #287 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #288 > >
00:00:22 verbose #289 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #290 > > inl get_package_dir { workspace_root target name hash } =
00:00:22 verbose #291 > >     inl dir = workspace_root </> "target/spiral_builder" </> name
00:00:22 verbose #292 > >     match hash, (target : option fable_target) with
00:00:22 verbose #293 > >     | Some hash, Some target => dir </> "packages" </> (target |>
00:00:22 verbose #294 > > reflection.union_to_string) </> hash
00:00:22 verbose #295 > >     | _ => dir
00:00:22 verbose #296 > 00:00:21   debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f7e1bfcc2d76c49273bdebe7c241a4726f2e404a391d1e769b807d0a1ba316e5/main.spi
00:00:22 verbose #297 > >
00:00:22 verbose #298 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 verbose #299 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 verbose #300 > > │ ### persist_code_project                                                     │
00:00:22 verbose #301 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #302 > >
00:00:22 verbose #303 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #304 > > inl persist_code_project { workspace_root package_dir packages modules name code
00:00:22 verbose #305 > > } =
00:00:22 verbose #306 > >     package_dir |> file_system.create_dir |> ignore
00:00:22 verbose #307 > >
00:00:22 verbose #308 > >     inl fs_path = package_dir </> $'$"{!name}.fs"' |> file_system.normalize_path
00:00:22 verbose #309 > >     code |> file_system.write_all_text_exists fs_path
00:00:22 verbose #310 > >
00:00:22 verbose #311 > >     inl modules_code =
00:00:22 verbose #312 > >         modules
00:00:22 verbose #313 > >         |> listm.map fun path =>
00:00:22 verbose #314 > >             inl path = workspace_root </> path
00:00:22 verbose #315 > >             $'$"<Compile Include=\\\"{!path}\\\" />"' : string
00:00:22 verbose #316 > >         |> listm'.box
00:00:22 verbose #317 > >         |> seq.of_list'
00:00:22 verbose #318 > >         |> sm'.concat "\\n        "
00:00:22 verbose #319 > >
00:00:22 verbose #320 > >     inl packages_code =
00:00:22 verbose #321 > >         packages
00:00:22 verbose #322 > >         |> listm.map fun (package : string) =>
00:00:22 verbose #323 > >             $'$"<PackageReference Include=\\\"{!package}\\\" Version=\\\"*\\\"
00:00:22 verbose #324 > > />"' : string
00:00:22 verbose #325 > >         |> listm'.box
00:00:22 verbose #326 > >         |> seq.of_list'
00:00:22 verbose #327 > >         |> sm'.concat "\\n        "
00:00:22 verbose #328 > >
00:00:22 verbose #329 > >     inl fsproj_path = package_dir </> $'$"{!name}.fsproj"' |>
00:00:22 verbose #330 > > file_system.normalize_path
00:00:22 verbose #331 > >     inl fsproj_code : string =
00:00:22 verbose #332 > >         $'$"<Project Sdk=\\\"Microsoft.NET.Sdk\\\">"'
00:00:22 verbose #333 > >         +#. $'$"<PropertyGroup>"'
00:00:22 verbose #334 > >         +#. $'$"    <TargetFramework>net9.0</TargetFramework>"'
00:00:22 verbose #335 > >         +#. $'$"    <LangVersion>preview</LangVersion>"'
00:00:22 verbose #336 > >         +#. $'$"    <RollForward>Major</RollForward>"'
00:00:22 verbose #337 > >         +#. $'$"    <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>"'
00:00:22 verbose #338 > >         +#. $'$"    <PublishAot>false</PublishAot>"'
00:00:22 verbose #339 > >         +#. $'$"    <PublishTrimmed>false</PublishTrimmed>"'
00:00:22 verbose #340 > >         +#. $'$"    <PublishSingleFile>true</PublishSingleFile>"'
00:00:22 verbose #341 > >         +#. $'$"    <SelfContained>true</SelfContained>"'
00:00:22 verbose #342 > >         +#. $'$"    <Version>0.0.1-alpha.1</Version>"'
00:00:22 verbose #343 > >         +#. $'$"    <OutputType>Exe</OutputType>"'
00:00:22 verbose #344 > >         +#. $'$"</PropertyGroup>"'
00:00:22 verbose #345 > >
00:00:22 verbose #346 > >         +#. $'$"<PropertyGroup
00:00:22 verbose #347 > > Condition=\\\"$([[MSBuild]]::IsOSPlatform(\'FreeBSD\'))\\\">"'
00:00:22 verbose #348 > >         +#. $'$"    <DefineConstants>_FREEBSD</DefineConstants>"'
00:00:22 verbose #349 > >         +#. $'$"</PropertyGroup>"'
00:00:22 verbose #350 > >
00:00:22 verbose #351 > >         +#. $'$"<PropertyGroup
00:00:22 verbose #352 > > Condition=\\\"$([[MSBuild]]::IsOSPlatform(\'Linux\'))\\\">"'
00:00:22 verbose #353 > >         +#. $'$"    <DefineConstants>_LINUX</DefineConstants>"'
00:00:22 verbose #354 > >         +#. $'$"</PropertyGroup>"'
00:00:22 verbose #355 > >
00:00:22 verbose #356 > >         +#. $'$"<PropertyGroup
00:00:22 verbose #357 > > Condition=\\\"$([[MSBuild]]::IsOSPlatform(\'OSX\'))\\\">"'
00:00:22 verbose #358 > >         +#. $'$"    <DefineConstants>_OSX</DefineConstants>"'
00:00:22 verbose #359 > >         +#. $'$"</PropertyGroup>"'
00:00:22 verbose #360 > >
00:00:22 verbose #361 > >         +#. $'$"<PropertyGroup
00:00:22 verbose #362 > > Condition=\\\"$([[MSBuild]]::IsOSPlatform(\'Windows\'))\\\">"'
00:00:22 verbose #363 > >         +#. $'$"    <DefineConstants>_WINDOWS</DefineConstants>"'
00:00:22 verbose #364 > >         +#. $'$"</PropertyGroup>"'
00:00:22 verbose #365 > >
00:00:22 verbose #366 > >         +#. $'$"<ItemGroup>"'
00:00:22 verbose #367 > >         +#. $'$"    {!modules_code}"'
00:00:22 verbose #368 > >         +#. $'$"    <Compile Include=\\\"{!fs_path}\\\" />"'
00:00:22 verbose #369 > >         +#. $'$"</ItemGroup>"'
00:00:22 verbose #370 > >
00:00:22 verbose #371 > >         +#. $'$"<ItemGroup>"'
00:00:22 verbose #372 > >         +#. $'$"    {!packages_code}"'
00:00:22 verbose #373 > >         +#. $'$"</ItemGroup>"'
00:00:22 verbose #374 > >
00:00:22 verbose #375 > >         +#. $'$"</Project>"'
00:00:22 verbose #376 > >
00:00:22 verbose #377 > >     fsproj_code |> file_system.write_all_text_exists fsproj_path
00:00:22 verbose #378 > >
00:00:22 verbose #379 > >     fsproj_path
00:00:23 verbose #380 > 00:00:22   debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c38e41f024aff3c35f3eaaf2e09d568df6aaff49404a87a90721cc5d9350bf31/main.spi
00:00:23 verbose #381 > >
00:00:23 verbose #382 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 verbose #383 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 verbose #384 > > │ ### build_project                                                            │
00:00:23 verbose #385 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #386 > >
00:00:23 verbose #387 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #388 > > inl build_project runtime' output_dir path =
00:00:23 verbose #389 > >     inl full_path = path |> file_system.get_full_path
00:00:23 verbose #390 > >     inl file_dir = full_path |> file_system.get_directory_name
00:00:23 verbose #391 > >     inl extension = full_path |> file_system.get_extension
00:00:23 verbose #392 > >
00:00:23 verbose #393 > >     trace Debug
00:00:23 verbose #394 > >         fun () => "build_project"
00:00:23 verbose #395 > >         fun () => { full_path }
00:00:23 verbose #396 > >
00:00:23 verbose #397 > >     match extension with
00:00:23 verbose #398 > >     | "fsproj" => ()
00:00:23 verbose #399 > >     | _ => failwith $'$"spiral_builder.build_project / Invalid project file
00:00:23 verbose #400 > > extension: {!extension}"'
00:00:23 verbose #401 > >
00:00:23 verbose #402 > >     inl runtimes =
00:00:23 verbose #403 > >         runtime'
00:00:23 verbose #404 > >         |> optionm.map listm.singleton
00:00:23 verbose #405 > >         |> optionm'.default_value [[ "linux-x64"; "win-x64" ]]
00:00:23 verbose #406 > >
00:00:23 verbose #407 > >     inl output_dir = output_dir |> optionm'.default_value "dist"
00:00:23 verbose #408 > >
00:00:23 verbose #409 > >     runtimes
00:00:23 verbose #410 > >     |> listm.map fun runtime' =>
00:00:23 verbose #411 > >         runtime.execution_options fun x => { x with
00:00:23 verbose #412 > >             command = $'$@@"dotnet publish \"\"{!path}\"\" --configuration
00:00:23 verbose #413 > > Release --output \"\"{!output_dir}\"\" --runtime {!runtime'}"'
00:00:23 verbose #414 > >             working_directory = file_dir |> Some |> optionm'.box
00:00:23 verbose #415 > >         }
00:00:23 verbose #416 > >         |> runtime.execute_with_options
00:00:23 verbose #417 > >         |> fst
00:00:23 verbose #418 > >     |> listm'.sum
00:00:23 verbose #419 > 00:00:22   debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c9a1423644a9e0bec955075199e6aac56a76b8e24a947deec69dc43a5dc1a0f3/main.spi
00:00:24 verbose #420 > >
00:00:24 verbose #421 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #422 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #423 > > │ ### build_code                                                               │
00:00:24 verbose #424 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #425 > >
00:00:24 verbose #426 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #427 > > inl build_code { workspace_root runtime packages modules output_dir name code }
00:00:24 verbose #428 > > =
00:00:24 verbose #429 > >     inl package_dir = get_package_dir { workspace_root name target = None; hash
00:00:24 verbose #430 > > = None }
00:00:24 verbose #431 > >     inl fsproj_path = persist_code_project { workspace_root package_dir packages
00:00:24 verbose #432 > > modules name code }
00:00:24 verbose #433 > >     inl exit_code = fsproj_path |> build_project runtime output_dir
00:00:24 verbose #434 > >     if exit_code <>. 0 then
00:00:24 verbose #435 > >         inl fsproj_text = fsproj_path |> file_system.read_all_text
00:00:24 verbose #436 > >         trace Critical
00:00:24 verbose #437 > >             fun () => "build_code"
00:00:24 verbose #438 > >             fun () => { code = code |> sm'.ellipsis_end 400; fsproj_text }
00:00:24 verbose #439 > >     exit_code
00:00:24 verbose #440 > 00:00:23   debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3a8837de77844bab962d3d0f4f0faa50ebf56a882ebf9600d655c29ceb19d472/main.spi
00:00:24 verbose #441 > >
00:00:24 verbose #442 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #443 > > //// test
00:00:24 verbose #444 > > ///! rust -d encoding_rs encoding_rs_io regex
00:00:24 verbose #445 > >
00:00:24 verbose #446 > > build_code
00:00:24 verbose #447 > >     {
00:00:24 verbose #448 > >         workspace_root = file_system.get_workspace_root ()
00:00:24 verbose #449 > >         runtime = None
00:00:24 verbose #450 > >         packages = [[]]
00:00:24 verbose #451 > >         modules = [[]]
00:00:24 verbose #452 > >         output_dir = None
00:00:24 verbose #453 > >         name = "test1"
00:00:24 verbose #454 > >         code = "1 + 1 |> ignore"
00:00:24 verbose #455 > >     }
00:00:24 verbose #456 > > |> _assert_eq 0
00:00:25 verbose #457 > 00:00:24   debug #16 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76a63cd8458dab35167084b87e62704714328f79b4d4eb0be281d44984904667/main.spi
00:00:54 verbose #458 > >
00:00:54 verbose #459 > > ╭─[ 29.60s - return value ]────────────────────────────────────────────────────╮
00:00:54 verbose #460 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:00:54 verbose #461 > > │ c:\home\git\polyglot\target/spiral_builder\test1 }                           │
00:00:54 verbose #462 > > │ 00:00:00   debug #2 build_project / { full_path =                      │
00:00:54 verbose #463 > > │ \\?\C:\home\git\polyglot\target\spiral_builder\test1\test1.fsproj }          │
00:00:54 verbose #464 > > │ 00:00:00   debug #3 runtime.execute_with_options / { file_name =       │
00:00:54 verbose #465 > > │ dotnet; arguments = [                                                        │
00:00:54 verbose #466 > > │     "publish",                                                               │
00:00:54 verbose #467 > > │     "c:/home/git/polyglot/target/spiral_builder/test1/test1.fsproj",         │
00:00:54 verbose #468 > > │     "--configuration",                                                       │
00:00:54 verbose #469 > > │     "Release",                                                               │
00:00:54 verbose #470 > > │     "--output",                                                              │
00:00:54 verbose #471 > > │     "dist",                                                                  │
00:00:54 verbose #472 > > │     "--runtime",                                                             │
00:00:54 verbose #473 > > │     "win-x64",                                                               │
00:00:54 verbose #474 > > │ ]; options = { command = dotnet publish                                      │
00:00:54 verbose #475 > > │ "c:/home/git/polyglot/target/spiral_builder/test1/test1.fsproj"              │
00:00:54 verbose #476 > > │ --configuration Release --output "dist" --runtime win-x64;                   │
00:00:54 verbose #477 > > │ cancellation_token = None; environment_variables = Array(MutCell([]));       │
00:00:54 verbose #478 > > │ on_line = None; stdin = None; trace = true; working_directory = Some(        │
00:00:54 verbose #479 > > │     "\\?\C:\home\git\polyglot\target\spiral_builder\test1",                  │
00:00:54 verbose #480 > > │ ) } }                                                                        │
00:00:54 verbose #481 > > │ 00:00:00 verbose #4 > MSBuild version                                  │
00:00:54 verbose #482 > > │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
00:00:54 verbose #483 > > │ 00:00:01 verbose #5 >   Determining projects to restore...             │
00:00:54 verbose #484 > > │ 00:00:02 verbose #6 >   Restored                                       │
00:00:54 verbose #485 > > │ c:\home\git\polyglot\target\spiral_builder\test1\test1.fsproj (in 481 ms).   │
00:00:54 verbose #486 > > │ 00:00:02 verbose #7 >                                                  │
00:00:54 verbose #487 > > │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
00:00:54 verbose #488 > > │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
00:00:54 verbose #489 > > │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
00:00:54 verbose #490 > > │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
00:00:54 verbose #491 > > │ c:\home\git\polyglot\t...iguration",                                         │
00:00:54 verbose #492 > > │     "Release",                                                               │
00:00:54 verbose #493 > > │     "--output",                                                              │
00:00:54 verbose #494 > > │     "dist",                                                                  │
00:00:54 verbose #495 > > │     "--runtime",                                                             │
00:00:54 verbose #496 > > │     "linux-x64",                                                             │
00:00:54 verbose #497 > > │ ]; options = { command = dotnet publish                                      │
00:00:54 verbose #498 > > │ "c:/home/git/polyglot/target/spiral_builder/test1/test1.fsproj"              │
00:00:54 verbose #499 > > │ --configuration Release --output "dist" --runtime linux-x64;                 │
00:00:54 verbose #500 > > │ cancellation_token = None; environment_variables = Array(MutCell([]));       │
00:00:54 verbose #501 > > │ on_line = None; stdin = None; trace = true; working_directory = Some(        │
00:00:54 verbose #502 > > │     "\\?\C:\home\git\polyglot\target\spiral_builder\test1",                  │
00:00:54 verbose #503 > > │ ) } }                                                                        │
00:00:54 verbose #504 > > │ 00:00:07 verbose #12 > MSBuild version                                 │
00:00:54 verbose #505 > > │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
00:00:54 verbose #506 > > │ 00:00:08 verbose #13 >   Determining projects to restore...            │
00:00:54 verbose #507 > > │ 00:00:09 verbose #14 >   Restored                                      │
00:00:54 verbose #508 > > │ c:\home\git\polyglot\target\spiral_builder\test1\test1.fsproj (in 451 ms).   │
00:00:54 verbose #509 > > │ 00:00:09 verbose #15 >                                                 │
00:00:54 verbose #510 > > │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
00:00:54 verbose #511 > > │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
00:00:54 verbose #512 > > │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
00:00:54 verbose #513 > > │ .NET. See: https://aka.ms/dotnet-support-policy [                            │
00:00:54 verbose #514 > > │ c:\home\git\polyglot\target\spiral_builder\test1\test1.fsproj]               │
00:00:54 verbose #515 > > │ 00:00:10 verbose #16 >   test1 ->                                      │
00:00:54 verbose #516 > > │ c:\home\git\polyglot\target\spiral_builder\test1\bin\Release\net9.0\linux-x6 │
00:00:54 verbose #517 > > │ 4\test1.dll                                                                  │
00:00:54 verbose #518 > > │ 00:00:12 verbose #17 >   test1 ->                                      │
00:00:54 verbose #519 > > │ \\?\C:\home\git\polyglot\target\spiral_builder\test1\dist\                   │
00:00:54 verbose #520 > > │ 00:00:12 verbose #18 runtime.execute_with_options / result / {         │
00:00:54 verbose #521 > > │ exit_code = 0; std_trace_length = 689 }                                      │
00:00:54 verbose #522 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:00:54 verbose #523 > > │                                                                              │
00:00:54 verbose #524 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #525 > >
00:00:54 verbose #526 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:54 verbose #527 > > //// test
00:00:54 verbose #528 > > ///! rust -d encoding_rs encoding_rs_io regex
00:00:54 verbose #529 > >
00:00:54 verbose #530 > > build_code
00:00:54 verbose #531 > >     {
00:00:54 verbose #532 > >         workspace_root = file_system.get_workspace_root ()
00:00:54 verbose #533 > >         runtime = None
00:00:54 verbose #534 > >         packages = [[]]
00:00:54 verbose #535 > >         modules = [[]]
00:00:54 verbose #536 > >         output_dir = None
00:00:54 verbose #537 > >         name = "test2"
00:00:54 verbose #538 > >         code = "1 + a |> ignore"
00:00:54 verbose #539 > >     }
00:00:54 verbose #540 > > |> _assert_eq 2
00:00:54 verbose #541 > 00:00:53   debug #17 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/62858511344615c324670e75698bf8edae95a5b6fd51478f5876c9ff48af0c5c/main.spi
00:01:15 verbose #542 > >
00:01:15 verbose #543 > > ╭─[ 21.55s - return value ]────────────────────────────────────────────────────╮
00:01:15 verbose #544 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:01:15 verbose #545 > > │ c:\home\git\polyglot\target/spiral_builder\test2 }                           │
00:01:15 verbose #546 > > │ 00:00:00   debug #2 build_project / { full_path =                      │
00:01:15 verbose #547 > > │ \\?\C:\home\git\polyglot\target\spiral_builder\test2\test2.fsproj }          │
00:01:15 verbose #548 > > │ 00:00:00   debug #3 runtime.execute_with_options / { file_name =       │
00:01:15 verbose #549 > > │ dotnet; arguments = [                                                        │
00:01:15 verbose #550 > > │     "publish",                                                               │
00:01:15 verbose #551 > > │     "c:/home/git/polyglot/target/spiral_builder/test2/test2.fsproj",         │
00:01:15 verbose #552 > > │     "--configuration",                                                       │
00:01:15 verbose #553 > > │     "Release",                                                               │
00:01:15 verbose #554 > > │     "--output",                                                              │
00:01:15 verbose #555 > > │     "dist",                                                                  │
00:01:15 verbose #556 > > │     "--runtime",                                                             │
00:01:15 verbose #557 > > │     "win-x64",                                                               │
00:01:15 verbose #558 > > │ ]; options = { command = dotnet publish                                      │
00:01:15 verbose #559 > > │ "c:/home/git/polyglot/target/spiral_builder/test2/test2.fsproj"              │
00:01:15 verbose #560 > > │ --configuration Release --output "dist" --runtime win-x64;                   │
00:01:15 verbose #561 > > │ cancellation_token = None; environment_variables = Array(MutCell([]));       │
00:01:15 verbose #562 > > │ on_line = None; stdin = None; trace = true; working_directory = Some(        │
00:01:15 verbose #563 > > │     "\\?\C:\home\git\polyglot\target\spiral_builder\test2",                  │
00:01:15 verbose #564 > > │ ) } }                                                                        │
00:01:15 verbose #565 > > │ 00:00:00 verbose #4 > MSBuild version                                  │
00:01:15 verbose #566 > > │ 17.10.0-preview-24101-01+07fd5d51f for .NET                                  │
00:01:15 verbose #567 > > │ 00:00:01 verbose #5 >   Determining projects to restore...             │
00:01:15 verbose #568 > > │ 00:00:02 verbose #6 >   Restored                                       │
00:01:15 verbose #569 > > │ c:\home\git\polyglot\target\spiral_builder\test2\test2.fsproj (in 512 ms).   │
00:01:15 verbose #570 > > │ 00:00:02 verbose #7 >                                                  │
00:01:15 verbose #571 > > │ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
00:01:15 verbose #572 > > │ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
00:01:15 verbose #573 > > │ ce.targets(313,5): message NETSDK1057: You are using a preview version of    │
00:01:15 verbose #574 > > │ .NET. See: https://aka.ms/dotnet-support-policy [c:\home\git\polyglot\t...he │
00:01:15 verbose #575 > > │ value or constructor 'a' is not defined. [                                   │
00:01:15 verbose #576 > > │ c:\home\git\polyglot\target\spiral_builder\test2\test2.fsproj]               │
00:01:15 verbose #577 > > │ 00:00:09 verbose #16 runtime.execute_with_options / result / {         │
00:01:15 verbose #578 > > │ exit_code = 1; std_trace_length = 707 }                                      │
00:01:15 verbose #579 > > │ 00:00:09 critical #17 build_code / { code = 1 + a |> ignore;           │
00:01:15 verbose #580 > > │ fsproj_text = <Project Sdk="Microsoft.NET.Sdk">                              │
00:01:15 verbose #581 > > │ <PropertyGroup>                                                              │
00:01:15 verbose #582 > > │     <TargetFramework>net9.0</TargetFramework>                                │
00:01:15 verbose #583 > > │     <LangVersion>preview</LangVersion>                                       │
00:01:15 verbose #584 > > │     <RollForward>Major</RollForward>                                         │
00:01:15 verbose #585 > > │     <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>                │
00:01:15 verbose #586 > > │     <PublishAot>false</PublishAot>                                           │
00:01:15 verbose #587 > > │     <PublishTrimmed>false</PublishTrimmed>                                   │
00:01:15 verbose #588 > > │     <PublishSingleFile>true</PublishSingleFile>                              │
00:01:15 verbose #589 > > │     <SelfContained>true</SelfContained>                                      │
00:01:15 verbose #590 > > │     <Version>0.0.1-alpha.1</Version>                                         │
00:01:15 verbose #591 > > │     <OutputType>Exe</OutputType>                                             │
00:01:15 verbose #592 > > │ </PropertyGroup>                                                             │
00:01:15 verbose #593 > > │ <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('FreeBSD'))">            │
00:01:15 verbose #594 > > │     <DefineConstants>_FREEBSD</DefineConstants>                              │
00:01:15 verbose #595 > > │ </PropertyGroup>                                                             │
00:01:15 verbose #596 > > │ <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">              │
00:01:15 verbose #597 > > │     <DefineConstants>_LINUX</DefineConstants>                                │
00:01:15 verbose #598 > > │ </PropertyGroup>                                                             │
00:01:15 verbose #599 > > │ <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">                │
00:01:15 verbose #600 > > │     <DefineConstants>_OSX</DefineConstants>                                  │
00:01:15 verbose #601 > > │ </PropertyGroup>                                                             │
00:01:15 verbose #602 > > │ <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">            │
00:01:15 verbose #603 > > │     <DefineConstants>_WINDOWS</DefineConstants>                              │
00:01:15 verbose #604 > > │ </PropertyGroup>                                                             │
00:01:15 verbose #605 > > │ <ItemGroup>                                                                  │
00:01:15 verbose #606 > > │                                                                              │
00:01:15 verbose #607 > > │     <Compile                                                                 │
00:01:15 verbose #608 > > │ Include="c:/home/git/polyglot/target/spiral_builder/test2/test2.fs" />       │
00:01:15 verbose #609 > > │ </ItemGroup>                                                                 │
00:01:15 verbose #610 > > │ <ItemGroup>                                                                  │
00:01:15 verbose #611 > > │                                                                              │
00:01:15 verbose #612 > > │ </ItemGroup>                                                                 │
00:01:15 verbose #613 > > │ </Project> }                                                                 │
00:01:15 verbose #614 > > │ __assert_eq / actual: 2 / expected: 2                                        │
00:01:15 verbose #615 > > │                                                                              │
00:01:15 verbose #616 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:15 verbose #617 > >
00:01:15 verbose #618 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:15 verbose #619 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:15 verbose #620 > > │ ### read_file                                                                │
00:01:15 verbose #621 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:15 verbose #622 > >
00:01:15 verbose #623 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:15 verbose #624 > > inl read_file path =
00:01:15 verbose #625 > >     inl code =
00:01:15 verbose #626 > >         path
00:01:15 verbose #627 > >         |> file_system.read_all_text
00:01:15 verbose #628 > >         |> sm'.replace_regex $'@@"(?P<a> *)(?P<b>let\\s+main\\s+.*?\\s*=)"'
00:01:15 verbose #629 > > "$a[[<EntryPoint>]]\n$a$b"
00:01:15 verbose #630 > >
00:01:15 verbose #631 > >     inl code_trim = code |> sm'.trim_end [[]]
00:01:15 verbose #632 > >     if code_trim |> sm'.ends_with "\\n()"
00:01:15 verbose #633 > >     then code_trim |> sm'.slice 0i64 ((code_trim |> sm'.length) - 3)
00:01:15 verbose #634 > >     else code
00:01:16 verbose #635 > 00:01:15   debug #18 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ef8e1305e4bb94686b9af1299a6acbdf75acbe95a4a39f0d43021582df7a3882/main.spi
00:01:16 verbose #636 > >
00:01:16 verbose #637 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:16 verbose #638 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:16 verbose #639 > > │ ### persist_file                                                             │
00:01:16 verbose #640 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:16 verbose #641 > >
00:01:16 verbose #642 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:16 verbose #643 > > inl persist_file { workspace_root package_dir packages modules path } =
00:01:16 verbose #644 > >     inl full_path = path |> file_system.get_full_path
00:01:16 verbose #645 > >     inl name = full_path |> file_system.get_file_name_without_extension
00:01:16 verbose #646 > >     inl code = full_path |> read_file
00:01:16 verbose #647 > >     persist_code_project { workspace_root package_dir packages modules name code
00:01:16 verbose #648 > > }
00:01:16 verbose #649 > 00:01:15   debug #19 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/01818a7e8f4793b30669d3256973aa919d65aa5dd58341cfaadf3c91b104c2fb/main.spi
00:01:17 verbose #650 > >
00:01:17 verbose #651 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:17 verbose #652 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:17 verbose #653 > > │ ### build_file                                                               │
00:01:17 verbose #654 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:17 verbose #655 > >
00:01:17 verbose #656 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:17 verbose #657 > > inl build_file { workspace_root runtime packages modules path } =
00:01:17 verbose #658 > >     inl full_path = path |> file_system.get_full_path
00:01:17 verbose #659 > >     inl dir = full_path |> file_system.get_directory_name
00:01:17 verbose #660 > >     build_code
00:01:17 verbose #661 > >         {
00:01:17 verbose #662 > >             workspace_root
00:01:17 verbose #663 > >             runtime
00:01:17 verbose #664 > >             packages
00:01:17 verbose #665 > >             modules
00:01:17 verbose #666 > >             output_dir = dir </> "dist" |> Some
00:01:17 verbose #667 > >             name = full_path |> file_system.get_file_name_without_extension
00:01:17 verbose #668 > >             code = full_path |> read_file
00:01:17 verbose #669 > >         }
00:01:17 verbose #670 > 00:01:16   debug #20 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c042b53579f8b94ddd29507d16303dd35a670c69c3540c1c43aed24ff5cca51b/main.spi
00:01:17 verbose #671 > >
00:01:17 verbose #672 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:17 verbose #673 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:17 verbose #674 > > │ ## rust                                                                      │
00:01:17 verbose #675 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:17 verbose #676 > >
00:01:17 verbose #677 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:17 verbose #678 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:17 verbose #679 > > │ ### get_workspace_cargo_toml_content                                         │
00:01:17 verbose #680 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:17 verbose #681 > >
00:01:17 verbose #682 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:17 verbose #683 > > inl get_workspace_cargo_toml_content { workspace_root } : string =
00:01:17 verbose #684 > >     inl workspace_root = workspace_root |> file_system.normalize_path
00:01:17 verbose #685 > >     $'$"cargo-features = [[\\\"profile-rustflags\\\"]]"'
00:01:17 verbose #686 > >     +#. $'$""'
00:01:17 verbose #687 > >     +#. $'$"[[workspace]]"'
00:01:17 verbose #688 > >     +#. $'$"resolver = \\\"2\\\""'
00:01:17 verbose #689 > >     +#. $'$"members = [[\\\"packages/Rust/*\\\"]]"'
00:01:17 verbose #690 > >     +#. $'$""'
00:01:17 verbose #691 > >     +#. $'$"[[workspace.dependencies.fable_library_rust]]"'
00:01:17 verbose #692 > >     +#. $'$"path =
00:01:17 verbose #693 > > \\\"{!workspace_root}/lib/rust/fable/fable_modules/fable-library-rust\\\""'
00:01:17 verbose #694 > >     +#. $'$"default-features = false"'
00:01:17 verbose #695 > >     +#. $'$"features = [[]]"'
00:01:17 verbose #696 > >     +#. $'$""'
00:01:17 verbose #697 > >     +#. $'$"[[workspace.dependencies]]"'
00:01:17 verbose #698 > >     +#. $'$"inline_colorization = \\\"~0.1\\\""'
00:01:17 verbose #699 > >     +#. $'$""'
00:01:17 verbose #700 > >     +#. $'$"[[profile.release]]"'
00:01:17 verbose #701 > >     +#. $'$"codegen-units = 1"'
00:01:17 verbose #702 > >     +#. $'$"opt-level = \\\"z\\\""'
00:01:17 verbose #703 > >     +#. $'$"lto = true"'
00:01:17 verbose #704 > >     +#. $'$"debug = false"'
00:01:17 verbose #705 > >     +#. $'$"panic = \\\"abort\\\""'
00:01:17 verbose #706 > >     +#. $'$"overflow-checks = true"'
00:01:17 verbose #707 > >     +#. $'$"rustflags = [[\\\"-C\\\", \\\"link-arg=-s\\\"]]"'
00:01:17 verbose #708 > 00:01:16   debug #21 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/db9af64eb3a21b81d66d48438b13d8abc7660c09d40cdbbcc381927eb43ae3fe/main.spi
00:01:18 verbose #709 > >
00:01:18 verbose #710 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:18 verbose #711 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:18 verbose #712 > > │ ### get_cargo_toml_content                                                   │
00:01:18 verbose #713 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #714 > >
00:01:18 verbose #715 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:18 verbose #716 > > inl get_cargo_toml_content { hash_hex runtime deps } : string =
00:01:18 verbose #717 > >     $'$"[[package]]"'
00:01:18 verbose #718 > >     +#. $'$"name = \\\"spiral_builder_{!hash_hex}\\\""'
00:01:18 verbose #719 > >     +#. $'$"version = \\\"0.0.1\\\""'
00:01:18 verbose #720 > >     +#. $'$"edition = \\\"2021\\\""'
00:01:18 verbose #721 > >     +#. $'$""'
00:01:18 verbose #722 > >     +#. $'$"[[dependencies]]"'
00:01:18 verbose #723 > >     +#. (
00:01:18 verbose #724 > >         if runtime = None then
00:01:18 verbose #725 > >             $'$"fable_library_rust = {{ workspace = true, features =
00:01:18 verbose #726 > > [[\\\"static_do_bindings\\\", \\\"datetime\\\", \\\"guid\\\", \\\"threaded\\\"]]
00:01:18 verbose #727 > > }}"'
00:01:18 verbose #728 > >         else
00:01:18 verbose #729 > >             $'$"fable_library_rust = {{ workspace = true }}"'
00:01:18 verbose #730 > >     )
00:01:18 verbose #731 > >     +#. $'$"inline_colorization = {{ workspace = true }}"'
00:01:18 verbose #732 > >     +#. $'$"{!deps}"'
00:01:18 verbose #733 > >     +#. $'$""'
00:01:18 verbose #734 > >     +#. (
00:01:18 verbose #735 > >         if runtime = None then
00:01:18 verbose #736 > >             $'$"[[[[bin]]]]"'
00:01:18 verbose #737 > >             +#. $'$"name = \\\"spiral_builder_{!hash_hex}\\\""'
00:01:18 verbose #738 > >         else
00:01:18 verbose #739 > >             $'$"[[lib]]"'
00:01:18 verbose #740 > >             +#. $'$"crate-type = [[\\\"cdylib\\\"]]"'
00:01:18 verbose #741 > >     )
00:01:18 verbose #742 > >     +#. $'$"path = \\\"spiral_builder.rs\\\" "'
00:01:18 verbose #743 > 00:01:17   debug #22 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/830ddf0150a2d67a629c437f11bb06757d299be476e1e911ec5366a086f727ec/main.spi
00:01:18 verbose #744 > >
00:01:18 verbose #745 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:18 verbose #746 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:18 verbose #747 > > │ ### get_empty_cargo_toml_content                                             │
00:01:18 verbose #748 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #749 > >
00:01:18 verbose #750 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:18 verbose #751 > > inl get_empty_cargo_toml_content () =
00:01:18 verbose #752 > >     inl guid = date_time.now () |> date_time.new_guid_from_date_time |>
00:01:18 verbose #753 > > sm'.obj_to_string
00:01:18 verbose #754 > >     $'$"[[package]]"'
00:01:18 verbose #755 > >     +#. $'$"name = \\\"spiral_builder_{!guid}\\\""'
00:01:18 verbose #756 > >     +#. $'$"version = \\\"0.0.1\\\""'
00:01:18 verbose #757 > >     +#. $'$"edition = \\\"2021\\\""'
00:01:18 verbose #758 > >     +#. $'$""'
00:01:18 verbose #759 > >     +#. $'$"[[[[bin]]]]"'
00:01:18 verbose #760 > >     +#. $'$"name = \\\"spiral_builder_{!guid}\\\""'
00:01:18 verbose #761 > >     +#. $'$"path = \\\"spiral_builder.rs\\\""'
00:01:18 verbose #762 > 00:01:17   debug #23 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7e3dc3c07b6921d809e3501037932fd1073740a5f670fe81e70299d8d6917754/main.spi
00:01:18 verbose #763 > >
00:01:18 verbose #764 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:18 verbose #765 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:18 verbose #766 > > │ ### process_rust                                                             │
00:01:18 verbose #767 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #768 > >
00:01:18 verbose #769 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:18 verbose #770 > > inl process_rust { fs_path deps trace_level runtime } =
00:01:18 verbose #771 > >     open runtime
00:01:18 verbose #772 > >     inl is_trace = trace_level = Verbose
00:01:18 verbose #773 > >     inl _trace (fn : () -> string) =
00:01:18 verbose #774 > >         if is_trace
00:01:18 verbose #775 > >         then trace Info (fun () => $'$"spiral_builder.process_rust / {!fn ()}"')
00:01:18 verbose #776 > > id
00:01:18 verbose #777 > >         else fn () |> console.write_line
00:01:18 verbose #778 > >
00:01:18 verbose #779 > >     inl extension = "rs"
00:01:18 verbose #780 > >     inl code = fs_path |> file_system.read_all_text
00:01:18 verbose #781 > >
00:01:18 verbose #782 > >     inl hash_hex = { extension code runtime } |> sm'.format |> crypto.hash_text
00:01:18 verbose #783 > >
00:01:18 verbose #784 > >     inl workspace_name = "spiral_builder"
00:01:18 verbose #785 > >
00:01:18 verbose #786 > >     inl workspace_root_external = file_system.get_workspace_root_external ()
00:01:18 verbose #787 > >     inl workspace_root = workspace_root_external |> resultm.box |>
00:01:18 verbose #788 > > resultm.unwrap_or_else id
00:01:18 verbose #789 > >
00:01:18 verbose #790 > >     inl package_dir =
00:01:18 verbose #791 > >         get_package_dir { workspace_root name = workspace_name; target = Some
00:01:18 verbose #792 > > Rust; hash = Some hash_hex }
00:01:18 verbose #793 > >
00:01:18 verbose #794 > >     inl fsproj_path =
00:01:18 verbose #795 > >         persist_code_project
00:01:18 verbose #796 > >             {
00:01:18 verbose #797 > >                 workspace_root
00:01:18 verbose #798 > >                 package_dir
00:01:18 verbose #799 > >                 packages = [[ "Fable.Core" ]]
00:01:18 verbose #800 > >                 modules = [[]]
00:01:18 verbose #801 > >                 name = workspace_name
00:01:18 verbose #802 > >                 code
00:01:18 verbose #803 > >             }
00:01:18 verbose #804 > >
00:01:18 verbose #805 > >     inl workspace_dir = package_dir </> "../../.."
00:01:18 verbose #806 > >     inl workspace_cargo_toml_path = workspace_dir </> "Cargo.toml"
00:01:18 verbose #807 > >
00:01:18 verbose #808 > >     if workspace_cargo_toml_path |> file_system.file_exists |> not
00:01:18 verbose #809 > >     then get_empty_cargo_toml_content () |> file_system.write_all_text
00:01:18 verbose #810 > > workspace_cargo_toml_path
00:01:18 verbose #811 > >
00:01:18 verbose #812 > >     inl cargo_toml_path = package_dir </> "Cargo.toml"
00:01:18 verbose #813 > >
00:01:18 verbose #814 > >     if cargo_toml_path |> file_system.file_exists |> not
00:01:18 verbose #815 > >     then get_empty_cargo_toml_content () |> file_system.write_all_text
00:01:18 verbose #816 > > cargo_toml_path
00:01:18 verbose #817 > >
00:01:18 verbose #818 > >     inl lib_link_target_path = workspace_root </>
00:01:18 verbose #819 > > "lib/rust/fable/fable_modules/fable-library-rust"
00:01:18 verbose #820 > >     inl lib_link_path = package_dir </> "fable_modules/fable-library-rust"
00:01:18 verbose #821 > >
00:01:18 verbose #822 > >     lib_link_path |> file_system.link_directory lib_link_target_path
00:01:18 verbose #823 > >
00:01:18 verbose #824 > >     inl exit_code, dotnet_fable_result =
00:01:18 verbose #825 > >         execute_dotnet_fable { workspace_root_external fsproj_path extension
00:01:18 verbose #826 > > package_dir runtime }
00:01:18 verbose #827 > >
00:01:18 verbose #828 > >     if exit_code <>. 0 then
00:01:18 verbose #829 > >         trace Critical
00:01:18 verbose #830 > >             fun () => "spiral_builder.process_rust / dotnet fable error"
00:01:18 verbose #831 > >             fun () => { exit_code dotnet_fable_result }
00:01:18 verbose #832 > >         { extension = Some extension; code = None; output = Some
00:01:18 verbose #833 > > dotnet_fable_result }
00:01:18 verbose #834 > >     else
00:01:18 verbose #835 > >         inl deps =
00:01:18 verbose #836 > >             inl deps =
00:01:18 verbose #837 > >                 if runtime = None
00:01:18 verbose #838 > >                 then deps
00:01:18 verbose #839 > >                 else
00:01:18 verbose #840 > >                     // TODO: simplify
00:01:18 verbose #841 > >                     inl has_near_sdk =
00:01:18 verbose #842 > >                         deps
00:01:18 verbose #843 > >                         |> am'.vec_filter (sm'.from_std_string >> sm'.contains
00:01:18 verbose #844 > > "near-sdk")
00:01:18 verbose #845 > >                         |> am'.vec_len
00:01:18 verbose #846 > >                         |> i32
00:01:18 verbose #847 > >                         |> fun n => n > 0
00:01:18 verbose #848 > >                     // TODO: simplify with ++
00:01:18 verbose #849 > >                     if has_near_sdk
00:01:18 verbose #850 > >                     then deps
00:01:18 verbose #851 > >                     else deps |> am'.vec_extend (;[[ "near-sdk" |>
00:01:18 verbose #852 > > sm'.to_std_string ]] |> am'.to_vec)
00:01:18 verbose #853 > >             deps
00:01:18 verbose #854 > >             |> am'.vec_map fun dep =>
00:01:18 verbose #855 > >                 inl dep = dep |> sm'.from_std_string
00:01:18 verbose #856 > >                 if dep |> sm'.contains "="
00:01:18 verbose #857 > >                 then dep
00:01:18 verbose #858 > >                 elif dep |> sm'.ends_with "]]"
00:01:18 verbose #859 > >                 then dep |> sm'.replace "[[" $'$"={{version=\'*\',features=[["'
00:01:18 verbose #860 > > |> fun x => $'$"{!x}}}"'
00:01:18 verbose #861 > >                 else $'$"{!dep}=\'*\'"'
00:01:18 verbose #862 > >             |> am'.from_vec
00:01:18 verbose #863 > >             |> fun x => x : _ i32 _
00:01:18 verbose #864 > >             |> seq.of_array'
00:01:18 verbose #865 > >             |> sm'.concat "\n"
00:01:18 verbose #866 > >
00:01:18 verbose #867 > >         inl cargo_toml_content = get_cargo_toml_content { hash_hex runtime deps
00:01:18 verbose #868 > > }
00:01:18 verbose #869 > >         inl workspace_cargo_toml_content = get_workspace_cargo_toml_content {
00:01:18 verbose #870 > > workspace_root }
00:01:18 verbose #871 > >
00:01:18 verbose #872 > >         cargo_toml_content |> file_system.write_all_text_exists cargo_toml_path
00:01:18 verbose #873 > >
00:01:18 verbose #874 > >         workspace_cargo_toml_content |> file_system.write_all_text_exists
00:01:18 verbose #875 > > workspace_cargo_toml_path
00:01:18 verbose #876 > >
00:01:18 verbose #877 > >         inl range_rs_path = lib_link_path </> "src/Range.rs"
00:01:18 verbose #878 > >         if range_rs_path |> file_system.file_exists then
00:01:18 verbose #879 > >             inl text = range_rs_path |> file_system.read_all_text
00:01:18 verbose #880 > >             text
00:01:18 verbose #881 > >             |> sm'.replace "use crate::String_::fromCharCode;" "use
00:01:18 verbose #882 > > crate::String_::fromChar;"
00:01:18 verbose #883 > >             |> sm'.replace "fromCharCode(c)" "std::char::from_u32(c).unwrap()"
00:01:18 verbose #884 > >             |> file_system.write_all_text_exists range_rs_path
00:01:18 verbose #885 > >
00:01:18 verbose #886 > >         inl exit_code, cargo_fmt_result =
00:01:18 verbose #887 > >             fun () =>
00:01:18 verbose #888 > >                 inl exit_code, result =
00:01:18 verbose #889 > >                     execution_options fun x => { x with
00:01:18 verbose #890 > >                         command = $'$"cargo fmt --manifest-path
00:01:18 verbose #891 > > \\\"{!cargo_toml_path}\\\" --"'
00:01:18 verbose #892 > >                         working_directory = workspace_root_external |>
00:01:18 verbose #893 > > resultm.box |> resultm.ok'
00:01:18 verbose #894 > >                     }
00:01:18 verbose #895 > >                     |> execute_with_options
00:01:18 verbose #896 > >
00:01:18 verbose #897 > >                 inl return () =
00:01:18 verbose #898 > >                     if exit_code = 0
00:01:18 verbose #899 > >                     then Ok (exit_code, result)
00:01:18 verbose #900 > >                     else Error (exit_code, result)
00:01:18 verbose #901 > >
00:01:18 verbose #902 > >                 if result |> sm'.contains "failed to load manifest for workspace
00:01:18 verbose #903 > > member" |> not
00:01:18 verbose #904 > >                 then return ()
00:01:18 verbose #905 > >                 else
00:01:18 verbose #906 > >                     inl missing_toml_path =
00:01:18 verbose #907 > >                         "failed to read `(?<a>.*?Cargo.toml)`"
00:01:18 verbose #908 > >                         |> sm'.new_regex
00:01:18 verbose #909 > >                         |> resultm.unwrap'
00:01:18 verbose #910 > >                         |> sm'.regex_captures result
00:01:18 verbose #911 > >                         |> am'.from_vec
00:01:18 verbose #912 > >                         |> fun x => x : _ i32 _
00:01:18 verbose #913 > >                         |> am'.try_item 0
00:01:18 verbose #914 > >                         |> optionm.map (mapm.get "a" >> optionm'.unbox)
00:01:18 verbose #915 > >                         |> optionm'.flatten
00:01:18 verbose #916 > >
00:01:18 verbose #917 > >                     match missing_toml_path with
00:01:18 verbose #918 > >                     | None => Error (exit_code, result)
00:01:18 verbose #919 > >                     | Some missing_toml_path =>
00:01:18 verbose #920 > >                         if missing_toml_path |> file_system.file_exists |> not
00:01:18 verbose #921 > > then
00:01:18 verbose #922 > >                             missing_toml_path
00:01:18 verbose #923 > >                             |> file_system.get_directory_name
00:01:18 verbose #924 > >                             |> file_system.create_dir
00:01:18 verbose #925 > >                             |> ignore
00:01:18 verbose #926 > >
00:01:18 verbose #927 > >                             get_empty_cargo_toml_content ()
00:01:18 verbose #928 > >                             |> file_system.write_all_text missing_toml_path
00:01:18 verbose #929 > >                         return ()
00:01:18 verbose #930 > >             |> retry_fn' 3u8
00:01:18 verbose #931 > >
00:01:18 verbose #932 > >         if exit_code <>. 0 then
00:01:18 verbose #933 > >             trace Critical
00:01:18 verbose #934 > >                 fun () => "spiral_builder.process_rust / cargo fmt error"
00:01:18 verbose #935 > >                 fun () => { exit_code cargo_fmt_result }
00:01:18 verbose #936 > >
00:01:18 verbose #937 > >         inl new_code_path = package_dir </> $'$"{!workspace_name}.{!extension}"'
00:01:18 verbose #938 > >         inl new_code = new_code_path |> file_system.read_all_text
00:01:18 verbose #939 > >
00:01:18 verbose #940 > >         inl main_code_header =
00:01:18 verbose #941 > >             "pub fn main() -> Result<(), String> " +. !\($'"\\\"{\\\".into()"')
00:01:18 verbose #942 > >         inl main_code : string =
00:01:18 verbose #943 > >             (
00:01:18 verbose #944 > >                 if runtime = None
00:01:18 verbose #945 > >                 then ""
00:01:18 verbose #946 > >                 else
00:01:18 verbose #947 > >                     $'$"#[[near_sdk::near_bindgen]]"'
00:01:18 verbose #948 > >                     +#. $'$"#[[derive(near_sdk::PanicOnDefault)]]"'
00:01:18 verbose #949 > >                     +#. $'$"pub struct MainState {{"'
00:01:18 verbose #950 > >                     +#. $'$"}}"'
00:01:18 verbose #951 > >                     +#. $'$""'
00:01:18 verbose #952 > >                     +#. $'$"#[[near_sdk::near_bindgen]]"'
00:01:18 verbose #953 > >                     +#. $'$"impl MainState {{"'
00:01:18 verbose #954 > >                     +#. $'$"    pub fn state_main() {{"'
00:01:18 verbose #955 > >                     +#. $'$"        Spiral_builder::method0();"'
00:01:18 verbose #956 > >                     +#. $'$"    }}"'
00:01:18 verbose #957 > >                     +#. $'$"}}"'
00:01:18 verbose #958 > >             )
00:01:18 verbose #959 > >             +#. $'$"{!main_code_header} Ok(()) }}"'
00:01:18 verbose #960 > >
00:01:18 verbose #961 > >         inl cached = new_code |> sm'.contains main_code_header
00:01:18 verbose #962 > >
00:01:18 verbose #963 > >         inl new_code =
00:01:18 verbose #964 > >             if cached
00:01:18 verbose #965 > >             then new_code
00:01:18 verbose #966 > >             else
00:01:18 verbose #967 > >                 new_code
00:01:18 verbose #968 > >                 |> sm'.replace
00:01:18 verbose #969 > >                     ("),)" +. !\($'"\\\";\\\".into()"'))
00:01:18 verbose #970 > >                     "));"
00:01:18 verbose #971 > >                 |> sm'.replace
00:01:18 verbose #972 > >                     ("},)" +. !\($'"\\\";\\\".into()"'))
00:01:18 verbose #973 > >                     "});"
00:01:18 verbose #974 > >                 |> sm'.replace_regex
00:01:18 verbose #975 > >                     "\\s\\sdefaultOf\\(\\);"
00:01:18 verbose #976 > >                     " defaultOf::<()>();"
00:01:18 verbose #977 > >                 |> sm'.replace
00:01:18 verbose #978 > >                     "::Slice'_"
00:01:18 verbose #979 > >                     "::Slice__"
00:01:18 verbose #980 > >                 |> sm'.replace
00:01:18 verbose #981 > >                     ("defaultOf()" +. !\($'"\\\",\\\".into()"'))
00:01:18 verbose #982 > >                     "defaultOf::<std::sync::Arc<dyn IDisposable>>(),"
00:01:18 verbose #983 > >                 |> sm'.replace
00:01:18 verbose #984 > >                     ("_self" +. !\($'"\\\"_.\\\".into()"'))
00:01:18 verbose #985 > >                     "self."
00:01:18 verbose #986 > >                 |> sm'.replace
00:01:18 verbose #987 > >                     ("get_or_insert_wit" +. !\($'"\\\"h\\\".into()"'))
00:01:18 verbose #988 > >                     "get_or_init"
00:01:18 verbose #989 > >                 |> sm'.replace
00:01:18 verbose #990 > >                     ("use
00:01:18 verbose #991 > > fable_library_rust::System::Collections::Concurrent::ConcurrentStack_1" +.
00:01:18 verbose #992 > > !\($'"\\\";\\\".into()"'))
00:01:18 verbose #993 > >                     "type ConcurrentStack_1<T> = T;"
00:01:18 verbose #994 > >                 |> sm'.replace
00:01:18 verbose #995 > >                     ("use
00:01:18 verbose #996 > > fable_library_rust::System::Threading::CancellationToken" +.
00:01:18 verbose #997 > > !\($'"\\\";\\\".into()"'))
00:01:18 verbose #998 > >                     "type CancellationToken = ();"
00:01:18 verbose #999 > >                 |> sm'.replace
00:01:18 verbose #1000 > >                     ("use fable_library_rust::System::TimeZoneInfo" +.
00:01:18 verbose #1001 > > !\($'"\\\";\\\".into()"'))
00:01:18 verbose #1002 > >                     "type TimeZoneInfo = i64;"
00:01:18 verbose #1003 > >                 |> sm'.replace
00:01:18 verbose #1004 > >                     ("use
00:01:18 verbose #1005 > > fable_library_rust::System::Threading::Tasks::TaskCanceledException" +.
00:01:18 verbose #1006 > > !\($'"\\\";\\\".into()"'))
00:01:18 verbose #1007 > >                     "type TaskCanceledException = ();"
00:01:18 verbose #1008 > >
00:01:18 verbose #1009 > >         if not cached
00:01:18 verbose #1010 > >         then
00:01:18 verbose #1011 > >             $'$"{!new_code}\\n\\n{!main_code}\\n"'
00:01:18 verbose #1012 > >             |> file_system.write_all_text_exists new_code_path
00:01:18 verbose #1013 > >
00:01:18 verbose #1014 > >         inl command =
00:01:18 verbose #1015 > >             if runtime <> None
00:01:18 verbose #1016 > >             then $'$"cargo build --release --target wasm32-unknown-unknown
00:01:18 verbose #1017 > > --manifest-path \\\"{!cargo_toml_path}\\\""'
00:01:18 verbose #1018 > >             else $'$"cargo run --manifest-path \\\"{!cargo_toml_path}\\\""'
00:01:18 verbose #1019 > >         inl environment_variables =
00:01:18 verbose #1020 > >             if runtime <> None
00:01:18 verbose #1021 > >             then ;[[]]
00:01:18 verbose #1022 > >             else
00:01:18 verbose #1023 > >                 inl fast = false
00:01:18 verbose #1024 > >                 ;[[
00:01:18 verbose #1025 > >                     "TRACE_LEVEL", "Verbose"
00:01:18 verbose #1026 > >                     "RUSTC_WRAPPER", "sccache"
00:01:18 verbose #1027 > >                     "RUSTFLAGS",
00:01:18 verbose #1028 > >                     if fast
00:01:18 verbose #1029 > >                     then "-C prefer-dynamic -C strip=symbols -C link-arg=-s -C
00:01:18 verbose #1030 > > debuginfo=0"
00:01:18 verbose #1031 > >                     else "-C prefer-dynamic"
00:01:18 verbose #1032 > >                 ]]
00:01:18 verbose #1033 > >         inl exit_code, cargo_result =
00:01:18 verbose #1034 > >             execution_options fun x => { x with
00:01:18 verbose #1035 > >                 command
00:01:18 verbose #1036 > >                 environment_variables
00:01:18 verbose #1037 > >                 working_directory = workspace_root_external |> resultm.box |>
00:01:18 verbose #1038 > > resultm.ok'
00:01:18 verbose #1039 > >             }
00:01:18 verbose #1040 > >             |> execute_with_options
00:01:18 verbose #1041 > >
00:01:18 verbose #1042 > >         inl result =
00:01:18 verbose #1043 > >             if runtime = None then
00:01:18 verbose #1044 > >                 inl external_command =
00:01:18 verbose #1045 > >                     inl vars =
00:01:18 verbose #1046 > >                         a environment_variables
00:01:18 verbose #1047 > >                         |> am.map fun k, v => $'$"$env:{!k}=\'\'{!v}\'\'"' :
00:01:18 verbose #1048 > > string
00:01:18 verbose #1049 > >                         |> fun x => x : _ i32 _
00:01:18 verbose #1050 > >                         |> seq.of_array
00:01:18 verbose #1051 > >                         |> sm'.concat ";"
00:01:18 verbose #1052 > >                     inl command =
00:01:18 verbose #1053 > >                         a ;[[
00:01:18 verbose #1054 > >                             vars
00:01:18 verbose #1055 > >                             command
00:01:18 verbose #1056 > >                         ]]
00:01:18 verbose #1057 > >                         |> fun x => x : _ i32 _
00:01:18 verbose #1058 > >                         |> seq.of_array
00:01:18 verbose #1059 > >                         |> sm'.concat ";"
00:01:18 verbose #1060 > >                     $'$"pwsh -c \'{!command}\'"' : string
00:01:18 verbose #1061 > >                 if exit_code = 0 then
00:01:18 verbose #1062 > >                     inl output =
00:01:18 verbose #1063 > >                         try
00:01:18 verbose #1064 > >                             fun () =>
00:01:18 verbose #1065 > >                                 cargo_result
00:01:18 verbose #1066 > >                                 |> sm'.split "\n"
00:01:18 verbose #1067 > >                                 |> fun x => a x : _ i32 _
00:01:18 verbose #1068 > >                                 |> am'.skip_while fun line =>
00:01:18 verbose #1069 > >                                     (line |> sm'.contains "profile [[optimized]]
00:01:18 verbose #1070 > > target" |> not)
00:01:18 verbose #1071 > >                                         && (line |> sm'.contains "profile
00:01:18 verbose #1072 > > [[unoptimized]] target" |> not)
00:01:18 verbose #1073 > >                                         && (line |> sm'.contains "profile
00:01:18 verbose #1074 > > [[unoptimized + debuginfo]] target" |> not)
00:01:18 verbose #1075 > >                                 |> am'.skip 2
00:01:18 verbose #1076 > >                                 |> seq.of_array
00:01:18 verbose #1077 > >                                 |> sm'.concat "\n"
00:01:18 verbose #1078 > >                             fun ex =>
00:01:18 verbose #1079 > >                                 trace Critical
00:01:18 verbose #1080 > >                                     fun () => "spiral_builder.process_rust
00:01:18 verbose #1081 > > Exception"
00:01:18 verbose #1082 > >                                     fun () => { ex cargo_result new_code_path
00:01:18 verbose #1083 > > external_command }
00:01:18 verbose #1084 > >                                 None
00:01:18 verbose #1085 > >                         |> optionm'.box
00:01:18 verbose #1086 > >                         |> optionm'.unwrap
00:01:18 verbose #1087 > >
00:01:18 verbose #1088 > >                     { extension = Some extension; code = Some new_code; output =
00:01:18 verbose #1089 > > Some output }
00:01:18 verbose #1090 > >                 else
00:01:18 verbose #1091 > >                     trace Critical
00:01:18 verbose #1092 > >                         fun () => "spiral_builder.process_rust / error"
00:01:18 verbose #1093 > >                         fun () => { exit_code cargo_result new_code_path
00:01:18 verbose #1094 > > external_command }
00:01:18 verbose #1095 > >                     { extension = Some extension; code = None; output = None }
00:01:18 verbose #1096 > >             else
00:01:18 verbose #1097 > >                 inl wasm_path : string =
00:01:18 verbose #1098 > >
00:01:18 verbose #1099 > > $'$"target/spiral_builder/{!workspace_name}/target/wasm32-unknown-unknown/releas
00:01:18 verbose #1100 > > e/spiral_builder_{!hash_hex}.wasm"'
00:01:18 verbose #1101 > >
00:01:18 verbose #1102 > >                 inl command =
00:01:18 verbose #1103 > >                     inl invoke_block_path = "scripts/invoke-block.ps1"
00:01:18 verbose #1104 > >                     inl spiral_wasm_command : string =
00:01:18 verbose #1105 > >                         inl runtime_cmd =
00:01:18 verbose #1106 > >                             match runtime with
00:01:18 verbose #1107 > >                             | Some (Wasm cmd) => cmd
00:01:18 verbose #1108 > >                             | Some (Contract cmd) => cmd
00:01:18 verbose #1109 > >                             | _ => ""
00:01:18 verbose #1110 > >                         $'$"\'workspace/target/release/spiral_wasm -t Debug -w
00:01:18 verbose #1111 > > {!wasm_path} {!runtime_cmd}\'"'
00:01:18 verbose #1112 > >                     $'$"pwsh -c \\\"pwsh {!invoke_block_path}
00:01:18 verbose #1113 > > {!spiral_wasm_command} -Linux -EnvironmentVariables
00:01:18 verbose #1114 > > NEAR_RPC_TIMEOUT_SECS=100\\\""'
00:01:18 verbose #1115 > >
00:01:18 verbose #1116 > >                 if exit_code = 0 then
00:01:18 verbose #1117 > >                     inl exit_code, spiral_wasm_result =
00:01:18 verbose #1118 > >                         execution_options fun x => { x with
00:01:18 verbose #1119 > >                             command
00:01:18 verbose #1120 > >                             working_directory = workspace_root |> optionm'.some'
00:01:18 verbose #1121 > >                         }
00:01:18 verbose #1122 > >                         |> execute_with_options
00:01:18 verbose #1123 > >
00:01:18 verbose #1124 > >                     inl output = spiral_wasm_result
00:01:18 verbose #1125 > >
00:01:18 verbose #1126 > >                     if exit_code = 0 then
00:01:18 verbose #1127 > >                         { extension = Some extension; code = Some new_code;
00:01:18 verbose #1128 > > output = Some output }
00:01:18 verbose #1129 > >                     else
00:01:18 verbose #1130 > >                         trace Critical
00:01:18 verbose #1131 > >                             fun () => "spiral_builder.process_rust / wasm error"
00:01:18 verbose #1132 > >                             fun () => { exit_code spiral_wasm_result
00:01:18 verbose #1133 > > cargo_result new_code_path }
00:01:18 verbose #1134 > >                         { extension = Some extension; code = None; output = None
00:01:18 verbose #1135 > > }
00:01:18 verbose #1136 > >                 else
00:01:18 verbose #1137 > >                     trace Critical
00:01:18 verbose #1138 > >                         fun () => "spiral_builder.process_rust / error"
00:01:18 verbose #1139 > >                         fun () => { exit_code cargo_result new_code_path
00:01:18 verbose #1140 > > wasm_path command }
00:01:18 verbose #1141 > >                     { extension = Some extension; code = None; output = None }
00:01:18 verbose #1142 > >
00:01:18 verbose #1143 > >         inl cleanup =
00:01:18 verbose #1144 > >             inl build_target =
00:01:18 verbose #1145 > >                 if runtime <> None
00:01:18 verbose #1146 > >                 then "wasm32-unknown-unknown/release"
00:01:18 verbose #1147 > >                 else "debug"
00:01:18 verbose #1148 > >
00:01:18 verbose #1149 > >             [[ ".d"; ".exe"; ".pdb"; ".wasm"; "" ]]
00:01:18 verbose #1150 > >             |> listm.map fun ext =>
00:01:18 verbose #1151 > >                 workspace_dir </>
00:01:18 verbose #1152 > > $'$"target/{!build_target}/spiral_builder_{!hash_hex}{!ext}"'
00:01:18 verbose #1153 > >             |> listm.map fun path => path, path |> file_system.file_exists
00:01:18 verbose #1154 > >
00:01:18 verbose #1155 > >         trace Verbose
00:01:18 verbose #1156 > >             fun () => "spiral_builder.process_rust / cleanup"
00:01:18 verbose #1157 > >             fun () => { new_code_path cleanup }
00:01:18 verbose #1158 > >
00:01:18 verbose #1159 > >         cleanup
00:01:18 verbose #1160 > >         |> listm'.filter snd
00:01:18 verbose #1161 > >         |> listm.iter (fst >> file_system.file_delete)
00:01:18 verbose #1162 > >
00:01:18 verbose #1163 > >         result
00:01:19 verbose #1164 > 00:01:18   debug #24 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a830ecdaa9770972c8e71cd3bb89de9433c00b9f14dab3a1080d339c8ff7da0e/main.spi
00:01:19 verbose #1165 > >
00:01:19 verbose #1166 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:19 verbose #1167 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:19 verbose #1168 > > │ ## dib                                                                       │
00:01:19 verbose #1169 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:19 verbose #1170 > >
00:01:19 verbose #1171 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:19 verbose #1172 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:19 verbose #1173 > > │ ### process_dib                                                              │
00:01:19 verbose #1174 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:19 verbose #1175 > >
00:01:19 verbose #1176 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:19 verbose #1177 > > inl process_dib { path retries working_directory } =
00:01:19 verbose #1178 > >     inl exit_code, repl_result =
00:01:19 verbose #1179 > >         let rec loop retry =
00:01:19 verbose #1180 > >             inl exit_code, repl_result =
00:01:19 verbose #1181 > >                 runtime.execution_options fun x => { x with
00:01:19 verbose #1182 > >                     command = $'$"dotnet repl --exit-after-run --run
00:01:19 verbose #1183 > > \\\"{!path}\\\" --output-path \\\"{!path}.ipynb\\\""'
00:01:19 verbose #1184 > >                     environment_variables = ;[[
00:01:19 verbose #1185 > >                         "TRACE_LEVEL", "Verbose"
00:01:19 verbose #1186 > >                         "AUTOMATION", "True"
00:01:19 verbose #1187 > >                     ]]
00:01:19 verbose #1188 > >                     trace = false
00:01:19 verbose #1189 > >                     working_directory = working_directory |> optionm'.box
00:01:19 verbose #1190 > >                 }
00:01:19 verbose #1191 > >                 |> runtime.execute_with_options
00:01:19 verbose #1192 > >
00:01:19 verbose #1193 > >             if exit_code = 0 || retry >= retries
00:01:19 verbose #1194 > >             then exit_code, repl_result
00:01:19 verbose #1195 > >             else
00:01:19 verbose #1196 > >                 trace Debug
00:01:19 verbose #1197 > >                     fun () => $'"spiral_builder.run / repl error"'
00:01:19 verbose #1198 > >                     fun () => { exit_code repl_result retry =
00:01:19 verbose #1199 > > $'$"{!retry}/{!retries}"' : string }
00:01:19 verbose #1200 > >                 loop (retry + 1)
00:01:19 verbose #1201 > >         loop 1
00:01:19 verbose #1202 > >
00:01:19 verbose #1203 > >     inl exit_code, result =
00:01:19 verbose #1204 > >         if exit_code <>. 0
00:01:19 verbose #1205 > >         then exit_code, repl_result
00:01:19 verbose #1206 > >         else
00:01:19 verbose #1207 > >             inl exit_code, jupyter_result =
00:01:19 verbose #1208 > >                 runtime.execution_options fun x => { x with
00:01:19 verbose #1209 > >                     command = $'$"jupyter nbconvert \\\"{!path}.ipynb\\\" --to
00:01:19 verbose #1210 > > html --HTMLExporter.theme=dark"'
00:01:19 verbose #1211 > >                 }
00:01:19 verbose #1212 > >                 |> runtime.execute_with_options
00:01:19 verbose #1213 > >
00:01:19 verbose #1214 > >             trace Debug
00:01:19 verbose #1215 > >                 fun () => $'"spiral_builder.run / dib / jupyter nbconvert"'
00:01:19 verbose #1216 > >                 fun () => { exit_code jupyter_result_length = jupyter_result |>
00:01:19 verbose #1217 > > sm'.length : i32 }
00:01:19 verbose #1218 > >
00:01:19 verbose #1219 > >             if exit_code <>. 0
00:01:19 verbose #1220 > >             then exit_code, $'$"repl_result: {!repl_result}\n\njupyter_result:
00:01:19 verbose #1221 > > {!jupyter_result}"'
00:01:19 verbose #1222 > >             else
00:01:19 verbose #1223 > >                 inl exit_code, pwsh_replace_html_result =
00:01:19 verbose #1224 > >                     inl path = path |> sm'.replace "'" "''"
00:01:19 verbose #1225 > >                     runtime.execution_options fun x => { x with
00:01:19 verbose #1226 > >                         command = $'$"pwsh -c \\\"$counter = 1; $path =
00:01:19 verbose #1227 > > \'{!path}.html\'; (Get-Content $path -Raw) -replace
00:01:19 verbose #1228 > > \'(id=\\\\\\"cell-id=)[[a-fA-F0-9]]{{8}}\', {{ $_.Groups[[1]].Value + $counter++
00:01:19 verbose #1229 > > }} | Set-Content $path\\\""'
00:01:19 verbose #1230 > >                     }
00:01:19 verbose #1231 > >                     |> runtime.execute_with_options
00:01:19 verbose #1232 > >
00:01:19 verbose #1233 > >                 trace Debug
00:01:19 verbose #1234 > >                     fun () => $'"spiral_builder.run / dib / html cell ids"'
00:01:19 verbose #1235 > >                     fun () => { exit_code pwsh_replace_html_result_length =
00:01:19 verbose #1236 > > pwsh_replace_html_result |> sm'.length : i32 }
00:01:19 verbose #1237 > >
00:01:19 verbose #1238 > >                 $'$"{!path}.html"'
00:01:19 verbose #1239 > >                 |> file_system.read_all_text
00:01:19 verbose #1240 > >                 |> sm'.replace "\r\n" "\n"
00:01:19 verbose #1241 > >                 |> file_system.write_all_text $'$"{!path}.html"'
00:01:19 verbose #1242 > >
00:01:19 verbose #1243 > >                 $'$"{!path}.ipynb"'
00:01:19 verbose #1244 > >                 |> file_system.read_all_text
00:01:19 verbose #1245 > >                 |> sm'.replace "\r\n" "\n"
00:01:19 verbose #1246 > >                 |> sm'.replace "\\r\\n" "\\n"
00:01:19 verbose #1247 > >                 |> file_system.write_all_text $'$"{!path}.ipynb"'
00:01:19 verbose #1248 > >
00:01:19 verbose #1249 > >                 exit_code, $'$"repl_result: {!repl_result}\n\njupyter_result:
00:01:19 verbose #1250 > > {!jupyter_result}\n\npwsh_replace_html_result: {!pwsh_replace_html_result}"'
00:01:19 verbose #1251 > >
00:01:19 verbose #1252 > >     trace Debug
00:01:19 verbose #1253 > >         fun () => $'"spiral_builder.run / dib"'
00:01:19 verbose #1254 > >         fun () => { exit_code result_length = result |> sm'.length : i32 }
00:01:19 verbose #1255 > >
00:01:19 verbose #1256 > >     if exit_code <>. 0
00:01:19 verbose #1257 > >     then failwith $'$"spiral_builder.run / dib / exit_code: {!exit_code}
00:01:19 verbose #1258 > > result: {!result}"'
00:01:19 verbose #1259 > >     ;[[
00:01:19 verbose #1260 > >         "stdio",
00:01:19 verbose #1261 > >         result
00:01:19 verbose #1262 > >     ]]
00:01:20 verbose #1263 > 00:01:19   debug #25 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8baf55b7fd76ba39e6f246a455cbbdc049b5e47ad9690e33a002d05d5a30683a/main.spi
00:01:20 verbose #1264 > >
00:01:20 verbose #1265 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:20 verbose #1266 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:20 verbose #1267 > > │ ## typescript                                                                │
00:01:20 verbose #1268 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1269 > >
00:01:20 verbose #1270 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:20 verbose #1271 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:20 verbose #1272 > > │ ### process_typescript                                                       │
00:01:20 verbose #1273 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1274 > >
00:01:20 verbose #1275 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:20 verbose #1276 > > inl process_typescript { fs_path deps trace_level } =
00:01:20 verbose #1277 > >     inl extension = "ts"
00:01:20 verbose #1278 > >     inl is_trace = trace_level = Verbose
00:01:20 verbose #1279 > >     inl _trace (fn : () -> string) =
00:01:20 verbose #1280 > >         if is_trace
00:01:20 verbose #1281 > >         then trace Info (fun () => $'$"spiral_builder.process_typescript / {!fn
00:01:20 verbose #1282 > > ()}"') id
00:01:20 verbose #1283 > >         else fn () |> console.write_line
00:01:20 verbose #1284 > >
00:01:20 verbose #1285 > >     inl code = fs_path |> file_system.read_all_text
00:01:20 verbose #1286 > >
00:01:20 verbose #1287 > >     inl hash_hex = (extension, code) |> sm'.format_debug |> crypto.hash_text
00:01:20 verbose #1288 > >
00:01:20 verbose #1289 > >     inl workspace_name = "spiral_builder"
00:01:20 verbose #1290 > >
00:01:20 verbose #1291 > >     inl workspace_root_external = file_system.get_workspace_root_external ()
00:01:20 verbose #1292 > >     inl workspace_root = workspace_root_external |> resultm.box |>
00:01:20 verbose #1293 > > resultm.unwrap_or_else id
00:01:20 verbose #1294 > >
00:01:20 verbose #1295 > >     inl package_dir =
00:01:20 verbose #1296 > >         get_package_dir
00:01:20 verbose #1297 > >             { workspace_root name = workspace_name; target = Some TypeScript;
00:01:20 verbose #1298 > > hash = Some hash_hex }
00:01:20 verbose #1299 > >
00:01:20 verbose #1300 > >     inl fsproj_path =
00:01:20 verbose #1301 > >         persist_code_project
00:01:20 verbose #1302 > >             {
00:01:20 verbose #1303 > >                 workspace_root
00:01:20 verbose #1304 > >                 package_dir
00:01:20 verbose #1305 > >                 packages = [[ "Fable.Core" ]]
00:01:20 verbose #1306 > >                 modules = [[]]
00:01:20 verbose #1307 > >                 name = workspace_name
00:01:20 verbose #1308 > >                 code
00:01:20 verbose #1309 > >             }
00:01:20 verbose #1310 > >
00:01:20 verbose #1311 > >     inl lib_path = workspace_root </> "lib/typescript/fable/fable_modules"
00:01:20 verbose #1312 > >
00:01:20 verbose #1313 > >     inl versions : _ (string * string) =
00:01:20 verbose #1314 > >         lib_path
00:01:20 verbose #1315 > >         |> file_system.new_walk_dir
00:01:20 verbose #1316 > >         |> file_system.walk_dir_filter fun entry => async.new_future_move_send
00:01:20 verbose #1317 > > fun () =>
00:01:20 verbose #1318 > >             entry
00:01:20 verbose #1319 > >             |> file_system.dir_entry_file_type
00:01:20 verbose #1320 > >             |> async.await_send
00:01:20 verbose #1321 > >             |> resultm.map_error' sm'.format'
00:01:20 verbose #1322 > >             |> resultm.unbox
00:01:20 verbose #1323 > >             |> function
00:01:20 verbose #1324 > >                 | Ok file_type when file_type |> file_system.file_type_is_dir |>
00:01:20 verbose #1325 > > not => file_system.Ignore
00:01:20 verbose #1326 > >                 | _ =>
00:01:20 verbose #1327 > >                     inl path =
00:01:20 verbose #1328 > >                         entry
00:01:20 verbose #1329 > >                         |> file_system.dir_entry_path
00:01:20 verbose #1330 > >                         |> file_system.path_buf_display
00:01:20 verbose #1331 > >                         |> sm'.format'
00:01:20 verbose #1332 > >                         |> sm'.from_std_string
00:01:20 verbose #1333 > >                     if path |> file_system.get_directory_name |> sm'.starts_with
00:01:20 verbose #1334 > > "fable-library-ts."
00:01:20 verbose #1335 > >                     then file_system.Continue
00:01:20 verbose #1336 > >                     else file_system.IgnoreDir
00:01:20 verbose #1337 > >         |> async.stream_filter_map fun (entry : _ _
00:01:20 verbose #1338 > > file_system.async_walkdir_error) =>
00:01:20 verbose #1339 > >             inl entry = entry |> resultm.map_error' sm'.format' |> resultm.unbox
00:01:20 verbose #1340 > >             match entry with
00:01:20 verbose #1341 > >             | Ok entry =>
00:01:20 verbose #1342 > >                 inl path =
00:01:20 verbose #1343 > >                     entry
00:01:20 verbose #1344 > >                     |> file_system.dir_entry_path
00:01:20 verbose #1345 > >                     |> file_system.path_buf_display
00:01:20 verbose #1346 > >                     |> sm'.format'
00:01:20 verbose #1347 > >                     |> sm'.from_std_string
00:01:20 verbose #1348 > >                 inl version =
00:01:20 verbose #1349 > >                     $'$"fable-library-{!extension}\\.(?<a>[[\\d.]]+)$"'
00:01:20 verbose #1350 > >                     |> sm'.new_regex
00:01:20 verbose #1351 > >                     |> resultm.unwrap'
00:01:20 verbose #1352 > >                     |> sm'.regex_captures path
00:01:20 verbose #1353 > >                     |> am'.from_vec
00:01:20 verbose #1354 > >                     |> fun x => x : _ i32 _
00:01:20 verbose #1355 > >                     |> am'.try_item 0
00:01:20 verbose #1356 > >                     |> optionm.map (mapm.get "a" >> optionm'.unbox)
00:01:20 verbose #1357 > >                     |> optionm'.flatten
00:01:20 verbose #1358 > >                 match version with
00:01:20 verbose #1359 > >                 | None => None
00:01:20 verbose #1360 > >                 | Some version => Some (path, version)
00:01:20 verbose #1361 > >             | Error error =>
00:01:20 verbose #1362 > >                 trace Critical
00:01:20 verbose #1363 > >                     fun () => $'"spiral_builder.process_typescript
00:01:20 verbose #1364 > > stream_filter_map"'
00:01:20 verbose #1365 > >                     fun () => { error }
00:01:20 verbose #1366 > >                 None
00:01:20 verbose #1367 > >             |> optionm'.box
00:01:20 verbose #1368 > >         |> async.stream_collect
00:01:20 verbose #1369 > >         |> async.await
00:01:20 verbose #1370 > >         |> async.into_par_iter
00:01:20 verbose #1371 > >         |> async.par_map id
00:01:20 verbose #1372 > >         |> async.par_collect
00:01:20 verbose #1373 > >
00:01:20 verbose #1374 > >     inl version =
00:01:20 verbose #1375 > >         versions
00:01:20 verbose #1376 > >         |> am'.from_vec
00:01:20 verbose #1377 > >         |> fun x => x : _ i32 _
00:01:20 verbose #1378 > >         |> am'.try_item 0
00:01:20 verbose #1379 > >
00:01:20 verbose #1380 > >     trace Debug
00:01:20 verbose #1381 > >         fun () => $'"spiral_builder.process_typescript"'
00:01:20 verbose #1382 > >         fun () => { version }
00:01:20 verbose #1383 > >
00:01:20 verbose #1384 > >     match version with
00:01:20 verbose #1385 > >     | None => ()
00:01:20 verbose #1386 > >     | Some (_path, version) =>
00:01:20 verbose #1387 > >         inl lib_link_target_path = lib_path </>
00:01:20 verbose #1388 > > $'$"fable-library-{!extension}.{!version}"'
00:01:20 verbose #1389 > >         inl lib_link_path = package_dir </>
00:01:20 verbose #1390 > > $'$"fable_modules/fable-library-{!extension}.{!version}"'
00:01:20 verbose #1391 > >
00:01:20 verbose #1392 > >         lib_link_path |> file_system.link_directory lib_link_target_path
00:01:20 verbose #1393 > >
00:01:20 verbose #1394 > >     inl exit_code, dotnet_fable_result =
00:01:20 verbose #1395 > >         execute_dotnet_fable { workspace_root_external fsproj_path extension
00:01:20 verbose #1396 > > package_dir runtime = None }
00:01:20 verbose #1397 > >
00:01:20 verbose #1398 > >     if exit_code <>. 0 then
00:01:20 verbose #1399 > >         trace Critical
00:01:20 verbose #1400 > >             fun () => $'$"spiral_builder.process_typescript"'
00:01:20 verbose #1401 > >             fun () => { exit_code dotnet_fable_result }
00:01:20 verbose #1402 > >         { extension = Some extension; code = None; output = Some
00:01:20 verbose #1403 > > dotnet_fable_result }
00:01:20 verbose #1404 > >     else
00:01:20 verbose #1405 > >         inl deps =
00:01:20 verbose #1406 > >             deps
00:01:20 verbose #1407 > >             |> am'.vec_map fun dep =>
00:01:20 verbose #1408 > >                 inl dep = dep |> sm'.from_std_string
00:01:20 verbose #1409 > >                 if dep |> sm'.contains "="
00:01:20 verbose #1410 > >                 then dep
00:01:20 verbose #1411 > >                 else $'$"\\"{!dep}\\":\\"*\\""'
00:01:20 verbose #1412 > >             |> am'.from_vec
00:01:20 verbose #1413 > >             |> fun x => x : _ i32 _
00:01:20 verbose #1414 > >             |> seq.of_array'
00:01:20 verbose #1415 > >             |> sm'.concat ",\n"
00:01:20 verbose #1416 > >
00:01:20 verbose #1417 > >         inl package_json_content =
00:01:20 verbose #1418 > >             $'$"{{"'
00:01:20 verbose #1419 > >             +. $'$"  \\\"name\\\": \\\"spiral_builder_{!hash_hex}\\\","'
00:01:20 verbose #1420 > >             +. $'$"  \\\"dependencies\\\": {{"'
00:01:20 verbose #1421 > >             +. deps
00:01:20 verbose #1422 > >             +. $'$"  }},"'
00:01:20 verbose #1423 > >             +. $'$"    \\\"devDependencies\\\": {{"'
00:01:20 verbose #1424 > >             +. $'$"  }},"'
00:01:20 verbose #1425 > >             +. $'$"}}"'
00:01:20 verbose #1426 > >
00:01:20 verbose #1427 > >         inl workspace_package_json_content =
00:01:20 verbose #1428 > >             ""
00:01:20 verbose #1429 > >
00:01:20 verbose #1430 > >         inl package_json_path = package_dir </> "package.json"
00:01:20 verbose #1431 > >
00:01:20 verbose #1432 > >         inl workspace_dir = package_dir </> "../.."
00:01:20 verbose #1433 > >         inl workspace_package_json_path = workspace_dir </> "package.json"
00:01:20 verbose #1434 > >
00:01:20 verbose #1435 > >         package_json_content |> file_system.write_all_text_exists
00:01:20 verbose #1436 > > package_json_path
00:01:20 verbose #1437 > >
00:01:20 verbose #1438 > >         workspace_package_json_content |> file_system.write_all_text_exists
00:01:20 verbose #1439 > > workspace_package_json_path
00:01:20 verbose #1440 > >
00:01:20 verbose #1441 > >         inl new_code_path = package_dir </> $'$"{!workspace_name}.{!extension}"'
00:01:20 verbose #1442 > >         trace Debug
00:01:20 verbose #1443 > >             fun () => $'"spiral_builder.process_typescript"'
00:01:20 verbose #1444 > >             fun () => { new_code_path }
00:01:20 verbose #1445 > >         inl new_code = new_code_path |> file_system.read_all_text
00:01:20 verbose #1446 > >
00:01:20 verbose #1447 > >         inl main_code_header =
00:01:20 verbose #1448 > >             "// spiral_builder.process_typescript"
00:01:20 verbose #1449 > >         inl main_code = "// spiral_builder.process_typescript"
00:01:20 verbose #1450 > >
00:01:20 verbose #1451 > >         inl cached = new_code |> sm'.contains main_code_header
00:01:20 verbose #1452 > >
00:01:20 verbose #1453 > >         inl new_code =
00:01:20 verbose #1454 > >             if cached
00:01:20 verbose #1455 > >             then new_code
00:01:20 verbose #1456 > >             else
00:01:20 verbose #1457 > >                 new_code
00:01:20 verbose #1458 > >                 |> sm'.replace
00:01:20 verbose #1459 > >                     $'$"\\\"./fable_modules/fable-library-ts.{!version}/"'
00:01:20 verbose #1460 > >
00:01:20 verbose #1461 > > $'$"\\\"{!workspace_root}/lib/typescript/fable/fable_modules/fable-library-ts.{!
00:01:20 verbose #1462 > > version}/"'
00:01:20 verbose #1463 > >                 |> sm'.replace_regex
00:01:20 verbose #1464 > >                     "\\s\\sdefaultOf\\(\\);"
00:01:20 verbose #1465 > >                     " defaultOf::<()>();"
00:01:20 verbose #1466 > >
00:01:20 verbose #1467 > >         if not cached then
00:01:20 verbose #1468 > >             $'$"{!new_code}\\n\\n{!main_code}\\n"'
00:01:20 verbose #1469 > >             |> file_system.write_all_text_exists new_code_path
00:01:20 verbose #1470 > >
00:01:20 verbose #1471 > >         inl command = $'$"bun run \\\"{!new_code_path}\\\""'
00:01:20 verbose #1472 > >         inl environment_variables =
00:01:20 verbose #1473 > >             match "~/.bun/bin" |> env.append_path with
00:01:20 verbose #1474 > >             | Some path => [[ "PATH", path ]]
00:01:20 verbose #1475 > >             | None => [[]]
00:01:20 verbose #1476 > >             ++ [[
00:01:20 verbose #1477 > >                 "TRACE_LEVEL", "Verbose"
00:01:20 verbose #1478 > >             ]]
00:01:20 verbose #1479 > >             |> listm'.box
00:01:20 verbose #1480 > >             |> listm'.to_array'
00:01:20 verbose #1481 > >         inl exit_code, run_result =
00:01:20 verbose #1482 > >             runtime.execution_options fun x => { x with
00:01:20 verbose #1483 > >                 command
00:01:20 verbose #1484 > >                 environment_variables
00:01:20 verbose #1485 > >                 working_directory = workspace_root_external |> resultm.box |>
00:01:20 verbose #1486 > > resultm.ok'
00:01:20 verbose #1487 > >             }
00:01:20 verbose #1488 > >             |> runtime.execute_with_options
00:01:20 verbose #1489 > >
00:01:20 verbose #1490 > >         inl external_command =
00:01:20 verbose #1491 > >             inl vars =
00:01:20 verbose #1492 > >                 a environment_variables
00:01:20 verbose #1493 > >                 |> am.map fun k, v => $'$"$env:{!k}=\'\'{!v}\'\'"' : string
00:01:20 verbose #1494 > >                 |> fun x => x : _ i32 _
00:01:20 verbose #1495 > >                 |> seq.of_array
00:01:20 verbose #1496 > >                 |> sm'.concat ";"
00:01:20 verbose #1497 > >             $'$"pwsh -c \'{!vars}; {!command}\'"' : string
00:01:20 verbose #1498 > >         if exit_code = 0 then
00:01:20 verbose #1499 > >             inl output =
00:01:20 verbose #1500 > >                 try
00:01:20 verbose #1501 > >                     fun () =>
00:01:20 verbose #1502 > >                         run_result
00:01:20 verbose #1503 > >                         |> sm'.split "\n"
00:01:20 verbose #1504 > >                         |> fun x => a x : _ i32 _
00:01:20 verbose #1505 > >                         |> seq.of_array
00:01:20 verbose #1506 > >                         |> sm'.concat "\n"
00:01:20 verbose #1507 > >                     fun ex =>
00:01:20 verbose #1508 > >                         trace Critical
00:01:20 verbose #1509 > >                             fun () => "spiral_builder.process_typescript
00:01:20 verbose #1510 > > Exception"
00:01:20 verbose #1511 > >                             fun () => { ex new_code_path external_command
00:01:20 verbose #1512 > > run_result }
00:01:20 verbose #1513 > >                         None
00:01:20 verbose #1514 > >                 |> optionm'.box
00:01:20 verbose #1515 > >                 |> optionm'.unwrap
00:01:20 verbose #1516 > >
00:01:20 verbose #1517 > >             { extension = Some extension; code = Some new_code; output = Some
00:01:20 verbose #1518 > > output }
00:01:20 verbose #1519 > >         else
00:01:20 verbose #1520 > >             trace Critical
00:01:20 verbose #1521 > >                 fun () => "spiral_builder.process_typescript / error"
00:01:20 verbose #1522 > >                 fun () => { exit_code run_result new_code_path external_command
00:01:20 verbose #1523 > > }
00:01:20 verbose #1524 > >             { extension = Some extension; code = None; output = None }
00:01:20 verbose #1525 > 00:01:19   debug #26 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f7eb7be17cec93d0434ebbe493611b242b73a282fdbf892c6cf0363814e0de00/main.spi
00:01:20 verbose #1526 > >
00:01:20 verbose #1527 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:20 verbose #1528 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:20 verbose #1529 > > │ ## python                                                                    │
00:01:20 verbose #1530 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1531 > >
00:01:20 verbose #1532 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:20 verbose #1533 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:20 verbose #1534 > > │ ### process_python                                                           │
00:01:20 verbose #1535 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1536 > >
00:01:20 verbose #1537 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:20 verbose #1538 > > inl process_python { fs_path deps trace_level } =
00:01:20 verbose #1539 > >     inl extension = "py"
00:01:20 verbose #1540 > >     inl is_trace = trace_level = Verbose
00:01:20 verbose #1541 > >     inl _trace (fn : () -> string) =
00:01:20 verbose #1542 > >         if is_trace
00:01:20 verbose #1543 > >         then trace Info (fun () => $'$"spiral_builder.process_python / {!fn
00:01:20 verbose #1544 > > ()}"') id
00:01:20 verbose #1545 > >         else fn () |> console.write_line
00:01:20 verbose #1546 > >
00:01:20 verbose #1547 > >     inl code = fs_path |> file_system.read_all_text
00:01:20 verbose #1548 > >
00:01:20 verbose #1549 > >     inl hash_hex = (extension, code) |> sm'.format_debug |> crypto.hash_text
00:01:20 verbose #1550 > >
00:01:20 verbose #1551 > >     inl workspace_name = "spiral_builder"
00:01:20 verbose #1552 > >
00:01:20 verbose #1553 > >     inl workspace_root_external = file_system.get_workspace_root_external ()
00:01:20 verbose #1554 > >     inl workspace_root = workspace_root_external |> resultm.box |>
00:01:20 verbose #1555 > > resultm.unwrap_or_else id
00:01:20 verbose #1556 > >
00:01:20 verbose #1557 > >     inl package_dir =
00:01:20 verbose #1558 > >         get_package_dir { workspace_root name = workspace_name; target = Some
00:01:20 verbose #1559 > > Python; hash = Some hash_hex }
00:01:20 verbose #1560 > >
00:01:20 verbose #1561 > >     inl fsproj_path =
00:01:20 verbose #1562 > >         persist_code_project
00:01:20 verbose #1563 > >             {
00:01:20 verbose #1564 > >                 workspace_root
00:01:20 verbose #1565 > >                 package_dir
00:01:20 verbose #1566 > >                 packages = [[ "Fable.Core" ]]
00:01:20 verbose #1567 > >                 modules = [[]]
00:01:20 verbose #1568 > >                 name = workspace_name
00:01:20 verbose #1569 > >                 code
00:01:20 verbose #1570 > >             }
00:01:20 verbose #1571 > >
00:01:20 verbose #1572 > >     inl lib_path = workspace_root </> "lib/python/fable/fable_modules"
00:01:20 verbose #1573 > >
00:01:20 verbose #1574 > >     inl lib_link_target_path = lib_path </> $'$"fable_library"'
00:01:20 verbose #1575 > >     inl lib_link_path = package_dir </> $'$"fable_modules/fable_library"'
00:01:20 verbose #1576 > >
00:01:20 verbose #1577 > >     lib_link_path |> file_system.link_directory lib_link_target_path
00:01:20 verbose #1578 > >
00:01:20 verbose #1579 > >     inl exit_code, dotnet_fable_result =
00:01:20 verbose #1580 > >         execute_dotnet_fable { workspace_root_external fsproj_path extension
00:01:20 verbose #1581 > > package_dir runtime = None }
00:01:20 verbose #1582 > >
00:01:20 verbose #1583 > >     if exit_code <>. 0 then
00:01:20 verbose #1584 > >         trace Critical
00:01:20 verbose #1585 > >             fun () => $'$"spiral_builder.process_python"'
00:01:20 verbose #1586 > >             fun () => { exit_code dotnet_fable_result }
00:01:20 verbose #1587 > >         { extension = Some extension; code = None; output = Some
00:01:20 verbose #1588 > > dotnet_fable_result }
00:01:20 verbose #1589 > >     else
00:01:20 verbose #1590 > >         inl deps =
00:01:20 verbose #1591 > >             deps
00:01:20 verbose #1592 > >             |> am'.vec_map fun dep =>
00:01:20 verbose #1593 > >                 inl dep = dep |> sm'.from_std_string
00:01:20 verbose #1594 > >                 if dep |> sm'.contains "="
00:01:20 verbose #1595 > >                 then dep
00:01:20 verbose #1596 > >                 else $'$"\\"{!dep}\\":\\"*\\""'
00:01:20 verbose #1597 > >             |> am'.from_vec
00:01:20 verbose #1598 > >             |> fun x => x : _ i32 _
00:01:20 verbose #1599 > >             |> seq.of_array'
00:01:20 verbose #1600 > >             |> sm'.concat ",\n"
00:01:20 verbose #1601 > >
00:01:20 verbose #1602 > >         inl package_json_content =
00:01:20 verbose #1603 > >             $'$"{{"'
00:01:20 verbose #1604 > >             +. $'$"  \\\"name\\\": \\\"spiral_builder_{!hash_hex}\\\","'
00:01:20 verbose #1605 > >             +. $'$"  \\\"dependencies\\\": {{"'
00:01:20 verbose #1606 > >             +. deps
00:01:20 verbose #1607 > >             +. $'$"  }},"'
00:01:20 verbose #1608 > >             +. $'$"    \\\"devDependencies\\\": {{"'
00:01:20 verbose #1609 > >             +. $'$"  }},"'
00:01:20 verbose #1610 > >             +. $'$"}}"'
00:01:20 verbose #1611 > >
00:01:20 verbose #1612 > >         inl workspace_package_json_content =
00:01:20 verbose #1613 > >             ""
00:01:20 verbose #1614 > >
00:01:20 verbose #1615 > >         inl package_json_path = package_dir </> "package.json"
00:01:20 verbose #1616 > >
00:01:20 verbose #1617 > >         inl workspace_dir = package_dir </> "../.."
00:01:20 verbose #1618 > >         inl workspace_package_json_path = workspace_dir </> "package.json"
00:01:20 verbose #1619 > >
00:01:20 verbose #1620 > >         package_json_content |> file_system.write_all_text_exists
00:01:20 verbose #1621 > > package_json_path
00:01:20 verbose #1622 > >
00:01:20 verbose #1623 > >         workspace_package_json_content |> file_system.write_all_text_exists
00:01:20 verbose #1624 > > workspace_package_json_path
00:01:20 verbose #1625 > >
00:01:20 verbose #1626 > >         inl new_code_path = package_dir </> $'$"{!workspace_name}.{!extension}"'
00:01:20 verbose #1627 > >         trace Debug
00:01:20 verbose #1628 > >             fun () => $'"spiral_builder.process_python"'
00:01:20 verbose #1629 > >             fun () => { new_code_path }
00:01:20 verbose #1630 > >         inl new_code = new_code_path |> file_system.read_all_text
00:01:20 verbose #1631 > >
00:01:20 verbose #1632 > >         inl main_code_header =
00:01:20 verbose #1633 > >             "# spiral_builder.process_python"
00:01:20 verbose #1634 > >         inl main_code = "# spiral_builder.process_python"
00:01:20 verbose #1635 > >
00:01:20 verbose #1636 > >         inl cached = new_code |> sm'.contains main_code_header
00:01:20 verbose #1637 > >
00:01:20 verbose #1638 > >         inl new_code =
00:01:20 verbose #1639 > >             if cached
00:01:20 verbose #1640 > >             then new_code
00:01:20 verbose #1641 > >             else
00:01:20 verbose #1642 > >                 new_code
00:01:20 verbose #1643 > >                 |> sm'.replace
00:01:20 verbose #1644 > >                     ("),)" +. !\($'"\\\";\\\".into()"'))
00:01:20 verbose #1645 > >                     "));"
00:01:20 verbose #1646 > >                 |> sm'.replace_regex
00:01:20 verbose #1647 > >                     "\\s\\sdefaultOf\\(\\);"
00:01:20 verbose #1648 > >                     " defaultOf::<()>();"
00:01:20 verbose #1649 > >
00:01:20 verbose #1650 > >         if not cached
00:01:20 verbose #1651 > >         then
00:01:20 verbose #1652 > >             $'$"{!new_code}\\n\\n{!main_code}\\n"'
00:01:20 verbose #1653 > >             |> file_system.write_all_text_exists new_code_path
00:01:20 verbose #1654 > >
00:01:20 verbose #1655 > >         inl command = $'$"python \\\"{!new_code_path}\\\""'
00:01:20 verbose #1656 > >         inl environment_variables =
00:01:20 verbose #1657 > >             ;[[
00:01:20 verbose #1658 > >                 "TRACE_LEVEL", "Verbose"
00:01:20 verbose #1659 > >             ]]
00:01:20 verbose #1660 > >         inl exit_code, run_result =
00:01:20 verbose #1661 > >             runtime.execution_options fun x => { x with
00:01:20 verbose #1662 > >                 command
00:01:20 verbose #1663 > >                 environment_variables
00:01:20 verbose #1664 > >                 working_directory = workspace_root_external |> resultm.box |>
00:01:20 verbose #1665 > > resultm.ok'
00:01:20 verbose #1666 > >             }
00:01:20 verbose #1667 > >             |> runtime.execute_with_options
00:01:20 verbose #1668 > >
00:01:20 verbose #1669 > >         inl external_command =
00:01:20 verbose #1670 > >             inl vars =
00:01:20 verbose #1671 > >                 a environment_variables
00:01:20 verbose #1672 > >                 |> am.map fun k, v => $'$"$env:{!k}=\'\'{!v}\'\'"' : string
00:01:20 verbose #1673 > >                 |> fun x => x : _ i32 _
00:01:20 verbose #1674 > >                 |> seq.of_array
00:01:20 verbose #1675 > >                 |> sm'.concat ";"
00:01:20 verbose #1676 > >             $'$"pwsh -c \'{!vars}; {!command}\'"' : string
00:01:20 verbose #1677 > >         if exit_code = 0 then
00:01:20 verbose #1678 > >             inl output =
00:01:20 verbose #1679 > >                 try
00:01:20 verbose #1680 > >                     fun () =>
00:01:20 verbose #1681 > >                         run_result
00:01:20 verbose #1682 > >                         |> sm'.split "\n"
00:01:20 verbose #1683 > >                         |> fun x => a x : _ i32 _
00:01:20 verbose #1684 > >                         |> seq.of_array
00:01:20 verbose #1685 > >                         |> sm'.concat "\n"
00:01:20 verbose #1686 > >                     fun ex =>
00:01:20 verbose #1687 > >                         trace Critical
00:01:20 verbose #1688 > >                             fun () => "spiral_builder.process_python
00:01:20 verbose #1689 > > Exception"
00:01:20 verbose #1690 > >                             fun () => { ex new_code_path external_command
00:01:20 verbose #1691 > > run_result }
00:01:20 verbose #1692 > >                         None
00:01:20 verbose #1693 > >                 |> optionm'.box
00:01:20 verbose #1694 > >                 |> optionm'.unwrap
00:01:20 verbose #1695 > >
00:01:20 verbose #1696 > >             { extension = Some extension; code = Some new_code; output = Some
00:01:20 verbose #1697 > > output }
00:01:20 verbose #1698 > >         else
00:01:20 verbose #1699 > >             trace Critical
00:01:20 verbose #1700 > >                 fun () => "spiral_builder.process_python / error"
00:01:20 verbose #1701 > >                 fun () => { exit_code run_result new_code_path external_command
00:01:20 verbose #1702 > > }
00:01:20 verbose #1703 > >             { extension = Some extension; code = None; output = None }
00:01:21 verbose #1704 > 00:01:20   debug #27 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f81c14222dda6023dc3af6c71fc3c0e0e7b9a7cdd92fcd81a43bb0ed6063f794/main.spi
00:01:21 verbose #1705 > >
00:01:21 verbose #1706 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:21 verbose #1707 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:21 verbose #1708 > > │ ## cuda                                                                      │
00:01:21 verbose #1709 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:21 verbose #1710 > >
00:01:21 verbose #1711 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:21 verbose #1712 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:21 verbose #1713 > > │ ### process_cuda                                                             │
00:01:21 verbose #1714 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:21 verbose #1715 > >
00:01:21 verbose #1716 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:21 verbose #1717 > > inl process_cuda { py_path env deps } =
00:01:21 verbose #1718 > >     inl extension = "py"
00:01:21 verbose #1719 > >
00:01:21 verbose #1720 > >     inl new_code_path = py_path
00:01:21 verbose #1721 > >     inl new_code = new_code_path |> file_system.read_all_text
00:01:21 verbose #1722 > >
00:01:21 verbose #1723 > >     inl workspace_root_external = file_system.get_workspace_root_external ()
00:01:21 verbose #1724 > >     inl workspace_root = workspace_root_external |> resultm.box |>
00:01:21 verbose #1725 > > resultm.unwrap_or_else id
00:01:21 verbose #1726 > >
00:01:21 verbose #1727 > >     inl package_dir = new_code_path |> file_system.get_directory_name
00:01:21 verbose #1728 > >
00:01:21 verbose #1729 > >     inl manifest_path =
00:01:21 verbose #1730 > >         match env with
00:01:21 verbose #1731 > >         | Pip => package_dir </> "requirements.txt"
00:01:21 verbose #1732 > >         | Poetry => package_dir </> "pyproject.toml"
00:01:21 verbose #1733 > >
00:01:21 verbose #1734 > >     inl deps =
00:01:21 verbose #1735 > >         deps
00:01:21 verbose #1736 > >         |> am'.vec_map fun dep =>
00:01:21 verbose #1737 > >             inl dep = dep |> sm'.from_std_string
00:01:21 verbose #1738 > >             if dep |> sm'.contains "="
00:01:21 verbose #1739 > >             then dep
00:01:21 verbose #1740 > >             elif dep |> sm'.ends_with "]]"
00:01:21 verbose #1741 > >             then dep |> sm'.replace "[[" $'$"={{version=\'*\',features=[["' |>
00:01:21 verbose #1742 > > fun x => $'$"{!x}}}"'
00:01:21 verbose #1743 > >             else $'$"{!dep}=\'*\'"'
00:01:21 verbose #1744 > >         |> am'.from_vec
00:01:21 verbose #1745 > >         |> fun x => x : _ i32 _
00:01:21 verbose #1746 > >         |> seq.of_array'
00:01:21 verbose #1747 > >         |> sm'.concat "\n"
00:01:21 verbose #1748 > >
00:01:21 verbose #1749 > >     inl exit_code, run_result =
00:01:21 verbose #1750 > >         if deps = ""
00:01:21 verbose #1751 > >         then 0, ""
00:01:21 verbose #1752 > >         else
00:01:21 verbose #1753 > >             inl manifest =
00:01:21 verbose #1754 > >                 match env with
00:01:21 verbose #1755 > >                 | Pip =>
00:01:21 verbose #1756 > >                     deps
00:01:21 verbose #1757 > >                 | Poetry =>
00:01:21 verbose #1758 > >                     $'$"[[tool.poetry]]"'
00:01:21 verbose #1759 > >                     +#. $'$"name = \\\"test\\\""'
00:01:21 verbose #1760 > >                     +#. $'$"version = \\\"0.0.1\\\""'
00:01:21 verbose #1761 > >                     +#. $'$"description = \\\"\\\""'
00:01:21 verbose #1762 > >                     +#. $'$"authors = [[]]"'
00:01:21 verbose #1763 > >                     +#. $'$""'
00:01:21 verbose #1764 > >                     +#. $'$"[[tool.poetry.dependencies]]"'
00:01:21 verbose #1765 > >                     +#. $'$"python=\\\"~3.12\\\""'
00:01:21 verbose #1766 > >                     +#. $'$"{!deps}"'
00:01:21 verbose #1767 > >                     +#. $'$""'
00:01:21 verbose #1768 > >                     +#. $'$"[[build-system]]"'
00:01:21 verbose #1769 > >                     +#. $'$"requires = [[\\\"poetry-core\\\"]]"'
00:01:21 verbose #1770 > >                     +#. $'$"build-backend = \\\"poetry.core.masonry.api\\\""'
00:01:21 verbose #1771 > >
00:01:21 verbose #1772 > >             manifest |> file_system.write_all_text_exists manifest_path
00:01:21 verbose #1773 > >
00:01:21 verbose #1774 > >             runtime.execution_options fun x => { x with
00:01:21 verbose #1775 > >                 command =
00:01:21 verbose #1776 > >                     match env with
00:01:21 verbose #1777 > >                     | Pip => $'$"pip install -r requirements.txt"'
00:01:21 verbose #1778 > >                     | Poetry => $'$"poetry install"'
00:01:21 verbose #1779 > >                 working_directory = package_dir |> optionm'.some'
00:01:21 verbose #1780 > >             }
00:01:21 verbose #1781 > >             |> runtime.execute_with_options
00:01:21 verbose #1782 > >
00:01:21 verbose #1783 > >     if exit_code <>. 0 then
00:01:21 verbose #1784 > >         trace Critical
00:01:21 verbose #1785 > >             fun () => "spiral_builder.process_cuda / env install error"
00:01:21 verbose #1786 > >             fun () => { env exit_code run_result new_code_path }
00:01:21 verbose #1787 > >         { extension = Some extension; code = None; output = None }
00:01:21 verbose #1788 > >     else
00:01:21 verbose #1789 > >         inl command =
00:01:21 verbose #1790 > >             match env with
00:01:21 verbose #1791 > >             | Pip => $'$"python \\\"{!new_code_path}\\\""'
00:01:21 verbose #1792 > >             | Poetry => $'$"poetry run python \\\"{!new_code_path}\\\""'
00:01:21 verbose #1793 > >         inl environment_variables =
00:01:21 verbose #1794 > >             ;[[
00:01:21 verbose #1795 > >                 "TRACE_LEVEL", "Verbose"
00:01:21 verbose #1796 > >             ]]
00:01:21 verbose #1797 > >         inl exit_code, run_result =
00:01:21 verbose #1798 > >             runtime.execution_options fun x => { x with
00:01:21 verbose #1799 > >                 command
00:01:21 verbose #1800 > >                 environment_variables
00:01:21 verbose #1801 > >                 working_directory = package_dir |> optionm'.some'
00:01:21 verbose #1802 > >             }
00:01:21 verbose #1803 > >             |> runtime.execute_with_options
00:01:21 verbose #1804 > >
00:01:21 verbose #1805 > >         inl external_command =
00:01:21 verbose #1806 > >             inl vars =
00:01:21 verbose #1807 > >                 a environment_variables
00:01:21 verbose #1808 > >                 |> am.map fun k, v => $'$"$env:{!k}=\'\'{!v}\'\'"' : string
00:01:21 verbose #1809 > >                 |> fun x => x : _ i32 _
00:01:21 verbose #1810 > >                 |> seq.of_array
00:01:21 verbose #1811 > >                 |> sm'.concat ";"
00:01:21 verbose #1812 > >             $'$"pwsh -c \'{!vars}; {!command}\'"' : string
00:01:21 verbose #1813 > >         if exit_code = 0
00:01:21 verbose #1814 > >             || (run_result |> sm'.contains
00:01:21 verbose #1815 > > "cupy_backends.cuda.api.runtime.CUDARuntimeError: cudaErrorInsufficientDriver")
00:01:21 verbose #1816 > > then
00:01:21 verbose #1817 > >             inl output =
00:01:21 verbose #1818 > >                 try
00:01:21 verbose #1819 > >                     fun () =>
00:01:21 verbose #1820 > >                         run_result
00:01:21 verbose #1821 > >                         |> sm'.split "\n"
00:01:21 verbose #1822 > >                         |> fun x => a x : _ i32 _
00:01:21 verbose #1823 > >                         |> seq.of_array
00:01:21 verbose #1824 > >                         |> sm'.concat "\n"
00:01:21 verbose #1825 > >                     fun ex =>
00:01:21 verbose #1826 > >                         trace Critical
00:01:21 verbose #1827 > >                             fun () => "spiral_builder.process_cuda / Exception"
00:01:21 verbose #1828 > >                             fun () => { ex run_result new_code_path
00:01:21 verbose #1829 > > external_command }
00:01:21 verbose #1830 > >                         None
00:01:21 verbose #1831 > >                 |> optionm'.box
00:01:21 verbose #1832 > >                 |> optionm'.unwrap
00:01:21 verbose #1833 > >
00:01:21 verbose #1834 > >             { extension = Some extension; code = Some new_code; output = Some
00:01:21 verbose #1835 > > output }
00:01:21 verbose #1836 > >         else
00:01:21 verbose #1837 > >             trace Critical
00:01:21 verbose #1838 > >                 fun () => "spiral_builder.process_cuda / error"
00:01:21 verbose #1839 > >                 fun () => { exit_code run_result new_code_path external_command
00:01:21 verbose #1840 > > }
00:01:21 verbose #1841 > >             { extension = Some extension; code = None; output = None }
00:01:21 verbose #1842 > 00:01:20   debug #28 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a2a7e7c75f8d4a5927b92a174c5bfdfd09798308ae06e34a51074dbf9fa4d2dd/main.spi
00:01:22 verbose #1843 > >
00:01:22 verbose #1844 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:22 verbose #1845 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:22 verbose #1846 > > │ ## fsharp                                                                    │
00:01:22 verbose #1847 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:22 verbose #1848 > >
00:01:22 verbose #1849 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:22 verbose #1850 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:22 verbose #1851 > > │ ### process_fsharp                                                           │
00:01:22 verbose #1852 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:22 verbose #1853 > >
00:01:22 verbose #1854 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:22 verbose #1855 > > inl process_fsharp { spi_path } =
00:01:22 verbose #1856 > >     inl extension = "fsx"
00:01:22 verbose #1857 > >
00:01:22 verbose #1858 > >     inl new_code_path = spi_path
00:01:22 verbose #1859 > >     inl new_code = new_code_path |> file_system.read_all_text
00:01:22 verbose #1860 > >
00:01:22 verbose #1861 > >     inl workspace_root_external = file_system.get_workspace_root_external ()
00:01:22 verbose #1862 > >     inl workspace_root = workspace_root_external |> resultm.box |>
00:01:22 verbose #1863 > > resultm.unwrap_or_else id
00:01:22 verbose #1864 > >
00:01:22 verbose #1865 > >     inl supervisor_path = workspace_root </>
00:01:22 verbose #1866 > > $"apps/spiral/dist/Supervisor!(platform.get_executable_suffix ())"
00:01:22 verbose #1867 > >     inl code_dir = new_code_path |> file_system.get_directory_name
00:01:22 verbose #1868 > >     inl file_name = new_code_path |> file_system.get_file_name_without_extension
00:01:22 verbose #1869 > >     inl output_path = code_dir </> $'$"{!file_name}.{!extension}"'
00:01:22 verbose #1870 > >     inl command = $'$"{!supervisor_path} --build-file \\\"{!new_code_path}\\\"
00:01:22 verbose #1871 > > \\\"{!output_path}\\\""'
00:01:22 verbose #1872 > >     inl environment_variables =
00:01:22 verbose #1873 > >         ;[[
00:01:22 verbose #1874 > >             "TRACE_LEVEL", "Verbose"
00:01:22 verbose #1875 > >         ]]
00:01:22 verbose #1876 > >     inl exit_code, run_result =
00:01:22 verbose #1877 > >         runtime.execution_options fun x => { x with
00:01:22 verbose #1878 > >             command
00:01:22 verbose #1879 > >             environment_variables
00:01:22 verbose #1880 > >             working_directory = workspace_root_external |> resultm.box |>
00:01:22 verbose #1881 > > resultm.ok'
00:01:22 verbose #1882 > >         }
00:01:22 verbose #1883 > >         |> runtime.execute_with_options
00:01:22 verbose #1884 > >
00:01:22 verbose #1885 > >     inl external_command =
00:01:22 verbose #1886 > >         inl vars =
00:01:22 verbose #1887 > >             a environment_variables
00:01:22 verbose #1888 > >             |> am.map fun k, v => $'$"$env:{!k}=\'\'{!v}\'\'"' : string
00:01:22 verbose #1889 > >             |> fun x => x : _ i32 _
00:01:22 verbose #1890 > >             |> seq.of_array
00:01:22 verbose #1891 > >             |> sm'.concat ";"
00:01:22 verbose #1892 > >         $'$"pwsh -c \'{!vars}; {!command}\'"' : string
00:01:22 verbose #1893 > >     if exit_code = 0 then
00:01:22 verbose #1894 > >         inl output =
00:01:22 verbose #1895 > >             try
00:01:22 verbose #1896 > >                 fun () =>
00:01:22 verbose #1897 > >                     run_result
00:01:22 verbose #1898 > >                     |> sm'.split "\n"
00:01:22 verbose #1899 > >                     |> fun x => a x : _ i32 _
00:01:22 verbose #1900 > >                     |> seq.of_array
00:01:22 verbose #1901 > >                     |> sm'.concat "\n"
00:01:22 verbose #1902 > >                 fun ex =>
00:01:22 verbose #1903 > >                     trace Critical
00:01:22 verbose #1904 > >                         fun () => "spiral_builder.process_fsharp / Exception"
00:01:22 verbose #1905 > >                         fun () => { ex run_result new_code_path external_command
00:01:22 verbose #1906 > > }
00:01:22 verbose #1907 > >                     None
00:01:22 verbose #1908 > >             |> optionm'.box
00:01:22 verbose #1909 > >             |> optionm'.unwrap
00:01:22 verbose #1910 > >
00:01:22 verbose #1911 > >         { extension = Some extension; code = Some new_code; output = Some output
00:01:22 verbose #1912 > > }
00:01:22 verbose #1913 > >     else
00:01:22 verbose #1914 > >         trace Critical
00:01:22 verbose #1915 > >             fun () => "spiral_builder.process_fsharp / error"
00:01:22 verbose #1916 > >             fun () => { exit_code run_result new_code_path external_command }
00:01:22 verbose #1917 > >         { extension = Some extension; code = None; output = None }
00:01:22 verbose #1918 > 00:01:21   debug #29 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e3aa08857e6f6f9855929d9a2e9842391b607a2b2bdf94d2c68b92c8af27d0b8/main.spi
00:01:23 verbose #1919 > >
00:01:23 verbose #1920 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:23 verbose #1921 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:23 verbose #1922 > > │ ## run                                                                       │
00:01:23 verbose #1923 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:23 verbose #1924 > >
00:01:23 verbose #1925 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:23 verbose #1926 > > let rec run trace_level (matches : runtime.arg_matches) : async.future_pin
00:01:23 verbose #1927 > > (resultm.result' string string) =
00:01:23 verbose #1928 > >     fun () =>
00:01:23 verbose #1929 > >         match matches |> runtime.matches_subcommand |> optionm'.unbox with
00:01:23 verbose #1930 > >         | Some (subcommand, arg_matches)
00:01:23 verbose #1931 > >                 when (subcommand |> sm'.from_std_string) = (get_args () .cuda |>
00:01:23 verbose #1932 > > fst) =>
00:01:23 verbose #1933 > >
00:01:23 verbose #1934 > >             inl py_path =
00:01:23 verbose #1935 > >                 arg_matches
00:01:23 verbose #1936 > >                 |> runtime.matches_get_one ((get_args () .cuda |> snd).py_path
00:01:23 verbose #1937 > > |> fst)
00:01:23 verbose #1938 > >                 |> optionm'.unbox
00:01:23 verbose #1939 > >                 |> optionm.value
00:01:23 verbose #1940 > >                 |> sm'.from_std_string
00:01:23 verbose #1941 > >
00:01:23 verbose #1942 > >             inl env =
00:01:23 verbose #1943 > >                 arg_matches
00:01:23 verbose #1944 > >                 |> runtime.matches_get_one ((get_args () .cuda |> snd).env |>
00:01:23 verbose #1945 > > fst)
00:01:23 verbose #1946 > >                 |> optionm'.unbox
00:01:23 verbose #1947 > >                 |> optionm.map (
00:01:23 verbose #1948 > >                     sm'.from_std_string
00:01:23 verbose #1949 > >                     >> reflection.union_try_pick
00:01:23 verbose #1950 > >                 )
00:01:23 verbose #1951 > >                 |> optionm'.flatten
00:01:23 verbose #1952 > >                 |> optionm'.default_value Pip
00:01:23 verbose #1953 > >
00:01:23 verbose #1954 > >             inl deps : am'.vec sm'.std_string =
00:01:23 verbose #1955 > >                 arg_matches
00:01:23 verbose #1956 > >                 |> runtime.matches_get_many ((get_args () .cuda |> snd).deps |>
00:01:23 verbose #1957 > > fst)
00:01:23 verbose #1958 > >                 |> optionm'.unbox
00:01:23 verbose #1959 > >                 |> optionm'.default_value (;[[]] |> am'.to_vec)
00:01:23 verbose #1960 > >
00:01:23 verbose #1961 > >             inl command_result =
00:01:23 verbose #1962 > >                 process_cuda { py_path env deps }
00:01:23 verbose #1963 > >                 |> fun { extension code output } =>
00:01:23 verbose #1964 > >                     ;[[
00:01:23 verbose #1965 > >                         "extension", extension |> optionm'.default_value ""
00:01:23 verbose #1966 > >                         "code", code |> optionm'.default_value ""
00:01:23 verbose #1967 > >                         "output", output |> optionm'.default_value ""
00:01:23 verbose #1968 > >                     ]]
00:01:23 verbose #1969 > >
00:01:23 verbose #1970 > >             ;[[
00:01:23 verbose #1971 > >                 "command_result",
00:01:23 verbose #1972 > >                 command_result
00:01:23 verbose #1973 > >                 |> am'.to_vec
00:01:23 verbose #1974 > >                 |> am'.vec_map' fun k, v =>
00:01:23 verbose #1975 > >                     new_pair (sm'.to_std_string k) (sm'.to_std_string v)
00:01:23 verbose #1976 > >                 |> mapm.b_tree_map_from_vec_pairs
00:01:23 verbose #1977 > >                 |> sm'.serialize
00:01:23 verbose #1978 > >                 |> resultm.unwrap'
00:01:23 verbose #1979 > >                 |> sm'.from_std_string
00:01:23 verbose #1980 > >             ]]
00:01:23 verbose #1981 > >
00:01:23 verbose #1982 > >         | Some (subcommand, arg_matches)
00:01:23 verbose #1983 > >                 when (subcommand |> sm'.from_std_string) = (get_args () .fable
00:01:23 verbose #1984 > > |> fst) =>
00:01:23 verbose #1985 > >
00:01:23 verbose #1986 > >             inl fs_path =
00:01:23 verbose #1987 > >                 arg_matches
00:01:23 verbose #1988 > >                 |> runtime.matches_get_one ((get_args () .fable |> snd).fs_path
00:01:23 verbose #1989 > > |> fst)
00:01:23 verbose #1990 > >                 |> optionm'.unbox
00:01:23 verbose #1991 > >                 |> optionm.value
00:01:23 verbose #1992 > >                 |> sm'.from_std_string
00:01:23 verbose #1993 > >
00:01:23 verbose #1994 > >             inl command =
00:01:23 verbose #1995 > >                 arg_matches
00:01:23 verbose #1996 > >                 |> runtime.matches_get_one ((get_args () .fable |> snd).command
00:01:23 verbose #1997 > > |> fst)
00:01:23 verbose #1998 > >                 |> optionm'.unbox
00:01:23 verbose #1999 > >                 |> optionm.map sm'.from_std_string
00:01:23 verbose #2000 > >
00:01:23 verbose #2001 > >             inl command_result =
00:01:23 verbose #2002 > >                 match command with
00:01:23 verbose #2003 > >                 | Some command =>
00:01:23 verbose #2004 > >                     get_command ()
00:01:23 verbose #2005 > >                     |> runtime.command_get_matches_from (
00:01:23 verbose #2006 > >                         $'$"_ {!command} --fs-path \\\"{!fs_path}\\\""' |>
00:01:23 verbose #2007 > > runtime.split_args |> resultm.get
00:01:23 verbose #2008 > >                     )
00:01:23 verbose #2009 > >                     |> run trace_level
00:01:23 verbose #2010 > >                     |> async.await
00:01:23 verbose #2011 > >                     |> resultm.unwrap'
00:01:23 verbose #2012 > >                 | None => "{}"
00:01:23 verbose #2013 > >
00:01:23 verbose #2014 > >             ;[[
00:01:23 verbose #2015 > >                 "command_result",
00:01:23 verbose #2016 > >                 command_result
00:01:23 verbose #2017 > >             ]]
00:01:23 verbose #2018 > >
00:01:23 verbose #2019 > >         | Some (subcommand, arg_matches)
00:01:23 verbose #2020 > >             when (subcommand |> sm'.from_std_string) = (get_args () .dib |> fst)
00:01:23 verbose #2021 > > =>
00:01:23 verbose #2022 > >
00:01:23 verbose #2023 > >             inl path =
00:01:23 verbose #2024 > >                 arg_matches
00:01:23 verbose #2025 > >                 |> runtime.matches_get_one ((get_args () .dib |> snd).path |>
00:01:23 verbose #2026 > > fst)
00:01:23 verbose #2027 > >                 |> optionm'.map'' (
00:01:23 verbose #2028 > >                     sm'.from_std_string
00:01:23 verbose #2029 > >                     >> file_system.absolute_path
00:01:23 verbose #2030 > >                 )
00:01:23 verbose #2031 > >                 |> optionm'.unwrap
00:01:23 verbose #2032 > >
00:01:23 verbose #2033 > >             inl retries =
00:01:23 verbose #2034 > >                 arg_matches
00:01:23 verbose #2035 > >                 |> runtime.matches_get_one ((get_args () .dib |> snd).retries |>
00:01:23 verbose #2036 > > fst)
00:01:23 verbose #2037 > >                 |> optionm'.default_value' 1u8
00:01:23 verbose #2038 > >
00:01:23 verbose #2039 > >             inl working_directory =
00:01:23 verbose #2040 > >                 arg_matches
00:01:23 verbose #2041 > >                 |> runtime.matches_get_one ((get_args () .dib |>
00:01:23 verbose #2042 > > snd).working_directory |> fst)
00:01:23 verbose #2043 > >                 |> optionm'.unbox
00:01:23 verbose #2044 > >
00:01:23 verbose #2045 > >             process_dib { path retries working_directory }
00:01:23 verbose #2046 > >
00:01:23 verbose #2047 > >         | matches =>
00:01:23 verbose #2048 > >             match matches with
00:01:23 verbose #2049 > >             | Some (subcommand, arg_matches)
00:01:23 verbose #2050 > >                     when (subcommand |> sm'.from_std_string) = (get_args ()
00:01:23 verbose #2051 > > .rust |> fst) =>
00:01:23 verbose #2052 > >
00:01:23 verbose #2053 > >                 inl fs_path =
00:01:23 verbose #2054 > >                     arg_matches
00:01:23 verbose #2055 > >                     |> runtime.matches_get_one ((get_args () .rust |>
00:01:23 verbose #2056 > > snd).fs_path |> fst)
00:01:23 verbose #2057 > >                     |> optionm'.unbox
00:01:23 verbose #2058 > >                     |> optionm.value
00:01:23 verbose #2059 > >                     |> sm'.from_std_string
00:01:23 verbose #2060 > >
00:01:23 verbose #2061 > >                 inl deps : am'.vec sm'.std_string =
00:01:23 verbose #2062 > >                     arg_matches
00:01:23 verbose #2063 > >                     |> runtime.matches_get_many ((get_args () .rust |> snd).deps
00:01:23 verbose #2064 > > |> fst)
00:01:23 verbose #2065 > >                     |> optionm'.unbox
00:01:23 verbose #2066 > >                     |> optionm'.default_value (;[[]] |> am'.to_vec)
00:01:23 verbose #2067 > >
00:01:23 verbose #2068 > >                 inl wasm =
00:01:23 verbose #2069 > >                     arg_matches
00:01:23 verbose #2070 > >                     |> runtime.matches_get_one ((get_args () .rust |> snd).wasm
00:01:23 verbose #2071 > > |> fst)
00:01:23 verbose #2072 > >                     |> optionm'.unbox
00:01:23 verbose #2073 > >                     |> optionm.map sm'.from_std_string
00:01:23 verbose #2074 > >
00:01:23 verbose #2075 > >                 inl contract =
00:01:23 verbose #2076 > >                     arg_matches
00:01:23 verbose #2077 > >                     |> runtime.matches_get_one ((get_args () .rust |>
00:01:23 verbose #2078 > > snd).contract |> fst)
00:01:23 verbose #2079 > >                     |> optionm'.unbox
00:01:23 verbose #2080 > >                     |> optionm.map sm'.from_std_string
00:01:23 verbose #2081 > >
00:01:23 verbose #2082 > >                 inl runtime =
00:01:23 verbose #2083 > >                     match wasm, contract with
00:01:23 verbose #2084 > >                     | Some wasm, _ => Wasm wasm |> Some
00:01:23 verbose #2085 > >                     | _, Some contract => Contract contract |> Some
00:01:23 verbose #2086 > >                     | _ => None
00:01:23 verbose #2087 > >
00:01:23 verbose #2088 > >                 process_rust { fs_path deps trace_level runtime }
00:01:23 verbose #2089 > >
00:01:23 verbose #2090 > >             | Some (subcommand, arg_matches)
00:01:23 verbose #2091 > >                     when (subcommand |> sm'.from_std_string) = (get_args ()
00:01:23 verbose #2092 > > .typescript |> fst) =>
00:01:23 verbose #2093 > >
00:01:23 verbose #2094 > >                 inl fs_path =
00:01:23 verbose #2095 > >                     arg_matches
00:01:23 verbose #2096 > >                     |> runtime.matches_get_one ((get_args () .typescript |>
00:01:23 verbose #2097 > > snd).fs_path |> fst)
00:01:23 verbose #2098 > >                     |> optionm'.unbox
00:01:23 verbose #2099 > >                     |> optionm.value
00:01:23 verbose #2100 > >                     |> sm'.from_std_string
00:01:23 verbose #2101 > >
00:01:23 verbose #2102 > >                 inl deps : am'.vec sm'.std_string =
00:01:23 verbose #2103 > >                     arg_matches
00:01:23 verbose #2104 > >                     |> runtime.matches_get_many ((get_args () .typescript |>
00:01:23 verbose #2105 > > snd).deps |> fst)
00:01:23 verbose #2106 > >                     |> optionm'.unbox
00:01:23 verbose #2107 > >                     |> optionm'.default_value (;[[]] |> am'.to_vec)
00:01:23 verbose #2108 > >
00:01:23 verbose #2109 > >                 process_typescript { fs_path deps trace_level }
00:01:23 verbose #2110 > >
00:01:23 verbose #2111 > >             | Some (subcommand, arg_matches)
00:01:23 verbose #2112 > >                     when (subcommand |> sm'.from_std_string) = (get_args ()
00:01:23 verbose #2113 > > .python |> fst) =>
00:01:23 verbose #2114 > >                 inl fs_path =
00:01:23 verbose #2115 > >                     arg_matches
00:01:23 verbose #2116 > >                     |> runtime.matches_get_one ((get_args () .python |>
00:01:23 verbose #2117 > > snd).fs_path |> fst)
00:01:23 verbose #2118 > >                     |> optionm'.unbox
00:01:23 verbose #2119 > >                     |> optionm.value
00:01:23 verbose #2120 > >                     |> sm'.from_std_string
00:01:23 verbose #2121 > >
00:01:23 verbose #2122 > >                 inl deps : am'.vec sm'.std_string =
00:01:23 verbose #2123 > >                     arg_matches
00:01:23 verbose #2124 > >                     |> runtime.matches_get_many ((get_args () .python |>
00:01:23 verbose #2125 > > snd).deps |> fst)
00:01:23 verbose #2126 > >                     |> optionm'.unbox
00:01:23 verbose #2127 > >                     |> optionm'.default_value (;[[]] |> am'.to_vec)
00:01:23 verbose #2128 > >
00:01:23 verbose #2129 > >                 process_python { fs_path deps trace_level }
00:01:23 verbose #2130 > >
00:01:23 verbose #2131 > >             | Some (subcommand, arg_matches) =>
00:01:23 verbose #2132 > >                 trace Debug
00:01:23 verbose #2133 > >                     fun () => $'"spiral_builder.run / invalid subcommand"'
00:01:23 verbose #2134 > >                     fun () => { subcommand arg_matches }
00:01:23 verbose #2135 > >
00:01:23 verbose #2136 > >                 { extension = None; code = None; output = None }
00:01:23 verbose #2137 > >             | _ =>
00:01:23 verbose #2138 > >                 { extension = None; code = None; output = None }
00:01:23 verbose #2139 > >             |> fun { extension code output } =>
00:01:23 verbose #2140 > >                 ;[[
00:01:23 verbose #2141 > >                     "extension", extension |> optionm'.default_value ""
00:01:23 verbose #2142 > >                     "code", code |> optionm'.default_value ""
00:01:23 verbose #2143 > >                     "output", output |> optionm'.default_value ""
00:01:23 verbose #2144 > >                 ]]
00:01:23 verbose #2145 > >         |> am'.to_vec
00:01:23 verbose #2146 > >         |> am'.vec_map' fun k, v =>
00:01:23 verbose #2147 > >             new_pair (sm'.to_std_string k) (sm'.to_std_string v)
00:01:23 verbose #2148 > >         |> mapm.b_tree_map_from_vec_pairs
00:01:23 verbose #2149 > >         |> sm'.serialize
00:01:23 verbose #2150 > >         |> resultm.map_error' (sm'.format' >> sm'.from_std_string)
00:01:23 verbose #2151 > >         |> resultm.map' sm'.from_std_string
00:01:23 verbose #2152 > >     |> async.new_future_move
00:01:23 verbose #2153 > 00:01:22   debug #30 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/923d2e3b4b2b36410693ac1dfbbd5ad0bb7df7590f052a723684ff0b95c4df00/main.spi
00:01:23 verbose #2154 > >
00:01:23 verbose #2155 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:23 verbose #2156 > > //// test
00:01:23 verbose #2157 > > ///! rust -d async-walkdir chrono clap encoding_rs encoding_rs_io futures rand
00:01:23 verbose #2158 > > rayon regex serde_json sha2 tokio[['rt-multi-thread']] tokio-stream
00:01:23 verbose #2159 > >
00:01:23 verbose #2160 > > inl file_name = "main.fs"
00:01:23 verbose #2161 > > inl code = "3 - 6 |> System.Console.WriteLine\n"
00:01:23 verbose #2162 > >
00:01:23 verbose #2163 > > inl temp_dir, disposable =
00:01:23 verbose #2164 > >     (file_name, code)
00:01:23 verbose #2165 > >     |> sm'.format_debug
00:01:23 verbose #2166 > >     |> crypto.hash_text
00:01:23 verbose #2167 > >     |> file_system.create_temp_dir'
00:01:23 verbose #2168 > > inl fs_path = temp_dir </> file_name
00:01:23 verbose #2169 > >
00:01:23 verbose #2170 > > code |> file_system.write_all_text fs_path
00:01:23 verbose #2171 > >
00:01:23 verbose #2172 > > get_command ()
00:01:23 verbose #2173 > > |> runtime.command_get_matches_from ($'$"_ fable -f \\\"{!fs_path}\\\" -c
00:01:23 verbose #2174 > > \\\"rust -d regex=\'*\'\\\""' |> runtime.split_args |> resultm.get)
00:01:23 verbose #2175 > > |> run Verbose
00:01:23 verbose #2176 > > |> async.block_on
00:01:23 verbose #2177 > > |> resultm.unwrap'
00:01:23 verbose #2178 > > |> sm'.deserialize
00:01:23 verbose #2179 > > |> resultm.unwrap'
00:01:23 verbose #2180 > > |> mapm.get ("command_result" |> sm'.to_std_string)
00:01:23 verbose #2181 > > |> optionm'.unwrap
00:01:23 verbose #2182 > > |> sm'.from_std_string
00:01:23 verbose #2183 > > |> sm'.deserialize
00:01:23 verbose #2184 > > |> resultm.unwrap'
00:01:23 verbose #2185 > > |> fun result =>
00:01:23 verbose #2186 > >     result
00:01:23 verbose #2187 > >     |> mapm.get ("extension" |> sm'.to_std_string)
00:01:23 verbose #2188 > >     |> optionm'.unwrap
00:01:23 verbose #2189 > >     |> sm'.from_std_string
00:01:23 verbose #2190 > >     |> _assert_eq "rs"
00:01:23 verbose #2191 > >     result
00:01:23 verbose #2192 > >     |> mapm.get ("output" |> sm'.to_std_string)
00:01:23 verbose #2193 > >     |> optionm'.unwrap
00:01:23 verbose #2194 > >     |> sm'.from_std_string
00:01:23 verbose #2195 > >     |> _assert_eq "-3"
00:01:23 verbose #2196 > >
00:01:23 verbose #2197 > > disposable |> use |> ignore
00:01:24 verbose #2198 > 00:01:23   debug #31 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa60b2a8037d32a9e958a34633d4402e14c7d551dab8b393fdc9aa8b446b4bf7/main.spi
00:02:06 verbose #2199 > >
00:02:06 verbose #2200 > > ╭─[ 42.91s - return value ]────────────────────────────────────────────────────╮
00:02:06 verbose #2201 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:02:06 verbose #2202 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_b91a0ac0 │
00:02:06 verbose #2203 > > │ 75ec1e1fb7845057720b4b6e15dfba3f6ae9434e77a4fb1b8b146897\c6422374-71e4-07d4- │
00:02:06 verbose #2204 > > │ 0ba4-c3084b24fbba }                                                          │
00:02:06 verbose #2205 > > │ 00:00:00 verbose #2 file_system.create_dir / { dir =                   │
00:02:06 verbose #2206 > > │ c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Rust\f58a │
00:02:06 verbose #2207 > > │ 8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e }               │
00:02:06 verbose #2208 > > │ 00:00:00   debug #3 runtime.execute_with_options / { file_name =       │
00:02:06 verbose #2209 > > │ dotnet; arguments = [                                                        │
00:02:06 verbose #2210 > > │     "fable",                                                                 │
00:02:06 verbose #2211 > > │                                                                              │
00:02:06 verbose #2212 > > │ "c:/home/git/polyglot/target/spiral_builder/spiral_builder/packages/Rust/f58 │
00:02:06 verbose #2213 > > │ a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e/spiral_builder │
00:02:06 verbose #2214 > > │ .fsproj",                                                                    │
00:02:06 verbose #2215 > > │     "--optimize",                                                            │
00:02:06 verbose #2216 > > │     "--lang",                                                                │
00:02:06 verbose #2217 > > │     "rs",                                                                    │
00:02:06 verbose #2218 > > │     "--extension",                                                           │
00:02:06 verbose #2219 > > │     ".rs",                                                                   │
00:02:06 verbose #2220 > > │     "--outDir",                                                              │
00:02:06 verbose #2221 > > │                                                                              │
00:02:06 verbose #2222 > > │ "c:\\home\\git\\polyglot\\target/spiral_builder\\spiral_builder\\packages\\R │
00:02:06 verbose #2223 > > │ ust\\f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e",      │
00:02:06 verbose #2224 > > │     "--define",                                                              │
00:02:06 verbose #2225 > > │     "_WINDOWS",                                                              │
00:02:06 verbose #2226 > > │ ]; options = { command = dotnet fable                                        │
00:02:06 verbose #2227 > > │ "c:/home/git/polyglot/target/spiral_builder/spiral_builder/packages/Rust/f58 │
00:02:06 verbose #2228 > > │ a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e/spiral_builder │
00:02:06 verbose #2229 > > │ .fsproj" --optimize --lang rs --extension .rs --outDir                       │
00:02:06 verbose #2230 > > │ "c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Rust\f58 │
00:02:06 verbose #2231 > > │ a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e" --define      │
00:02:06 verbose #2232 > > │ _WINDOWS; cancellation_token = None; environment_variables = Array(MutCell([ │
00:02:06 verbose #2233 > > │ ])); on_line = None; stdin = None; trace =                                   │
00:02:06 verbose #2234 > > │ tr...der\packages\Rust\f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d │
00:02:06 verbose #2235 > > │ 392fe9ebb1e\spiral_builder.rs; cleanup =                                     │
00:02:06 verbose #2236 > > │ UH4_1("c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Ru │
00:02:06 verbose #2237 > > │ st\f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e\../../.. │
00:02:06 verbose #2238 > > │ \target/debug/spiral_builder_f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad │
00:02:06 verbose #2239 > > │ 7e4d7d392fe9ebb1e.d", true,                                                  │
00:02:06 verbose #2240 > > │ UH4_1("c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Ru │
00:02:06 verbose #2241 > > │ st\f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e\../../.. │
00:02:06 verbose #2242 > > │ \target/debug/spiral_builder_f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad │
00:02:06 verbose #2243 > > │ 7e4d7d392fe9ebb1e.exe", true,                                                │
00:02:06 verbose #2244 > > │ UH4_1("c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Ru │
00:02:06 verbose #2245 > > │ st\f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e\../../.. │
00:02:06 verbose #2246 > > │ \target/debug/spiral_builder_f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad │
00:02:06 verbose #2247 > > │ 7e4d7d392fe9ebb1e.pdb", true,                                                │
00:02:06 verbose #2248 > > │ UH4_1("c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Ru │
00:02:06 verbose #2249 > > │ st\f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e\../../.. │
00:02:06 verbose #2250 > > │ \target/debug/spiral_builder_f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad │
00:02:06 verbose #2251 > > │ 7e4d7d392fe9ebb1e.wasm", false,                                              │
00:02:06 verbose #2252 > > │ UH4_1("c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Ru │
00:02:06 verbose #2253 > > │ st\f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad7e4d7d392fe9ebb1e\../../.. │
00:02:06 verbose #2254 > > │ \target/debug/spiral_builder_f58a8f60b65e9bacc8229b6e2ae18dba8f9dc103c5ce2ad │
00:02:06 verbose #2255 > > │ 7e4d7d392fe9ebb1e", false, UH4_0))))) }                                      │
00:02:06 verbose #2256 > > │ __assert_eq / actual: "rs" / expected: "rs"                                  │
00:02:06 verbose #2257 > > │ __assert_eq / actual: "-3" / expected: "-3"                                  │
00:02:06 verbose #2258 > > │                                                                              │
00:02:06 verbose #2259 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:06 verbose #2260 > >
00:02:06 verbose #2261 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:06 verbose #2262 > > //// test
00:02:06 verbose #2263 > > ///! rust -d async-walkdir chrono clap encoding_rs encoding_rs_io futures rand
00:02:06 verbose #2264 > > rayon regex serde_json sha2 tokio[['rt-multi-thread']] tokio-stream
00:02:06 verbose #2265 > >
00:02:06 verbose #2266 > > inl file_name = "main.fs"
00:02:06 verbose #2267 > > inl code = "3 - 6 |> System.Console.WriteLine\n"
00:02:06 verbose #2268 > >
00:02:06 verbose #2269 > > inl temp_dir, disposable =
00:02:06 verbose #2270 > >     (file_name, code)
00:02:06 verbose #2271 > >     |> sm'.format_debug
00:02:06 verbose #2272 > >     |> crypto.hash_text
00:02:06 verbose #2273 > >     |> file_system.create_temp_dir'
00:02:06 verbose #2274 > > inl fs_path = temp_dir </> file_name
00:02:06 verbose #2275 > >
00:02:06 verbose #2276 > > code |> file_system.write_all_text fs_path
00:02:06 verbose #2277 > >
00:02:06 verbose #2278 > > get_command ()
00:02:06 verbose #2279 > > |> runtime.command_get_matches_from ($'$"_ fable -f \\\"{!fs_path}\\\" -c
00:02:06 verbose #2280 > > \\\"typescript\\\""' |> runtime.split_args |> resultm.get)
00:02:06 verbose #2281 > > |> run Verbose
00:02:06 verbose #2282 > > |> async.block_on
00:02:06 verbose #2283 > > |> resultm.unwrap'
00:02:06 verbose #2284 > > |> sm'.deserialize
00:02:06 verbose #2285 > > |> resultm.unwrap'
00:02:06 verbose #2286 > > |> mapm.get ("command_result" |> sm'.to_std_string)
00:02:06 verbose #2287 > > |> optionm'.unwrap
00:02:06 verbose #2288 > > |> sm'.from_std_string
00:02:06 verbose #2289 > > |> sm'.deserialize
00:02:06 verbose #2290 > > |> resultm.unwrap'
00:02:06 verbose #2291 > > |> fun result =>
00:02:06 verbose #2292 > >     result
00:02:06 verbose #2293 > >     |> mapm.get ("extension" |> sm'.to_std_string)
00:02:06 verbose #2294 > >     |> optionm'.unwrap
00:02:06 verbose #2295 > >     |> sm'.from_std_string
00:02:06 verbose #2296 > >     |> _assert_eq "ts"
00:02:06 verbose #2297 > >     result
00:02:06 verbose #2298 > >     |> mapm.get ("output" |> sm'.to_std_string)
00:02:06 verbose #2299 > >     |> optionm'.unwrap
00:02:06 verbose #2300 > >     |> sm'.from_std_string
00:02:06 verbose #2301 > >     |> _assert_eq "-3"
00:02:06 verbose #2302 > >
00:02:06 verbose #2303 > > disposable |> use |> ignore
00:02:06 verbose #2304 > 00:02:05   debug #32 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/509f28bbcde3a03de184cba07e959c3398d08da5cbfebf816b325f5ae341ee91/main.spi
00:02:42 verbose #2305 > >
00:02:42 verbose #2306 > > ╭─[ 35.55s - return value ]────────────────────────────────────────────────────╮
00:02:42 verbose #2307 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:02:42 verbose #2308 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_568e262c │
00:02:42 verbose #2309 > > │ 8981c99cdc609e5ccc98750528a341ba129e8d54587988556f0a5100\c6422374-71e4-07d4- │
00:02:42 verbose #2310 > > │ 0ba4-c3084b24fbba }                                                          │
00:02:42 verbose #2311 > > │ 00:00:00 verbose #2 file_system.create_dir / { dir =                   │
00:02:42 verbose #2312 > > │ c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\TypeScrip │
00:02:42 verbose #2313 > > │ t\702335b0756baa7db0d02dbbeaf9fc04cf2c3b7dbb45866c578c5109aaa8c4a8 }         │
00:02:42 verbose #2314 > > │ 00:00:00   debug #3 spiral_builder.process_typescript / { version =    │
00:02:42 verbose #2315 > > │ US42_1 }                                                                     │
00:02:42 verbose #2316 > > │ 00:00:00   debug #4 runtime.execute_with_options / { file_name =       │
00:02:42 verbose #2317 > > │ dotnet; arguments = [                                                        │
00:02:42 verbose #2318 > > │     "fable",                                                                 │
00:02:42 verbose #2319 > > │                                                                              │
00:02:42 verbose #2320 > > │ "c:/home/git/polyglot/target/spiral_builder/spiral_builder/packages/TypeScri │
00:02:42 verbose #2321 > > │ pt/702335b0756baa7db0d02dbbeaf9fc04cf2c3b7dbb45866c578c5109aaa8c4a8/spiral_b │
00:02:42 verbose #2322 > > │ uilder.fsproj",                                                              │
00:02:42 verbose #2323 > > │     "--optimize",                                                            │
00:02:42 verbose #2324 > > │     "--lang",                                                                │
00:02:42 verbose #2325 > > │     "ts",                                                                    │
00:02:42 verbose #2326 > > │     "--extension",                                                           │
00:02:42 verbose #2327 > > │     ".ts",                                                                   │
00:02:42 verbose #2328 > > │     "--outDir",                                                              │
00:02:42 verbose #2329 > > │                                                                              │
00:02:42 verbose #2330 > > │ "c:\\home\\git\\polyglot\\target/spiral_builder\\spiral_builder\\packages\\T │
00:02:42 verbose #2331 > > │ ypeScript\\702335b0756baa7db0d02dbbeaf9fc04cf2c3b7dbb45866c578c5109aaa8c4a8" │
00:02:42 verbose #2332 > > │ ,                                                                            │
00:02:42 verbose #2333 > > │     "--define",                                                              │
00:02:42 verbose #2334 > > │     "_WINDOWS",                                                              │
00:02:42 verbose #2335 > > │ ]; options = { command = dotnet fable                                        │
00:02:42 verbose #2336 > > │ "c:/home/git/polyglot/target/spiral_builder/spiral_builder/packages/TypeScri │
00:02:42 verbose #2337 > > │ pt/702335b0756baa7db0d02dbbeaf9fc04cf2c3b7dbb45866c578c5109aaa8c4a8/spiral_b │
00:02:42 verbose #2338 > > │ uilder.fsproj" --optimize --lang ts --extension .ts --outDir                 │
00:02:42 verbose #2339 > > │ "c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\TypeScri │
00:02:42 verbose #2340 > > │ pt\702335b0756baa7db0d02dbbeaf9fc04cf2c3b7dbb45866c578c5109aaa8c4a8"         │
00:02:42 verbose #2341 > > │ --define                                                                     │
00:02:42 verbose #2342 > > │ _WIN...pps\vscode-insiders\current\bin;C:\Users\i574n\scoop\apps\python\curr │
00:02:42 verbose #2343 > > │ ent\Scripts;C:\Users\i574n\scoop\apps\python\current\.;C:\Users\i574n\scoop\ │
00:02:42 verbose #2344 > > │ apps\elixir\current\bin;C:\Users\i574n\scoop\apps\rustup\current\.cargo\bin; │
00:02:42 verbose #2345 > > │ C:\Users\i574n\scoop\apps\latex\current\texmfs\install\miktex\bin\x64;C:\Use │
00:02:42 verbose #2346 > > │ rs\i574n\scoop\apps\dotnet-sdk-preview\current;C:\Users\i574n\scoop\apps\dot │
00:02:42 verbose #2347 > > │ net-sdk\current;C:\Users\i574n\scoop\apps\gsudo\current;C:\Users\i574n\scoop │
00:02:42 verbose #2348 > > │ \apps\python\current;C:\Users\i574n\scoop\apps\nircmd\current;C:\Users\i574n │
00:02:42 verbose #2349 > > │ \AppData\Local\Microsoft\WindowsApps;C:\Users\i574n/scoop/buckets/mold/home/ │
00:02:42 verbose #2350 > > │ windows/path;C:\Users\i574n/scoop/persist/rustup/.cargo/bin;C:\Users\i574n/s │
00:02:42 verbose #2351 > > │ coop/apps/nvm/current/nodejs/nodejs;C:\Users\i574n/scoop/apps/cygwin/current │
00:02:42 verbose #2352 > > │ /root/bin;C:\Users\i574n\AppData\Local\Programs\Microsoft VS                 │
00:02:42 verbose #2353 > > │ Code\bin;C:\Users\i574n\AppData\Local\Microsoft\WindowsApps;C:\Users\i574n\. │
00:02:42 verbose #2354 > > │ bun\bin;C:\Users\i574n\.dotnet\tools;C:\Users\i574n\scoop\shims;C:\Users\i57 │
00:02:42 verbose #2355 > > │ 4n\.fly\bin;C:\Program                                                       │
00:02:42 verbose #2356 > > │ Files\Wasmtime\bin;C:\Users\i574n/.cargo/bin;C:\Users\i574n/.bun/bin;C:\User │
00:02:42 verbose #2357 > > │ s\i574n/.cargo/bin;C:\Users\i574n/.bun/bin;C:\Users\i574n/.cargo/bin;C:\User │
00:02:42 verbose #2358 > > │ s\i574n/.bun/bin"), ("TRACE_LEVEL", "Verbose")])); on_line = None; stdin =   │
00:02:42 verbose #2359 > > │ None; trace = true; working_directory = None } }                             │
00:02:42 verbose #2360 > > │ 00:00:01 verbose #19 > -3                                              │
00:02:42 verbose #2361 > > │ 00:00:01 verbose #20 runtime.execute_with_options / result / {         │
00:02:42 verbose #2362 > > │ exit_code = 0; std_trace_length = 2 }                                        │
00:02:42 verbose #2363 > > │ __assert_eq / actual: "ts" / expected: "ts"                                  │
00:02:42 verbose #2364 > > │ __assert_eq / actual: "-3" / expected: "-3"                                  │
00:02:42 verbose #2365 > > │                                                                              │
00:02:42 verbose #2366 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:42 verbose #2367 > >
00:02:42 verbose #2368 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:42 verbose #2369 > > //// test
00:02:42 verbose #2370 > > ///! rust -d async-walkdir chrono clap encoding_rs encoding_rs_io futures rand
00:02:42 verbose #2371 > > rayon regex serde_json sha2 tokio[['rt-multi-thread']] tokio-stream
00:02:42 verbose #2372 > >
00:02:42 verbose #2373 > > inl file_name = "main.fs"
00:02:42 verbose #2374 > > inl code = "3 - 6 |> System.Console.WriteLine\n"
00:02:42 verbose #2375 > >
00:02:42 verbose #2376 > > inl temp_dir, disposable =
00:02:42 verbose #2377 > >     (file_name, code)
00:02:42 verbose #2378 > >     |> sm'.format_debug
00:02:42 verbose #2379 > >     |> crypto.hash_text
00:02:42 verbose #2380 > >     |> file_system.create_temp_dir'
00:02:42 verbose #2381 > > inl fs_path = temp_dir </> file_name
00:02:42 verbose #2382 > >
00:02:42 verbose #2383 > > code |> file_system.write_all_text fs_path
00:02:42 verbose #2384 > >
00:02:42 verbose #2385 > > get_command ()
00:02:42 verbose #2386 > > |> runtime.command_get_matches_from ($'$"_ fable -f \\\"{!fs_path}\\\" -c
00:02:42 verbose #2387 > > \\\"python\\\""' |> runtime.split_args |> resultm.get)
00:02:42 verbose #2388 > > |> run Verbose
00:02:42 verbose #2389 > > |> async.block_on
00:02:42 verbose #2390 > > |> resultm.unwrap'
00:02:42 verbose #2391 > > |> sm'.deserialize
00:02:42 verbose #2392 > > |> resultm.unwrap'
00:02:42 verbose #2393 > > |> mapm.get ("command_result" |> sm'.to_std_string)
00:02:42 verbose #2394 > > |> optionm'.unwrap
00:02:42 verbose #2395 > > |> sm'.from_std_string
00:02:42 verbose #2396 > > |> sm'.deserialize
00:02:42 verbose #2397 > > |> resultm.unwrap'
00:02:42 verbose #2398 > > |> fun result =>
00:02:42 verbose #2399 > >     result
00:02:42 verbose #2400 > >     |> mapm.get ("extension" |> sm'.to_std_string)
00:02:42 verbose #2401 > >     |> optionm'.unwrap
00:02:42 verbose #2402 > >     |> sm'.from_std_string
00:02:42 verbose #2403 > >     |> _assert_eq "py"
00:02:42 verbose #2404 > >     result
00:02:42 verbose #2405 > >     |> mapm.get ("output" |> sm'.to_std_string)
00:02:42 verbose #2406 > >     |> optionm'.unwrap
00:02:42 verbose #2407 > >     |> sm'.from_std_string
00:02:42 verbose #2408 > >     |> _assert_eq "-3"
00:02:42 verbose #2409 > >
00:02:42 verbose #2410 > > disposable |> use |> ignore
00:02:42 verbose #2411 > 00:02:41   debug #33 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3e981cb38f594474926a6ef9cf7b491696c12b5f1d3757b4d439be0afdfdf290/main.spi
00:03:17 verbose #2412 > >
00:03:17 verbose #2413 > > ╭─[ 35.14s - return value ]────────────────────────────────────────────────────╮
00:03:17 verbose #2414 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:03:17 verbose #2415 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_43c52de1 │
00:03:17 verbose #2416 > > │ 5e92fcb9829f100e811e88e2011edfb25a90bbe5bf27ee64172daf43\c6422374-71e4-07d4- │
00:03:17 verbose #2417 > > │ 0ba4-c3084b24fbba }                                                          │
00:03:17 verbose #2418 > > │ 00:00:00 verbose #2 file_system.create_dir / { dir =                   │
00:03:17 verbose #2419 > > │ c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Python\cb │
00:03:17 verbose #2420 > > │ 8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce }             │
00:03:17 verbose #2421 > > │ 00:00:00   debug #3 runtime.execute_with_options / { file_name =       │
00:03:17 verbose #2422 > > │ dotnet; arguments = [                                                        │
00:03:17 verbose #2423 > > │     "fable",                                                                 │
00:03:17 verbose #2424 > > │                                                                              │
00:03:17 verbose #2425 > > │ "c:/home/git/polyglot/target/spiral_builder/spiral_builder/packages/Python/c │
00:03:17 verbose #2426 > > │ b8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce/spiral_build │
00:03:17 verbose #2427 > > │ er.fsproj",                                                                  │
00:03:17 verbose #2428 > > │     "--optimize",                                                            │
00:03:17 verbose #2429 > > │     "--lang",                                                                │
00:03:17 verbose #2430 > > │     "py",                                                                    │
00:03:17 verbose #2431 > > │     "--extension",                                                           │
00:03:17 verbose #2432 > > │     ".py",                                                                   │
00:03:17 verbose #2433 > > │     "--outDir",                                                              │
00:03:17 verbose #2434 > > │                                                                              │
00:03:17 verbose #2435 > > │ "c:\\home\\git\\polyglot\\target/spiral_builder\\spiral_builder\\packages\\P │
00:03:17 verbose #2436 > > │ ython\\cb8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce",    │
00:03:17 verbose #2437 > > │     "--define",                                                              │
00:03:17 verbose #2438 > > │     "_WINDOWS",                                                              │
00:03:17 verbose #2439 > > │ ]; options = { command = dotnet fable                                        │
00:03:17 verbose #2440 > > │ "c:/home/git/polyglot/target/spiral_builder/spiral_builder/packages/Python/c │
00:03:17 verbose #2441 > > │ b8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce/spiral_build │
00:03:17 verbose #2442 > > │ er.fsproj" --optimize --lang py --extension .py --outDir                     │
00:03:17 verbose #2443 > > │ "c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Python\c │
00:03:17 verbose #2444 > > │ b8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce" --define    │
00:03:17 verbose #2445 > > │ _WINDOWS; cancellation_token = None; environment_variables = Array(MutCell([ │
00:03:17 verbose #2446 > > │ ])); on_line = None; stdin = None; ... issues run `dotnet fable clean` or    │
00:03:17 verbose #2447 > > │ try `--noCache` option.                                                      │
00:03:17 verbose #2448 > > │ 00:00:01 verbose #11 > Project and references (1 source files) parsed  │
00:03:17 verbose #2449 > > │ in 256ms                                                                     │
00:03:17 verbose #2450 > > │ 00:00:01 verbose #12 >                                                 │
00:03:17 verbose #2451 > > │ 00:00:01 verbose #13 > Skipped compilation because all generated files │
00:03:17 verbose #2452 > > │ are up-to-date!                                                              │
00:03:17 verbose #2453 > > │ 00:00:01 verbose #14 runtime.execute_with_options / result / {         │
00:03:17 verbose #2454 > > │ exit_code = 0; std_trace_length = 541 }                                      │
00:03:17 verbose #2455 > > │ 00:00:01   debug #15 spiral_builder.process_python / { new_code_path = │
00:03:17 verbose #2456 > > │ c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Python\cb │
00:03:17 verbose #2457 > > │ 8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce\spiral_builde │
00:03:17 verbose #2458 > > │ r.py }                                                                       │
00:03:17 verbose #2459 > > │ 00:00:01   debug #16 runtime.execute_with_options / { file_name =      │
00:03:17 verbose #2460 > > │ python; arguments = [                                                        │
00:03:17 verbose #2461 > > │                                                                              │
00:03:17 verbose #2462 > > │ "c:\\home\\git\\polyglot\\target/spiral_builder\\spiral_builder\\packages\\P │
00:03:17 verbose #2463 > > │ ython\\cb8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce\\spi │
00:03:17 verbose #2464 > > │ ral_builder.py",                                                             │
00:03:17 verbose #2465 > > │ ]; options = { command = python                                              │
00:03:17 verbose #2466 > > │ "c:\home\git\polyglot\target/spiral_builder\spiral_builder\packages\Python\c │
00:03:17 verbose #2467 > > │ b8f3dd33197bb0bc95f09b3f3057a6844a0b70d75477350491883d14d8680ce\spiral_build │
00:03:17 verbose #2468 > > │ er.py"; cancellation_token = None; environment_variables = Array(MutCell([   │
00:03:17 verbose #2469 > > │ ("TRACE_LEVEL", "Verbose")])); on_line = None; stdin = None; trace = true;   │
00:03:17 verbose #2470 > > │ working_directory = None } }                                                 │
00:03:17 verbose #2471 > > │ 00:00:01 verbose #17 > -3                                              │
00:03:17 verbose #2472 > > │ 00:00:01 verbose #18 runtime.execute_with_options / result / {         │
00:03:17 verbose #2473 > > │ exit_code = 0; std_trace_length = 2 }                                        │
00:03:17 verbose #2474 > > │ __assert_eq / actual: "py" / expected: "py"                                  │
00:03:17 verbose #2475 > > │ __assert_eq / actual: "-3" / expected: "-3"                                  │
00:03:17 verbose #2476 > > │                                                                              │
00:03:17 verbose #2477 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:17 verbose #2478 > >
00:03:17 verbose #2479 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:17 verbose #2480 > > //// test
00:03:17 verbose #2481 > > ///! rust -d async-walkdir chrono clap encoding_rs encoding_rs_io rand rayon
00:03:17 verbose #2482 > > regex serde_json sha2 tokio[['rt-multi-thread']] tokio-stream
00:03:17 verbose #2483 > >
00:03:17 verbose #2484 > > inl file_name = "test.dib"
00:03:17 verbose #2485 > > inl code =
00:03:17 verbose #2486 > >
00:03:17 verbose #2487 > > "#!meta\n\n{\"kernelInfo\":{\"defaultKernelName\":\"fsharp\",\"items\":[[]]}}\n\
00:03:17 verbose #2488 > > n#!fsharp\n\n3 - 6\n"
00:03:17 verbose #2489 > >
00:03:17 verbose #2490 > > inl temp_dir, disposable =
00:03:17 verbose #2491 > >     (file_name, code)
00:03:17 verbose #2492 > >     |> sm'.format_debug
00:03:17 verbose #2493 > >     |> crypto.hash_text
00:03:17 verbose #2494 > >     |> file_system.create_temp_dir'
00:03:17 verbose #2495 > > inl path = temp_dir </> file_name |> file_system.normalize_path
00:03:17 verbose #2496 > >
00:03:17 verbose #2497 > > code
00:03:17 verbose #2498 > > |> file_system.write_all_text path
00:03:17 verbose #2499 > >
00:03:17 verbose #2500 > > get_command ()
00:03:17 verbose #2501 > > |> runtime.command_get_matches_from ($'$"_ dib -p {!path}"' |>
00:03:17 verbose #2502 > > runtime.split_args |> resultm.get)
00:03:17 verbose #2503 > > |> run Verbose
00:03:17 verbose #2504 > > |> async.block_on
00:03:17 verbose #2505 > > |> resultm.unwrap'
00:03:17 verbose #2506 > > |> __assert_string_contains Silent "<pre>-3 "
00:03:17 verbose #2507 > >
00:03:17 verbose #2508 > > $'$"{!path}.html"'
00:03:17 verbose #2509 > > |> file_system.read_all_text
00:03:17 verbose #2510 > > |> __assert_string_contains Silent "\"cell-id=1\""
00:03:17 verbose #2511 > >
00:03:17 verbose #2512 > > disposable |> use |> ignore
00:03:17 verbose #2513 > 00:03:16   debug #34 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8989044543087f8cfccd4556b5cb39dbefe7ff0389c5d8bf1d5adb3704e15c9d/main.spi
00:04:09 verbose #2514 > >
00:04:09 verbose #2515 > > ╭─[ 51.92s - return value ]────────────────────────────────────────────────────╮
00:04:09 verbose #2516 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:04:09 verbose #2517 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_823e1635 │
00:04:09 verbose #2518 > > │ a484e4d5a4f6b34f40e8cc6440fe4105b914769d67a05039e45ce4b1\af524e22-8e9a-5d18- │
00:04:09 verbose #2519 > > │ 99ed-bd86e1b74623 }                                                          │
00:04:09 verbose #2520 > > │ 00:00:00   debug #2 runtime.execute_with_options / { file_name =       │
00:04:09 verbose #2521 > > │ dotnet; arguments = [                                                        │
00:04:09 verbose #2522 > > │     "repl",                                                                  │
00:04:09 verbose #2523 > > │     "--exit-after-run",                                                      │
00:04:09 verbose #2524 > > │     "--run",                                                                 │
00:04:09 verbose #2525 > > │                                                                              │
00:04:09 verbose #2526 > > │ "c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_823e163 │
00:04:09 verbose #2527 > > │ 5a484e4d5a4f6b34f40e8cc6440fe4105b914769d67a05039e45ce4b1/af524e22-8e9a-5d18 │
00:04:09 verbose #2528 > > │ -99ed-bd86e1b74623/test.dib",                                                │
00:04:09 verbose #2529 > > │     "--output-path",                                                         │
00:04:09 verbose #2530 > > │                                                                              │
00:04:09 verbose #2531 > > │ "c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_823e163 │
00:04:09 verbose #2532 > > │ 5a484e4d5a4f6b34f40e8cc6440fe4105b914769d67a05039e45ce4b1/af524e22-8e9a-5d18 │
00:04:09 verbose #2533 > > │ -99ed-bd86e1b74623/test.dib.ipynb",                                          │
00:04:09 verbose #2534 > > │ ]; options = { command = dotnet repl --exit-after-run --run                  │
00:04:09 verbose #2535 > > │ "c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_823e163 │
00:04:09 verbose #2536 > > │ 5a484e4d5a4f6b34f40e8cc6440fe4105b914769d67a05039e45ce4b1/af524e22-8e9a-5d18 │
00:04:09 verbose #2537 > > │ -99ed-bd86e1b74623/test.dib" --output-path                                   │
00:04:09 verbose #2538 > > │ "c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_823e163 │
00:04:09 verbose #2539 > > │ 5a484e4d5a4f6b34f40e8cc6440fe4105b914769d67a05039e45ce4b1/af524e22-8e9a-5d18 │
00:04:09 verbose #2540 > > │ -99ed-bd86e1b74623/test.dib.ipynb"; cancellation_token = None;               │
00:04:09 verbose #2541 > > │ environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"),           │
00:04:09 verbose #2542 > > │ ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false;      │
00:04:09 verbose #2543 > > │ working_directory = None } }                                                 │
00:04:09 verbose #2544 > > │ >                                                                            │
00:04:09 verbose #2545 > > │ > ── fsharp                                                                  │
00:04:09 verbose #2546 > > │ ──────────────────────────────────────────────────────────────────...ime.exe │
00:04:09 verbose #2547 > > │ cute_with_options / result / { exit_code = 0; std_trace_length = 915 }       │
00:04:09 verbose #2548 > > │ 00:00:14   debug #10 spiral_builder.run / dib / jupyter nbconvert / {  │
00:04:09 verbose #2549 > > │ exit_code = 0; jupyter_result_length = 915 }                                 │
00:04:09 verbose #2550 > > │ 00:00:14   debug #11 runtime.execute_with_options / { file_name =      │
00:04:09 verbose #2551 > > │ pwsh; arguments = [                                                          │
00:04:09 verbose #2552 > > │     "-c",                                                                    │
00:04:09 verbose #2553 > > │     "$counter = 1; $path =                                                   │
00:04:09 verbose #2554 > > │ 'c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_823e163 │
00:04:09 verbose #2555 > > │ 5a484e4d5a4f6b34f40e8cc6440fe4105b914769d67a05039e45ce4b1/af524e22-8e9a-5d18 │
00:04:09 verbose #2556 > > │ -99ed-bd86e1b74623/test.dib.html'; (Get-Content $path -Raw) -replace         │
00:04:09 verbose #2557 > > │ '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } |     │
00:04:09 verbose #2558 > > │ Set-Content $path",                                                          │
00:04:09 verbose #2559 > > │ ]; options = { command = pwsh -c "$counter = 1; $path =                      │
00:04:09 verbose #2560 > > │ 'c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_823e163 │
00:04:09 verbose #2561 > > │ 5a484e4d5a4f6b34f40e8cc6440fe4105b914769d67a05039e45ce4b1/af524e22-8e9a-5d18 │
00:04:09 verbose #2562 > > │ -99ed-bd86e1b74623/test.dib.html'; (Get-Content $path -Raw) -replace         │
00:04:09 verbose #2563 > > │ '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } |       │
00:04:09 verbose #2564 > > │ Set-Content $path"; cancellation_token = None; environment_variables =       │
00:04:09 verbose #2565 > > │ Array(MutCell([])); on_line = None; stdin = None; trace = true;              │
00:04:09 verbose #2566 > > │ working_directory = None } }                                                 │
00:04:09 verbose #2567 > > │ 00:00:15 verbose #12 runtime.execute_with_options / result / {         │
00:04:09 verbose #2568 > > │ exit_code = 0; std_trace_length = 0 }                                        │
00:04:09 verbose #2569 > > │ 00:00:15   debug #13 spiral_builder.run / dib / html cell ids / {      │
00:04:09 verbose #2570 > > │ exit_code = 0; pwsh_replace_html_result_length = 0 }                         │
00:04:09 verbose #2571 > > │ 00:00:16   debug #14 spiral_builder.run / dib / { exit_code = 0;       │
00:04:09 verbose #2572 > > │ result_length = 3897 }                                                       │
00:04:09 verbose #2573 > > │                                                                              │
00:04:09 verbose #2574 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:09 verbose #2575 > >
00:04:09 verbose #2576 > > ── markdown ────────────────────────────────────────────────────────────────────
00:04:09 verbose #2577 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:09 verbose #2578 > > │ ## tests                                                                     │
00:04:09 verbose #2579 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:09 verbose #2580 > >
00:04:09 verbose #2581 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:09 verbose #2582 > > inl tests () =
00:04:09 verbose #2583 > >     testing.run_tests {
00:04:09 verbose #2584 > >         verify_app = get_command >> runtime.command_debug_assert
00:04:09 verbose #2585 > >     }
00:04:09 verbose #2586 > 00:04:08   debug #35 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c5f5702898861be1172cab9b47d2e531b84cd0d4896c572de4dd6ad31864cb1d/main.spi
00:04:10 verbose #2587 > >
00:04:10 verbose #2588 > > ── markdown ────────────────────────────────────────────────────────────────────
00:04:10 verbose #2589 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:10 verbose #2590 > > │ ## main                                                                      │
00:04:10 verbose #2591 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:10 verbose #2592 > >
00:04:10 verbose #2593 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:10 verbose #2594 > > ///! _
00:04:10 verbose #2595 > >
00:04:10 verbose #2596 > > inl main (args : array_base string) =
00:04:10 verbose #2597 > >     inl trace_state = get_trace_state_or_init None
00:04:10 verbose #2598 > >
00:04:10 verbose #2599 > >     trace Debug
00:04:10 verbose #2600 > >         fun () => $'$"spiral_builder.main"'
00:04:10 verbose #2601 > >         fun () => { args }
00:04:10 verbose #2602 > >
00:04:10 verbose #2603 > >     inl command = get_command ()
00:04:10 verbose #2604 > >     inl arg_matches = command |> runtime.command_get_matches
00:04:10 verbose #2605 > >
00:04:10 verbose #2606 > >     inl trace_state_level = trace_state.level
00:04:10 verbose #2607 > >
00:04:10 verbose #2608 > >     inl result =
00:04:10 verbose #2609 > >         arg_matches
00:04:10 verbose #2610 > >         |> run *trace_state_level
00:04:10 verbose #2611 > >         |> async.block_on
00:04:10 verbose #2612 > >         |> resultm.unwrap'
00:04:10 verbose #2613 > >
00:04:10 verbose #2614 > >     if *trace_state_level = Info
00:04:10 verbose #2615 > >     then result |> console.write_line
00:04:10 verbose #2616 > >
00:04:10 verbose #2617 > >     0i32
00:04:10 verbose #2618 > >
00:04:10 verbose #2619 > > inl main () =
00:04:10 verbose #2620 > >     $'let tests () = !tests ()' : ()
00:04:10 verbose #2621 > >     $'let main args = !main args' : ()
00:04:10 verbose #2622 > 00:04:09   debug #36 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6792a9ad8ef3e436e1c35fba7243a94981f294722e0228d790c4b0ebb2b52f92/main.spi
00:04:29 verbose #2623 > 00:04:26 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 113793 }
00:04:29 verbose #2624 > 00:04:26   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:04:29 verbose #2625 >     "nbconvert",
00:04:29 verbose #2626 >     "c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib.ipynb",
00:04:29 verbose #2627 >     "--to",
00:04:29 verbose #2628 >     "html",
00:04:29 verbose #2629 >     "--HTMLExporter.theme=dark",
00:04:29 verbose #2630 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:04:32 verbose #2631 > 00:04:29 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib.ipynb to html
00:04:32 verbose #2632 > 00:04:29 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:04:32 verbose #2633 > 00:04:29 verbose #7 !   validate(nb)
00:04:35 verbose #2634 > 00:04:33 verbose #8 ! [NbConvertApp] Writing 590586 bytes to c:\home\git\polyglot\apps\spiral\builder\spiral_builder.dib.html
00:04:35 verbose #2635 > 00:04:33 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 677 }
00:04:35 verbose #2636 > 00:04:33   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 677 }
00:04:35 verbose #2637 > 00:04:33   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:04:35 verbose #2638 >     "-c",
00:04:35 verbose #2639 >     "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:04:35 verbose #2640 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/builder/spiral_builder.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:04:37 verbose #2641 > 00:04:34 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:04:37 verbose #2642 > 00:04:34   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:04:37 verbose #2643 > 00:04:35   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 114529 }
00:04:38   debug #2644 runtime.execute_with_options_async / { exit_code = 0; output_length = 122481 }
00:04:38   debug #4 main / executeCommand / exitCode: 0 / command: ../../../workspace/target/release/spiral_builder.exe dib --path spiral_builder.dib
00:04:38 verbose #6 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:04:38 verbose #7 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 writeDibCode / output: Spi / path: spiral_builder.dib
00:00:00   debug #2 parseDibCode / output: Spi / file: spiral_builder.dib
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #6 async.run_with_timeout_async / { timeout = 100 }
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02 verbose #7 async.run_with_timeout_async / { timeout = 180 }
00:00:02   debug #4 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:02   debug #5 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:02   debug #6 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:03 verbose #7 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # spiral_builder\nopen file_system_operators\nopen rust.rust_operators\n...ain args\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/apps/spiral/builder/spiral_builder.spi"}} / result:
00:00:03 verbose #8 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/apps/spiral/builder/spiral_builder.spi"}} / result:
00:00:03   debug #9 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:03   debug #10 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:03 verbose #7 > 00:00:02   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/apps/spiral/builder/spiral_builder.spi
00:00:04   debug #11 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:04   debug #12 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:04   debug #13 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:04   debug #14 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:05   debug #15 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:05   debug #16 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:05   debug #17 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:05   debug #18 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:06   debug #19 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:06   debug #20 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:06   debug #21 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:06   debug #22 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:07   debug #23 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:07   debug #24 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:07   debug #25 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:07   debug #26 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:08   debug #27 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:08   debug #28 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:08   debug #29 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:08   debug #30 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:09   debug #31 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:09   debug #32 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:09   debug #33 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:09   debug #34 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:10   debug #35 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:10   debug #36 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:10   debug #37 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:10   debug #38 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:11   debug #39 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:11   debug #40 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:11   debug #41 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:11   debug #42 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:12   debug #43 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:12   debug #44 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:12   debug #45 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:12   debug #46 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:13   debug #47 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:13   debug #48 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:13   debug #49 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:13   debug #50 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:14   debug #51 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:14   debug #52 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:14   debug #53 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:14   debug #54 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:15   debug #55 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:15   debug #56 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:15   debug #57 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:15   debug #58 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:16   debug #59 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:16   debug #60 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:16   debug #61 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:16   debug #62 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:17   debug #63 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:17   debug #64 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:17   debug #65 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:17   debug #66 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:18   debug #67 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:18   debug #68 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:18   debug #69 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:18   debug #70 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:19   debug #71 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:19   debug #72 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:19   debug #73 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:19   debug #74 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:20   debug #75 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:20   debug #76 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:20   debug #77 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:20   debug #78 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:21   debug #79 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:21   debug #80 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:21   debug #81 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:21   debug #82 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:22   debug #83 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:22   debug #84 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:22   debug #85 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:22   debug #86 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:23   debug #87 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:23   debug #88 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:23   debug #89 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:23   debug #90 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:24   debug #91 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:24   debug #92 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:24   debug #93 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:24   debug #94 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:25   debug #95 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:25   debug #96 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:25   debug #97 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:25   debug #98 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:26   debug #99 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:26   debug #100 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:26   debug #101 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:26   debug #102 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:27   debug #103 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:27   debug #104 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:27   debug #105 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("&$0")>]
#endif
type Ref<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit...()
        ()
    0
let v0 : (unit -> unit) = closure0()
let tests () = v0 ()
let v1 : ((string []) -> int32) = closure1()
let main args = v1 args
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_builder.spi
00:00:27   debug #106 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("&$0")>]
#endif
type Ref<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit...()
        ()
    0
let v0 : (unit -> unit) = closure0()
let tests () = v0 ()
let v1 : ((string []) -> int32) = closure1()
let main args = v1 args
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_builder.spi
00:00:27   debug #107 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:27 verbose #8 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:27 verbose #9 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 persistCodeProject / packages: [Fable.Core] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: spiral_builder / hash:  / code.Length: 1640805
targetDir: C:\home\git\polyglot\target\Builder\spiral_builder
Fable 4.19.3: F# to Rust compiler (status: alpha)

Thanks to the contributor! @zanaptak
Stand with Ukraine! https://standwithukraine.com.ua/

Parsing target\Builder\spiral_builder\spiral_builder.fsproj...
Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.
Project and references (14 source files) parsed in 254ms

Started Fable compilation...

Fable compilation finished in 23179ms

.\lib\spiral\async_.fsx(76,0): (76,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\threading.fsx(145,0): (145,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(1300,0): (1300,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\sm.fsx(414,0): (414,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\date_time.fsx(1012,0): (1012,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\crypto.fsx(1391,0): (1391,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\platform.fsx(104,0): (104,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(4639,0): (4639,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(1333,0): (1333,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(6776,0): (6776,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(10817,0): (10817,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
   Compiling spiral_builder v0.0.1 (C:\home\git\polyglot\apps\spiral\builder)
    Finished `release` profile [optimized] target(s) in 27.38s
     Running unittests spiral_builder.rs (C:\home\git\polyglot\workspace\target\release\deps\spiral_builder-26021c3efad21c2f.exe)

running 1 test
test module_7e2cd9e0::Spiral_builder::verify_app ... ok

successes:

successes:
    module_7e2cd9e0::Spiral_builder::verify_app

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Compiling spiral_builder v0.0.1 (C:\home\git\polyglot\apps\spiral\builder)
error: failed to remove file `C:\home\git\polyglot\workspace\target\release\spiral_builder.exe`

Caused by:
  Access is denied. (os error 5)

# Invoke-Block / $retry: 1/1 / $Location:  / Get-Location: C:\home\git\polyglot\apps\spiral\builder / $OnError: Continue / $exitcode: 101 / $EnvVars: {
  "PATH": "C:\\Users\\i574n\\scoop\\apps\\pwsh\\current;C:\\Program Files\\NVIDIA\\CUDNN\\v9.1\\bin;C:\\ProgramData\\scoop\\shims;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\dotnet\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Perforce;C:\\Program Files\\Wasmtime\\bin;C:\\Program Files\\Perforce\\;C:\\Users\\i574n\\scoop\\apps\\vscode-insiders\\current\\bin;C:\\Users\\i574n\\scoop\\apps\\python\\current\\Scripts;C:\\Users\\i574n\\scoop\\apps\\python\\current\\.;C:\\Users\\i574n\\scoop\\apps\\elixir\\current\\bin;C:\\Users\\i574n\\scoop\\apps\\rustup\\current\\.cargo\\bin;C:\\Users\\i574n\\scoop\\apps\\latex\\current\\texmfs\\install\\miktex\\bin\\x64;C:\\Users\\i574n\\scoop\\apps\\dotnet-sdk-preview\\current;C:\\Users\\i574n\\scoop\\apps\\dotnet-sdk\\current;C:\\Users\\i574n\\scoop\\apps\\gsudo\\current;C:\\Users\\i574n\\scoop\\apps\\python\\current;C:\\Users\\i574n\\scoop\\apps\\nircmd\\current;C:\\Users\\i574n\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\i574n/scoop/buckets/mold/home/windows/path;C:\\Users\\i574n/scoop/persist/rustup/.cargo/bin;C:\\Users\\i574n/scoop/apps/nvm/current/nodejs/nodejs;C:\\Users\\i574n/scoop/apps/cygwin/current/root/bin;C:\\Users\\i574n\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\i574n\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\i574n\\.bun\\bin;C:\\Users\\i574n\\.dotnet\\tools;C:\\Users\\i574n\\scoop\\shims;C:\\Users\\i574n\\.fly\\bin;C:\\Program Files\\Wasmtime\\bin;C:\\Users\\i574n/.cargo/bin;C:\\Users\\i574n/.bun/bin;C:\\Users\\i574n/.cargo/bin;C:\\Users\\i574n/.bun/bin;C:\\Users\\i574n/.cargo/bin;C:\\Users\\i574n/.bun/bin"
} / $Error: '' / $ScriptBlock:
'cargo build --release'

In [ ]:
{ pwsh ../apps/spiral/wasm/build.ps1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02   debug #7 runtime.execute_with_options_async / { options = { command = ../../../workspace/target/release/spiral_builder.exe dib --path spiral_wasm.dib; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:02 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "spiral_wasm.dib"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib" --output-path "c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:06 verbose #17 > >
00:00:06 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #20 > > │ # spiral_wasm                                                                │
00:00:06 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #22 > >
00:00:11 verbose #23 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 verbose #24 > > open rust.rust_operators
00:00:11 verbose #25 > > open rust
00:00:11 verbose #26 > > open sm'_operators
00:00:12 verbose #27 > 00:00:11   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/97c3b504fa1f560fdc0258569742b97a5f05d5b6377297ae83d67ca590b45d34/main.spi
00:00:17 verbose #28 > >
00:00:17 verbose #29 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #30 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #31 > > │ ## spiral_wasm                                                               │
00:00:17 verbose #32 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #33 > >
00:00:17 verbose #34 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #35 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #36 > > │ ### get_args                                                                 │
00:00:17 verbose #37 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #38 > >
00:00:17 verbose #39 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #40 > > inl get_args () =
00:00:17 verbose #41 > >     {
00:00:17 verbose #42 > >         exception = "exception", 'e'
00:00:17 verbose #43 > >         trace_level = "trace_level", 't'
00:00:17 verbose #44 > >         wasm = "wasm", 'w'
00:00:17 verbose #45 > >     }
00:00:17 verbose #46 > 00:00:16   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/69734c5f4489ca7e942ef4727dafb1ba9a85504a5b96198e2d790368bbf91813/main.spi
00:00:17 verbose #47 > >
00:00:17 verbose #48 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #49 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #50 > > │ ### get_command                                                              │
00:00:17 verbose #51 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #52 > >
00:00:17 verbose #53 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #54 > > let get_command () =
00:00:17 verbose #55 > >     ##"command"
00:00:17 verbose #56 > >     |> runtime.new_command
00:00:17 verbose #57 > >     |> runtime.command_args_override_self true
00:00:17 verbose #58 > >     |> runtime.command_init_arg (get_args () .exception) (
00:00:17 verbose #59 > >         runtime.arg_action runtime.SetTrue
00:00:17 verbose #60 > >     )
00:00:17 verbose #61 > >     |> runtime.command_init_arg (get_args () .trace_level) (
00:00:17 verbose #62 > >         real runtime.arg_union `trace_level ignore
00:00:17 verbose #63 > >     )
00:00:17 verbose #64 > >     |> runtime.command_init_arg (get_args () .wasm) (
00:00:17 verbose #65 > >         runtime.arg_required true
00:00:17 verbose #66 > >     )
00:00:18 verbose #67 > 00:00:17   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/79f2ee000c289c8f7a82df3f0b312bf95731a5578ebb3fe19946f78c261c5740/main.spi
00:00:18 verbose #68 > >
00:00:18 verbose #69 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #70 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #71 > > │ ### run                                                                      │
00:00:18 verbose #72 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #73 > >
00:00:18 verbose #74 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #75 > > let rec run (matches : runtime.arg_matches) : async.future_pin (resultm.result'
00:00:18 verbose #76 > > u8 resultm.anyhow_error) =
00:00:18 verbose #77 > >     fun () =>
00:00:18 verbose #78 > >         inl wasm_path =
00:00:18 verbose #79 > >             matches
00:00:18 verbose #80 > >             |> runtime.matches_get_one (get_args () .wasm |> fst)
00:00:18 verbose #81 > >             |> optionm'.unbox
00:00:18 verbose #82 > >             |> optionm.value
00:00:18 verbose #83 > >             |> sm'.from_std_string
00:00:18 verbose #84 > >
00:00:18 verbose #85 > >         trace Verbose (fun () => "spiral_wasm.run") fun () => { wasm_path }
00:00:18 verbose #86 > >
00:00:18 verbose #87 > >         inl wasm = wasm_path |> file_system.read |> resultm.try'
00:00:18 verbose #88 > >
00:00:18 verbose #89 > >         let fn (retry : u8) =
00:00:18 verbose #90 > >             fun () =>
00:00:18 verbose #91 > >                 inl worker = near_workspaces.sandbox_worker () |> resultm.try'
00:00:18 verbose #92 > >
00:00:18 verbose #93 > >                 trace Verbose (fun () => "spiral_wasm.run") fun () => { retry
00:00:18 verbose #94 > > worker }
00:00:18 verbose #95 > >
00:00:18 verbose #96 > >                 inl contract = worker |> near_workspaces.dev_deploy wasm |>
00:00:18 verbose #97 > > async.await |> resultm.try'
00:00:18 verbose #98 > >
00:00:18 verbose #99 > >                 trace Verbose (fun () => "spiral_wasm.run") fun () => { retry
00:00:18 verbose #100 > > contract }
00:00:18 verbose #101 > >
00:00:18 verbose #102 > >                 inl result =
00:00:18 verbose #103 > >                     contract
00:00:18 verbose #104 > >                     |> near_workspaces.call "state_main"
00:00:18 verbose #105 > >                     |> near_workspaces.transact
00:00:18 verbose #106 > >                     |> async.await
00:00:18 verbose #107 > >                     |> resultm.try'
00:00:18 verbose #108 > >
00:00:18 verbose #109 > >                 trace Verbose (fun () => "spiral_wasm.run") fun () => { retry
00:00:18 verbose #110 > > result }
00:00:18 verbose #111 > >
00:00:18 verbose #112 > >                 result
00:00:18 verbose #113 > >                 |> near_workspaces.logs
00:00:18 verbose #114 > >                 |> am'.vec_map sm'.ref_to_std_string
00:00:18 verbose #115 > >                 |> am'.vec_for_each console.write_line
00:00:18 verbose #116 > >
00:00:18 verbose #117 > >                 result |> near_workspaces.print_usd retry
00:00:18 verbose #118 > >
00:00:18 verbose #119 > >                 inl result2 = result |> near_workspaces.into_result
00:00:18 verbose #120 > >
00:00:18 verbose #121 > >                 trace Verbose (fun () => "spiral_wasm.run") fun () => { result2
00:00:18 verbose #122 > > }
00:00:18 verbose #123 > >
00:00:18 verbose #124 > >                 inl receipt_failures = result |>
00:00:18 verbose #125 > > near_workspaces.receipt_failures
00:00:18 verbose #126 > >                 inl receipt_failures_len = receipt_failures |> am'.vec_len |>
00:00:18 verbose #127 > > i32
00:00:18 verbose #128 > >
00:00:18 verbose #129 > >                 trace Verbose
00:00:18 verbose #130 > >                     fun () => "spiral_wasm.run"
00:00:18 verbose #131 > >                     fun () => { receipt_failures_len receipt_failures }
00:00:18 verbose #132 > >
00:00:18 verbose #133 > >                 inl receipt_outcomes = result |>
00:00:18 verbose #134 > > near_workspaces.receipt_outcomes
00:00:18 verbose #135 > >                 inl receipt_outcomes_len = receipt_outcomes |> am'.vec_len |>
00:00:18 verbose #136 > > i32
00:00:18 verbose #137 > >
00:00:18 verbose #138 > >                 trace Verbose
00:00:18 verbose #139 > >                     fun () => "spiral_wasm.run"
00:00:18 verbose #140 > >                     fun () => { receipt_outcomes_len receipt_outcomes }
00:00:18 verbose #141 > >
00:00:18 verbose #142 > >                 inl json = result |> near_workspaces.json
00:00:18 verbose #143 > >
00:00:18 verbose #144 > >                 trace Verbose (fun () => "spiral_wasm.run") fun () => { json }
00:00:18 verbose #145 > >
00:00:18 verbose #146 > >                 inl borsh = result |> near_workspaces.borsh
00:00:18 verbose #147 > >
00:00:18 verbose #148 > >                 trace Verbose (fun () => "spiral_wasm.run") fun () => { borsh }
00:00:18 verbose #149 > >
00:00:18 verbose #150 > >                 inl error = { receipt_failures receipt_outcomes_len retry } |>
00:00:18 verbose #151 > > sm'.format
00:00:18 verbose #152 > >                 if receipt_failures_len > 0
00:00:18 verbose #153 > >                 then (Ok (Some error) : _ _ resultm.anyhow_error) |> resultm.box
00:00:18 verbose #154 > >                 elif receipt_outcomes_len > 1
00:00:18 verbose #155 > >                 then (Ok None : _ _ resultm.anyhow_error) |> resultm.box
00:00:18 verbose #156 > >                 else error |> resultm.anyhow_error |> resultm.err
00:00:18 verbose #157 > >             |> async.new_future_move
00:00:18 verbose #158 > >
00:00:18 verbose #159 > >         inl rec loop (retry : u8) =
00:00:18 verbose #160 > >             inl max = 30
00:00:18 verbose #161 > >             inl init () =
00:00:18 verbose #162 > >                 fun () =>
00:00:18 verbose #163 > >                     retry
00:00:18 verbose #164 > >                 |> async.new_future_move
00:00:18 verbose #165 > >             if retry >= max then
00:00:18 verbose #166 > >                 fun () =>
00:00:18 verbose #167 > >                     init ()
00:00:18 verbose #168 > >                     |> async.await
00:00:18 verbose #169 > >                     |> Error
00:00:18 verbose #170 > >                 |> async.new_future_move
00:00:18 verbose #171 > >             else
00:00:18 verbose #172 > >                 inl result =
00:00:18 verbose #173 > >                     fn retry
00:00:18 verbose #174 > >                     |> async.await
00:00:18 verbose #175 > >                     |> resultm.map_error' sm'.format'
00:00:18 verbose #176 > >                     |> resultm.unbox
00:00:18 verbose #177 > >                 match result with
00:00:18 verbose #178 > >                 | Ok (None) =>
00:00:18 verbose #179 > >                     fun () =>
00:00:18 verbose #180 > >                         init ()
00:00:18 verbose #181 > >                         |> async.await
00:00:18 verbose #182 > >                         |> Ok
00:00:18 verbose #183 > >                     |> async.new_future_move
00:00:18 verbose #184 > >                 | Ok (Some error) =>
00:00:18 verbose #185 > >                     trace Critical (fun () => "spiral_wasm.run / Ok (Some
00:00:18 verbose #186 > > error)") fun () => { retry error }
00:00:18 verbose #187 > >                     fun () =>
00:00:18 verbose #188 > >                         init ()
00:00:18 verbose #189 > >                         |> async.await
00:00:18 verbose #190 > >                         |> Error
00:00:18 verbose #191 > >                     |> async.new_future_move
00:00:18 verbose #192 > >                 | Error error =>
00:00:18 verbose #193 > >                     trace Warning (fun () => "spiral_wasm.run / Error error")
00:00:18 verbose #194 > > fun () => { retry error }
00:00:18 verbose #195 > >                     loop (retry + 1)
00:00:18 verbose #196 > >         inl retries =
00:00:18 verbose #197 > >             loop 1
00:00:18 verbose #198 > >             |> async.await
00:00:18 verbose #199 > >
00:00:18 verbose #200 > >         trace Verbose (fun () => "spiral_wasm.run") fun () => { retries }
00:00:18 verbose #201 > >
00:00:18 verbose #202 > >         match retries with
00:00:18 verbose #203 > >         | Ok retries => Ok retries |> resultm.box
00:00:18 verbose #204 > >         | Error retries => { retries } |> sm'.format |> resultm.anyhow_error |>
00:00:18 verbose #205 > > resultm.err
00:00:18 verbose #206 > >
00:00:18 verbose #207 > >     |> async.new_future_move
00:00:18 verbose #208 > 00:00:17   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ca69766fe6742c8199d5415728e04dd782b582adf137cef3a911d585bab3beb8/main.spi
00:00:18 verbose #209 > >
00:00:18 verbose #210 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #211 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #212 > > │ ### main                                                                     │
00:00:18 verbose #213 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #214 > >
00:00:18 verbose #215 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #216 > > ///! _
00:00:18 verbose #217 > >
00:00:18 verbose #218 > > inl main (args : array_base string) =
00:00:18 verbose #219 > >     inl command = get_command ()
00:00:18 verbose #220 > >     inl arg_matches = command |> runtime.command_get_matches
00:00:18 verbose #221 > >
00:00:18 verbose #222 > >     inl trace_level =
00:00:18 verbose #223 > >         arg_matches
00:00:18 verbose #224 > >         |> runtime.matches_get_one (get_args () .trace_level |> fst)
00:00:18 verbose #225 > >         |> optionm'.unbox
00:00:18 verbose #226 > >         |> optionm.map (
00:00:18 verbose #227 > >             sm'.from_std_string
00:00:18 verbose #228 > >             >> reflection.union_try_pick
00:00:18 verbose #229 > >         )
00:00:18 verbose #230 > >         |> optionm'.flatten
00:00:18 verbose #231 > >         |> optionm'.default_value Verbose
00:00:18 verbose #232 > >
00:00:18 verbose #233 > >     inl trace_state = get_trace_state_or_init (Some trace_level)
00:00:18 verbose #234 > >
00:00:18 verbose #235 > >     trace Verbose
00:00:18 verbose #236 > >         fun () => $'$"spiral_wasm.main"'
00:00:18 verbose #237 > >         fun () => { args }
00:00:18 verbose #238 > >
00:00:18 verbose #239 > >     inl exception : bool =
00:00:18 verbose #240 > >         arg_matches
00:00:18 verbose #241 > >         |> runtime.matches_get_flag (get_args () .exception |> fst)
00:00:18 verbose #242 > >
00:00:18 verbose #243 > >     inl result =
00:00:18 verbose #244 > >         arg_matches
00:00:18 verbose #245 > >         |> run
00:00:18 verbose #246 > >         |> async.block_on
00:00:18 verbose #247 > >         |> resultm.map_error' sm'.format'
00:00:18 verbose #248 > >
00:00:18 verbose #249 > >     match result |> resultm.ok' |> optionm'.unbox with
00:00:18 verbose #250 > >     | Some retries when exception => "spiral_wasm.main / exception=true" |>
00:00:18 verbose #251 > > resultm.err |> resultm.unwrap'
00:00:18 verbose #252 > >     | None when exception => ()
00:00:18 verbose #253 > >     | Some retries => retries |> ignore
00:00:18 verbose #254 > >     | None => result |> resultm.unwrap' |> ignore
00:00:18 verbose #255 > >
00:00:18 verbose #256 > >     0i32
00:00:18 verbose #257 > >
00:00:18 verbose #258 > > inl main () =
00:00:18 verbose #259 > >     $'let main args = !main args' : ()
00:00:19 verbose #260 > 00:00:18   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5324e0f87d18ed774e17a7c0db50525b6ff35858738fc1c68e7940063e6e7074/main.spi
00:00:37 verbose #261 > 00:00:34 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 8786 }
00:00:37 verbose #262 > 00:00:34   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:00:37 verbose #263 >     "nbconvert",
00:00:37 verbose #264 >     "c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib.ipynb",
00:00:37 verbose #265 >     "--to",
00:00:37 verbose #266 >     "html",
00:00:37 verbose #267 >     "--HTMLExporter.theme=dark",
00:00:37 verbose #268 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:40 verbose #269 > 00:00:37 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib.ipynb to html
00:00:40 verbose #270 > 00:00:37 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:40 verbose #271 > 00:00:37 verbose #7 !   validate(nb)
00:00:42 verbose #272 > 00:00:39 verbose #8 ! [NbConvertApp] Writing 302458 bytes to c:\home\git\polyglot\apps\spiral\wasm\spiral_wasm.dib.html
00:00:42 verbose #273 > 00:00:39 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 665 }
00:00:42 verbose #274 > 00:00:39   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 665 }
00:00:42 verbose #275 > 00:00:40   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:00:42 verbose #276 >     "-c",
00:00:42 verbose #277 >     "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:00:42 verbose #278 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:43 verbose #279 > 00:00:41 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:00:43 verbose #280 > 00:00:41   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:00:44 verbose #281 > 00:00:42   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 9510 }
00:00:44   debug #282 runtime.execute_with_options_async / { exit_code = 0; output_length = 12739 }
00:00:44   debug #4 main / executeCommand / exitCode: 0 / command: ../../../workspace/target/release/spiral_builder.exe dib --path spiral_wasm.dib
00:00:44 verbose #6 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:44 verbose #7 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 writeDibCode / output: Spi / path: spiral_wasm.dib
00:00:00   debug #2 parseDibCode / output: Spi / file: spiral_wasm.dib
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #6 async.run_with_timeout_async / { timeout = 100 }
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02 verbose #7 async.run_with_timeout_async / { timeout = 180 }
00:00:02   debug #4 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:03   debug #5 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:03   debug #6 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:03 verbose #7 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # spiral_wasm\nopen rust.rust_operators\nopen rust\nopen sm\u0027_operat...s = !main args\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.spi"}} / result:
00:00:03 verbose #8 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.spi"}} / result:
00:00:03   debug #9 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:03   debug #10 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:03 verbose #7 > 00:00:02   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/apps/spiral/wasm/spiral_wasm.spi
00:00:04   debug #11 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:04   debug #12 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:04   debug #13 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:04   debug #14 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:05   debug #15 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:05   debug #16 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:05   debug #17 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:05   debug #18 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:06   debug #19 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:06   debug #20 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:06   debug #21 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:06   debug #22 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:07   debug #23 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:07   debug #24 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:07   debug #25 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:07   debug #26 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:08   debug #27 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:08   debug #28 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:08   debug #29 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:08   debug #30 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:09   debug #31 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:09   debug #32 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:09   debug #33 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:09   debug #34 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:10   debug #35 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:10   debug #36 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:10   debug #37 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:10   debug #38 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:11   debug #39 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:11   debug #40 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:11   debug #41 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:11   debug #42 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:12   debug #43 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:12   debug #44 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:12   debug #45 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:12   debug #46 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:13   debug #47 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:13   debug #48 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:13   debug #49 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:13   debug #50 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:14   debug #51 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:14   debug #52 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:14   debug #53 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:14   debug #54 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:15   debug #55 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:15   debug #56 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:15   debug #57 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:15   debug #58 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:16   debug #59 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:16   debug #60 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:16   debug #61 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:16   debug #62 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:17   debug #63 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:17   debug #64 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:17   debug #65 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:17   debug #66 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:18   debug #67 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:18   debug #68 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:18   debug #69 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:18   debug #70 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:19   debug #71 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:19   debug #72 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:19   debug #73 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:19   debug #74 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:20   debug #75 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:20   debug #76 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:20   debug #77 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:20   debug #78 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:21   debug #79 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:21   debug #80 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:21   debug #81 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:21   debug #82 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:22   debug #83 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:22   debug #84 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:22   debug #85 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:22   debug #86 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:23   debug #87 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:23   debug #88 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:23   debug #89 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:23   debug #90 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:24   debug #91 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:24   debug #92 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:24   debug #93 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:24   debug #94 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:25   debug #95 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:25   debug #96 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:25   debug #97 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("&$0")>]
#endif
type Ref<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit...          Fable.Core.RustInterop.emitRustExpr v973 v974 
            ()
    0
let v0 : ((string []) -> int32) = closure0()
let main args = v0 args
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: spiral_wasm.spi
00:00:25   debug #98 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("&$0")>]
#endif
type Ref<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit...          Fable.Core.RustInterop.emitRustExpr v973 v974 
            ()
    0
let v0 : ((string []) -> int32) = closure0()
let main args = v0 args
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: spiral_wasm.spi
00:00:25   debug #99 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:25 verbose #8 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:26 verbose #9 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 persistCodeProject / packages: [Fable.Core] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: spiral_wasm / hash:  / code.Length: 1918351
targetDir: C:\home\git\polyglot\target\Builder\spiral_wasm
Fable 4.19.3: F# to Rust compiler (status: alpha)

Thanks to the contributor! @markek
Stand with Ukraine! https://standwithukraine.com.ua/

Parsing target\Builder\spiral_wasm\spiral_wasm.fsproj...
Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.
Project and references (14 source files) parsed in 272ms

Started Fable compilation...

Fable compilation finished in 23512ms

.\lib\spiral\async_.fsx(76,0): (76,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\threading.fsx(145,0): (145,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\sm.fsx(414,0): (414,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(1300,0): (1300,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\crypto.fsx(1391,0): (1391,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\date_time.fsx(1012,0): (1012,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\platform.fsx(104,0): (104,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(4639,0): (4639,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(1333,0): (1333,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(6776,0): (6776,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(10817,0): (10817,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
   Compiling fable_library_rust v0.1.0 (/mnt/c/home/git/polyglot/lib/rust/fable/fable_modules/fable-library-rust)
   Compiling spiral_wasm v0.0.1 (/mnt/c/home/git/polyglot/apps/spiral/wasm)
    Finished `release` profile [optimized] target(s) in 3m 57s
In [ ]:
{ pwsh ../lib/math/build.ps1 } | Invoke-Block
00:00:01 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:01   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:02 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:02 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:02   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:03 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:03 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:03 verbose #6 > Server bound to: http://localhost:13805
00:00:03   debug #7 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path math.dib --retries 1; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:03 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "math.dib", "--retries", "1"])) }
00:00:03 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:03 verbose #10 >     "repl",
00:00:03 verbose #11 >     "--exit-after-run",
00:00:03 verbose #12 >     "--run",
00:00:03 verbose #13 >     "c:/home/git/polyglot/lib/math/math.dib",
00:00:03 verbose #14 >     "--output-path",
00:00:03 verbose #15 >     "c:/home/git/polyglot/lib/math/math.dib.ipynb",
00:00:03 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/math/math.dib" --output-path "c:/home/git/polyglot/lib/math/math.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:07 verbose #17 > >
00:00:07 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:07 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:07 verbose #20 > > │ # math                                                                       │
00:00:07 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 verbose #22 > >
00:00:12 verbose #23 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 verbose #24 > > open testing
00:00:12 verbose #25 > > open rust.rust_operators
00:00:12 verbose #26 > > open rust
00:00:14 verbose #27 > 00:00:12   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/75192e2bd8a105a977baa446a488b2c386f635a602336316ab60fff71bf46d9c/main.spi
00:00:20 verbose #28 > >
00:00:20 verbose #29 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 verbose #30 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 verbose #31 > > │ ## complex                                                                   │
00:00:20 verbose #32 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #33 > >
00:00:20 verbose #34 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #35 > > nominal complex t =
00:00:20 verbose #36 > >     `(
00:00:20 verbose #37 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:20 verbose #38 > > Fable.Core.Emit(\"num_complex::Complex<$0>\")>]]\n#endif\ntype
00:00:20 verbose #39 > > num_complex_Complex<'T> = class end"
00:00:20 verbose #40 > >         $'' : $'num_complex_Complex<`t>'
00:00:20 verbose #41 > >     )
00:00:20 verbose #42 > >
00:00:20 verbose #43 > > inl complex forall t. ((re : t), (im : t)) : complex t =
00:00:20 verbose #44 > >     !\\((re, im), $'"num_complex::Complex::new($0, $1)"')
00:00:20 verbose #45 > 00:00:19   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e51fd2598ab4009e07c692c0376fc887241c677686a5908afa7955bea19997a8/main.spi
00:00:21 verbose #46 > >
00:00:21 verbose #47 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 verbose #48 > > //// test
00:00:21 verbose #49 > > ///! rust -d num-complex
00:00:21 verbose #50 > >
00:00:21 verbose #51 > > complex (0f64, 0f64)
00:00:21 verbose #52 > > |> sm'.format'
00:00:21 verbose #53 > > |> sm'.from_std_string
00:00:21 verbose #54 > > |> _assert_eq "0+0i"
00:00:21 verbose #55 > 00:00:20   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b5d334cbd4293641e471987ecb6548bc70790fb39219634e85a02871d97e62c4/main.spi
00:00:33 verbose #56 > >
00:00:33 verbose #57 > > ╭─[ 11.92s - return value ]────────────────────────────────────────────────────╮
00:00:33 verbose #58 > > │ __assert_eq / actual: "0+0i" / expected: "0+0i"                              │
00:00:33 verbose #59 > > │                                                                              │
00:00:33 verbose #60 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #61 > >
00:00:33 verbose #62 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:33 verbose #63 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:33 verbose #64 > > │ ## re                                                                        │
00:00:33 verbose #65 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #66 > >
00:00:33 verbose #67 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #68 > > inl re forall t. (c : complex t) : t =
00:00:33 verbose #69 > >     !\\(c, $'"$0.re"')
00:00:33 verbose #70 > 00:00:32   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/98a6c290584dd4b1c5a62de3f24f97e15b8ead9edf2c5118562140b096adbf9c/main.spi
00:00:33 verbose #71 > >
00:00:33 verbose #72 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:33 verbose #73 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:33 verbose #74 > > │ ## im                                                                        │
00:00:33 verbose #75 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #76 > >
00:00:33 verbose #77 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #78 > > inl im forall t. (c : complex t) : t =
00:00:33 verbose #79 > >     !\\(c, $'"$0.im"')
00:00:33 verbose #80 > 00:00:32   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/382a3434375cedd01646c4dbd2961bb2b62cb7ac348111e9aee3fc4b8c237c2e/main.spi
00:00:34 verbose #81 > >
00:00:34 verbose #82 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #83 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #84 > > │ ## complex_unbox                                                             │
00:00:34 verbose #85 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #86 > >
00:00:34 verbose #87 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #88 > > inl complex_unbox forall t. (c : complex t) =
00:00:34 verbose #89 > >     re c, im c
00:00:34 verbose #90 > 00:00:33   debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/891da2e415cc31d3593e1ed0f295464e0e178f1c4f854dd7d4a6c863572c2621/main.spi
00:00:34 verbose #91 > >
00:00:34 verbose #92 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #93 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #94 > > │ ## (~.^)                                                                     │
00:00:34 verbose #95 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #96 > >
00:00:34 verbose #97 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #98 > > inl (~.^) c = complex c
00:00:35 verbose #99 > 00:00:33   debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/96f239f14d98537ecec8d8daf0f6cc814424e55a2b2fb4dc6c1fe9680f9a0670/main.spi
00:00:35 verbose #100 > >
00:00:35 verbose #101 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:35 verbose #102 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:35 verbose #103 > > │ ## complex_eq                                                                │
00:00:35 verbose #104 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #105 > >
00:00:35 verbose #106 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:35 verbose #107 > > inl complex_eq forall t. (a : complex t) (b : complex t) : bool =
00:00:35 verbose #108 > >     !\\((a, b), $'"$0 == $1"')
00:00:35 verbose #109 > 00:00:34   debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b2946ed6c76ccb917bf52ff05e1e174cca1b9421e029ac3da7f4b2bc3a664043/main.spi
00:00:36 verbose #110 > >
00:00:36 verbose #111 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 verbose #112 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 verbose #113 > > │ ## (.=)                                                                      │
00:00:36 verbose #114 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #115 > >
00:00:36 verbose #116 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:36 verbose #117 > > inl (.=) a b = complex_eq a b
00:00:36 verbose #118 > 00:00:35   debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b71950173ecf8b08727203f04e095e76efffaca355f7a3ef1754c3181196aefa/main.spi
00:00:36 verbose #119 > >
00:00:36 verbose #120 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 verbose #121 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 verbose #122 > > │ ## equable complex                                                           │
00:00:36 verbose #123 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #124 > >
00:00:36 verbose #125 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:36 verbose #126 > > instance equable complex t = complex_eq
00:00:36 verbose #127 > 00:00:35   debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd1bab313f138113a8f07a5efea674c696d84f297fda44a7e2fc417dc9a09303/main.spi
00:00:37 verbose #128 > >
00:00:37 verbose #129 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #130 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #131 > > │ ## complex_add                                                               │
00:00:37 verbose #132 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #133 > >
00:00:37 verbose #134 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #135 > > inl complex_add forall t. (a : complex t) (b : complex t) : complex t =
00:00:37 verbose #136 > >     !\\((a, b), $'"$0 + $1"')
00:00:37 verbose #137 > 00:00:36   debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2e6b8a36262e366b9d6dbd6f2ec4d288fdb75c716343624d8ff203100bfab2e3/main.spi
00:00:37 verbose #138 > >
00:00:37 verbose #139 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #140 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #141 > > │ ## (.+)                                                                      │
00:00:37 verbose #142 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #143 > >
00:00:37 verbose #144 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #145 > > inl (.+) a b = complex_add a b
00:00:37 verbose #146 > 00:00:36   debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1115358c2b4f15964141886290b7cc3b595c0a1e2cbce632ee0b49f86fe3921c/main.spi
00:00:38 verbose #147 > >
00:00:38 verbose #148 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #149 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #150 > > │ ## complex_sub                                                               │
00:00:38 verbose #151 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #152 > >
00:00:38 verbose #153 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #154 > > inl complex_sub forall t. (a : complex t) (b : complex t) : complex t =
00:00:38 verbose #155 > >     !\\((a, b), $'"$0 - $1"')
00:00:38 verbose #156 > 00:00:37   debug #16 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6661821b089c77d6a3296e40c1bc8438532a039cfc05c36d46b8832fb5450597/main.spi
00:00:38 verbose #157 > >
00:00:38 verbose #158 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #159 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #160 > > │ ## (.-)                                                                      │
00:00:38 verbose #161 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #162 > >
00:00:38 verbose #163 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #164 > > inl (.-) a b = complex_sub a b
00:00:38 verbose #165 > 00:00:37   debug #17 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a6e57d0bec3cd5388bc1af53ccb7f8b1e34cb04ca0198f4b80f265a0997470c2/main.spi
00:00:39 verbose #166 > >
00:00:39 verbose #167 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 verbose #168 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 verbose #169 > > │ ## complex_mult                                                              │
00:00:39 verbose #170 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #171 > >
00:00:39 verbose #172 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:39 verbose #173 > > inl complex_mult forall t. (a : complex t) (b : complex t) : complex t =
00:00:39 verbose #174 > >     !\\((a, b), $'"$0 * $1"')
00:00:39 verbose #175 > 00:00:38   debug #18 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0cfb2a4766af34f9e1a5ba9319c701c9c33d5705c88878431935c5647b79c100/main.spi
00:00:39 verbose #176 > >
00:00:39 verbose #177 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 verbose #178 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 verbose #179 > > │ ## (.*)                                                                      │
00:00:39 verbose #180 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #181 > >
00:00:39 verbose #182 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:39 verbose #183 > > inl (.*) a b = complex_mult a b
00:00:39 verbose #184 > 00:00:38   debug #19 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/25b5dd6f327c93025289fd45bcf818ec1bdae48f4a8facea194f74d36d5d6e36/main.spi
00:00:40 verbose #185 > >
00:00:40 verbose #186 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #187 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #188 > > │ ## complex_div                                                               │
00:00:40 verbose #189 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #190 > >
00:00:40 verbose #191 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:40 verbose #192 > > inl complex_div forall t. (a : complex t) (b : complex t) : complex t =
00:00:40 verbose #193 > >     !\\((a, b), $'"$0 / $1"')
00:00:40 verbose #194 > 00:00:38   debug #20 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6e10de6c0dc45fcbcd48aaccf16fbfa47b4e404f45aa8afc608de1a4edab43a6/main.spi
00:00:40 verbose #195 > >
00:00:40 verbose #196 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #197 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #198 > > │ ## (./)                                                                      │
00:00:40 verbose #199 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #200 > >
00:00:40 verbose #201 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:40 verbose #202 > > inl (./) a b = complex_div a b
00:00:41 verbose #203 > 00:00:39   debug #21 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e3eba7ec898a133d35a80e106011809c9bba1f35ac9e31131cf38ba920175497/main.spi
00:00:41 verbose #204 > >
00:00:41 verbose #205 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:41 verbose #206 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:41 verbose #207 > > │ ## powc                                                                      │
00:00:41 verbose #208 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:41 verbose #209 > >
00:00:41 verbose #210 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:41 verbose #211 > > inl powc forall t. (s : complex t) (c : complex t) : complex t =
00:00:41 verbose #212 > >     !\\((c, s), $'"num_complex::Complex::powc($0, $1)"')
00:00:41 verbose #213 > 00:00:40   debug #22 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/30eb17f3efb9da1663bc0af6ef04335bfb83cc1a2d8467be851d604715b948ed/main.spi
00:00:41 verbose #214 > >
00:00:41 verbose #215 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:41 verbose #216 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:41 verbose #217 > > │ ## (.**)                                                                     │
00:00:41 verbose #218 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:41 verbose #219 > >
00:00:41 verbose #220 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:41 verbose #221 > > inl (.**) a b = powc b a
00:00:42 verbose #222 > 00:00:40   debug #23 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/abcede37b0138f53e5194a4179056b96f96edac2772a041c49f88b300dfe4504/main.spi
00:00:42 verbose #223 > >
00:00:42 verbose #224 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:42 verbose #225 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:42 verbose #226 > > │ ## complex_sin                                                               │
00:00:42 verbose #227 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:42 verbose #228 > >
00:00:42 verbose #229 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #230 > > inl complex_sin forall t. (c : complex t) : complex t =
00:00:42 verbose #231 > >     !\\(c, $'"$0.sin()"')
00:00:42 verbose #232 > 00:00:41   debug #24 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3a09a5967e152a6e75955ae7d6a10442636328351056ae1939155be0c32b6acf/main.spi
00:00:42 verbose #233 > >
00:00:42 verbose #234 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:42 verbose #235 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:42 verbose #236 > > │ ## conj                                                                      │
00:00:42 verbose #237 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:42 verbose #238 > >
00:00:42 verbose #239 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #240 > > inl conj forall t. (c : complex t) : complex t =
00:00:42 verbose #241 > >     !\\(c, $'"$0.conj()"')
00:00:43 verbose #242 > 00:00:41   debug #25 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/929cf36ac4c3177cf4b17d212861b0e97d0120deabbaa605ef77fa9474511020/main.spi
00:00:43 verbose #243 > >
00:00:43 verbose #244 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:43 verbose #245 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:43 verbose #246 > > │ ## zeta                                                                      │
00:00:43 verbose #247 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #248 > >
00:00:43 verbose #249 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:43 verbose #250 > > inl zeta log (gamma : complex f64 -> complex f64) (s : complex f64) : complex
00:00:43 verbose #251 > > f64 =
00:00:43 verbose #252 > >     inl rec zeta count gamma s =
00:00:43 verbose #253 > >         if log then
00:00:43 verbose #254 > >             !\\((count, s), $'"println\!(\\\"zeta / count: {:?} / s: {:?}\\\",
00:00:43 verbose #255 > > $0, $1)"')
00:00:43 verbose #256 > >         if re s > 1 then
00:00:43 verbose #257 > >             (.^(0, 0), (am.init 10000i32 id : a i32 _))
00:00:43 verbose #258 > >             ||> am.fold fun acc n =>
00:00:43 verbose #259 > >                 acc .+ (.^(1, 0) ./ (.^(f64 n, 0) .** s))
00:00:43 verbose #260 > >         else
00:00:43 verbose #261 > >             inl gamma_term = gamma (.^(1, 0) .- s)
00:00:43 verbose #262 > >             inl sin_term = .^(pi, 0) .* s ./ .^(2, 0) |> complex_sin
00:00:43 verbose #263 > >             inl one_minus_s = .^(1 - re s, -(im s))
00:00:43 verbose #264 > >             inl mirror_term =
00:00:43 verbose #265 > >                 if re one_minus_s <= 1
00:00:43 verbose #266 > >                 then .^(0, 0)
00:00:43 verbose #267 > >                 else
00:00:43 verbose #268 > >                     if count <= 3
00:00:43 verbose #269 > >                     then zeta (count + 1) gamma one_minus_s
00:00:43 verbose #270 > >                     else one_minus_s
00:00:43 verbose #271 > >             inl reflection_formula =
00:00:43 verbose #272 > >                 .^(2, 0) .* (.^(pi, 0) .** s) .* sin_term .* gamma_term .*
00:00:43 verbose #273 > > mirror_term
00:00:43 verbose #274 > >             reflection_formula
00:00:43 verbose #275 > >     join zeta 0i32 gamma s
00:00:43 verbose #276 > 00:00:42   debug #26 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/065417638ea857282df8947b4cd609f5b8bea2f6545198a2d98091429762e7cf/main.spi
00:00:43 verbose #277 > >
00:00:43 verbose #278 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:43 verbose #279 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:43 verbose #280 > > │ ## bound                                                                     │
00:00:43 verbose #281 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #282 > >
00:00:43 verbose #283 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:43 verbose #284 > > nominal bound t =
00:00:43 verbose #285 > >     `(
00:00:43 verbose #286 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:43 verbose #287 > > Fable.Core.Emit(\"pyo3::Bound<$0>\")>]]\n#endif\ntype pyo3_Bound<'T> = class
00:00:43 verbose #288 > > end"
00:00:43 verbose #289 > >         $'' : $'pyo3_Bound<`t>'
00:00:43 verbose #290 > >     )
00:00:43 verbose #291 > 00:00:42   debug #27 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/359e203ed7a3d8f50e76865b4d9aea7194fd6b3cb964c881609a7cd69841d40f/main.spi
00:00:44 verbose #292 > >
00:00:44 verbose #293 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:44 verbose #294 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:44 verbose #295 > > │ ## python                                                                    │
00:00:44 verbose #296 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:44 verbose #297 > >
00:00:44 verbose #298 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:44 verbose #299 > > nominal python =
00:00:44 verbose #300 > >     `(
00:00:44 verbose #301 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:44 verbose #302 > > Fable.Core.Emit(\"pyo3::Python\")>]]\n#endif\ntype pyo3_Python = class end"
00:00:44 verbose #303 > >         $'' : $'pyo3_Python'
00:00:44 verbose #304 > >     )
00:00:44 verbose #305 > 00:00:42   debug #28 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6dd48c550ea721df4e110a239f7cd72aa1e3aae17bcae2a9c7a3538b152775f7/main.spi
00:00:44 verbose #306 > >
00:00:44 verbose #307 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:44 verbose #308 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:44 verbose #309 > > │ ## pymodule                                                                  │
00:00:44 verbose #310 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:44 verbose #311 > >
00:00:44 verbose #312 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:44 verbose #313 > > nominal pymodule =
00:00:44 verbose #314 > >     `(
00:00:44 verbose #315 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:44 verbose #316 > > Fable.Core.Emit(\"pyo3::types::PyModule\")>]]\n#endif\ntype pyo3_types_PyModule
00:00:44 verbose #317 > > = class end"
00:00:44 verbose #318 > >         $'' : $'pyo3_types_PyModule'
00:00:44 verbose #319 > >     )
00:00:44 verbose #320 > 00:00:43   debug #29 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/51010d52554f4737175d2bcdff33875a21d87b878fa65befdb12924831d3f2d8/main.spi
00:00:45 verbose #321 > >
00:00:45 verbose #322 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:45 verbose #323 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:45 verbose #324 > > │ ## pyany                                                                     │
00:00:45 verbose #325 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:45 verbose #326 > >
00:00:45 verbose #327 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:45 verbose #328 > > nominal pyany =
00:00:45 verbose #329 > >     `(
00:00:45 verbose #330 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:45 verbose #331 > > Fable.Core.Emit(\"pyo3::PyAny\")>]]\n#endif\ntype pyo3_PyAny = class end"
00:00:45 verbose #332 > >         $'' : $'pyo3_PyAny'
00:00:45 verbose #333 > >     )
00:00:45 verbose #334 > 00:00:43   debug #30 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/12a522f2740b4d80d3ddc564f1ddb22fa776a8b3d535dd117764eb69231ce2e8/main.spi
00:00:45 verbose #335 > >
00:00:45 verbose #336 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:45 verbose #337 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:45 verbose #338 > > │ ## pyerr                                                                     │
00:00:45 verbose #339 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:45 verbose #340 > >
00:00:45 verbose #341 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:45 verbose #342 > > nominal pyerr =
00:00:45 verbose #343 > >     `(
00:00:45 verbose #344 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:45 verbose #345 > > Fable.Core.Emit(\"pyo3::PyErr\")>]]\n#endif\ntype pyo3_PyErr = class end"
00:00:45 verbose #346 > >         $'' : $'pyo3_PyErr'
00:00:45 verbose #347 > >     )
00:00:45 verbose #348 > 00:00:44   debug #31 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8f92c274d2acf035c378d82a88304cb119a7ba7a37fcc537ce5da8b22037005a/main.spi
00:00:46 verbose #349 > >
00:00:46 verbose #350 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:46 verbose #351 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:46 verbose #352 > > │ ## eval                                                                      │
00:00:46 verbose #353 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:46 verbose #354 > >
00:00:46 verbose #355 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:46 verbose #356 > > inl module_from_code (py : python) (code : string) : _ (bound pymodule) _ =
00:00:46 verbose #357 > >     inl py = join py
00:00:46 verbose #358 > >     inl code = code |> sm'.as_str
00:00:46 verbose #359 > >     !\($'"pyo3::types::PyModule::from_code_bound(!py, !code, \\"\\", \\"\\")"')
00:00:46 verbose #360 > >     |> resultm.map_error'' fun (x : pyerr) => x |> sm'.format'
00:00:46 verbose #361 > >
00:00:46 verbose #362 > > inl use_pyanymethods () =
00:00:46 verbose #363 > >     global "Fable.Core.RustInterop.emitRustExpr () \");\nuse
00:00:46 verbose #364 > > pyo3::prelude::PyAnyMethods;\n//\""
00:00:46 verbose #365 > >
00:00:46 verbose #366 > > inl getattr (attr : string) (module : bound pymodule) : _ (bound pyany) _ =
00:00:46 verbose #367 > >     inl attr = join attr
00:00:46 verbose #368 > >     inl attr = attr |> sm'.as_str
00:00:46 verbose #369 > >     inl module = join module
00:00:46 verbose #370 > >     use_pyanymethods ()
00:00:46 verbose #371 > >     !\($'"!module.getattr(!attr)"')
00:00:46 verbose #372 > >     |> resultm.map_error'' fun (x : pyerr) => x |> sm'.format'
00:00:46 verbose #373 > >
00:00:46 verbose #374 > > inl call forall t. (args : t) (module : bound pyany) : _ (bound pyany) _ =
00:00:46 verbose #375 > >     inl args = join args
00:00:46 verbose #376 > >     inl module = join module
00:00:46 verbose #377 > >     !\($'"pyo3::prelude::PyAnyMethods::call(&!module, ((*!args).0, *(*!args).1),
00:00:46 verbose #378 > > None)"')
00:00:46 verbose #379 > >     |> resultm.map_error'' fun (x : pyerr) => x |> sm'.format'
00:00:46 verbose #380 > >
00:00:46 verbose #381 > > inl extract forall t. (result : bound pyany) : _ t _ =
00:00:46 verbose #382 > >     inl result = join result
00:00:46 verbose #383 > >     use_pyanymethods ()
00:00:46 verbose #384 > >     !\($'"!result.extract()"')
00:00:46 verbose #385 > >     |> resultm.map_error'' fun (x : pyerr) => x |> sm'.format'
00:00:46 verbose #386 > >
00:00:46 verbose #387 > > inl eval py code (args : pair bool (pair f64 f64)) : _ (_ f64) sm'.std_string =
00:00:46 verbose #388 > >     inl code =
00:00:46 verbose #389 > >         code
00:00:46 verbose #390 > >         |> module_from_code py
00:00:46 verbose #391 > >         |> resultm.unwrap'
00:00:46 verbose #392 > >     inl fn =
00:00:46 verbose #393 > >         code
00:00:46 verbose #394 > >         |> getattr "fn"
00:00:46 verbose #395 > >         |> resultm.unwrap'
00:00:46 verbose #396 > >
00:00:46 verbose #397 > >     fn
00:00:46 verbose #398 > >     |> call args
00:00:46 verbose #399 > >     |> resultm.try'
00:00:46 verbose #400 > >     |> extract
00:00:46 verbose #401 > >     |> resultm.try'
00:00:46 verbose #402 > >     |> complex
00:00:46 verbose #403 > >     |> Ok
00:00:46 verbose #404 > >     |> resultm.box
00:00:46 verbose #405 > >
00:00:46 verbose #406 > > inl call1_ log py s code =
00:00:46 verbose #407 > >     inl code = join (a code : _ i32 _) |> sm'.concat_array_trailing "\n"
00:00:46 verbose #408 > >
00:00:46 verbose #409 > >     inl s = new_pair (re s) (im s)
00:00:46 verbose #410 > >     inl args = new_pair log s
00:00:46 verbose #411 > >
00:00:46 verbose #412 > >     eval py code args
00:00:46 verbose #413 > >
00:00:46 verbose #414 > > inl call1_ log name py s line =
00:00:46 verbose #415 > >     inl s = join s
00:00:46 verbose #416 > >     join
00:00:46 verbose #417 > >         ;[[
00:00:46 verbose #418 > >             $'$"import sys"'
00:00:46 verbose #419 > >             $'$"import traceback"'
00:00:46 verbose #420 > >             $'$"import re"'
00:00:46 verbose #421 > >             $'$"count = 0"'
00:00:46 verbose #422 > >             $'$"memory_address_pattern = re.compile(r\' at 0x[[0-9a-fA-F]]+\')"'
00:00:46 verbose #423 > >             $'$"def trace_calls(frame, event, arg):"'
00:00:46 verbose #424 > >             $'$"    global count"'
00:00:46 verbose #425 > >             $'$"    count += 1"'
00:00:46 verbose #426 > >             $'$"    if count < 200:"'
00:00:46 verbose #427 > >             $'$"        try:"'
00:00:46 verbose #428 > >             $'$"            args = {{ k: v for k, v in frame.f_locals.items() if
00:00:46 verbose #429 > > frame.f_code.co_name \!= \'make_mpc\' and k not in [[\'ctx\']] and not
00:00:46 verbose #430 > > callable(v) }}"'
00:00:46 verbose #431 > >             $'$"            args_str = \', \'.join([[
00:00:46 verbose #432 > > f\\\"{{k}}={{re.sub(memory_address_pattern, \' at 0x<?>\', repr(v))}}\\\" for k,
00:00:46 verbose #433 > > v in args.items() ]])"'
00:00:46 verbose #434 > >             $'$"            print(f\\\"{{event}}({!name}) / f_code.co_name:
00:00:46 verbose #435 > > {{frame.f_code.co_name}} / f_locals: {{args_str}} / f_lineno: {{frame.f_lineno}}
00:00:46 verbose #436 > > / f_code.co_filename:
00:00:46 verbose #437 > > {{frame.f_code.co_filename.split(\'site-packages\')[[-1]]}} / f_back.f_lineno:
00:00:46 verbose #438 > > {{ \'\' if frame.f_back is None else frame.f_back.f_lineno }}
00:00:46 verbose #439 > > f_back.f_code.co_filename: {{ \'\' if frame.f_back is None else
00:00:46 verbose #440 > > frame.f_back.f_code.co_filename.split(\'site-packages\')[[-1]] }} / arg:
00:00:46 verbose #441 > > {{re.sub(memory_address_pattern, \' at 0x<?>\', repr(arg))}}\\\", flush=True)"'
00:00:46 verbose #442 > >             $'$"        except ValueError as e:"'
00:00:46 verbose #443 > >             $'$"            print(f\'{!name} / e: {{e}}\', flush=True)"'
00:00:46 verbose #444 > >             $'$"        return trace_calls"'
00:00:46 verbose #445 > >             $'$"import mpmath"'
00:00:46 verbose #446 > >             $'$"def fn(log, s):"'
00:00:46 verbose #447 > >             $'$"    global count"'
00:00:46 verbose #448 > >             $'$"    if log:"'
00:00:46 verbose #449 > >             $'$"        print(f\'{!name} / s: {{s}} / count: {{count}}\',
00:00:46 verbose #450 > > flush=True)"'
00:00:46 verbose #451 > >             $'$"    s = complex(*s)"'
00:00:46 verbose #452 > >             $'$"    try:"'
00:00:46 verbose #453 > >             $'$"        if log: sys.settrace(trace_calls)"'
00:00:46 verbose #454 > >             line
00:00:46 verbose #455 > >             $'$"        if log:"'
00:00:46 verbose #456 > >             $'$"            sys.settrace(None)"'
00:00:46 verbose #457 > >             $'$"            print(f\'{!name} / result: {{s}} / count:
00:00:46 verbose #458 > > {{count}}\', flush=True)"'
00:00:46 verbose #459 > >             $'$"    except ValueError as e:"'
00:00:46 verbose #460 > >             $'$"        if s.real == 1:"'
00:00:46 verbose #461 > >             $'$"            s = complex(float(\'inf\'), 0)"'
00:00:46 verbose #462 > >             $'$"    return (s.real, s.imag)"'
00:00:46 verbose #463 > >         ]]
00:00:46 verbose #464 > >         |> call1_ log py s
00:00:46 verbose #465 > >
00:00:46 verbose #466 > > inl gamma_ log py s =
00:00:46 verbose #467 > >     call1_ log "gamma_" py s $'$"        s = mpmath.gamma(s)"'
00:00:46 verbose #468 > >
00:00:46 verbose #469 > > inl zeta_ log py s =
00:00:46 verbose #470 > >     call1_ log "zeta_" py s $'$"        s = mpmath.zeta(s)"'
00:00:46 verbose #471 > 00:00:45   debug #32 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/75dcc8c2db426050ad2afbb3b80a12e18829974aeb245e109b4609f50ee0a619/main.spi
00:00:46 verbose #472 > >
00:00:46 verbose #473 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:46 verbose #474 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:46 verbose #475 > > │ ## run_test                                                                  │
00:00:46 verbose #476 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:46 verbose #477 > >
00:00:46 verbose #478 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:46 verbose #479 > > inl run_test log (fn : (complex f64 -> complex f64) * (complex f64 -> complex
00:00:46 verbose #480 > > f64) -> ()) =
00:00:46 verbose #481 > >     inl fn_ (py : python) : resultm.result' () pyerr =
00:00:46 verbose #482 > >         inl nan () =
00:00:46 verbose #483 > >             !\($'"f64::NAN"')
00:00:46 verbose #484 > >         inl gamma__ = fun (s : complex f64) =>
00:00:46 verbose #485 > >             inl result = gamma_ log py s
00:00:46 verbose #486 > >             if log then
00:00:46 verbose #487 > >                 inl s = join s
00:00:46 verbose #488 > >                 !\($'"println\!(\\\"gamma__ / s: {:?} / result: {:?}\\\", !s,
00:00:46 verbose #489 > > !result)"')
00:00:46 verbose #490 > >             result |> resultm.ok' |> optionm'.unbox |> optionm'.default_value
00:00:46 verbose #491 > > .^(nan (), nan ())
00:00:46 verbose #492 > >         inl zeta__ = fun (s : complex f64) =>
00:00:46 verbose #493 > >             inl result = zeta_ log py s
00:00:46 verbose #494 > >
00:00:46 verbose #495 > >             inl z = zeta true gamma__ s
00:00:46 verbose #496 > >
00:00:46 verbose #497 > >             if log then
00:00:46 verbose #498 > >                 inl s = join s
00:00:46 verbose #499 > >                 !\($'"println\!(\\\"zeta__ / s: {:?} / result: {:?} / z:
00:00:46 verbose #500 > > {:?}\\\", !s, !result, !z)"')
00:00:46 verbose #501 > >
00:00:46 verbose #502 > >     //             re result - re x |> abs
00:00:46 verbose #503 > >     //             |> _assert_lt 0.001
00:00:46 verbose #504 > >
00:00:46 verbose #505 > >     //             im result - im x |> abs
00:00:46 verbose #506 > >     //             |> _assert_lt 0.001
00:00:46 verbose #507 > >
00:00:46 verbose #508 > >             result |> resultm.ok' |> optionm'.unbox |> optionm'.default_value
00:00:46 verbose #509 > > .^(nan (), nan ())
00:00:46 verbose #510 > >         join fn (zeta__, gamma__)
00:00:46 verbose #511 > >
00:00:46 verbose #512 > >         Ok ()
00:00:46 verbose #513 > >         |> resultm.box
00:00:46 verbose #514 > >
00:00:46 verbose #515 > >     join
00:00:46 verbose #516 > >         !\($'"pyo3::prepare_freethreaded_python()"') : ()
00:00:46 verbose #517 > >
00:00:46 verbose #518 > >         !\($'"let __run_test = pyo3::Python::with_gil(|py| -> pyo3::PyResult<()>
00:00:46 verbose #519 > > { //"')
00:00:46 verbose #520 > >
00:00:46 verbose #521 > >         let x' = fn_ (!\($'"py"') : python)
00:00:46 verbose #522 > >         inl x' = join x'
00:00:46 verbose #523 > >
00:00:46 verbose #524 > >         inl closure_fix = 2u8, 1u8
00:00:46 verbose #525 > >         x' |> rust.fix_closure closure_fix
00:00:46 verbose #526 > >
00:00:46 verbose #527 > >         (!\($'"__run_test"') : _ () pyerr)
00:00:46 verbose #528 > >         |> resultm.unwrap'
00:00:46 verbose #529 > 00:00:45   debug #33 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7811561fb45e918e2d6965eb6c656c0d724365b3f6727577a4fec198e6ab61bd/main.spi
00:00:47 verbose #530 > >
00:00:47 verbose #531 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:47 verbose #532 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:47 verbose #533 > > │ ## test_zeta_at_known_values_                                                │
00:00:47 verbose #534 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:47 verbose #535 > >
00:00:47 verbose #536 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:47 verbose #537 > > inl test_zeta_at_known_values_ log = run_test log fun zeta, gamma =>
00:00:47 verbose #538 > >     ;[[
00:00:47 verbose #539 > >         .^(2, 0), pi ** 2 / 6
00:00:47 verbose #540 > >         .^(-1, 0), -1 / 12
00:00:47 verbose #541 > >     ]]
00:00:47 verbose #542 > >     |> fun x => a x : _ i32 _
00:00:47 verbose #543 > >     |> am.iter fun s, e =>
00:00:47 verbose #544 > >         inl result = zeta s
00:00:47 verbose #545 > >
00:00:47 verbose #546 > >         result |> im |> _assert_eq 0
00:00:47 verbose #547 > >         re result - e |> abs |> _assert_lt 0.0001
00:00:47 verbose #548 > 00:00:45   debug #34 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c08df6e9cb04828f611b8b6c5fa10b164681c52c8f74638f22a7077ec8a68230/main.spi
00:00:47 verbose #549 > >
00:00:47 verbose #550 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:47 verbose #551 > > //// test
00:00:47 verbose #552 > > ///! rust -d num-complex pyo3
00:00:47 verbose #553 > >
00:00:47 verbose #554 > > test_zeta_at_known_values_ true
00:00:47 verbose #555 > 00:00:46   debug #35 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/db2d35099e07a2b1f2f682ca30718fd3c6b2b593dcb77f5c550a77d7111c5837/main.spi
00:00:59 verbose #556 > >
00:00:59 verbose #557 > > ╭─[ 12.26s - return value ]────────────────────────────────────────────────────╮
00:00:59 verbose #558 > > │ zeta_ / s: (2.0, 0.0) / count: 0                                             │
00:00:59 verbose #559 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:00:59 verbose #560 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:00:59 verbose #561 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:59 verbose #562 > > │ / arg: None                                                                  │
00:00:59 verbose #563 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:00:59 verbose #564 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:00:59 verbose #565 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:59 verbose #566 > > │ / arg: None                                                                  │
00:00:59 verbose #567 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:00:59 verbose #568 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:00:59 verbose #569 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:59 verbose #570 > > │ / arg: None                                                                  │
00:00:59 verbose #571 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:00:59 verbose #572 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:00:59 verbose #573 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:59 verbose #574 > > │ / arg: None                                                                  │
00:00:59 verbose #575 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:00:59 verbose #576 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:00:59 verbose #577 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:59 verbose #578 > > │ / arg: None                                                                  │
00:00:59 verbose #579 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(2+0j), kwargs={}, name='zeta' │
00:00:59 verbose #580 > > │ / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py /            │
00:00:59 verbose #581 > > │ f_back.f_lineno: 535 / f_back.f_code.co_filename: \mpmath\functions\zeta.py  │
00:00:59 verbose #582 > > │ / arg: None                                                                  │
00:00:59 verbose #583 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(2+0j), kwargs={}, name='zeta' │
00:00:59 verbose #584 > > │ / f_line...me: make_mpc / f_locals:  / f_lineno: 768 / f_code.co_filename:   │
00:00:59 verbose #585 > > │ \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /                           │
00:00:59 verbose #586 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:00:59 verbose #587 > > │ line(gamma_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 769 /       │
00:00:59 verbose #588 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:00:59 verbose #589 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:00:59 verbose #590 > > │ line(gamma_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 770 /       │
00:00:59 verbose #591 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:00:59 verbose #592 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:00:59 verbose #593 > > │ return(gamma_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 770 /     │
00:00:59 verbose #594 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:00:59 verbose #595 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: mpc(real='1.0',   │
00:00:59 verbose #596 > > │ imag='0.0')                                                                  │
00:00:59 verbose #597 > > │ return(gamma_) / f_code.co_name: f / f_locals: x=mpc(real='2.0',             │
00:00:59 verbose #598 > > │ imag='0.0'), kwargs={}, name='gamma', prec=53, rounding='n' / f_lineno: 1131 │
00:00:59 verbose #599 > > │ / f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 25 /       │
00:00:59 verbose #600 > > │ f_back.f_code.co_filename:  / arg: mpc(real='1.0', imag='0.0')               │
00:00:59 verbose #601 > > │ gamma_ / result: (1.0 + 0.0j) / count: 161                                   │
00:00:59 verbose #602 > > │ gamma__ / s: Complex { re: 2.0, im: 0.0 } / result: Ok(Complex { re: 1.0,    │
00:00:59 verbose #603 > > │ im: 0.0 })                                                                   │
00:00:59 verbose #604 > > │ zeta / count: 1 / s: Complex { re: 2.0, im: -0.0 }                           │
00:00:59 verbose #605 > > │ zeta__ / s: Complex { re: -1.0, im: 0.0 } / result: Ok(Complex { re:         │
00:00:59 verbose #606 > > │ -0.08333333333333333, im: 0.0 }) / z: Complex { re: NaN, im: NaN }           │
00:00:59 verbose #607 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:00:59 verbose #608 > > │ __assert_lt / actual: 0.0 / expected: 0.0001                                 │
00:00:59 verbose #609 > > │                                                                              │
00:00:59 verbose #610 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:59 verbose #611 > >
00:00:59 verbose #612 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:59 verbose #613 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:59 verbose #614 > > │ ## test_zeta_at_2_minus2                                                     │
00:00:59 verbose #615 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:59 verbose #616 > >
00:00:59 verbose #617 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:59 verbose #618 > > inl test_zeta_at_2_minus2 log = run_test log fun zeta, gamma =>
00:00:59 verbose #619 > >     inl s = .^(2, -2)
00:00:59 verbose #620 > >     inl result = zeta s
00:00:59 verbose #621 > >
00:00:59 verbose #622 > >     (re result - 0.8673) |> abs |> _assert_lt 0.001
00:00:59 verbose #623 > >     (im result - 0.2750) |> abs |> _assert_lt 0.001
00:01:00 verbose #624 > 00:00:58   debug #36 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2dd7acf40d08c462f7eb5573a52d7d515bc4e046ed726c5607cf662bd4205877/main.spi
00:01:00 verbose #625 > >
00:01:00 verbose #626 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:00 verbose #627 > > //// test
00:01:00 verbose #628 > > ///! rust -d num-complex pyo3
00:01:00 verbose #629 > >
00:01:00 verbose #630 > > test_zeta_at_2_minus2 true
00:01:00 verbose #631 > 00:00:59   debug #37 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f03218f38b634fca87c3d94e3bd39578591916be308c946deafbfdb196390d31/main.spi
00:01:06 verbose #632 > >
00:01:06 verbose #633 > > ╭─[ 6.07s - return value ]─────────────────────────────────────────────────────╮
00:01:06 verbose #634 > > │ zeta_ / s: (2.0, -2.0) / count: 0                                            │
00:01:06 verbose #635 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0,  │
00:01:06 verbose #636 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:01:06 verbose #637 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:06 verbose #638 > > │ / arg: None                                                                  │
00:01:06 verbose #639 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0,  │
00:01:06 verbose #640 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:01:06 verbose #641 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:06 verbose #642 > > │ / arg: None                                                                  │
00:01:06 verbose #643 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0,  │
00:01:06 verbose #644 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:01:06 verbose #645 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:06 verbose #646 > > │ / arg: None                                                                  │
00:01:06 verbose #647 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0,  │
00:01:06 verbose #648 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:01:06 verbose #649 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:06 verbose #650 > > │ / arg: None                                                                  │
00:01:06 verbose #651 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0,  │
00:01:06 verbose #652 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:01:06 verbose #653 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:06 verbose #654 > > │ / arg: None                                                                  │
00:01:06 verbose #655 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(2-2j), kwargs={}, name='zeta' │
00:01:06 verbose #656 > > │ / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py /            │
00:01:06 verbose #657 > > │ f_back.f_lineno: 535 / f_back.f_code.co_filename: \mpmath\functions\zeta.py  │
00:01:06 verbose #658 > > │ / arg: None                                                                  │
00:01:06 verbose #659 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(2-2j), kwargs={}, name='zeta' │
00:01:06 verbose #660 > > │ / f_lin... 2, 1), prec=14, rnd='d', _sub=0, ssign=0, sman=1, sexp=2, sbc=1,  │
00:01:06 verbose #661 > > │ tsign=0, tman=1, texp=2, tbc=1, offset=0, man=2 / f_lineno: 665 /            │
00:01:06 verbose #662 > > │ f_code.co_filename: \mpmath\libmp\libmpf.py / f_back.f_lineno: 1322 /        │
00:01:06 verbose #663 > > │ f_back.f_code.co_filename: \mpmath\libmp\libmpf.py / arg: None               │
00:01:06 verbose #664 > > │ line(zeta_) / f_code.co_name: mpf_add / f_locals: s=(0, 1, 2, 1), t=(0, 1,   │
00:01:06 verbose #665 > > │ 2, 1), prec=14, rnd='d', _sub=0, ssign=0, sman=1, sexp=2, sbc=1, tsign=0,    │
00:01:06 verbose #666 > > │ tman=1, texp=2, tbc=1, offset=0, man=2, bc=2 / f_lineno: 666 /               │
00:01:06 verbose #667 > > │ f_code.co_filename: \mpmath\libmp\libmpf.py / f_back.f_lineno: 1322 /        │
00:01:06 verbose #668 > > │ f_back.f_code.co_filename: \mpmath\libmp\libmpf.py / arg: None               │
00:01:06 verbose #669 > > │ call(zeta_) / f_code.co_name: normalize / f_locals: sign=0, man=2, exp=2,    │
00:01:06 verbose #670 > > │ bc=2, prec=14, rnd='d' / f_lineno: 185 / f_code.co_filename:                 │
00:01:06 verbose #671 > > │ \mpmath\libmp\libmpf.py / f_back.f_lineno: 666 / f_back.f_code.co_filename:  │
00:01:06 verbose #672 > > │ \mpmath\libmp\libmpf.py / arg: None                                          │
00:01:06 verbose #673 > > │ line(zeta_) / f_code.co_name: normalize / f_locals: sign=0, man=2, exp=2,    │
00:01:06 verbose #674 > > │ bc=2, prec=14, rnd='d' / f_lineno: 186 / f_code.co_filename:                 │
00:01:06 verbose #675 > > │ \mpmath\libmp\libmpf.py / f_back.f_lineno: 666 / f_back.f_code.co_filename:  │
00:01:06 verbose #676 > > │ \mpmath\libmp\libmpf.py / arg: None                                          │
00:01:06 verbose #677 > > │ zeta_ / result: (0.867351829635993 + 0.275127238807858j) / count: 1553       │
00:01:06 verbose #678 > > │ zeta / count: 0 / s: Complex { re: 2.0, im: -2.0 }                           │
00:01:06 verbose #679 > > │ zeta__ / s: Complex { re: 2.0, im: -2.0 } / result: Ok(Complex { re:         │
00:01:06 verbose #680 > > │ 0.8673518296359931, im: 0.27512723880785767 }) / z: Complex { re: NaN, im:   │
00:01:06 verbose #681 > > │ NaN }                                                                        │
00:01:06 verbose #682 > > │ __assert_lt / actual: 5.182963599315027e-5 / expected: 0.001                 │
00:01:06 verbose #683 > > │ __assert_lt / actual: 0.00012723880785764363 / expected: 0.001               │
00:01:06 verbose #684 > > │                                                                              │
00:01:06 verbose #685 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:06 verbose #686 > >
00:01:06 verbose #687 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:06 verbose #688 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:06 verbose #689 > > │ ## test_trivial_zero_at_negative_even___                                     │
00:01:06 verbose #690 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:06 verbose #691 > >
00:01:06 verbose #692 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:06 verbose #693 > > inl test_trivial_zero_at_negative_even___ log = run_test log fun zeta, gamma =>
00:01:06 verbose #694 > >     (join listm'.init_series -2f64 -40 -2)
00:01:06 verbose #695 > >     |> listm.iter fun n =>
00:01:06 verbose #696 > >         inl s = .^(n, 0)
00:01:06 verbose #697 > >         inl result = zeta s
00:01:06 verbose #698 > >
00:01:06 verbose #699 > >         result |> re |> _assert_eq 0
00:01:06 verbose #700 > >         result |> im |> _assert_eq 0
00:01:06 verbose #701 > 00:01:05   debug #38 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e425c828cda652be9ded76eb2d0104c8912b588fbb0a6688b286aba2f43169f7/main.spi
00:01:06 verbose #702 > >
00:01:06 verbose #703 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:06 verbose #704 > > //// test
00:01:06 verbose #705 > > ///! rust -d num-complex pyo3
00:01:06 verbose #706 > >
00:01:06 verbose #707 > > test_trivial_zero_at_negative_even___ true
00:01:07 verbose #708 > 00:01:05   debug #39 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ef9470bdbd93d921cd700eb62d8ba22c1238150d83a7cf046859872fc2661270/main.spi
00:01:13 verbose #709 > >
00:01:13 verbose #710 > > ╭─[ 6.96s - return value ]─────────────────────────────────────────────────────╮
00:01:13 verbose #711 > > │ zeta_ / s: (-2.0, 0.0) / count: 0                                            │
00:01:13 verbose #712 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:13 verbose #713 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:01:13 verbose #714 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:13 verbose #715 > > │ / arg: None                                                                  │
00:01:13 verbose #716 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:13 verbose #717 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:01:13 verbose #718 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:13 verbose #719 > > │ / arg: None                                                                  │
00:01:13 verbose #720 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:13 verbose #721 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:01:13 verbose #722 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:13 verbose #723 > > │ / arg: None                                                                  │
00:01:13 verbose #724 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:13 verbose #725 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:01:13 verbose #726 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:13 verbose #727 > > │ / arg: None                                                                  │
00:01:13 verbose #728 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:13 verbose #729 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:01:13 verbose #730 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:13 verbose #731 > > │ / arg: None                                                                  │
00:01:13 verbose #732 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(-2+0j), kwargs={},            │
00:01:13 verbose #733 > > │ name='zeta' / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py  │
00:01:13 verbose #734 > > │ / f_back.f_lineno: 535 / f_back.f_code.co_filename:                          │
00:01:13 verbose #735 > > │ \mpmath\functions\zeta.py / arg: None                                        │
00:01:13 verbose #736 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(-2+0j), kwargs={},            │
00:01:13 verbose #737 > > │ name='zeta' ...lename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /    │
00:01:13 verbose #738 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:01:13 verbose #739 > > │ line(gamma_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 769 /       │
00:01:13 verbose #740 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:01:13 verbose #741 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:01:13 verbose #742 > > │ line(gamma_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 770 /       │
00:01:13 verbose #743 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:01:13 verbose #744 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:01:13 verbose #745 > > │ return(gamma_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 770 /     │
00:01:13 verbose #746 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:01:13 verbose #747 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg:                   │
00:01:13 verbose #748 > > │ mpc(real='8.1591528324789768e+47', imag='0.0')                               │
00:01:13 verbose #749 > > │ return(gamma_) / f_code.co_name: f / f_locals: x=mpc(real='41.0',            │
00:01:13 verbose #750 > > │ imag='0.0'), kwargs={}, name='gamma', prec=53, rounding='n' / f_lineno: 1131 │
00:01:13 verbose #751 > > │ / f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 25 /       │
00:01:13 verbose #752 > > │ f_back.f_code.co_filename:  / arg: mpc(real='8.1591528324789768e+47',        │
00:01:13 verbose #753 > > │ imag='0.0')                                                                  │
00:01:13 verbose #754 > > │ gamma_ / result: (8.15915283247898e+47 + 0.0j) / count: 166                  │
00:01:13 verbose #755 > > │ gamma__ / s: Complex { re: 41.0, im: 0.0 } / result: Ok(Complex { re:        │
00:01:13 verbose #756 > > │ 8.159152832478977e47, im: 0.0 })                                             │
00:01:13 verbose #757 > > │ zeta / count: 1 / s: Complex { re: 41.0, im: -0.0 }                          │
00:01:13 verbose #758 > > │ zeta__ / s: Complex { re: -40.0, im: 0.0 } / result: Ok(Complex { re: 0.0,   │
00:01:13 verbose #759 > > │ im: 0.0 }) / z: Complex { re: NaN, im: NaN }                                 │
00:01:13 verbose #760 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:01:13 verbose #761 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:01:13 verbose #762 > > │                                                                              │
00:01:13 verbose #763 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:13 verbose #764 > >
00:01:13 verbose #765 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:13 verbose #766 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:13 verbose #767 > > │ ## test_non_trivial_zero___                                                  │
00:01:13 verbose #768 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:13 verbose #769 > >
00:01:13 verbose #770 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:13 verbose #771 > > inl test_non_trivial_zero___ log = run_test log fun zeta, gamma =>
00:01:13 verbose #772 > >     ;[[
00:01:13 verbose #773 > >         .^(0.5, 14.134725)
00:01:13 verbose #774 > >         .^(0.5, 21.022040)
00:01:13 verbose #775 > >         .^(0.5, 25.010857)
00:01:13 verbose #776 > >         .^(0.5, 30.424876)
00:01:13 verbose #777 > >         .^(0.5, 32.935062)
00:01:13 verbose #778 > >         .^(0.5, 37.586178)
00:01:13 verbose #779 > >     ]]
00:01:13 verbose #780 > >     |> fun x => a x : _ i32 _
00:01:13 verbose #781 > >     |> am.iter fun x =>
00:01:13 verbose #782 > >             inl result = zeta x
00:01:13 verbose #783 > >             result |> re |> abs |> _assert_lt 0.0001
00:01:13 verbose #784 > >             result |> im |> abs |> _assert_lt 0.0001
00:01:14 verbose #785 > 00:01:12   debug #40 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a714e5985f8ae84e61a3f1f3ff1f29ce8e33d826c056999907244127dc6af5aa/main.spi
00:01:14 verbose #786 > >
00:01:14 verbose #787 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:14 verbose #788 > > //// test
00:01:14 verbose #789 > > ///! rust -d num-complex pyo3
00:01:14 verbose #790 > >
00:01:14 verbose #791 > > test_non_trivial_zero___ true
00:01:14 verbose #792 > 00:01:13   debug #41 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0200c25aa5fb9eca78f8be22f900efba2834375655f92c1492f1a038d6b3f9af/main.spi
00:01:21 verbose #793 > >
00:01:21 verbose #794 > > ╭─[ 7.53s - return value ]─────────────────────────────────────────────────────╮
00:01:21 verbose #795 > > │ zeta_ / s: (0.5, 14.134725) / count: 0                                       │
00:01:21 verbose #796 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:01:21 verbose #797 > > │ derivative=0, method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:   │
00:01:21 verbose #798 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:21 verbose #799 > > │ / arg: None                                                                  │
00:01:21 verbose #800 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:01:21 verbose #801 > > │ derivative=0, method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:   │
00:01:21 verbose #802 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:21 verbose #803 > > │ / arg: None                                                                  │
00:01:21 verbose #804 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:01:21 verbose #805 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 533 /                  │
00:01:21 verbose #806 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:01:21 verbose #807 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:01:21 verbose #808 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:01:21 verbose #809 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 534 /                  │
00:01:21 verbose #810 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:01:21 verbose #811 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:01:21 verbose #812 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:01:21 verbose #813 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 535 /                  │
00:01:21 verbose #814 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:01:21 verbose #815 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:01:21 verbose #816 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(0.5+14.134725j), kwargs={},   │
00:01:21 verbose #817 > > │ name='zeta' / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py  │
00:01:21 verbose #818 > > │ / f_back.f_lineno: 535 / f_back.f_code.co_filename:                          │
00:01:21 verbose #819 > > │ \mpmath\functions\zeta.py / arg: None                                        │
00:01:21 verbose #820 > > │ line(zeta_) / f_cod...y / arg: None                                          │
00:01:21 verbose #821 > > │ line(gamma_) / f_code.co_name: complex_stirling_series / f_locals:           │
00:01:21 verbose #822 > > │ x=1208925819614629174706176, y=-90877802089662679288381440, prec=81,         │
00:01:21 verbose #823 > > │ _m=3416353708500640443578529333, tre=-1816151534455075068,                   │
00:01:21 verbose #824 > > │ tim=-45486653225747820096, ure=-1710577520534459139249,                      │
00:01:21 verbose #825 > > │ uim=45518868236127668552, sre=1013002518538853602038572,                     │
00:01:21 verbose #826 > > │ sim=90883161825546323029600502 / f_lineno: 1629 / f_code.co_filename:        │
00:01:21 verbose #827 > > │ \mpmath\libmp\gammazeta.py / f_back.f_lineno: 2041 /                         │
00:01:21 verbose #828 > > │ f_back.f_code.co_filename: \mpmath\libmp\gammazeta.py / arg: None            │
00:01:21 verbose #829 > > │ line(gamma_) / f_code.co_name: complex_stirling_series / f_locals:           │
00:01:21 verbose #830 > > │ x=1208925819614629174706176, y=-90877802089662679288381440, prec=81,         │
00:01:21 verbose #831 > > │ _m=3416353708500640443578529333, tre=-1816151534455075068,                   │
00:01:21 verbose #832 > > │ tim=-45486653225747820096, ure=-1710577520534459139249,                      │
00:01:21 verbose #833 > > │ uim=45518868236127668552, sre=1013002523583718975524892,                     │
00:01:21 verbose #834 > > │ sim=90883161951898137545566669 / f_lineno: 1630 / f_code.co_filename:        │
00:01:21 verbose #835 > > │ \mpmath\libmp\gammazeta.py / f_back.f_lineno: 2041 /                         │
00:01:21 verbose #836 > > │ f_back.f_code.co_filename: \mpmath\libmp\gammazeta.py / arg: None            │
00:01:21 verbose #837 > > │ gamma_ / result: (-1.32798420042152e-26 + 5.5751975252688e-26j) / count: 301 │
00:01:21 verbose #838 > > │ gamma__ / s: Complex { re: 0.5, im: -37.586178 } / result: Ok(Complex { re:  │
00:01:21 verbose #839 > > │ -1.3279842004215153e-26, im: 5.575197525268802e-26 })                        │
00:01:21 verbose #840 > > │ zeta__ / s: Complex { re: 0.5, im: 37.586178 } / result: Ok(Complex { re:    │
00:01:21 verbose #841 > > │ -8.910186507947958e-8, im: -2.943780446402868e-7 }) / z: Complex { re: -0.0, │
00:01:21 verbose #842 > > │ im: 0.0 }                                                                    │
00:01:21 verbose #843 > > │ __assert_lt / actual: 8.910186507947958e-8 / expected: 0.0001                │
00:01:21 verbose #844 > > │ __assert_lt / actual: 2.943780446402868e-7 / expected: 0.0001                │
00:01:21 verbose #845 > > │                                                                              │
00:01:21 verbose #846 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:21 verbose #847 > >
00:01:21 verbose #848 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:21 verbose #849 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:21 verbose #850 > > │ ## test_real_part_greater_than_one___                                        │
00:01:21 verbose #851 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:21 verbose #852 > >
00:01:21 verbose #853 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:21 verbose #854 > > inl test_real_part_greater_than_one___ log = run_test log fun zeta, gamma =>
00:01:21 verbose #855 > >     inl points = ;[[ 2; 3; 4; 5; 10; 20; 50 ]]
00:01:21 verbose #856 > >     (a points : _ i32 _)
00:01:21 verbose #857 > >     |> am.iter fun point =>
00:01:21 verbose #858 > >         inl s = .^(point, 0)
00:01:21 verbose #859 > >         inl result = zeta s
00:01:21 verbose #860 > >         result |> re |> _assert_gt 0
00:01:21 verbose #861 > >         result |> im |> _assert_eq 0
00:01:22 verbose #862 > 00:01:20   debug #42 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7d5f5cd20ddd1b5c5a82a9795770a48efc414ce052fb14fd72c53f1c9479d663/main.spi
00:01:22 verbose #863 > >
00:01:22 verbose #864 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:22 verbose #865 > > //// test
00:01:22 verbose #866 > > ///! rust -d num-complex pyo3
00:01:22 verbose #867 > >
00:01:22 verbose #868 > > test_real_part_greater_than_one___ true
00:01:22 verbose #869 > 00:01:21   debug #43 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a63422e8f79d7b7715c6e5f2e47ab24211d90014d9b054f443255d9d2435508a/main.spi
00:01:28 verbose #870 > >
00:01:28 verbose #871 > > ╭─[ 6.23s - return value ]─────────────────────────────────────────────────────╮
00:01:28 verbose #872 > > │ zeta_ / s: (2.0, 0.0) / count: 0                                             │
00:01:28 verbose #873 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:01:28 verbose #874 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:01:28 verbose #875 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:28 verbose #876 > > │ / arg: None                                                                  │
00:01:28 verbose #877 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:01:28 verbose #878 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:01:28 verbose #879 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:28 verbose #880 > > │ / arg: None                                                                  │
00:01:28 verbose #881 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:01:28 verbose #882 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:01:28 verbose #883 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:28 verbose #884 > > │ / arg: None                                                                  │
00:01:28 verbose #885 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:01:28 verbose #886 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:01:28 verbose #887 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:28 verbose #888 > > │ / arg: None                                                                  │
00:01:28 verbose #889 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:01:28 verbose #890 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:01:28 verbose #891 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:28 verbose #892 > > │ / arg: None                                                                  │
00:01:28 verbose #893 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(2+0j), kwargs={}, name='zeta' │
00:01:28 verbose #894 > > │ / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py /            │
00:01:28 verbose #895 > > │ f_back.f_lineno: 535 / f_back.f_code.co_filename: \mpmath\functions\zeta.py  │
00:01:28 verbose #896 > > │ / arg: None                                                                  │
00:01:28 verbose #897 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(2+0j), kwargs={}, name='zeta' │
00:01:28 verbose #898 > > │ / f_line...f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno:   │
00:01:28 verbose #899 > > │ 1131 / f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None       │
00:01:28 verbose #900 > > │ line(zeta_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 770 /        │
00:01:28 verbose #901 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:01:28 verbose #902 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:01:28 verbose #903 > > │ return(zeta_) / f_code.co_name: make_mpc / f_locals:  / f_lineno: 770 /      │
00:01:28 verbose #904 > > │ f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 1131 /       │
00:01:28 verbose #905 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg:                   │
00:01:28 verbose #906 > > │ mpc(real='1.0000000000000009', imag='0.0')                                   │
00:01:28 verbose #907 > > │ return(zeta_) / f_code.co_name: f / f_locals: x=mpc(real='50.0',             │
00:01:28 verbose #908 > > │ imag='0.0'), kwargs={}, name='zeta', prec=53, rounding='n' / f_lineno: 1131  │
00:01:28 verbose #909 > > │ / f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 535 /      │
00:01:28 verbose #910 > > │ f_back.f_code.co_filename: \mpmath\functions\zeta.py / arg:                  │
00:01:28 verbose #911 > > │ mpc(real='1.0000000000000009', imag='0.0')                                   │
00:01:28 verbose #912 > > │ return(zeta_) / f_code.co_name: zeta / f_locals: s=(50+0j), a=1,             │
00:01:28 verbose #913 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 535 /                  │
00:01:28 verbose #914 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:01:28 verbose #915 > > │ f_back.f_code.co_filename:  / arg: mpc(real='1.0000000000000009',            │
00:01:28 verbose #916 > > │ imag='0.0')                                                                  │
00:01:28 verbose #917 > > │ zeta_ / result: (1.0 + 0.0j) / count: 193                                    │
00:01:28 verbose #918 > > │ zeta / count: 0 / s: Complex { re: 50.0, im: 0.0 }                           │
00:01:28 verbose #919 > > │ zeta__ / s: Complex { re: 50.0, im: 0.0 } / result: Ok(Complex { re:         │
00:01:28 verbose #920 > > │ 1.0000000000000009, im: 0.0 }) / z: Complex { re: NaN, im: NaN }             │
00:01:28 verbose #921 > > │ __assert_gt / actual: 1.0000000000000009 / expected: 0.0                     │
00:01:28 verbose #922 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:01:28 verbose #923 > > │                                                                              │
00:01:28 verbose #924 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 verbose #925 > >
00:01:28 verbose #926 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:28 verbose #927 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:28 verbose #928 > > │ ## test_zeta_at_1___                                                         │
00:01:28 verbose #929 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 verbose #930 > >
00:01:28 verbose #931 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:28 verbose #932 > > inl test_zeta_at_1___ log = run_test log fun zeta, gamma =>
00:01:28 verbose #933 > >     inl s = .^(1, 0)
00:01:28 verbose #934 > >     inl result = zeta s
00:01:28 verbose #935 > >     result |> re |> _assert_eq limit.max
00:01:28 verbose #936 > >     result |> im |> _assert_eq 0
00:01:28 verbose #937 > 00:01:27   debug #44 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/469c13b916d0895fd3aaea31fb9f51e6b0b3884520732359016eefc983cf0619/main.spi
00:01:29 verbose #938 > >
00:01:29 verbose #939 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:29 verbose #940 > > //// test
00:01:29 verbose #941 > > ///! rust -d num-complex pyo3
00:01:29 verbose #942 > >
00:01:29 verbose #943 > > test_zeta_at_1___ true
00:01:29 verbose #944 > 00:01:27   debug #45 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8c6da5cfc48680e70753a9cefe033cd60b07e7cd17cf12905ab48f1f0c60b119/main.spi
00:01:35 verbose #945 > >
00:01:35 verbose #946 > > ╭─[ 5.92s - return value ]─────────────────────────────────────────────────────╮
00:01:35 verbose #947 > > │ zeta_ / s: (1.0, 0.0) / count: 0                                             │
00:01:35 verbose #948 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0,  │
00:01:35 verbose #949 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:01:35 verbose #950 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:35 verbose #951 > > │ / arg: None                                                                  │
00:01:35 verbose #952 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0,  │
00:01:35 verbose #953 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:01:35 verbose #954 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:35 verbose #955 > > │ / arg: None                                                                  │
00:01:35 verbose #956 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0,  │
00:01:35 verbose #957 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:01:35 verbose #958 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:35 verbose #959 > > │ / arg: None                                                                  │
00:01:35 verbose #960 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0,  │
00:01:35 verbose #961 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:01:35 verbose #962 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:35 verbose #963 > > │ / arg: None                                                                  │
00:01:35 verbose #964 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0,  │
00:01:35 verbose #965 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:01:35 verbose #966 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:35 verbose #967 > > │ / arg: None                                                                  │
00:01:35 verbose #968 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(1+0j), kwargs={}, name='zeta' │
00:01:35 verbose #969 > > │ / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py /            │
00:01:35 verbose #970 > > │ f_back.f_lineno: 535 / f_back.f_code.co_filename: \mpmath\functions\zeta.py  │
00:01:35 verbose #971 > > │ / arg: None                                                                  │
00:01:35 verbose #972 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(1+0j), kwargs={}, name='zeta' │
00:01:35 verbose #973 > > │ / f_line...back object at 0x<?>>)                                            │
00:01:35 verbose #974 > > │ return(gamma_) / f_code.co_name: f / f_locals: x=mpc(real='0.0',             │
00:01:35 verbose #975 > > │ imag='0.0'), kwargs={}, name='gamma', prec=53, rounding='n' / f_lineno: 1131 │
00:01:35 verbose #976 > > │ / f_code.co_filename: \mpmath\ctx_mp_python.py / f_back.f_lineno: 25 /       │
00:01:35 verbose #977 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:01:35 verbose #978 > > │ exception(gamma_) / f_code.co_name: fn / f_locals: log=True, s=0j /          │
00:01:35 verbose #979 > > │ f_lineno: 25 / f_code.co_filename:  / f_back.f_lineno:  /                    │
00:01:35 verbose #980 > > │ f_back.f_code.co_filename:  / arg: (<class 'ValueError'>, ValueError('gamma  │
00:01:35 verbose #981 > > │ function pole'), <traceback object at 0x<?>>)                                │
00:01:35 verbose #982 > > │ line(gamma_) / f_code.co_name: fn / f_locals: log=True, s=0j / f_lineno: 29  │
00:01:35 verbose #983 > > │ / f_code.co_filename:  / f_back.f_lineno:  / f_back.f_code.co_filename:  /   │
00:01:35 verbose #984 > > │ arg: None                                                                    │
00:01:35 verbose #985 > > │ line(gamma_) / f_code.co_name: fn / f_locals: log=True, s=0j,                │
00:01:35 verbose #986 > > │ e=ValueError('gamma function pole') / f_lineno: 30 / f_code.co_filename:  /  │
00:01:35 verbose #987 > > │ f_back.f_lineno:  / f_back.f_code.co_filename:  / arg: None                  │
00:01:35 verbose #988 > > │ line(gamma_) / f_code.co_name: fn / f_locals: log=True, s=0j / f_lineno: 32  │
00:01:35 verbose #989 > > │ / f_code.co_filename:  / f_back.f_lineno:  / f_back.f_code.co_filename:  /   │
00:01:35 verbose #990 > > │ arg: None                                                                    │
00:01:35 verbose #991 > > │ return(gamma_) / f_code.co_name: fn / f_locals: log=True, s=0j / f_lineno:   │
00:01:35 verbose #992 > > │ 32 / f_code.co_filename:  / f_back.f_lineno:  / f_back.f_code.co_filename:   │
00:01:35 verbose #993 > > │ / arg: (0.0, 0.0)                                                            │
00:01:35 verbose #994 > > │ gamma__ / s: Complex { re: 0.0, im: 0.0 } / result: Ok(Complex { re: 0.0,    │
00:01:35 verbose #995 > > │ im: 0.0 })                                                                   │
00:01:35 verbose #996 > > │ zeta__ / s: Complex { re: 1.0, im: 0.0 } / result: Ok(Complex { re: inf, im: │
00:01:35 verbose #997 > > │ 0.0 }) / z: Complex { re: 0.0, im: 0.0 }                                     │
00:01:35 verbose #998 > > │ __assert_eq / actual: inf / expected: inf                                    │
00:01:35 verbose #999 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:01:35 verbose #1000 > > │                                                                              │
00:01:35 verbose #1001 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:35 verbose #1002 > >
00:01:35 verbose #1003 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:35 verbose #1004 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:35 verbose #1005 > > │ ## test_symmetry_across_real_axis___                                         │
00:01:35 verbose #1006 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:35 verbose #1007 > >
00:01:35 verbose #1008 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:35 verbose #1009 > > inl test_symmetry_across_real_axis___ log = run_test log fun zeta, gamma =>
00:01:35 verbose #1010 > >     inl s = .^(2, 10)
00:01:35 verbose #1011 > >     inl result_positive_im = zeta s
00:01:35 verbose #1012 > >     inl result_negative_im = zeta .^(re s, -(im s))
00:01:35 verbose #1013 > >     inl conj = result_negative_im |> conj
00:01:35 verbose #1014 > >     result_positive_im |> re |> _assert_eq (conj |> re)
00:01:35 verbose #1015 > >     result_positive_im |> im |> _assert_eq (conj |> im)
00:01:35 verbose #1016 > 00:01:33   debug #46 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a14c7354c382671361d4f60d8816acb4b951ffd45f9652d1fbef886f045e7e65/main.spi
00:01:35 verbose #1017 > >
00:01:35 verbose #1018 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:35 verbose #1019 > > //// test
00:01:35 verbose #1020 > > ///! rust -d num-complex pyo3
00:01:35 verbose #1021 > >
00:01:35 verbose #1022 > > test_symmetry_across_real_axis___ true
00:01:35 verbose #1023 > 00:01:34   debug #47 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/57cd928e844cb3b255af38ef89e8c518b63f9a307b4e1c8d13b93c98ee414137/main.spi
00:01:41 verbose #1024 > >
00:01:41 verbose #1025 > > ╭─[ 6.05s - return value ]─────────────────────────────────────────────────────╮
00:01:41 verbose #1026 > > │ zeta_ / s: (2.0, 10.0) / count: 0                                            │
00:01:41 verbose #1027 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:41 verbose #1028 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:01:41 verbose #1029 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:41 verbose #1030 > > │ / arg: None                                                                  │
00:01:41 verbose #1031 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:41 verbose #1032 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:01:41 verbose #1033 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:41 verbose #1034 > > │ / arg: None                                                                  │
00:01:41 verbose #1035 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:41 verbose #1036 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:01:41 verbose #1037 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:41 verbose #1038 > > │ / arg: None                                                                  │
00:01:41 verbose #1039 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:41 verbose #1040 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:01:41 verbose #1041 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:41 verbose #1042 > > │ / arg: None                                                                  │
00:01:41 verbose #1043 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:41 verbose #1044 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:01:41 verbose #1045 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:41 verbose #1046 > > │ / arg: None                                                                  │
00:01:41 verbose #1047 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(2+10j), kwargs={},            │
00:01:41 verbose #1048 > > │ name='zeta' / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py  │
00:01:41 verbose #1049 > > │ / f_back.f_lineno: 535 / f_back.f_code.co_filename:                          │
00:01:41 verbose #1050 > > │ \mpmath\functions\zeta.py / arg: None                                        │
00:01:41 verbose #1051 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(2+10j), kwargs={},            │
00:01:41 verbose #1052 > > │ name='zeta' ...f_code.co_name: mpf_add / f_locals: s=(0, 1, 2, 1), t=(0, 25, │
00:01:41 verbose #1053 > > │ 2, 5), prec=14, rnd='d', _sub=0, ssign=0, sman=1, sexp=2, sbc=1, tsign=0,    │
00:01:41 verbose #1054 > > │ tman=25, texp=2, tbc=5, offset=0, man=26, bc=5 / f_lineno: 666 /             │
00:01:41 verbose #1055 > > │ f_code.co_filename: \mpmath\libmp\libmpf.py / f_back.f_lineno: 1322 /        │
00:01:41 verbose #1056 > > │ f_back.f_code.co_filename: \mpmath\libmp\libmpf.py / arg: None               │
00:01:41 verbose #1057 > > │ call(zeta_) / f_code.co_name: normalize / f_locals: sign=0, man=26, exp=2,   │
00:01:41 verbose #1058 > > │ bc=5, prec=14, rnd='d' / f_lineno: 185 / f_code.co_filename:                 │
00:01:41 verbose #1059 > > │ \mpmath\libmp\libmpf.py / f_back.f_lineno: 666 / f_back.f_code.co_filename:  │
00:01:41 verbose #1060 > > │ \mpmath\libmp\libmpf.py / arg: None                                          │
00:01:41 verbose #1061 > > │ line(zeta_) / f_code.co_name: normalize / f_locals: sign=0, man=26, exp=2,   │
00:01:41 verbose #1062 > > │ bc=5, prec=14, rnd='d' / f_lineno: 186 / f_code.co_filename:                 │
00:01:41 verbose #1063 > > │ \mpmath\libmp\libmpf.py / f_back.f_lineno: 666 / f_back.f_code.co_filename:  │
00:01:41 verbose #1064 > > │ \mpmath\libmp\libmpf.py / arg: None                                          │
00:01:41 verbose #1065 > > │ line(zeta_) / f_code.co_name: normalize / f_locals: sign=0, man=26, exp=2,   │
00:01:41 verbose #1066 > > │ bc=5, prec=14, rnd='d' / f_lineno: 187 / f_code.co_filename:                 │
00:01:41 verbose #1067 > > │ \mpmath\libmp\libmpf.py / f_back.f_lineno: 666 / f_back.f_code.co_filename:  │
00:01:41 verbose #1068 > > │ \mpmath\libmp\libmpf.py / arg: None                                          │
00:01:41 verbose #1069 > > │ zeta_ / result: (1.19798250067418 + 0.0791704917205257j) / count: 1031       │
00:01:41 verbose #1070 > > │ zeta / count: 0 / s: Complex { re: 2.0, im: -10.0 }                          │
00:01:41 verbose #1071 > > │ zeta__ / s: Complex { re: 2.0, im: -10.0 } / result: Ok(Complex { re:        │
00:01:41 verbose #1072 > > │ 1.1979825006741847, im: 0.07917049172052575 }) / z: Complex { re: NaN, im:   │
00:01:41 verbose #1073 > > │ NaN }                                                                        │
00:01:41 verbose #1074 > > │ __assert_eq / actual: 1.1979825006741847 / expected: 1.1979825006741847      │
00:01:41 verbose #1075 > > │ __assert_eq / actual: -0.07917049172052575 / expected: -0.07917049172052575  │
00:01:41 verbose #1076 > > │                                                                              │
00:01:41 verbose #1077 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:41 verbose #1078 > >
00:01:41 verbose #1079 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:41 verbose #1080 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:41 verbose #1081 > > │ ## test_behavior_near_origin___                                              │
00:01:41 verbose #1082 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:41 verbose #1083 > >
00:01:41 verbose #1084 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:41 verbose #1085 > > inl test_behavior_near_origin___ log = run_test log fun zeta, gamma =>
00:01:41 verbose #1086 > >     inl s = .^(0.01, 0.01)
00:01:41 verbose #1087 > >     inl result = zeta s
00:01:41 verbose #1088 > >     result |> re |> _assert_lt limit.max
00:01:41 verbose #1089 > >     result |> im |> _assert_lt limit.max
00:01:41 verbose #1090 > 00:01:40   debug #48 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d331272c41dbf983efff8e709e06814678acfe60489945b00fa20a58ee2eb0d1/main.spi
00:01:42 verbose #1091 > >
00:01:42 verbose #1092 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:42 verbose #1093 > > //// test
00:01:42 verbose #1094 > > ///! rust -d num-complex pyo3
00:01:42 verbose #1095 > >
00:01:42 verbose #1096 > > test_behavior_near_origin___ true
00:01:42 verbose #1097 > 00:01:40   debug #49 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7665fee0d6030269be1514994b8e48567636e6a1dae3d3ef5a00c4a974bbe91f/main.spi
00:01:47 verbose #1098 > >
00:01:47 verbose #1099 > > ╭─[ 5.91s - return value ]─────────────────────────────────────────────────────╮
00:01:47 verbose #1100 > > │ zeta_ / s: (0.01, 0.01) / count: 0                                           │
00:01:47 verbose #1101 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1,          │
00:01:47 verbose #1102 > > │ derivative=0, method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:   │
00:01:47 verbose #1103 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:47 verbose #1104 > > │ / arg: None                                                                  │
00:01:47 verbose #1105 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1,          │
00:01:47 verbose #1106 > > │ derivative=0, method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:   │
00:01:47 verbose #1107 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:47 verbose #1108 > > │ / arg: None                                                                  │
00:01:47 verbose #1109 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1,          │
00:01:47 verbose #1110 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 533 /                  │
00:01:47 verbose #1111 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:01:47 verbose #1112 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:01:47 verbose #1113 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1,          │
00:01:47 verbose #1114 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 534 /                  │
00:01:47 verbose #1115 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:01:47 verbose #1116 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:01:47 verbose #1117 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1,          │
00:01:47 verbose #1118 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 535 /                  │
00:01:47 verbose #1119 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:01:47 verbose #1120 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:01:47 verbose #1121 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(0.01+0.01j), kwargs={},       │
00:01:47 verbose #1122 > > │ name='zeta' / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py  │
00:01:47 verbose #1123 > > │ / f_back.f_lineno: 535 / f_back.f_code.co_filename:                          │
00:01:47 verbose #1124 > > │ \mpmath\functions\zeta.py / arg: None                                        │
00:01:47 verbose #1125 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(...py / f_back.f_lineno: 1131 │
00:01:47 verbose #1126 > > │ / f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None            │
00:01:47 verbose #1127 > > │ line(gamma_) / f_code.co_name: mpc_gamma / f_locals: z=((0,                  │
00:01:47 verbose #1128 > > │ 4458563631096791, -52, 52), (1, 5764607523034235, -59, 53)), prec=53,        │
00:01:47 verbose #1129 > > │ rnd='n', type=0, a=(0, 4458563631096791, -52, 52), b=(1, 5764607523034235,   │
00:01:47 verbose #1130 > > │ -59, 53), asign=0, aman=4458563631096791, aexp=-52, abc=52, bsign=1,         │
00:01:47 verbose #1131 > > │ bman=5764607523034235, bexp=-59, bbc=53, wp=73, amag=0, bmag=-6, mag=0,      │
00:01:47 verbose #1132 > > │ an=0, bn=0, absn=0j, gamma_size=0, need_reflection=0, zorig=((0,             │
00:01:47 verbose #1133 > > │ 4458563631096791, -52, 52), (1, 5764607523034235, -59, 53)), yfinal=0,       │
00:01:47 verbose #1134 > > │ balance_prec=0, n_for_stirling=14, need_reduction=True,                      │
00:01:47 verbose #1135 > > │ afix=132131814190692672995328, bfix=-94447329657392906240, r=0, zprered=((0, │
00:01:47 verbose #1136 > > │ 4458563631096791, -52, 52), (1, 5764607523034235, -59, 53)), d=14,           │
00:01:47 verbose #1137 > > │ rre=56942610883563778729574216337150, one=9444732965739290427392,            │
00:01:47 verbose #1138 > > │ rim=-1820461636508155576115177658065, k=13 / f_lineno: 2035 /                │
00:01:47 verbose #1139 > > │ f_code.co_filename: \mpmath\libmp\gammazeta.py / f_back.f_lineno: 1131 /     │
00:01:47 verbose #1140 > > │ f_back.f_code.co_filename: \mpmath\ctx_mp_python.py / arg: None              │
00:01:47 verbose #1141 > > │ gamma_ / result: (1.00577030202902 + 0.0059717824054102j) / count: 357       │
00:01:47 verbose #1142 > > │ gamma__ / s: Complex { re: 0.99, im: -0.01 } / result: Ok(Complex { re:      │
00:01:47 verbose #1143 > > │ 1.005770302029023, im: 0.005971782405410201 })                               │
00:01:47 verbose #1144 > > │ zeta__ / s: Complex { re: 0.01, im: 0.01 } / result: Ok(Complex { re:        │
00:01:47 verbose #1145 > > │ -0.5091873433665667, im: -0.00939202213994577 }) / z: Complex { re: 0.0, im: │
00:01:47 verbose #1146 > > │ 0.0 }                                                                        │
00:01:47 verbose #1147 > > │ __assert_lt / actual: -0.5091873433665667 / expected: inf                    │
00:01:47 verbose #1148 > > │ __assert_lt / actual: -0.00939202213994577 / expected: inf                   │
00:01:47 verbose #1149 > > │                                                                              │
00:01:47 verbose #1150 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:47 verbose #1151 > >
00:01:47 verbose #1152 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:47 verbose #1153 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:47 verbose #1154 > > │ ## test_imaginary_axis                                                       │
00:01:47 verbose #1155 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:47 verbose #1156 > >
00:01:47 verbose #1157 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:47 verbose #1158 > > inl test_imaginary_axis log = run_test log fun zeta, gamma =>
00:01:47 verbose #1159 > >     (join [[ 10; 20; 30; 40; 50; 60; 70; 80; 90; 100 ]])
00:01:47 verbose #1160 > >     |> listm.iter fun s =>
00:01:47 verbose #1161 > >         inl s = .^(0, s)
00:01:47 verbose #1162 > >         inl result = zeta s
00:01:47 verbose #1163 > >         result |> re |> _assert_ne 0
00:01:47 verbose #1164 > >         result |> im |> _assert_ne 0
00:01:48 verbose #1165 > 00:01:46   debug #50 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5b0231602cd690b8ede36f26ce07b7203fa52a3a42f5a1d7cfa6f160f744176d/main.spi
00:01:48 verbose #1166 > >
00:01:48 verbose #1167 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:48 verbose #1168 > > //// test
00:01:48 verbose #1169 > > ///! rust -d num-complex pyo3
00:01:48 verbose #1170 > >
00:01:48 verbose #1171 > > test_imaginary_axis true
00:01:48 verbose #1172 > 00:01:47   debug #51 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c0d25042ead13f81b77b82143897c02095746bab3ce80a5cd9dc37cdcb2c9994/main.spi
00:01:54 verbose #1173 > >
00:01:54 verbose #1174 > > ╭─[ 6.64s - return value ]─────────────────────────────────────────────────────╮
00:01:54 verbose #1175 > > │ zeta_ / s: (0.0, 10.0) / count: 0                                            │
00:01:54 verbose #1176 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0,     │
00:01:54 verbose #1177 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:01:54 verbose #1178 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:54 verbose #1179 > > │ / arg: None                                                                  │
00:01:54 verbose #1180 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0,     │
00:01:54 verbose #1181 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:01:54 verbose #1182 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:54 verbose #1183 > > │ / arg: None                                                                  │
00:01:54 verbose #1184 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0,     │
00:01:54 verbose #1185 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:01:54 verbose #1186 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:54 verbose #1187 > > │ / arg: None                                                                  │
00:01:54 verbose #1188 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0,     │
00:01:54 verbose #1189 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:01:54 verbose #1190 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:54 verbose #1191 > > │ / arg: None                                                                  │
00:01:54 verbose #1192 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0,     │
00:01:54 verbose #1193 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:01:54 verbose #1194 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:54 verbose #1195 > > │ / arg: None                                                                  │
00:01:54 verbose #1196 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=10j, kwargs={}, name='zeta' /  │
00:01:54 verbose #1197 > > │ f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py /              │
00:01:54 verbose #1198 > > │ f_back.f_lineno: 535 / f_back.f_code.co_filename: \mpmath\functions\zeta.py  │
00:01:54 verbose #1199 > > │ / arg: None                                                                  │
00:01:54 verbose #1200 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=10j, kwargs={}, name='zeta' /  │
00:01:54 verbose #1201 > > │ f_lineno: 1114 / f_code.co...(0, 1, 0, 1), prec=83, sign=0, man=1, exp=0,    │
00:01:54 verbose #1202 > > │ bc=1 / f_lineno: 409 / f_code.co_filename: \mpmath\libmp\libmpf.py /         │
00:01:54 verbose #1203 > > │ f_back.f_lineno: 2022 / f_back.f_code.co_filename:                           │
00:01:54 verbose #1204 > > │ \mpmath\libmp\gammazeta.py / arg: None                                       │
00:01:54 verbose #1205 > > │ line(gamma_) / f_code.co_name: to_fixed / f_locals: s=(0, 1, 0, 1), prec=83, │
00:01:54 verbose #1206 > > │ sign=0, man=1, exp=0, bc=1, offset=83 / f_lineno: 410 / f_code.co_filename:  │
00:01:54 verbose #1207 > > │ \mpmath\libmp\libmpf.py / f_back.f_lineno: 2022 / f_back.f_code.co_filename: │
00:01:54 verbose #1208 > > │ \mpmath\libmp\gammazeta.py / arg: None                                       │
00:01:54 verbose #1209 > > │ line(gamma_) / f_code.co_name: to_fixed / f_locals: s=(0, 1, 0, 1), prec=83, │
00:01:54 verbose #1210 > > │ sign=0, man=1, exp=0, bc=1, offset=83 / f_lineno: 414 / f_code.co_filename:  │
00:01:54 verbose #1211 > > │ \mpmath\libmp\libmpf.py / f_back.f_lineno: 2022 / f_back.f_code.co_filename: │
00:01:54 verbose #1212 > > │ \mpmath\libmp\gammazeta.py / arg: None                                       │
00:01:54 verbose #1213 > > │ return(gamma_) / f_code.co_name: to_fixed / f_locals: s=(0, 1, 0, 1),        │
00:01:54 verbose #1214 > > │ prec=83, sign=0, man=1, exp=0, bc=1, offset=83 / f_lineno: 414 /             │
00:01:54 verbose #1215 > > │ f_code.co_filename: \mpmath\libmp\libmpf.py / f_back.f_lineno: 2022 /        │
00:01:54 verbose #1216 > > │ f_back.f_code.co_filename: \mpmath\libmp\gammazeta.py / arg:                 │
00:01:54 verbose #1217 > > │ 9671406556917033397649408                                                    │
00:01:54 verbose #1218 > > │ gamma_ / result: (-1.51425318049776e-67 + 2.79082155561748e-69j) / count:    │
00:01:54 verbose #1219 > > │ 289                                                                          │
00:01:54 verbose #1220 > > │ gamma__ / s: Complex { re: 1.0, im: -100.0 } / result: Ok(Complex { re:      │
00:01:54 verbose #1221 > > │ -1.514253180497756e-67, im: 2.7908215556174775e-69 })                        │
00:01:54 verbose #1222 > > │ zeta__ / s: Complex { re: 0.0, im: 100.0 } / result: Ok(Complex { re:        │
00:01:54 verbose #1223 > > │ 6.51721042625301, im: 0.18128842533791736 }) / z: Complex { re: 0.0, im: 0.0 │
00:01:54 verbose #1224 > > │ }                                                                            │
00:01:54 verbose #1225 > > │ __assert_ne / actual: 6.51721042625301 / expected: 0.0                       │
00:01:54 verbose #1226 > > │ __assert_ne / actual: 0.18128842533791736 / expected: 0.0                    │
00:01:54 verbose #1227 > > │                                                                              │
00:01:54 verbose #1228 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:54 verbose #1229 > >
00:01:54 verbose #1230 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:54 verbose #1231 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:54 verbose #1232 > > │ ## test_critical_strip                                                       │
00:01:54 verbose #1233 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:54 verbose #1234 > >
00:01:54 verbose #1235 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:54 verbose #1236 > > inl test_critical_strip log = run_test log fun zeta, gamma =>
00:01:54 verbose #1237 > >     (join [[
00:01:54 verbose #1238 > >         .^(0.5, 14.134725)
00:01:54 verbose #1239 > >         .^(0.75, 20.5)
00:01:54 verbose #1240 > >         .^(1.25, 30.1)
00:01:54 verbose #1241 > >         .^(0.25, 40.0)
00:01:54 verbose #1242 > >         .^(1.0, 50.0)
00:01:54 verbose #1243 > >     ]])
00:01:54 verbose #1244 > >     |> listm.iter fun s =>
00:01:54 verbose #1245 > >         inl result = zeta s
00:01:54 verbose #1246 > >         result |> re |> _assert_ne 0
00:01:54 verbose #1247 > >         result |> im |> _assert_ne 0
00:01:55 verbose #1248 > 00:01:53   debug #52 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a33e55096c14cdc9e9b02d328154af9518666302dc2c97ceaa2f543525499eca/main.spi
00:01:55 verbose #1249 > >
00:01:55 verbose #1250 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:55 verbose #1251 > > //// test
00:01:55 verbose #1252 > > ///! rust -d num-complex pyo3
00:01:55 verbose #1253 > >
00:01:55 verbose #1254 > > test_critical_strip true
00:01:55 verbose #1255 > 00:01:54   debug #53 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/101131912322ac8086faf41986c331702df4c22066c3c16d8942140b817bd2b0/main.spi
00:02:01 verbose #1256 > >
00:02:01 verbose #1257 > > ╭─[ 6.09s - return value ]─────────────────────────────────────────────────────╮
00:02:01 verbose #1258 > > │ zeta_ / s: (0.5, 14.134725) / count: 0                                       │
00:02:01 verbose #1259 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:02:01 verbose #1260 > > │ derivative=0, method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:   │
00:02:01 verbose #1261 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:01 verbose #1262 > > │ / arg: None                                                                  │
00:02:01 verbose #1263 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:02:01 verbose #1264 > > │ derivative=0, method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:   │
00:02:01 verbose #1265 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:01 verbose #1266 > > │ / arg: None                                                                  │
00:02:01 verbose #1267 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:02:01 verbose #1268 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 533 /                  │
00:02:01 verbose #1269 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:02:01 verbose #1270 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:02:01 verbose #1271 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:02:01 verbose #1272 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 534 /                  │
00:02:01 verbose #1273 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:02:01 verbose #1274 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:02:01 verbose #1275 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1,      │
00:02:01 verbose #1276 > > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 535 /                  │
00:02:01 verbose #1277 > > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 /        │
00:02:01 verbose #1278 > > │ f_back.f_code.co_filename:  / arg: None                                      │
00:02:01 verbose #1279 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(0.5+14.134725j), kwargs={},   │
00:02:01 verbose #1280 > > │ name='zeta' / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py  │
00:02:01 verbose #1281 > > │ / f_back.f_lineno: 535 / f_back.f_code.co_filename:                          │
00:02:01 verbose #1282 > > │ \mpmath\functions\zeta.py / arg: None                                        │
00:02:01 verbose #1283 > > │ line(zeta_) / f_cod...3223535862290159229021 / f_lineno: 1635 /              │
00:02:01 verbose #1284 > > │ f_code.co_filename: \mpmath\libmp\gammazeta.py / f_back.f_lineno: 2041 /     │
00:02:01 verbose #1285 > > │ f_back.f_code.co_filename: \mpmath\libmp\gammazeta.py / arg: None            │
00:02:01 verbose #1286 > > │ line(gamma_) / f_code.co_name: complex_stirling_series / f_locals: x=0,      │
00:02:01 verbose #1287 > > │ y=-241785163922925834941235200, prec=82, _m=12089258196146291747061760000,   │
00:02:01 verbose #1288 > > │ tre=0, tim=2475880078, ure=-1934281311383406679530, uim=0,                   │
00:02:01 verbose #1289 > > │ sre=4443714077719696485012210, sim=241793223535862290159229021 / f_lineno:   │
00:02:01 verbose #1290 > > │ 1636 / f_code.co_filename: \mpmath\libmp\gammazeta.py / f_back.f_lineno:     │
00:02:01 verbose #1291 > > │ 2041 / f_back.f_code.co_filename: \mpmath\libmp\gammazeta.py / arg: None     │
00:02:01 verbose #1292 > > │ line(gamma_) / f_code.co_name: complex_stirling_series / f_locals: x=0,      │
00:02:01 verbose #1293 > > │ y=-241785163922925834941235200, prec=82, _m=12089258196146291747061760000,   │
00:02:01 verbose #1294 > > │ tre=0, tim=2475880078, ure=-1934281311383406679530, uim=0,                   │
00:02:01 verbose #1295 > > │ sre=4443714077719696485012210, sim=241793223535862290161313095 / f_lineno:   │
00:02:01 verbose #1296 > > │ 1637 / f_code.co_filename: \mpmath\libmp\gammazeta.py / f_back.f_lineno:     │
00:02:01 verbose #1297 > > │ 2041 / f_back.f_code.co_filename: \mpmath\libmp\gammazeta.py / arg: None     │
00:02:01 verbose #1298 > > │ gamma_ / result: (2.63173210619768e-35 - 8.16464935465334e-36j) / count: 266 │
00:02:01 verbose #1299 > > │ gamma__ / s: Complex { re: 0.0, im: -50.0 } / result: Ok(Complex { re:       │
00:02:01 verbose #1300 > > │ 2.6317321061976804e-35, im: -8.164649354653339e-36 })                        │
00:02:01 verbose #1301 > > │ zeta__ / s: Complex { re: 1.0, im: 50.0 } / result: Ok(Complex { re:         │
00:02:01 verbose #1302 > > │ 0.44103873082309397, im: 0.281582455029683 }) / z: Complex { re: 0.0, im:    │
00:02:01 verbose #1303 > > │ 0.0 }                                                                        │
00:02:01 verbose #1304 > > │ __assert_ne / actual: 0.44103873082309397 / expected: 0.0                    │
00:02:01 verbose #1305 > > │ __assert_ne / actual: 0.281582455029683 / expected: 0.0                      │
00:02:01 verbose #1306 > > │                                                                              │
00:02:01 verbose #1307 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:01 verbose #1308 > >
00:02:01 verbose #1309 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:01 verbose #1310 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:01 verbose #1311 > > │ ## test_reflection_formula_for_specific_value                                │
00:02:01 verbose #1312 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:01 verbose #1313 > >
00:02:01 verbose #1314 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:01 verbose #1315 > > inl test_reflection_formula_for_specific_value log = run_test log fun zeta,
00:02:01 verbose #1316 > > gamma =>
00:02:01 verbose #1317 > >     (join [[
00:02:01 verbose #1318 > >         .^(3, 4)
00:02:01 verbose #1319 > >         .^(2.5, -3.5)
00:02:01 verbose #1320 > >         .^(1.5, 2.5)
00:02:01 verbose #1321 > >         .^(0.5, 14.134725)
00:02:01 verbose #1322 > >     ]])
00:02:01 verbose #1323 > >     |> listm.iter fun s =>
00:02:01 verbose #1324 > >         inl lhs = zeta s
00:02:01 verbose #1325 > >         inl reflection_coefficient =
00:02:01 verbose #1326 > >             (.^(2, 0) .** s)
00:02:01 verbose #1327 > >             .* (.^(pi, 0) .** (s .- .^(1, 0)))
00:02:01 verbose #1328 > >             .* (.^(pi, 0) .* s ./ .^(2, 0) |> complex_sin)
00:02:01 verbose #1329 > >             .* gamma (.^(1, 0) .- s)
00:02:01 verbose #1330 > >
00:02:01 verbose #1331 > >         inl one_minus_s = .^(1 - re s, -(im s))
00:02:01 verbose #1332 > >         inl rhs = reflection_coefficient .* zeta one_minus_s
00:02:01 verbose #1333 > >
00:02:01 verbose #1334 > >         re lhs - re rhs |> abs |> _assert_lt 0.0001
00:02:01 verbose #1335 > >         im lhs - im rhs |> abs |> _assert_lt 0.0001
00:02:01 verbose #1336 > 00:02:00   debug #54 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/eaa374b97855b4046cbed60fa7810f6af4bf5c33f1e7fd0b169b87f86bfd9783/main.spi
00:02:01 verbose #1337 > >
00:02:01 verbose #1338 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:01 verbose #1339 > > //// test
00:02:01 verbose #1340 > > ///! rust -d num-complex pyo3
00:02:01 verbose #1341 > >
00:02:01 verbose #1342 > > test_reflection_formula_for_specific_value true
00:02:02 verbose #1343 > 00:02:00   debug #55 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c990bb6543967af87a8fa19848af04c76a879f7dd38fca431ac8bfabb044a4e8/main.spi
00:02:08 verbose #1344 > >
00:02:08 verbose #1345 > > ╭─[ 6.11s - return value ]─────────────────────────────────────────────────────╮
00:02:08 verbose #1346 > > │ zeta_ / s: (3.0, 4.0) / count: 0                                             │
00:02:08 verbose #1347 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0,  │
00:02:08 verbose #1348 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:02:08 verbose #1349 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:08 verbose #1350 > > │ / arg: None                                                                  │
00:02:08 verbose #1351 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0,  │
00:02:08 verbose #1352 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:02:08 verbose #1353 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:08 verbose #1354 > > │ / arg: None                                                                  │
00:02:08 verbose #1355 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0,  │
00:02:08 verbose #1356 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:02:08 verbose #1357 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:08 verbose #1358 > > │ / arg: None                                                                  │
00:02:08 verbose #1359 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0,  │
00:02:08 verbose #1360 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:02:08 verbose #1361 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:08 verbose #1362 > > │ / arg: None                                                                  │
00:02:08 verbose #1363 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0,  │
00:02:08 verbose #1364 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:02:08 verbose #1365 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:08 verbose #1366 > > │ / arg: None                                                                  │
00:02:08 verbose #1367 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(3+4j), kwargs={}, name='zeta' │
00:02:08 verbose #1368 > > │ / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py /            │
00:02:08 verbose #1369 > > │ f_back.f_lineno: 535 / f_back.f_code.co_filename: \mpmath\functions\zeta.py  │
00:02:08 verbose #1370 > > │ / arg: None                                                                  │
00:02:08 verbose #1371 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(3+4j), kwargs={}, name='zeta' │
00:02:08 verbose #1372 > > │ / f_line...034 / f_code.co_filename: \mpmath\libmp\gammazeta.py /            │
00:02:08 verbose #1373 > > │ f_back.f_lineno: 1131 / f_back.f_code.co_filename: \mpmath\ctx_mp_python.py  │
00:02:08 verbose #1374 > > │ / arg: None                                                                  │
00:02:08 verbose #1375 > > │ line(gamma_) / f_code.co_name: mpc_gamma / f_locals: z=((0, 1, -1, 1), (0,   │
00:02:08 verbose #1376 > > │ 3978571390186527, -48, 52)), prec=53, rnd='n', type=0, a=(0, 1, -1, 1),      │
00:02:08 verbose #1377 > > │ b=(0, 3978571390186527, -48, 52), asign=0, aman=1, aexp=-1, abc=1, bsign=0,  │
00:02:08 verbose #1378 > > │ bman=3978571390186527, bexp=-48, bbc=52, wp=79, amag=0, bmag=4, mag=4, an=0, │
00:02:08 verbose #1379 > > │ bn=14, absn=14j, gamma_size=56, need_reflection=0, zorig=((0, 1, -1, 1), (0, │
00:02:08 verbose #1380 > > │ 3978571390186527, -48, 52)), yfinal=0, balance_prec=0, n_for_stirling=15,    │
00:02:08 verbose #1381 > > │ need_reduction=True, afix=2115620184325601055735808,                         │
00:02:08 verbose #1382 > > │ bfix=8543917002826194402410496, r=0, zprered=((0, 1, -1, 1), (0,             │
00:02:08 verbose #1383 > > │ 3978571390186527, -48, 52)), d=5, rre=-542313259704087430481959845,          │
00:02:08 verbose #1384 > > │ one=604462909807314587353088, rim=-1657865507045117397880679064, k=3 /       │
00:02:08 verbose #1385 > > │ f_lineno: 2035 / f_code.co_filename: \mpmath\libmp\gammazeta.py /            │
00:02:08 verbose #1386 > > │ f_back.f_lineno: 1131 / f_back.f_code.co_filename: \mpmath\ctx_mp_python.py  │
00:02:08 verbose #1387 > > │ / arg: None                                                                  │
00:02:08 verbose #1388 > > │ gamma_ / result: (-1.4455538437607e-10 - 5.52278876877407e-10j) / count: 314 │
00:02:08 verbose #1389 > > │ gamma__ / s: Complex { re: 0.5, im: 14.134725 } / result: Ok(Complex { re:   │
00:02:08 verbose #1390 > > │ -1.4455538437606964e-10, im: -5.522788768774066e-10 })                       │
00:02:08 verbose #1391 > > │ zeta__ / s: Complex { re: 0.5, im: -14.134725 } / result: Ok(Complex { re:   │
00:02:08 verbose #1392 > > │ 1.7674298413849186e-8, im: 1.1102028930923156e-7 }) / z: Complex { re: 0.0,  │
00:02:08 verbose #1393 > > │ im: 0.0 }                                                                    │
00:02:08 verbose #1394 > > │ __assert_lt / actual: 4.499862532288471e-22 / expected: 0.0001               │
00:02:08 verbose #1395 > > │ __assert_lt / actual: 1.4558378780933287e-22 / expected: 0.0001              │
00:02:08 verbose #1396 > > │                                                                              │
00:02:08 verbose #1397 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:08 verbose #1398 > >
00:02:08 verbose #1399 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:08 verbose #1400 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:08 verbose #1401 > > │ ## test_euler_product_formula                                                │
00:02:08 verbose #1402 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:08 verbose #1403 > >
00:02:08 verbose #1404 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:08 verbose #1405 > > inl test_euler_product_formula log = run_test log fun zeta, gamma =>
00:02:08 verbose #1406 > >     inl s_values = join [[ 2; 2.5; 3; 3.5; 4; 4.5; 5 ]]
00:02:08 verbose #1407 > >     inl primes = join [[ 2; 3; 5; 7; 11; 13; 17; 19; 23; 29; 31; 37; 41; 43; 47;
00:02:08 verbose #1408 > > 53; 59; 61; 67; 71 ]]
00:02:08 verbose #1409 > >     s_values
00:02:08 verbose #1410 > >     |> listm.iter fun s_re =>
00:02:08 verbose #1411 > >         inl s = .^(s_re, 0)
00:02:08 verbose #1412 > >         inl product =
00:02:08 verbose #1413 > >             (1, primes)
00:02:08 verbose #1414 > >             ||> listm.fold fun acc x =>
00:02:08 verbose #1415 > >                 acc * 1 / (1 - x ** -s_re)
00:02:08 verbose #1416 > >
00:02:08 verbose #1417 > >         inl result = zeta s
00:02:08 verbose #1418 > >         re result - product |> abs |> _assert_lt 0.01
00:02:08 verbose #1419 > >         result |> im |> _assert_lt 0.01
00:02:08 verbose #1420 > 00:02:06   debug #56 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/832e10144c3411e543f9e87d5ea1e2b94ac9f8566341d1d192a74cf0c47e7c62/main.spi
00:02:08 verbose #1421 > >
00:02:08 verbose #1422 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:08 verbose #1423 > > //// test
00:02:08 verbose #1424 > > ///! rust -d num-complex pyo3
00:02:08 verbose #1425 > >
00:02:08 verbose #1426 > > test_euler_product_formula true
00:02:08 verbose #1427 > 00:02:07   debug #57 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b110d2223dc9b59dc6b11a219605ca38fe7ca06f4b22cc9399d4e4240188ffe5/main.spi
00:02:14 verbose #1428 > >
00:02:14 verbose #1429 > > ╭─[ 6.07s - return value ]─────────────────────────────────────────────────────╮
00:02:14 verbose #1430 > > │ zeta_ / s: (2.0, 0.0) / count: 0                                             │
00:02:14 verbose #1431 > > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:02:14 verbose #1432 > > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename:                 │
00:02:14 verbose #1433 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:14 verbose #1434 > > │ / arg: None                                                                  │
00:02:14 verbose #1435 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:02:14 verbose #1436 > > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename:                 │
00:02:14 verbose #1437 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:14 verbose #1438 > > │ / arg: None                                                                  │
00:02:14 verbose #1439 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:02:14 verbose #1440 > > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename:            │
00:02:14 verbose #1441 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:14 verbose #1442 > > │ / arg: None                                                                  │
00:02:14 verbose #1443 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:02:14 verbose #1444 > > │ method=None, kwargs={}, d=0 / f_lineno: 534 / f_code.co_filename:            │
00:02:14 verbose #1445 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:14 verbose #1446 > > │ / arg: None                                                                  │
00:02:14 verbose #1447 > > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0,  │
00:02:14 verbose #1448 > > │ method=None, kwargs={}, d=0 / f_lineno: 535 / f_code.co_filename:            │
00:02:14 verbose #1449 > > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:14 verbose #1450 > > │ / arg: None                                                                  │
00:02:14 verbose #1451 > > │ call(zeta_) / f_code.co_name: f / f_locals: x=(2+0j), kwargs={}, name='zeta' │
00:02:14 verbose #1452 > > │ / f_lineno: 1113 / f_code.co_filename: \mpmath\ctx_mp_python.py /            │
00:02:14 verbose #1453 > > │ f_back.f_lineno: 535 / f_back.f_code.co_filename: \mpmath\functions\zeta.py  │
00:02:14 verbose #1454 > > │ / arg: None                                                                  │
00:02:14 verbose #1455 > > │ line(zeta_) / f_code.co_name: f / f_locals: x=(2+0j), kwargs={}, name='zeta' │
00:02:14 verbose #1456 > > │ / f_line...k.f_lineno: 976 / f_back.f_code.co_filename:                      │
00:02:14 verbose #1457 > > │ \mpmath\libmp\gammazeta.py / arg: None                                       │
00:02:14 verbose #1458 > > │ line(zeta_) / f_code.co_name: mpf_zeta_int / f_locals: s=5, prec=53,         │
00:02:14 verbose #1459 > > │ rnd='n', wp=73, m=19.25, needed_terms=623488, n=33, d=[1, 2179, 792067,      │
00:02:14 verbose #1460 > > │ 115062531, 8930212611, 429314925315, 13983537177347, 327666966438659,        │
00:02:14 verbose #1461 > > │ 5764846406968067, 78615943485956867, 851604426176701187,                     │
00:02:14 verbose #1462 > > │ 7470527451121689347, 53898915046387983107, 323897845985013506819,            │
00:02:14 verbose #1463 > > │ 1638178356374090130179, 7034281785235908174595, 25833609859980306522883,     │
00:02:14 verbose #1464 > > │ 81661917475887913739011, 223448095548034217779971, 532029677981012660429571, │
00:02:14 verbose #1465 > > │ 1108048631855905753375491, 2029946562680066824315651,                        │
00:02:14 verbose #1466 > > │ 3292927237466655352791811, 4769455369342763680768771,                        │
00:02:14 verbose #1467 > > │ 6235511670496346417767171, 7463408621503347142796035,                        │
00:02:14 verbose #1468 > > │ 8322751284048216428487427, 8818779962777819524211459,                        │
00:02:14 verbose #1469 > > │ 9050689474911140452082435, 9136270117622166323831555,                        │
00:02:14 verbose #1470 > > │ 9160252037839493347779331, 9165045885455648617505539,                        │
00:02:14 verbose #1471 > > │ 9165654628010081032708867, 9165691521498228451812099],                       │
00:02:14 verbose #1472 > > │ t=-84153981556310142931811887755527036638996681066, k=21 / f_lineno: 944 /   │
00:02:14 verbose #1473 > > │ f_code.co_filename: \mpmath\libmp\gammazeta.py / f_back.f_lineno: 976 /      │
00:02:14 verbose #1474 > > │ f_back.f_code.co_filename: \mpmath\libmp\gammazeta.py / arg: None            │
00:02:14 verbose #1475 > > │ zeta_ / result: (1.03692775514337 + 0.0j) / count: 236                       │
00:02:14 verbose #1476 > > │ zeta / count: 0 / s: Complex { re: 5.0, im: 0.0 }                            │
00:02:14 verbose #1477 > > │ zeta__ / s: Complex { re: 5.0, im: 0.0 } / result: Ok(Complex { re:          │
00:02:14 verbose #1478 > > │ 1.03692775514337, im: 0.0 }) / z: Complex { re: NaN, im: NaN }               │
00:02:14 verbose #1479 > > │ __assert_lt / actual: 2.0033654735129858e-9 / expected: 0.01                 │
00:02:14 verbose #1480 > > │ __assert_lt / actual: 0.0 / expected: 0.01                                   │
00:02:14 verbose #1481 > > │                                                                              │
00:02:14 verbose #1482 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #1483 > >
00:02:14 verbose #1484 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:14 verbose #1485 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #1486 > > │ ## graph                                                                     │
00:02:14 verbose #1487 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #1488 > >
00:02:14 verbose #1489 > > ── mermaid ─────────────────────────────────────────────────────────────────────
00:02:14 verbose #1490 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #1491 > > │ <div class="mermaidMarkdownContainer" style="background-color:white">        │
00:02:14 verbose #1492 > > │ <link rel="stylesheet"                                                       │
00:02:14 verbose #1493 > > │ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min. │
00:02:14 verbose #1494 > > │ css">                                                                        │
00:02:14 verbose #1495 > > │ <div id="3bb7b2e11af245ac8451a5dadad355ec"></div>                            │
00:02:14 verbose #1496 > > │ <script type="module">                                                       │
00:02:14 verbose #1497 > > │                                                                              │
00:02:14 verbose #1498 > > │             import mermaid from                                              │
00:02:14 verbose #1499 > > │ 'https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.esm.min.mjs';      │
00:02:14 verbose #1500 > > │             let renderTarget =                                               │
00:02:14 verbose #1501 > > │ document.getElementById('3bb7b2e11af245ac8451a5dadad355ec');                 │
00:02:14 verbose #1502 > > │             try {                                                            │
00:02:14 verbose #1503 > > │                 const {svg, bindFunctions} = await                           │
00:02:14 verbose #1504 > > │ mermaid.mermaidAPI.render(                                                   │
00:02:14 verbose #1505 > > │                     'mermaid_3bb7b2e11af245ac8451a5dadad355ec',              │
00:02:14 verbose #1506 > > │                     `graph TD                                                │
00:02:14 verbose #1507 > > │     zeta("zeta()") --> convert                                               │
00:02:14 verbose #1508 > > │     zeta --> f["f()"]                                                        │
00:02:14 verbose #1509 > > │     f --> mpc_f["mpc_zeta()"]                                                │
00:02:14 verbose #1510 > > │     f --> mpf_f["mpf_zeta()"]                                                │
00:02:14 verbose #1511 > > │     convert --> from_float                                                   │
00:02:14 verbose #1512 > > │     from_float --> from_man_exp                                              │
00:02:14 verbose #1513 > > │     from_man_exp --> python_bitcount                                         │
00:02:14 verbose #1514 > > │     python_bitcount --> _normalize                                           │
00:02:14 verbose #1515 > > │     _normalize --> make_mpc                                                  │
00:02:14 verbose #1516 > > │     make_mpc --> mpc_zeta["mpc_zeta()"]                                      │
00:02:14 verbose #1517 > > │     mpc_zeta --> mpf_zeta["mpf_zeta()"]                                      │
00:02:14 verbose #1518 > > │     mpf_zeta --> to_int                                                      │
00:02:14 verbose #1519 > > │     to_int --> mpf_zeta_int["mpf_zeta_int()"]                                │
00:02:14 verbose #1520 > > │     mpf_zeta_int --> borwein_coefficients                                    │
00:02:14 verbose #1521 > > │     borwein_coefficients --> from_man_exp_2("from_man_exp()")                │
00:02:14 verbose #1522 > > │     from_man_exp_2 --> python_bitcount_2("python_bitcount()")                │
00:02:14 verbose #1523 > > │     python_bitcount_2 --> _normalize_2("_normalize()")                       │
00:02:14 verbose #1524 > > │     _normalize_2 --> make_mpc_2("make_mpc()")                                │
00:02:14 verbose #1525 > > │     make_mpc_2 --> stop_trace                                                │
00:02:14 verbose #1526 > > │     mpf_zeta_int --> mpf_bernoulli                                           │
00:02:14 verbose #1527 > > │     mpf_bernoulli --> bernoulli_size                                         │
00:02:14 verbose #1528 > > │     bernoulli_size --> mpf_rdiv_int                                          │
00:02:14 verbose #1529 > > │     mpf_rdiv_int --> python_bitcount_3("python_bitcount()")                  │
00:02:14 verbose #1530 > > │     python_bitcount_3 --> _normalize1                                        │
00:02:14 verbose #1531 > > │     _normalize1 --> from_man_exp_3("from_man_exp()")                         │
00:02:14 verbose #1532 > > │     from_man_exp_3 --> _normalize_3("_normalize()")                          │
00:02:14 verbose #1533 > > │     _normalize_3 --> mpf_sub                                                 │
00:02:14 verbose #1534 > > │     mpf_sub --> mpf_add                                                      │
00:02:14 verbose #1535 > > │     mpf_add --> mpf_neg                                                      │
00:02:14 verbose #1536 > > │     mpf_neg --> _normalize1_2("_normalize1()")                               │
00:02:14 verbose #1537 > > │     _normalize1_2 --> from_int                                               │
00:02:14 verbose #1538 > > │     from_int --> mpf_div                                                     │
00:02:14 verbose #1539 > > │     mpf_div --> python_bitcount_4("python_bitcount()")                       │
00:02:14 verbose #1540 > > │     python_bitcount_4 --> _normalize1_3("_normalize1()")                     │
00:02:14 verbose #1541 > > │     _normalize1_3 --> make_mpc_3("make_mpc()")                               │
00:02:14 verbose #1542 > > │     make_mpc_3 --> final_stop["stop_trace()"]`);                             │
00:02:14 verbose #1543 > > │                 renderTarget.innerHTML = svg;                                │
00:02:14 verbose #1544 > > │                 bindFunctions?.(renderTarget);                               │
00:02:14 verbose #1545 > > │             }                                                                │
00:02:14 verbose #1546 > > │             catch (error) {                                                  │
00:02:14 verbose #1547 > > │                 console.log(error);                                          │
00:02:14 verbose #1548 > > │             }                                                                │
00:02:14 verbose #1549 > > │ </script>                                                                    │
00:02:14 verbose #1550 > > │ </div>                                                                       │
00:02:14 verbose #1551 > > │                                                                              │
00:02:14 verbose #1552 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #1553 > >
00:02:14 verbose #1554 > > ── mermaid ─────────────────────────────────────────────────────────────────────
00:02:14 verbose #1555 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #1556 > > │ <div class="mermaidMarkdownContainer" style="background-color:white">        │
00:02:14 verbose #1557 > > │ <link rel="stylesheet"                                                       │
00:02:14 verbose #1558 > > │ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min. │
00:02:14 verbose #1559 > > │ css">                                                                        │
00:02:14 verbose #1560 > > │ <div id="dcf700e3ec2747d3baa150c2c7d1bfd1"></div>                            │
00:02:14 verbose #1561 > > │ <script type="module">                                                       │
00:02:14 verbose #1562 > > │                                                                              │
00:02:14 verbose #1563 > > │             import mermaid from                                              │
00:02:14 verbose #1564 > > │ 'https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.esm.min.mjs';      │
00:02:14 verbose #1565 > > │             let renderTarget =                                               │
00:02:14 verbose #1566 > > │ document.getElementById('dcf700e3ec2747d3baa150c2c7d1bfd1');                 │
00:02:14 verbose #1567 > > │             try {                                                            │
00:02:14 verbose #1568 > > │                 const {svg, bindFunctions} = await                           │
00:02:14 verbose #1569 > > │ mermaid.mermaidAPI.render(                                                   │
00:02:14 verbose #1570 > > │                     'mermaid_dcf700e3ec2747d3baa150c2c7d1bfd1',              │
00:02:14 verbose #1571 > > │                     `graph TD                                                │
00:02:14 verbose #1572 > > │     zeta_rust("zeta() - Rust") --> num_traits("num-traits")                  │
00:02:14 verbose #1573 > > │     zeta_rust --> num_bigint("num-bigint")                                   │
00:02:14 verbose #1574 > > │     zeta_rust --> rust_decimal("rust_decimal for precision")                 │
00:02:14 verbose #1575 > > │     zeta_rust --> error_handling("Rust Error Handling")                      │
00:02:14 verbose #1576 > > │                                                                              │
00:02:14 verbose #1577 > > │     num_traits --> num_traits_usage("Use for common traits")                 │
00:02:14 verbose #1578 > > │     num_bigint --> bigint_operations("Arbitrary-precision arithmetic         │
00:02:14 verbose #1579 > > │ operations")                                                                 │
00:02:14 verbose #1580 > > │     rust_decimal --> decimal_operations("High-precision decimal operations") │
00:02:14 verbose #1581 > > │     error_handling --> result_type("Use Result<T, E> for error handling")    │
00:02:14 verbose #1582 > > │                                                                              │
00:02:14 verbose #1583 > > │     bigint_operations --> convert_rust("convert() - Rust")                   │
00:02:14 verbose #1584 > > │     bigint_operations --> normalize_rust("_normalize() - Rust")              │
00:02:14 verbose #1585 > > │                                                                              │
00:02:14 verbose #1586 > > │     convert_rust --> from_float_rust("from_float() - Rust")                  │
00:02:14 verbose #1587 > > │     from_float_rust --> from_man_exp_rust("from_man_exp() - Rust")           │
00:02:14 verbose #1588 > > │     from_man_exp_rust --> bitcount_rust("bitcount() - Rust")                 │
00:02:14 verbose #1589 > > │     bitcount_rust --> normalize_rust                                         │
00:02:14 verbose #1590 > > │     normalize_rust --> mpc_zeta_rust("mpc_zeta() - Rust")                    │
00:02:14 verbose #1591 > > │     mpc_zeta_rust --> mpf_zeta_rust("mpf_zeta() - Rust")                     │
00:02:14 verbose #1592 > > │     mpf_zeta_rust --> to_int_rust("to_int() - Rust")                         │
00:02:14 verbose #1593 > > │     to_int_rust --> mpf_zeta_int_rust("mpf_zeta_int() - Rust")               │
00:02:14 verbose #1594 > > │                                                                              │
00:02:14 verbose #1595 > > │     mpf_zeta_int_rust --> borwein_coefficients_rust("borwein_coefficients()  │
00:02:14 verbose #1596 > > │ - Rust")                                                                     │
00:02:14 verbose #1597 > > │     borwein_coefficients_rust --> from_man_exp_rust_2("from_man_exp() -      │
00:02:14 verbose #1598 > > │ Rust")                                                                       │
00:02:14 verbose #1599 > > │     from_man_exp_rust_2 --> bitcount_rust_2("bitcount() - Rust")             │
00:02:14 verbose #1600 > > │     bitcount_rust_2 --> normalize_rust_2("_normalize() - Rust")              │
00:02:14 verbose #1601 > > │     normalize_rust_2 --> make_mpc_rust("make_mpc() - Rust")                  │
00:02:14 verbose #1602 > > │                                                                              │
00:02:14 verbose #1603 > > │     mpf_zeta_int_rust --> mpf_bernoulli_rust("mpf_bernoulli() - Rust")       │
00:02:14 verbose #1604 > > │     mpf_bernoulli_rust --> bernoulli_size_rust("bernoulli_size() - Rust")    │
00:02:14 verbose #1605 > > │     bernoulli_size_rust --> mpf_rdiv_int_rust("mpf_rdiv_int() - Rust")       │
00:02:14 verbose #1606 > > │     mpf_rdiv_int_rust --> bitcount_rust_3("bitcount() - Rust")               │
00:02:14 verbose #1607 > > │     bitcount_rust_3 --> normalize1_rust("_normalize1() - Rust")              │
00:02:14 verbose #1608 > > │     normalize1_rust --> from_man_exp_rust_3("from_man_exp() - Rust")         │
00:02:14 verbose #1609 > > │     from_man_exp_rust_3 --> normalize_rust_3("_normalize() - Rust")          │
00:02:14 verbose #1610 > > │     normalize_rust_3 --> mpf_sub_rust("mpf_sub() - Rust")                    │
00:02:14 verbose #1611 > > │     mpf_sub_rust --> mpf_add_rust("mpf_add() - Rust")                        │
00:02:14 verbose #1612 > > │     mpf_add_rust --> mpf_neg_rust("mpf_neg() - Rust")                        │
00:02:14 verbose #1613 > > │     mpf_neg_rust --> normalize1_rust_2("_normalize1() - Rust")               │
00:02:14 verbose #1614 > > │     normalize1_rust_2 --> from_int_rust("from_int() - Rust")                 │
00:02:14 verbose #1615 > > │     from_int_rust --> mpf_div_rust("mpf_div() - Rust")                       │
00:02:14 verbose #1616 > > │     mpf_div_rust --> bitcount_rust_4("bitcount() - Rust")                    │
00:02:14 verbose #1617 > > │     bitcount_rust_4 --> normalize1_rust_3("_normalize1() - Rust")            │
00:02:14 verbose #1618 > > │                                                                              │
00:02:14 verbose #1619 > > │     style zeta_rust fill:#f9f,stroke:#333,stroke-width:4px                   │
00:02:14 verbose #1620 > > │     style num_traits fill:#bbf,stroke:#333,stroke-width:2px                  │
00:02:14 verbose #1621 > > │     style num_bigint fill:#bbf,stroke:#333,stroke-width:2px                  │
00:02:14 verbose #1622 > > │     style rust_decimal fill:#bbf,stroke:#333,stroke-width:2px                │
00:02:14 verbose #1623 > > │     style error_handling fill:#bbf,stroke:#333,stroke-width:2px              │
00:02:14 verbose #1624 > > │     style bigint_operations fill:#bfb,stroke:#333,stroke-width:2px           │
00:02:14 verbose #1625 > > │     style decimal_operations fill:#bfb,stroke:#333,stroke-width:2px          │
00:02:14 verbose #1626 > > │     style result_type fill:#bfb,stroke:#333,stroke-width:2px`);              │
00:02:14 verbose #1627 > > │                 renderTarget.innerHTML = svg;                                │
00:02:14 verbose #1628 > > │                 bindFunctions?.(renderTarget);                               │
00:02:14 verbose #1629 > > │             }                                                                │
00:02:14 verbose #1630 > > │             catch (error) {                                                  │
00:02:14 verbose #1631 > > │                 console.log(error);                                          │
00:02:14 verbose #1632 > > │             }                                                                │
00:02:14 verbose #1633 > > │ </script>                                                                    │
00:02:14 verbose #1634 > > │ </div>                                                                       │
00:02:14 verbose #1635 > > │                                                                              │
00:02:14 verbose #1636 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #1637 > >
00:02:14 verbose #1638 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:14 verbose #1639 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #1640 > > │ ## tests                                                                     │
00:02:14 verbose #1641 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #1642 > >
00:02:14 verbose #1643 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:14 verbose #1644 > > inl tests () =
00:02:14 verbose #1645 > >     testing.run_tests_log {
00:02:14 verbose #1646 > >         test_zeta_at_known_values_
00:02:14 verbose #1647 > >         test_zeta_at_2_minus2
00:02:14 verbose #1648 > >         test_trivial_zero_at_negative_even___
00:02:14 verbose #1649 > >         test_non_trivial_zero___
00:02:14 verbose #1650 > >         test_real_part_greater_than_one___
00:02:14 verbose #1651 > >         test_zeta_at_1___
00:02:14 verbose #1652 > >         test_symmetry_across_real_axis___
00:02:14 verbose #1653 > >         test_behavior_near_origin___
00:02:14 verbose #1654 > >         test_imaginary_axis
00:02:14 verbose #1655 > >         test_critical_strip
00:02:14 verbose #1656 > >         test_reflection_formula_for_specific_value
00:02:14 verbose #1657 > >         test_euler_product_formula
00:02:14 verbose #1658 > >     }
00:02:14 verbose #1659 > 00:02:13   debug #58 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b6e5970d9ca022c98ccf992b07436a5bfb6f7dcd5a2989fb2e84cae483acbd7b/main.spi
00:02:15 verbose #1660 > >
00:02:15 verbose #1661 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:15 verbose #1662 > > ///! _
00:02:15 verbose #1663 > >
00:02:15 verbose #1664 > > inl main (_args : array_base string) =
00:02:15 verbose #1665 > >     inl value = 1i32
00:02:15 verbose #1666 > >     console.write_line ($'$"value: {!value}"' : string)
00:02:15 verbose #1667 > >     0i32
00:02:15 verbose #1668 > >
00:02:15 verbose #1669 > > inl main () =
00:02:15 verbose #1670 > >     $'let tests () = !tests ()' : ()
00:02:15 verbose #1671 > >     $'let main args = !main args' : ()
00:02:15 verbose #1672 > 00:02:13   debug #59 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/66eb3d0f9de3e44e0bd2fdbc0beb567dce8ff1007046a2bddbc5b76f6314a4e7/main.spi
00:02:16 verbose #1673 > 00:02:12 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 97974 }
00:02:16 verbose #1674 > 00:02:12   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:02:16 verbose #1675 >     "nbconvert",
00:02:16 verbose #1676 >     "c:/home/git/polyglot/lib/math/math.dib.ipynb",
00:02:16 verbose #1677 >     "--to",
00:02:16 verbose #1678 >     "html",
00:02:16 verbose #1679 >     "--HTMLExporter.theme=dark",
00:02:16 verbose #1680 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/math/math.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:19 verbose #1681 > 00:02:15 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/math/math.dib.ipynb to html
00:02:19 verbose #1682 > 00:02:15 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:19 verbose #1683 > 00:02:15 verbose #7 !   validate(nb)
00:02:22 verbose #1684 > 00:02:19 verbose #8 ! [NbConvertApp] Writing 7295235 bytes to c:\home\git\polyglot\lib\math\math.dib.html
00:02:23 verbose #1685 > 00:02:19 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 636 }
00:02:23 verbose #1686 > 00:02:19   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 636 }
00:02:23 verbose #1687 > 00:02:19   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:02:23 verbose #1688 >     "-c",
00:02:23 verbose #1689 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/math/math.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:02:23 verbose #1690 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/math/math.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:24 verbose #1691 > 00:02:21 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:02:24 verbose #1692 > 00:02:21   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:02:25 verbose #1693 > 00:02:22   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 98669 }
00:02:25   debug #1694 runtime.execute_with_options_async / { exit_code = 0; output_length = 104513 }
00:02:25   debug #4 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path math.dib --retries 1
00:02:26 verbose #6 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:02:26 verbose #7 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 writeDibCode / output: Spi / path: math.dib
00:00:00   debug #2 parseDibCode / output: Spi / file: math.dib
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #6 async.run_with_timeout_async / { timeout = 100 }
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02 verbose #7 async.run_with_timeout_async / { timeout = 180 }
00:00:02   debug #4 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:02   debug #5 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:02   debug #6 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:03 verbose #7 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # math\nopen testing\nopen rust.rust_operators\nopen rust\n\n/// ## comp...027let main args = !main args\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/math/math.spi"}} / result:
00:00:03 verbose #8 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/math/math.spi"}} / result:
00:00:03   debug #9 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:03   debug #10 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:03 verbose #7 > 00:00:02   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/math/math.spi
00:00:04   debug #11 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:04   debug #12 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:04   debug #13 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:04   debug #14 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:05   debug #15 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:05   debug #16 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:05   debug #17 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:05   debug #18 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:06   debug #19 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:06   debug #20 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:06   debug #21 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:06   debug #22 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:07   debug #23 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:07   debug #24 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:07   debug #25 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:07   debug #26 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:08   debug #27 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:08   debug #28 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:08   debug #29 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:08   debug #30 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:09   debug #31 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("pyo3::Python")>]
#endif
type pyo3_Python = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fa...v3 (); v2) ()
    0
let v0 : (unit -> unit) = closure0()
let tests () = v0 ()
let v1 : ((string []) -> int32) = closure4()
let main args = v1 args
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: math.spi
00:00:09   debug #32 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("pyo3::Python")>]
#endif
type pyo3_Python = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fa...v3 (); v2) ()
    0
let v0 : (unit -> unit) = closure0()
let tests () = v0 ()
let v1 : ((string []) -> int32) = closure4()
let main args = v1 args
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: math.spi
00:00:09   debug #33 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:09 verbose #8 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:09 verbose #9 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 persistCodeProject / packages: [Fable.Core] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: math / hash:  / code.Length: 139519
00:00:00   debug #2 buildProject / fullPath: C:\home\git\polyglot\target\Builder\math\math.fsproj
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\math\math.fsproj" --configuration Release --output "C:\home\git\polyglot\lib\math\dist" --runtime linux-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\math" } }
00:00:01 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 >   Determining projects to restore...
00:00:24 verbose #4 >   Restored C:\home\git\polyglot\target\Builder\math\math.fsproj (in 22.35 sec).
00:00:24 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\math\math.fsproj]
00:00:40 verbose #6 >   math -> C:\home\git\polyglot\target\Builder\math\bin\Release\net9.0\linux-x64\math.dll
00:00:41 verbose #7 >   math -> C:\home\git\polyglot\lib\math\dist\
00:00:42   debug #8 runtime.execute_with_options_async / { exit_code = 0; output_length = 640 }
00:00:42   debug #9 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\math\math.fsproj" --configuration Release --output "C:\home\git\polyglot\lib\math\dist" --runtime win-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\math" } }
00:00:42 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:43 verbose #11 >   Determining projects to restore...
00:00:44 verbose #12 >   Restored C:\home\git\polyglot\target\Builder\math\math.fsproj (in 489 ms).
00:00:44 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\math\math.fsproj]
00:01:01 verbose #14 >   math -> C:\home\git\polyglot\target\Builder\math\bin\Release\net9.0\win-x64\math.dll
00:01:06 verbose #15 >   math -> C:\home\git\polyglot\lib\math\dist\
00:01:06   debug #16 runtime.execute_with_options_async / { exit_code = 0; output_length = 635 }
targetDir: C:\home\git\polyglot\target\Builder\math
Fable 4.19.3: F# to Rust compiler (status: alpha)

Thanks to the contributor! @Kurren123
Stand with Ukraine! https://standwithukraine.com.ua/

Parsing target\Builder\math\math.fsproj...
Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.
Project and references (14 source files) parsed in 284ms

Started Fable compilation...

Fable compilation finished in 11000ms

.\lib\spiral\async_.fsx(76,0): (76,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\threading.fsx(145,0): (145,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\date_time.fsx(1012,0): (1012,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\crypto.fsx(1391,0): (1391,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(1300,0): (1300,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\sm.fsx(414,0): (414,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\platform.fsx(104,0): (104,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(4639,0): (4639,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(1333,0): (1333,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(6776,0): (6776,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(10817,0): (10817,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\target\Builder\math\math.fs(33,0): (35,3) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
   Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
   Compiling math v0.0.1 (C:\home\git\polyglot\lib\math)
    Finished `release` profile [optimized] target(s) in 32.23s
     Running unittests math.rs (C:\home\git\polyglot\workspace\target\release\deps\math-9b1f9bad46170197.exe)

running 12 tests
test module_b7a9935b::Math::test_behavior_near_origin___ ... ok
test module_b7a9935b::Math::test_euler_product_formula ... ok
test module_b7a9935b::Math::test_critical_strip ... ok
test module_b7a9935b::Math::test_non_trivial_zero___ ... ok
test module_b7a9935b::Math::test_zeta_at_2_minus2 ... ok
test module_b7a9935b::Math::test_symmetry_across_real_axis___ ... ok
test module_b7a9935b::Math::test_real_part_greater_than_one___ ... ok
test module_b7a9935b::Math::test_zeta_at_1___ ... ok
test module_b7a9935b::Math::test_reflection_formula_for_specific_value ... ok
test module_b7a9935b::Math::test_zeta_at_known_values_ ... ok
test module_b7a9935b::Math::test_trivial_zero_at_negative_even___ ... ok
test module_b7a9935b::Math::test_imaginary_axis ... ok

test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s

In [ ]:
{ pwsh ../apps/plot/build.ps1 } | Invoke-Block
   Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
   Compiling plot v0.0.1 (C:\home\git\polyglot\apps\plot)
    Finished `release` profile [optimized] target(s) in 29.55s
In [ ]:
{ pwsh ../apps/perf/build.ps1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02   debug #7 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path Perf.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:02 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Perf.dib", "--retries", "3"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/apps/perf/Perf.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/apps/perf/Perf.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/perf/Perf.dib" --output-path "c:/home/git/polyglot/apps/perf/Perf.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:06 verbose #17 > >
00:00:06 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #20 > > │ # Perf (Polyglot)                                                            │
00:00:06 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #22 > >
00:00:31 verbose #23 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #24 > > //// test
00:00:31 verbose #25 > >
00:00:31 verbose #26 > > open testing
00:00:31 verbose #27 > > open benchmark
00:00:33 verbose #28 > 00:00:32   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0fe24d3dc606a5d07b53d5ea3fede53fab8fac286f91bf9a11131630555d4050/main.spi
00:00:37 verbose #29 > >
00:00:37 verbose #30 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #31 > > #if !INTERACTIVE
00:00:37 verbose #32 > > open Lib
00:00:37 verbose #33 > > #endif
00:00:37 verbose #34 > >
00:00:37 verbose #35 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #36 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #37 > > │ ## TestCaseResult                                                            │
00:00:37 verbose #38 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #39 > >
00:00:37 verbose #40 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #41 > > type TestCaseResult =
00:00:37 verbose #42 > >     {
00:00:37 verbose #43 > >         Input: string
00:00:37 verbose #44 > >         Expected: string
00:00:37 verbose #45 > >         Result: string
00:00:37 verbose #46 > >         TimeList: int64 list
00:00:37 verbose #47 > >     }
00:00:37 verbose #48 > >
00:00:37 verbose #49 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #50 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #51 > > │ ## run                                                                       │
00:00:37 verbose #52 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #53 > >
00:00:37 verbose #54 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #55 > > let run count (solutions: (string * ('TInput -> 'TExpected)) list) (input,
00:00:37 verbose #56 > > expected) =
00:00:37 verbose #57 > >     let inputStr =
00:00:37 verbose #58 > >         match box input with
00:00:37 verbose #59 > >         | :? System.Collections.ICollection as input ->
00:00:37 verbose #60 > >             System.Linq.Enumerable.Cast<obj> input
00:00:37 verbose #61 > >             |> Seq.map string
00:00:37 verbose #62 > >             |> SpiralSm.concat ","
00:00:37 verbose #63 > >         | _ -> input.ToString ()
00:00:37 verbose #64 > >
00:00:37 verbose #65 > >     printfn ""
00:00:37 verbose #66 > >     printfn $"Solution: {inputStr}  "
00:00:37 verbose #67 > >
00:00:37 verbose #68 > >     let performanceInvoke (fn: unit -> 'T) =
00:00:37 verbose #69 > >         GC.Collect ()
00:00:37 verbose #70 > >         let stopwatch = System.Diagnostics.Stopwatch ()
00:00:37 verbose #71 > >         stopwatch.Start ()
00:00:37 verbose #72 > >         let time1 = stopwatch.ElapsedMilliseconds
00:00:37 verbose #73 > >
00:00:37 verbose #74 > >         let result =
00:00:37 verbose #75 > >             [[| 0 .. count |]]
00:00:37 verbose #76 > >             |> Array.Parallel.map (fun _ ->
00:00:37 verbose #77 > >                 fn ()
00:00:37 verbose #78 > >             )
00:00:37 verbose #79 > >             |> Array.last
00:00:37 verbose #80 > >
00:00:37 verbose #81 > >         let time2 = stopwatch.ElapsedMilliseconds - time1
00:00:37 verbose #82 > >
00:00:37 verbose #83 > >         result, time2
00:00:37 verbose #84 > >
00:00:37 verbose #85 > >     let resultsWithTime =
00:00:37 verbose #86 > >         solutions
00:00:37 verbose #87 > >         |> List.mapi (fun i (testName, solution) ->
00:00:37 verbose #88 > >             let result, time = performanceInvoke (fun () -> solution input)
00:00:37 verbose #89 > >             printfn $"Test case %d{i + 1}. %s{testName}. Time: %A{time}  "
00:00:37 verbose #90 > >             result, time
00:00:37 verbose #91 > >         )
00:00:37 verbose #92 > >
00:00:37 verbose #93 > >
00:00:37 verbose #94 > >     match resultsWithTime |> List.map fst with
00:00:37 verbose #95 > >     | ([[]] | [[ _ ]]) -> ()
00:00:37 verbose #96 > >     | (head :: tail) when tail |> List.forall ((=) head) -> ()
00:00:37 verbose #97 > >     | results -> failwithf $"Challenge error: %A{results}"
00:00:37 verbose #98 > >
00:00:37 verbose #99 > >     {
00:00:37 verbose #100 > >         Input = inputStr
00:00:37 verbose #101 > >         Expected = expected.ToString ()
00:00:37 verbose #102 > >         Result = resultsWithTime |> Seq.map fst |> Seq.head |> _.ToString()
00:00:37 verbose #103 > >         TimeList = resultsWithTime |> List.map snd
00:00:37 verbose #104 > >     }
00:00:38 verbose #105 > >
00:00:38 verbose #106 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #107 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #108 > > │ ## runAll                                                                    │
00:00:38 verbose #109 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #110 > >
00:00:38 verbose #111 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #112 > > let runAll testName count (solutions: (string * ('TInput -> 'TExpected)) list)
00:00:38 verbose #113 > > testCases =
00:00:38 verbose #114 > >     printfn ""
00:00:38 verbose #115 > >     printfn ""
00:00:38 verbose #116 > >     printfn $"Test: {testName}"
00:00:38 verbose #117 > >     testCases
00:00:38 verbose #118 > >     |> Seq.map (run count solutions)
00:00:38 verbose #119 > >     |> Seq.toList
00:00:38 verbose #120 > >
00:00:38 verbose #121 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #122 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #123 > > │ ## sortResultList                                                            │
00:00:38 verbose #124 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #125 > >
00:00:38 verbose #126 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #127 > > let sortResultList resultList =
00:00:38 verbose #128 > >     let table =
00:00:38 verbose #129 > >         let rows =
00:00:38 verbose #130 > >             resultList
00:00:38 verbose #131 > >             |> List.map (fun result ->
00:00:38 verbose #132 > >                 let best =
00:00:38 verbose #133 > >                     result.TimeList
00:00:38 verbose #134 > >                     |> List.mapi (fun i time ->
00:00:38 verbose #135 > >                         i + 1, time
00:00:38 verbose #136 > >                     )
00:00:38 verbose #137 > >                     |> List.sortBy snd
00:00:38 verbose #138 > >                     |> List.head
00:00:38 verbose #139 > >                     |> _.ToString()
00:00:38 verbose #140 > >                 let row =
00:00:38 verbose #141 > >                     [[
00:00:38 verbose #142 > >                         result.Input
00:00:38 verbose #143 > >                         result.Expected
00:00:38 verbose #144 > >                         result.Result
00:00:38 verbose #145 > >                         best
00:00:38 verbose #146 > >                     ]]
00:00:38 verbose #147 > >                 let color =
00:00:38 verbose #148 > >                     match result.Expected = result.Result with
00:00:38 verbose #149 > >                     | true -> Some ConsoleColor.DarkGreen
00:00:38 verbose #150 > >                     | false -> Some ConsoleColor.DarkRed
00:00:38 verbose #151 > >                 row, color
00:00:38 verbose #152 > >             )
00:00:38 verbose #153 > >         let header =
00:00:38 verbose #154 > >             [[
00:00:38 verbose #155 > >                 [[
00:00:38 verbose #156 > >                     "Input"
00:00:38 verbose #157 > >                     "Expected"
00:00:38 verbose #158 > >                     "Result"
00:00:38 verbose #159 > >                     "Best"
00:00:38 verbose #160 > >                 ]]
00:00:38 verbose #161 > >                 [[
00:00:38 verbose #162 > >                     "---"
00:00:38 verbose #163 > >                     "---"
00:00:38 verbose #164 > >                     "---"
00:00:38 verbose #165 > >                     "---"
00:00:38 verbose #166 > >                 ]]
00:00:38 verbose #167 > >             ]]
00:00:38 verbose #168 > >             |> List.map (fun row -> row, None)
00:00:38 verbose #169 > >         header @ rows
00:00:38 verbose #170 > >
00:00:38 verbose #171 > >     let formattedTable =
00:00:38 verbose #172 > >         let lengthMap =
00:00:38 verbose #173 > >             table
00:00:38 verbose #174 > >             |> List.map fst
00:00:38 verbose #175 > >             |> List.transpose
00:00:38 verbose #176 > >             |> List.map (fun column ->
00:00:38 verbose #177 > >                 column
00:00:38 verbose #178 > >                 |> List.map String.length
00:00:38 verbose #179 > >                 |> List.sortDescending
00:00:38 verbose #180 > >                 |> List.tryHead
00:00:38 verbose #181 > >                 |> Option.defaultValue 0
00:00:38 verbose #182 > >             )
00:00:38 verbose #183 > >             |> List.indexed
00:00:38 verbose #184 > >             |> Map.ofList
00:00:38 verbose #185 > >         table
00:00:38 verbose #186 > >         |> List.map (fun (row, color) ->
00:00:38 verbose #187 > >             let newRow =
00:00:38 verbose #188 > >                 row
00:00:38 verbose #189 > >                 |> List.mapi (fun i cell ->
00:00:38 verbose #190 > >                     cell.PadRight lengthMap.[[i]]
00:00:38 verbose #191 > >                 )
00:00:38 verbose #192 > >             newRow, color
00:00:38 verbose #193 > >         )
00:00:38 verbose #194 > >
00:00:38 verbose #195 > >     printfn ""
00:00:38 verbose #196 > >     formattedTable
00:00:38 verbose #197 > >     |> List.iter (fun (row, color) ->
00:00:38 verbose #198 > >         match color with
00:00:38 verbose #199 > >         | Some color -> Console.ForegroundColor <- color
00:00:38 verbose #200 > >         | None -> Console.ResetColor ()
00:00:38 verbose #201 > >
00:00:38 verbose #202 > >         printfn "%s" (String.Join ("\t| ", row))
00:00:38 verbose #203 > >
00:00:38 verbose #204 > >         Console.ResetColor ()
00:00:38 verbose #205 > >     )
00:00:38 verbose #206 > >
00:00:38 verbose #207 > >     let averages =
00:00:38 verbose #208 > >         resultList
00:00:38 verbose #209 > >         |> List.map (fun result -> result.TimeList |> List.map float)
00:00:38 verbose #210 > >         |> List.transpose
00:00:38 verbose #211 > >         |> List.map List.average
00:00:38 verbose #212 > >         |> List.map int64
00:00:38 verbose #213 > >         |> List.indexed
00:00:38 verbose #214 > >
00:00:38 verbose #215 > >     printfn ""
00:00:38 verbose #216 > >     printfn "Average Ranking  "
00:00:38 verbose #217 > >     averages
00:00:38 verbose #218 > >     |> List.sortBy snd
00:00:38 verbose #219 > >     |> List.iter (fun (i, avg) ->
00:00:38 verbose #220 > >         printfn $"Test case %d{i + 1}. Average Time: %A{avg}  "
00:00:38 verbose #221 > >     )
00:00:38 verbose #222 > >
00:00:38 verbose #223 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #224 > > let mutable _count =
00:00:38 verbose #225 > >     if ("CI" |> System.Environment.GetEnvironmentVariable |> fun x -> $"%A{x}")
00:00:38 verbose #226 > > <> "<null>"
00:00:38 verbose #227 > >     then 2000000
00:00:38 verbose #228 > >     else 2000
00:00:38 verbose #229 > >
00:00:38 verbose #230 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #231 > > inl is_fast () =
00:00:38 verbose #232 > >     false
00:00:38 verbose #233 > 00:00:37   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/af72357aa5b9c8336ba97493cc77aac4861a203d5a854c174807f06c5afe1c3d/main.spi
00:00:38 verbose #234 > >
00:00:38 verbose #235 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #236 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #237 > > │ ## empty3Tests                                                               │
00:00:38 verbose #238 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #239 > >
00:00:38 verbose #240 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #241 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #242 > > │ Test: Empty3                                                                 │
00:00:38 verbose #243 > > │                                                                              │
00:00:38 verbose #244 > > │ Solution: (a, a)                                                             │
00:00:38 verbose #245 > > │ Test case 1. A. Time: 91L                                                    │
00:00:38 verbose #246 > > │                                                                              │
00:00:38 verbose #247 > > │ Solution: (a, a)                                                             │
00:00:38 verbose #248 > > │ Test case 1. A. Time: 56L                                                    │
00:00:38 verbose #249 > > │                                                                              │
00:00:38 verbose #250 > > │ Input  | Expected      | Result | Best                                       │
00:00:38 verbose #251 > > │ ---    | ---           | ---    | ---                                        │
00:00:38 verbose #252 > > │ (a, a) | a             | a      | (1, 91)                                    │
00:00:38 verbose #253 > > │ (a, a) | a             | a      | (1, 56)                                    │
00:00:38 verbose #254 > > │                                                                              │
00:00:38 verbose #255 > > │ Averages                                                                     │
00:00:38 verbose #256 > > │ Test case 1. Average Time: 73L                                               │
00:00:38 verbose #257 > > │                                                                              │
00:00:38 verbose #258 > > │ Ranking                                                                      │
00:00:38 verbose #259 > > │ Test case 1. Average Time: 73L                                               │
00:00:38 verbose #260 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #261 > >
00:00:38 verbose #262 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #263 > > //// test
00:00:38 verbose #264 > >
00:00:38 verbose #265 > > let solutions = [[
00:00:38 verbose #266 > >     "A",
00:00:38 verbose #267 > >     fun (a, _b) ->
00:00:38 verbose #268 > >         a
00:00:38 verbose #269 > > ]]
00:00:38 verbose #270 > > let testCases = seq {
00:00:38 verbose #271 > >     ("a", "a"), "a"
00:00:38 verbose #272 > >     ("a", "a"), "a"
00:00:38 verbose #273 > > }
00:00:38 verbose #274 > > let rec empty3Tests = runAll (nameof empty3Tests) _count solutions testCases
00:00:38 verbose #275 > > empty3Tests
00:00:38 verbose #276 > > |> sortResultList
00:00:39 verbose #277 > >
00:00:39 verbose #278 > > ╭─[ 817.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:39 verbose #279 > > │                                                                              │
00:00:39 verbose #280 > > │                                                                              │
00:00:39 verbose #281 > > │ Test: empty3Tests                                                            │
00:00:39 verbose #282 > > │                                                                              │
00:00:39 verbose #283 > > │ Solution: (a, a)                                                             │
00:00:39 verbose #284 > > │ Test case 1. A. Time: 2L                                                     │
00:00:39 verbose #285 > > │                                                                              │
00:00:39 verbose #286 > > │ Solution: (a, a)                                                             │
00:00:39 verbose #287 > > │ Test case 1. A. Time: 0L                                                     │
00:00:39 verbose #288 > > │                                                                              │
00:00:39 verbose #289 > > │ Input 	| Expected	| Result	| Best                                                  │
00:00:39 verbose #290 > > │ ---   	| ---     	| ---   	| ---                                                   │
00:00:39 verbose #291 > > │ (a, a)	| a       	| a     	| (1, 2)                                                │
00:00:39 verbose #292 > > │ (a, a)	| a       	| a     	| (1, 0)                                                │
00:00:39 verbose #293 > > │                                                                              │
00:00:39 verbose #294 > > │ Average Ranking                                                              │
00:00:39 verbose #295 > > │ Test case 1. Average Time: 1L                                                │
00:00:39 verbose #296 > > │                                                                              │
00:00:39 verbose #297 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #298 > >
00:00:39 verbose #299 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 verbose #300 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 verbose #301 > > │ ## empty2Tests                                                               │
00:00:39 verbose #302 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #303 > >
00:00:39 verbose #304 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 verbose #305 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 verbose #306 > > │ Test: Empty2                                                                 │
00:00:39 verbose #307 > > │                                                                              │
00:00:39 verbose #308 > > │ Solution: (a, a)                                                             │
00:00:39 verbose #309 > > │ Test case 1. A. Time: 59L                                                    │
00:00:39 verbose #310 > > │                                                                              │
00:00:39 verbose #311 > > │ Solution: (a, a)                                                             │
00:00:39 verbose #312 > > │ Test case 1. A. Time: 53L                                                    │
00:00:39 verbose #313 > > │                                                                              │
00:00:39 verbose #314 > > │ Input   | Expected        | Result  | Best                                   │
00:00:39 verbose #315 > > │ ---     | ---             | ---     | ---                                    │
00:00:39 verbose #316 > > │ (a, a)  | a               | a       | (1, 59)                                │
00:00:39 verbose #317 > > │ (a, a)  | a               | a       | (1, 53)                                │
00:00:39 verbose #318 > > │                                                                              │
00:00:39 verbose #319 > > │ Averages                                                                     │
00:00:39 verbose #320 > > │ Test case 1. Average Time: 56L                                               │
00:00:39 verbose #321 > > │                                                                              │
00:00:39 verbose #322 > > │ Ranking                                                                      │
00:00:39 verbose #323 > > │ Test case 1. Average Time: 56L                                               │
00:00:39 verbose #324 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #325 > >
00:00:39 verbose #326 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:39 verbose #327 > > //// test
00:00:39 verbose #328 > >
00:00:39 verbose #329 > > let solutions = [[
00:00:39 verbose #330 > >     "A",
00:00:39 verbose #331 > >     fun (a, _b) ->
00:00:39 verbose #332 > >         a
00:00:39 verbose #333 > > ]]
00:00:39 verbose #334 > > let testCases = seq {
00:00:39 verbose #335 > >     ("a", "a"), "a"
00:00:39 verbose #336 > >     ("a", "a"), "a"
00:00:39 verbose #337 > > }
00:00:39 verbose #338 > > let rec empty2Tests = runAll (nameof empty2Tests) _count solutions testCases
00:00:39 verbose #339 > > empty2Tests
00:00:39 verbose #340 > > |> sortResultList
00:00:40 verbose #341 > >
00:00:40 verbose #342 > > ╭─[ 773.49ms - stdout ]────────────────────────────────────────────────────────╮
00:00:40 verbose #343 > > │                                                                              │
00:00:40 verbose #344 > > │                                                                              │
00:00:40 verbose #345 > > │ Test: empty2Tests                                                            │
00:00:40 verbose #346 > > │                                                                              │
00:00:40 verbose #347 > > │ Solution: (a, a)                                                             │
00:00:40 verbose #348 > > │ Test case 1. A. Time: 1L                                                     │
00:00:40 verbose #349 > > │                                                                              │
00:00:40 verbose #350 > > │ Solution: (a, a)                                                             │
00:00:40 verbose #351 > > │ Test case 1. A. Time: 0L                                                     │
00:00:40 verbose #352 > > │                                                                              │
00:00:40 verbose #353 > > │ Input 	| Expected	| Result	| Best                                                  │
00:00:40 verbose #354 > > │ ---   	| ---     	| ---   	| ---                                                   │
00:00:40 verbose #355 > > │ (a, a)	| a       	| a     	| (1, 1)                                                │
00:00:40 verbose #356 > > │ (a, a)	| a       	| a     	| (1, 0)                                                │
00:00:40 verbose #357 > > │                                                                              │
00:00:40 verbose #358 > > │ Average Ranking                                                              │
00:00:40 verbose #359 > > │ Test case 1. Average Time: 0L                                                │
00:00:40 verbose #360 > > │                                                                              │
00:00:40 verbose #361 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #362 > >
00:00:40 verbose #363 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #364 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #365 > > │ ## emptyTests                                                                │
00:00:40 verbose #366 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #367 > >
00:00:40 verbose #368 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #369 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #370 > > │ Test: Empty                                                                  │
00:00:40 verbose #371 > > │                                                                              │
00:00:40 verbose #372 > > │ Solution: 0                                                                  │
00:00:40 verbose #373 > > │ Test case 1. A. Time: 61L                                                    │
00:00:40 verbose #374 > > │                                                                              │
00:00:40 verbose #375 > > │ Solution: 2                                                                  │
00:00:40 verbose #376 > > │ Test case 1. A. Time: 62L                                                    │
00:00:40 verbose #377 > > │                                                                              │
00:00:40 verbose #378 > > │ Solution: 5                                                                  │
00:00:40 verbose #379 > > │ Test case 1. A. Time: 70L                                                    │
00:00:40 verbose #380 > > │                                                                              │
00:00:40 verbose #381 > > │ Input   | Expected        | Result  | Best                                   │
00:00:40 verbose #382 > > │ ---     | ---             | ---     | ---                                    │
00:00:40 verbose #383 > > │ 0       | 0               | 0       | (1, 61)                                │
00:00:40 verbose #384 > > │ 2       | 2               | 2       | (1, 62)                                │
00:00:40 verbose #385 > > │ 5       | 5               | 5       | (1, 70)                                │
00:00:40 verbose #386 > > │                                                                              │
00:00:40 verbose #387 > > │ Averages                                                                     │
00:00:40 verbose #388 > > │ Test case 1. Average Time: 64L                                               │
00:00:40 verbose #389 > > │                                                                              │
00:00:40 verbose #390 > > │ Ranking                                                                      │
00:00:40 verbose #391 > > │ Test case 1. Average Time: 64L                                               │
00:00:40 verbose #392 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #393 > >
00:00:40 verbose #394 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:40 verbose #395 > > //// test
00:00:40 verbose #396 > >
00:00:40 verbose #397 > > let solutions = [[
00:00:40 verbose #398 > >     "A",
00:00:40 verbose #399 > >     fun n ->
00:00:40 verbose #400 > >         n + 0
00:00:40 verbose #401 > > ]]
00:00:40 verbose #402 > > let testCases = seq {
00:00:40 verbose #403 > >     0, 0
00:00:40 verbose #404 > >     2, 2
00:00:40 verbose #405 > >     5, 5
00:00:40 verbose #406 > > }
00:00:40 verbose #407 > > let rec emptyTests = runAll (nameof emptyTests) _count solutions testCases
00:00:40 verbose #408 > > emptyTests
00:00:40 verbose #409 > > |> sortResultList
00:00:41 verbose #410 > >
00:00:41 verbose #411 > > ╭─[ 1.04s - stdout ]───────────────────────────────────────────────────────────╮
00:00:41 verbose #412 > > │                                                                              │
00:00:41 verbose #413 > > │                                                                              │
00:00:41 verbose #414 > > │ Test: emptyTests                                                             │
00:00:41 verbose #415 > > │                                                                              │
00:00:41 verbose #416 > > │ Solution: 0                                                                  │
00:00:41 verbose #417 > > │ Test case 1. A. Time: 3L                                                     │
00:00:41 verbose #418 > > │                                                                              │
00:00:41 verbose #419 > > │ Solution: 2                                                                  │
00:00:41 verbose #420 > > │ Test case 1. A. Time: 0L                                                     │
00:00:41 verbose #421 > > │                                                                              │
00:00:41 verbose #422 > > │ Solution: 5                                                                  │
00:00:41 verbose #423 > > │ Test case 1. A. Time: 0L                                                     │
00:00:41 verbose #424 > > │                                                                              │
00:00:41 verbose #425 > > │ Input	| Expected	| Result	| Best                                                   │
00:00:41 verbose #426 > > │ ---  	| ---     	| ---   	| ---                                                    │
00:00:41 verbose #427 > > │ 0    	| 0       	| 0     	| (1, 3)                                                 │
00:00:41 verbose #428 > > │ 2    	| 2       	| 2     	| (1, 0)                                                 │
00:00:41 verbose #429 > > │ 5    	| 5       	| 5     	| (1, 0)                                                 │
00:00:41 verbose #430 > > │                                                                              │
00:00:41 verbose #431 > > │ Average Ranking                                                              │
00:00:41 verbose #432 > > │ Test case 1. Average Time: 1L                                                │
00:00:41 verbose #433 > > │                                                                              │
00:00:41 verbose #434 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:41 verbose #435 > >
00:00:41 verbose #436 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:41 verbose #437 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:41 verbose #438 > > │ ## uniqueLettersTests                                                        │
00:00:41 verbose #439 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:41 verbose #440 > >
00:00:41 verbose #441 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:41 verbose #442 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:41 verbose #443 > > │ Test: UniqueLetters                                                          │
00:00:41 verbose #444 > > │                                                                              │
00:00:41 verbose #445 > > │ Solution: abc                                                                │
00:00:41 verbose #446 > > │ Test case 1. A. Time: 1512L                                                  │
00:00:41 verbose #447 > > │ Test case 2. B. Time: 1947L                                                  │
00:00:41 verbose #448 > > │ Test case 3. C. Time: 2023L                                                  │
00:00:41 verbose #449 > > │ Test case 4. D. Time: 1358L                                                  │
00:00:41 verbose #450 > > │ Test case 5. E. Time: 1321L                                                  │
00:00:41 verbose #451 > > │ Test case 6. F. Time: 1346L                                                  │
00:00:41 verbose #452 > > │ Test case 7. G. Time: 1304L                                                  │
00:00:41 verbose #453 > > │ Test case 8. H. Time: 1383L                                                  │
00:00:41 verbose #454 > > │ Test case 9. I. Time: 1495L                                                  │
00:00:41 verbose #455 > > │ Test case 10. J. Time: 1245L                                                 │
00:00:41 verbose #456 > > │ Test case 11. K. Time: 1219L                                                 │
00:00:41 verbose #457 > > │                                                                              │
00:00:41 verbose #458 > > │ Solution: accabb                                                             │
00:00:41 verbose #459 > > │ Test case 1. A. Time: 1648L                                                  │
00:00:41 verbose #460 > > │ Test case 2. B. Time: 2061L                                                  │
00:00:41 verbose #461 > > │ Test case 3. C. Time: 2413L                                                  │
00:00:41 verbose #462 > > │ Test case 4. D. Time: 1561L                                                  │
00:00:41 verbose #463 > > │ Test case 5. E. Time: 1593L                                                  │
00:00:41 verbose #464 > > │ Test case 6. F. Time: 1518L                                                  │
00:00:41 verbose #465 > > │ Test case 7. G. Time: 1415L                                                  │
00:00:41 verbose #466 > > │ Test case 8. H. Time: 1510L                                                  │
00:00:41 verbose #467 > > │ Test case 9. I. Time: 1445L                                                  │
00:00:41 verbose #468 > > │ Test case 10. J. Time: 1636L                                                 │
00:00:41 verbose #469 > > │ Test case 11. K. Time: 1317L                                                 │
00:00:41 verbose #470 > > │                                                                              │
00:00:41 verbose #471 > > │ Solution: pprrqqpp                                                           │
00:00:41 verbose #472 > > │ Test case 1. A. Time: 2255L                                                  │
00:00:41 verbose #473 > > │ Test case 2. B. Time: 2408L                                                  │
00:00:41 verbose #474 > > │ Test case 3. C. Time: 2393L                                                  │
00:00:41 verbose #475 > > │ Test case 4. D. Time: 1675L                                                  │
00:00:41 verbose #476 > > │ Test case 5. E. Time: 1911L                                                  │
00:00:41 verbose #477 > > │ Test case 6. F. Time: 2126L                                                  │
00:00:41 verbose #478 > > │ Test case 7. G. Time: 1504L                                                  │
00:00:41 verbose #479 > > │ Test case 8. H. Time: 1715L                                                  │
00:00:41 verbose #480 > > │ Test case 9. I. Time: 1537L                                                  │
00:00:41 verbose #481 > > │ Test case 10. J. Time: 1522L                                                 │
00:00:41 verbose #482 > > │ Test case 11. K. Time: 1322L                                                 │
00:00:41 verbose #483 > > │                                                                              │
00:00:41 verbose #484 > > │ Solution:                                                                    │
00:00:41 verbose #485 > > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:41 verbose #486 > > │ bbb                                                                          │
00:00:41 verbose #487 > > │ Test case 1. A. Time: 13073L                                                 │
00:00:41 verbose #488 > > │ Test case 2. B. Time: 11519L                                                 │
00:00:41 verbose #489 > > │ Test case 3. C. Time: 8373L                                                  │
00:00:41 verbose #490 > > │ Test case 4. D. Time: 5860L                                                  │
00:00:41 verbose #491 > > │ Test case 5. E. Time: 6490L                                                  │
00:00:41 verbose #492 > > │ Test case 6. F. Time: 6325L                                                  │
00:00:41 verbose #493 > > │ Test case 7. G. Time: 5799L                                                  │
00:00:41 verbose #494 > > │ Test case 8. H. Time: 7099L                                                  │
00:00:41 verbose #495 > > │ Test case 9. I. Time: 6133L                                                  │
00:00:41 verbose #496 > > │ Test case 10. J. Time: 5993L                                                 │
00:00:41 verbose #497 > > │ Test case 11. K. Time: 2040L                                                 │
00:00:41 verbose #498 > > │                                                                              │
00:00:41 verbose #499 > > │ Input                                                                        │
00:00:41 verbose #500 > > │ | Expected        | Result  | Best                                           │
00:00:41 verbose #501 > > │ ---                                                                          │
00:00:41 verbose #502 > > │                                                                              │
00:00:41 verbose #503 > > │ | ---             | ---     | ---                                            │
00:00:41 verbose #504 > > │ abc                                                                          │
00:00:41 verbose #505 > > │                                                                              │
00:00:41 verbose #506 > > │ | abc             | abc     | (11, 1219)                                     │
00:00:41 verbose #507 > > │ accabb                                                                       │
00:00:41 verbose #508 > > │ | acb             | acb     | (11, 1317)                                     │
00:00:41 verbose #509 > > │ pprrqqpp                                                                     │
00:00:41 verbose #510 > > │ | prq             | prq     | (11, 1322)                                     │
00:00:41 verbose #511 > > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:41 verbose #512 > > │ bbb | acb             | acb     | (11, 2040)                                 │
00:00:41 verbose #513 > > │                                                                              │
00:00:41 verbose #514 > > │ Averages                                                                     │
00:00:41 verbose #515 > > │ Test case 1. Average Time: 4622L                                             │
00:00:41 verbose #516 > > │ Test case 2. Average Time: 4483L                                             │
00:00:41 verbose #517 > > │ Test case 3. Average Time: 3800L                                             │
00:00:41 verbose #518 > > │ Test case 4. Average Time: 2613L                                             │
00:00:41 verbose #519 > > │ Test case 5. Average Time: 2828L                                             │
00:00:41 verbose #520 > > │ Test case 6. Average Time: 2828L                                             │
00:00:41 verbose #521 > > │ Test case 7. Average Time: 2505L                                             │
00:00:41 verbose #522 > > │ Test case 8. Average Time: 2926L                                             │
00:00:41 verbose #523 > > │ Test case 9. Average Time: 2652L                                             │
00:00:41 verbose #524 > > │ Test case 10. Average Time: 2599L                                            │
00:00:41 verbose #525 > > │ Test case 11. Average Time: 1474L                                            │
00:00:41 verbose #526 > > │                                                                              │
00:00:41 verbose #527 > > │ Ranking                                                                      │
00:00:41 verbose #528 > > │ Test case 1. Average Time: 4622L                                             │
00:00:41 verbose #529 > > │ Test case 2. Average Time: 4483L                                             │
00:00:41 verbose #530 > > │ Test case 3. Average Time: 3800L                                             │
00:00:41 verbose #531 > > │ Test case 8. Average Time: 2926L                                             │
00:00:41 verbose #532 > > │ Test case 5. Average Time: 2828L                                             │
00:00:41 verbose #533 > > │ Test case 6. Average Time: 2828L                                             │
00:00:41 verbose #534 > > │ Test case 9. Average Time: 2652L                                             │
00:00:41 verbose #535 > > │ Test case 4. Average Time: 2613L                                             │
00:00:41 verbose #536 > > │ Test case 10. Average Time: 2599L                                            │
00:00:41 verbose #537 > > │ Test case 7. Average Time: 2505L                                             │
00:00:41 verbose #538 > > │ Test case 11. Average Time: 1474L                                            │
00:00:41 verbose #539 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:41 verbose #540 > >
00:00:41 verbose #541 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:41 verbose #542 > > //// test
00:00:41 verbose #543 > >
00:00:41 verbose #544 > > let solutions = [[
00:00:41 verbose #545 > >     "A",
00:00:41 verbose #546 > >     fun input ->
00:00:41 verbose #547 > >         input
00:00:41 verbose #548 > >         |> Seq.toList
00:00:41 verbose #549 > >         |> List.fold (fun acc x -> if List.contains x acc then acc else acc @ [[
00:00:41 verbose #550 > > x ]]) [[]]
00:00:41 verbose #551 > >         |> Seq.toArray
00:00:41 verbose #552 > >         |> String
00:00:41 verbose #553 > >
00:00:41 verbose #554 > >     "B",
00:00:41 verbose #555 > >     fun input ->
00:00:41 verbose #556 > >         input
00:00:41 verbose #557 > >         |> Seq.rev
00:00:41 verbose #558 > >         |> fun list -> Seq.foldBack (fun x acc -> if List.contains x acc then
00:00:41 verbose #559 > > acc else x :: acc) list [[]]
00:00:41 verbose #560 > >         |> Seq.rev
00:00:41 verbose #561 > >         |> Seq.toArray
00:00:41 verbose #562 > >         |> String
00:00:41 verbose #563 > >
00:00:41 verbose #564 > >     "C",
00:00:41 verbose #565 > >     fun input ->
00:00:41 verbose #566 > >         input
00:00:41 verbose #567 > >         |> Seq.rev
00:00:41 verbose #568 > >         |> fun list -> Seq.foldBack (fun x (set, acc) -> if Set.contains x set
00:00:41 verbose #569 > > then set, acc else set.Add x, x :: acc) list (Set.empty, [[]])
00:00:41 verbose #570 > >         |> snd
00:00:41 verbose #571 > >         |> Seq.rev
00:00:41 verbose #572 > >         |> Seq.toArray
00:00:41 verbose #573 > >         |> String
00:00:41 verbose #574 > >
00:00:41 verbose #575 > >     "D",
00:00:41 verbose #576 > >     fun input ->
00:00:41 verbose #577 > >         input
00:00:41 verbose #578 > >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:41 verbose #579 > > else set.Add x, Array.append acc [[| x |]]) (Set.empty, [[||]])
00:00:41 verbose #580 > >         |> snd
00:00:41 verbose #581 > >         |> String
00:00:41 verbose #582 > >
00:00:41 verbose #583 > >     "E",
00:00:41 verbose #584 > >     fun input ->
00:00:41 verbose #585 > >         input
00:00:41 verbose #586 > >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:41 verbose #587 > > else set.Add x, x :: acc) (Set.empty, [[]])
00:00:41 verbose #588 > >         |> snd
00:00:41 verbose #589 > >         |> List.rev
00:00:41 verbose #590 > >         |> List.toArray
00:00:41 verbose #591 > >         |> String
00:00:41 verbose #592 > >
00:00:41 verbose #593 > >     "F",
00:00:41 verbose #594 > >     fun input ->
00:00:41 verbose #595 > >         input
00:00:41 verbose #596 > >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:41 verbose #597 > > else set.Add x, acc @ [[ x ]]) (Set.empty, [[]])
00:00:41 verbose #598 > >         |> snd
00:00:41 verbose #599 > >         |> List.toArray
00:00:41 verbose #600 > >         |> String
00:00:41 verbose #601 > >
00:00:41 verbose #602 > >     "G",
00:00:41 verbose #603 > >     fun input ->
00:00:41 verbose #604 > >         input
00:00:41 verbose #605 > >         |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:41 verbose #606 > > else set.Add x, x :: acc) (Set.empty, [[]])
00:00:41 verbose #607 > >         |> snd
00:00:41 verbose #608 > >         |> List.toArray
00:00:41 verbose #609 > >         |> Array.rev
00:00:41 verbose #610 > >         |> String
00:00:41 verbose #611 > >
00:00:41 verbose #612 > >     "H",
00:00:41 verbose #613 > >     fun input ->
00:00:41 verbose #614 > >         input
00:00:41 verbose #615 > >         |> Seq.toList
00:00:41 verbose #616 > >         |> fun list ->
00:00:41 verbose #617 > >             let rec loop set = function
00:00:41 verbose #618 > >                 | head :: tail when Set.contains head set -> loop set tail
00:00:41 verbose #619 > >                 | head :: tail -> (loop (set.Add head) tail) @ [[ head ]]
00:00:41 verbose #620 > >                 | [[]] -> [[]]
00:00:41 verbose #621 > >             loop Set.empty list
00:00:41 verbose #622 > >             |> List.rev
00:00:41 verbose #623 > >         |> List.toArray
00:00:41 verbose #624 > >         |> String
00:00:41 verbose #625 > >
00:00:41 verbose #626 > >     "I",
00:00:41 verbose #627 > >     fun input ->
00:00:41 verbose #628 > >         input
00:00:41 verbose #629 > >         |> Seq.toList
00:00:41 verbose #630 > >         |> fun list ->
00:00:41 verbose #631 > >             let rec loop set = function
00:00:41 verbose #632 > >                 | head :: tail when Set.contains head set -> loop set tail
00:00:41 verbose #633 > >                 | head :: tail -> loop (set.Add head) tail |> Array.append [[|
00:00:41 verbose #634 > > head |]]
00:00:41 verbose #635 > >                 | [[]] -> [[||]]
00:00:41 verbose #636 > >             loop Set.empty list
00:00:41 verbose #637 > >         |> String
00:00:41 verbose #638 > >
00:00:41 verbose #639 > >     "J",
00:00:41 verbose #640 > >     fun input ->
00:00:41 verbose #641 > >         input
00:00:41 verbose #642 > >         |> Seq.toList
00:00:41 verbose #643 > >         |> fun list ->
00:00:41 verbose #644 > >             let rec loop set = function
00:00:41 verbose #645 > >                 | head :: tail when Set.contains head set -> loop set tail
00:00:41 verbose #646 > >                 | head :: tail -> head :: loop (set.Add head) tail
00:00:41 verbose #647 > >                 | [[]] -> [[]]
00:00:41 verbose #648 > >             loop Set.empty list
00:00:41 verbose #649 > >         |> List.toArray
00:00:41 verbose #650 > >         |> String
00:00:41 verbose #651 > >
00:00:41 verbose #652 > >     "K",
00:00:41 verbose #653 > >     fun input ->
00:00:41 verbose #654 > >         input
00:00:41 verbose #655 > >         |> Seq.distinct
00:00:41 verbose #656 > >         |> Seq.toArray
00:00:41 verbose #657 > >         |> String
00:00:41 verbose #658 > > ]]
00:00:41 verbose #659 > > let testCases = seq {
00:00:41 verbose #660 > >     "abc", "abc"
00:00:41 verbose #661 > >     "accabb", "acb"
00:00:41 verbose #662 > >     "pprrqqpp", "prq"
00:00:41 verbose #663 > >
00:00:41 verbose #664 > > "aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbbbbb
00:00:41 verbose #665 > > ", "acb"
00:00:41 verbose #666 > > }
00:00:41 verbose #667 > > let rec uniqueLettersTests = runAll (nameof uniqueLettersTests) _count solutions
00:00:41 verbose #668 > > testCases
00:00:41 verbose #669 > > uniqueLettersTests
00:00:41 verbose #670 > > |> sortResultList
00:00:54 verbose #671 > >
00:00:54 verbose #672 > > ╭─[ 12.97s - stdout ]──────────────────────────────────────────────────────────╮
00:00:54 verbose #673 > > │                                                                              │
00:00:54 verbose #674 > > │                                                                              │
00:00:54 verbose #675 > > │ Test: uniqueLettersTests                                                     │
00:00:54 verbose #676 > > │                                                                              │
00:00:54 verbose #677 > > │ Solution: abc                                                                │
00:00:54 verbose #678 > > │ Test case 1. A. Time: 6L                                                     │
00:00:54 verbose #679 > > │ Test case 2. B. Time: 5L                                                     │
00:00:54 verbose #680 > > │ Test case 3. C. Time: 5L                                                     │
00:00:54 verbose #681 > > │ Test case 4. D. Time: 2L                                                     │
00:00:54 verbose #682 > > │ Test case 5. E. Time: 2L                                                     │
00:00:54 verbose #683 > > │ Test case 6. F. Time: 2L                                                     │
00:00:54 verbose #684 > > │ Test case 7. G. Time: 2L                                                     │
00:00:54 verbose #685 > > │ Test case 8. H. Time: 2L                                                     │
00:00:54 verbose #686 > > │ Test case 9. I. Time: 3L                                                     │
00:00:54 verbose #687 > > │ Test case 10. J. Time: 1L                                                    │
00:00:54 verbose #688 > > │ Test case 11. K. Time: 3L                                                    │
00:00:54 verbose #689 > > │                                                                              │
00:00:54 verbose #690 > > │ Solution: accabb                                                             │
00:00:54 verbose #691 > > │ Test case 1. A. Time: 1L                                                     │
00:00:54 verbose #692 > > │ Test case 2. B. Time: 2L                                                     │
00:00:54 verbose #693 > > │ Test case 3. C. Time: 2L                                                     │
00:00:54 verbose #694 > > │ Test case 4. D. Time: 1L                                                     │
00:00:54 verbose #695 > > │ Test case 5. E. Time: 1L                                                     │
00:00:54 verbose #696 > > │ Test case 6. F. Time: 1L                                                     │
00:00:54 verbose #697 > > │ Test case 7. G. Time: 1L                                                     │
00:00:54 verbose #698 > > │ Test case 8. H. Time: 1L                                                     │
00:00:54 verbose #699 > > │ Test case 9. I. Time: 0L                                                     │
00:00:54 verbose #700 > > │ Test case 10. J. Time: 1L                                                    │
00:00:54 verbose #701 > > │ Test case 11. K. Time: 1L                                                    │
00:00:54 verbose #702 > > │                                                                              │
00:00:54 verbose #703 > > │ Solution: pprrqqpp                                                           │
00:00:54 verbose #704 > > │ Test case 1. A. Time: 1L                                                     │
00:00:54 verbose #705 > > │ Test case 2. B. Time: 1L                                                     │
00:00:54 verbose #706 > > │ Test case 3. C. Time: 1L                                                     │
00:00:54 verbose #707 > > │ Test case 4. D. Time: 1L                                                     │
00:00:54 verbose #708 > > │ Test case 5. E. Time: 1L                                                     │
00:00:54 verbose #709 > > │ Test case 6. F. Time: 1L                                                     │
00:00:54 verbose #710 > > │ Test case 7. G. Time: 1L                                                     │
00:00:54 verbose #711 > > │ Test case 8. H. Time: 1L                                                     │
00:00:54 verbose #712 > > │ Test case 9. I. Time: 0L                                                     │
00:00:54 verbose #713 > > │ Test case 10. J. Time: 1L                                                    │
00:00:54 verbose #714 > > │ Test case 11. K. Time: 1L                                                    │
00:00:54 verbose #715 > > │                                                                              │
00:00:54 verbose #716 > > │ Solution:                                                                    │
00:00:54 verbose #717 > > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:54 verbose #718 > > │ bbb                                                                          │
00:00:54 verbose #719 > > │ Test case 1. A. Time: 21L                                                    │
00:00:54 verbose #720 > > │ Test case 2. B. Time: 15L                                                    │
00:00:54 verbose #721 > > │ Test case 3. C. Time: 15L                                                    │
00:00:54 verbose #722 > > │ Test case 4. D. Time: 11L                                                    │
00:00:54 verbose #723 > > │ Test case 5. E. Time: 14L                                                    │
00:00:54 verbose #724 > > │ Test case 6. F. Time: 11L                                                    │
00:00:54 verbose #725 > > │ Test case 7. G. Time: 8L                                                     │
00:00:54 verbose #726 > > │ Test case 8. H. Time: 10L                                                    │
00:00:54 verbose #727 > > │ Test case 9. I. Time: 10L                                                    │
00:00:54 verbose #728 > > │ Test case 10. J. Time: 9L                                                    │
00:00:54 verbose #729 > > │ Test case 11. K. Time: 4L                                                    │
00:00:54 verbose #730 > > │                                                                              │
00:00:54 verbose #731 > > │ Input                                                                        │
00:00:54 verbose #732 > > │ | Expected	| Result	| Best                                                       │
00:00:54 verbose #733 > > │ ---                                                                          │
00:00:54 verbose #734 > > │ | ---     	| ---   	| ---                                                        │
00:00:54 verbose #735 > > │ abc                                                                          │
00:00:54 verbose #736 > > │ | abc     	| abc   	| (10, 1)                                                    │
00:00:54 verbose #737 > > │ accabb                                                                       │
00:00:54 verbose #738 > > │ | acb     	| acb   	| (9, 0)                                                     │
00:00:54 verbose #739 > > │ pprrqqpp                                                                     │
00:00:54 verbose #740 > > │ | prq     	| prq   	| (9, 0)                                                     │
00:00:54 verbose #741 > > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:54 verbose #742 > > │ bbb	| acb     	| acb   	| (11, 4)                                                  │
00:00:54 verbose #743 > > │                                                                              │
00:00:54 verbose #744 > > │ Average Ranking                                                              │
00:00:54 verbose #745 > > │ Test case 11. Average Time: 2L                                               │
00:00:54 verbose #746 > > │ Test case 4. Average Time: 3L                                                │
00:00:54 verbose #747 > > │ Test case 6. Average Time: 3L                                                │
00:00:54 verbose #748 > > │ Test case 7. Average Time: 3L                                                │
00:00:54 verbose #749 > > │ Test case 8. Average Time: 3L                                                │
00:00:54 verbose #750 > > │ Test case 9. Average Time: 3L                                                │
00:00:54 verbose #751 > > │ Test case 10. Average Time: 3L                                               │
00:00:54 verbose #752 > > │ Test case 5. Average Time: 4L                                                │
00:00:54 verbose #753 > > │ Test case 2. Average Time: 5L                                                │
00:00:54 verbose #754 > > │ Test case 3. Average Time: 5L                                                │
00:00:54 verbose #755 > > │ Test case 1. Average Time: 7L                                                │
00:00:54 verbose #756 > > │                                                                              │
00:00:54 verbose #757 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #758 > >
00:00:54 verbose #759 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:54 verbose #760 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:54 verbose #761 > > │ ## rotateStringsTests                                                        │
00:00:54 verbose #762 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #763 > >
00:00:54 verbose #764 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:54 verbose #765 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:54 verbose #766 > > │ https://www.hackerrank.com/challenges/rotate-string/forum                    │
00:00:54 verbose #767 > > │                                                                              │
00:00:54 verbose #768 > > │ Test: RotateStrings                                                          │
00:00:54 verbose #769 > > │                                                                              │
00:00:54 verbose #770 > > │ Solution: abc                                                                │
00:00:54 verbose #771 > > │ Test case 1. A. Time: 1842L                                                  │
00:00:54 verbose #772 > > │ Test case 2. B. Time: 1846L                                                  │
00:00:54 verbose #773 > > │ Test case 3. C. Time: 1936L                                                  │
00:00:54 verbose #774 > > │ Test case 4. CA. Time: 2224L                                                 │
00:00:54 verbose #775 > > │ Test case 5. CB. Time: 2329L                                                 │
00:00:54 verbose #776 > > │ Test case 6. D. Time: 2474L                                                  │
00:00:54 verbose #777 > > │ Test case 7. E. Time: 1664L                                                  │
00:00:54 verbose #778 > > │ Test case 8. F. Time: 1517L                                                  │
00:00:54 verbose #779 > > │ Test case 9. FA. Time: 1651L                                                 │
00:00:54 verbose #780 > > │ Test case 10. FB. Time: 3764L                                                │
00:00:54 verbose #781 > > │ Test case 11. FC. Time: 5415L                                                │
00:00:54 verbose #782 > > │                                                                              │
00:00:54 verbose #783 > > │ Solution: abcde                                                              │
00:00:54 verbose #784 > > │ Test case 1. A. Time: 3356L                                                  │
00:00:54 verbose #785 > > │ Test case 2. B. Time: 2592L                                                  │
00:00:54 verbose #786 > > │ Test case 3. C. Time: 2346L                                                  │
00:00:54 verbose #787 > > │ Test case 4. CA. Time: 2997L                                                 │
00:00:54 verbose #788 > > │ Test case 5. CB. Time: 3061L                                                 │
00:00:54 verbose #789 > > │ Test case 6. D. Time: 4051L                                                  │
00:00:54 verbose #790 > > │ Test case 7. E. Time: 1905L                                                  │
00:00:54 verbose #791 > > │ Test case 8. F. Time: 1771L                                                  │
00:00:54 verbose #792 > > │ Test case 9. FA. Time: 2175L                                                 │
00:00:54 verbose #793 > > │ Test case 10. FB. Time: 3275L                                                │
00:00:54 verbose #794 > > │ Test case 11. FC. Time: 5266L                                                │
00:00:54 verbose #795 > > │                                                                              │
00:00:54 verbose #796 > > │ Solution: abcdefghi                                                          │
00:00:54 verbose #797 > > │ Test case 1. A. Time: 4492L                                                  │
00:00:54 verbose #798 > > │ Test case 2. B. Time: 3526L                                                  │
00:00:54 verbose #799 > > │ Test case 3. C. Time: 3583L                                                  │
00:00:54 verbose #800 > > │ Test case 4. CA. Time: 3711L                                                 │
00:00:54 verbose #801 > > │ Test case 5. CB. Time: 4783L                                                 │
00:00:54 verbose #802 > > │ Test case 6. D. Time: 7557L                                                  │
00:00:54 verbose #803 > > │ Test case 7. E. Time: 3452L                                                  │
00:00:54 verbose #804 > > │ Test case 8. F. Time: 3050L                                                  │
00:00:54 verbose #805 > > │ Test case 9. FA. Time: 3275L                                                 │
00:00:54 verbose #806 > > │ Test case 10. FB. Time: 4635L                                                │
00:00:54 verbose #807 > > │ Test case 11. FC. Time: 5616L                                                │
00:00:54 verbose #808 > > │                                                                              │
00:00:54 verbose #809 > > │ Solution: abab                                                               │
00:00:54 verbose #810 > > │ Test case 1. A. Time: 2093L                                                  │
00:00:54 verbose #811 > > │ Test case 2. B. Time: 1843L                                                  │
00:00:54 verbose #812 > > │ Test case 3. C. Time: 1746L                                                  │
00:00:54 verbose #813 > > │ Test case 4. CA. Time: 2085L                                                 │
00:00:54 verbose #814 > > │ Test case 5. CB. Time: 2139L                                                 │
00:00:54 verbose #815 > > │ Test case 6. D. Time: 2095L                                                  │
00:00:54 verbose #816 > > │ Test case 7. E. Time: 1723L                                                  │
00:00:54 verbose #817 > > │ Test case 8. F. Time: 1558L                                                  │
00:00:54 verbose #818 > > │ Test case 9. FA. Time: 1620L                                                 │
00:00:54 verbose #819 > > │ Test case 10. FB. Time: 2319L                                                │
00:00:54 verbose #820 > > │ Test case 11. FC. Time: 3918L                                                │
00:00:54 verbose #821 > > │                                                                              │
00:00:54 verbose #822 > > │ Solution: aa                                                                 │
00:00:54 verbose #823 > > │ Test case 1. A. Time: 1107L                                                  │
00:00:54 verbose #824 > > │ Test case 2. B. Time: 1241L                                                  │
00:00:54 verbose #825 > > │ Test case 3. C. Time: 1183L                                                  │
00:00:54 verbose #826 > > │ Test case 4. CA. Time: 1563L                                                 │
00:00:54 verbose #827 > > │ Test case 5. CB. Time: 1525L                                                 │
00:00:54 verbose #828 > > │ Test case 6. D. Time: 1591L                                                  │
00:00:54 verbose #829 > > │ Test case 7. E. Time: 1327L                                                  │
00:00:54 verbose #830 > > │ Test case 8. F. Time: 1151L                                                  │
00:00:54 verbose #831 > > │ Test case 9. FA. Time: 1180L                                                 │
00:00:54 verbose #832 > > │ Test case 10. FB. Time: 1733L                                                │
00:00:54 verbose #833 > > │ Test case 11. FC. Time: 2817L                                                │
00:00:54 verbose #834 > > │                                                                              │
00:00:54 verbose #835 > > │ Solution: z                                                                  │
00:00:54 verbose #836 > > │ Test case 1. A. Time: 816L                                                   │
00:00:54 verbose #837 > > │ Test case 2. B. Time: 745L                                                   │
00:00:54 verbose #838 > > │ Test case 3. C. Time: 928L                                                   │
00:00:54 verbose #839 > > │ Test case 4. CA. Time: 1375L                                                 │
00:00:54 verbose #840 > > │ Test case 5. CB. Time: 1029L                                                 │
00:00:54 verbose #841 > > │ Test case 6. D. Time: 852L                                                   │
00:00:54 verbose #842 > > │ Test case 7. E. Time: 712L                                                   │
00:00:54 verbose #843 > > │ Test case 8. F. Time: 263L                                                   │
00:00:54 verbose #844 > > │ Test case 9. FA. Time: 232L                                                  │
00:00:54 verbose #845 > > │ Test case 10. FB. Time: 773L                                                 │
00:00:54 verbose #846 > > │ Test case 11. FC. Time: 1789L                                                │
00:00:54 verbose #847 > > │                                                                              │
00:00:54 verbose #848 > > │ Input           | Expected                                                   │
00:00:54 verbose #849 > > │                                                                              │
00:00:54 verbose #850 > > │ | Result                                                                     │
00:00:54 verbose #851 > > │                                                                              │
00:00:54 verbose #852 > > │ | Best                                                                       │
00:00:54 verbose #853 > > │ ---             | ---                                                        │
00:00:54 verbose #854 > > │                                                                              │
00:00:54 verbose #855 > > │ | ---                                                                        │
00:00:54 verbose #856 > > │                                                                              │
00:00:54 verbose #857 > > │ | ---                                                                        │
00:00:54 verbose #858 > > │ abc             | bca cab abc                                                │
00:00:54 verbose #859 > > │                                                                              │
00:00:54 verbose #860 > > │ | bca cab abc                                                                │
00:00:54 verbose #861 > > │                                                                              │
00:00:54 verbose #862 > > │ | (8, 1517)                                                                  │
00:00:54 verbose #863 > > │ abcde           | bcdea cdeab deabc eabcd abcde                              │
00:00:54 verbose #864 > > │ | bcdea cdeab deabc eabcd abcde                                              │
00:00:54 verbose #865 > > │ | (8, 1771)                                                                  │
00:00:54 verbose #866 > > │ abcdefghi       | bcdefghia cdefghiab defghiabc efghiabcd fghiabcde          │
00:00:54 verbose #867 > > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi       | bcdefghia cdefghiab          │
00:00:54 verbose #868 > > │ defghiabc efghiabcd fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi        │
00:00:54 verbose #869 > > │ | (8, 3050)                                                                  │
00:00:54 verbose #870 > > │ abab            | baba abab baba abab                                        │
00:00:54 verbose #871 > > │                                                                              │
00:00:54 verbose #872 > > │ | baba abab baba abab                                                        │
00:00:54 verbose #873 > > │                                                                              │
00:00:54 verbose #874 > > │ | (8, 1558)                                                                  │
00:00:54 verbose #875 > > │ aa              | aa aa                                                      │
00:00:54 verbose #876 > > │                                                                              │
00:00:54 verbose #877 > > │ | aa aa                                                                      │
00:00:54 verbose #878 > > │                                                                              │
00:00:54 verbose #879 > > │ | (1, 1107)                                                                  │
00:00:54 verbose #880 > > │ z               | z                                                          │
00:00:54 verbose #881 > > │                                                                              │
00:00:54 verbose #882 > > │ | z                                                                          │
00:00:54 verbose #883 > > │                                                                              │
00:00:54 verbose #884 > > │ | (9, 232)                                                                   │
00:00:54 verbose #885 > > │                                                                              │
00:00:54 verbose #886 > > │ Averages                                                                     │
00:00:54 verbose #887 > > │ Test case 1. Average Time: 2284L                                             │
00:00:54 verbose #888 > > │ Test case 2. Average Time: 1965L                                             │
00:00:54 verbose #889 > > │ Test case 3. Average Time: 1953L                                             │
00:00:54 verbose #890 > > │ Test case 4. Average Time: 2325L                                             │
00:00:54 verbose #891 > > │ Test case 5. Average Time: 2477L                                             │
00:00:54 verbose #892 > > │ Test case 6. Average Time: 3103L                                             │
00:00:54 verbose #893 > > │ Test case 7. Average Time: 1797L                                             │
00:00:54 verbose #894 > > │ Test case 8. Average Time: 1551L                                             │
00:00:54 verbose #895 > > │ Test case 9. Average Time: 1688L                                             │
00:00:54 verbose #896 > > │ Test case 10. Average Time: 2749L                                            │
00:00:54 verbose #897 > > │ Test case 11. Average Time: 4136L                                            │
00:00:54 verbose #898 > > │                                                                              │
00:00:54 verbose #899 > > │ Ranking                                                                      │
00:00:54 verbose #900 > > │ Test case 11. Average Time: 4136L                                            │
00:00:54 verbose #901 > > │ Test case 6. Average Time: 3103L                                             │
00:00:54 verbose #902 > > │ Test case 10. Average Time: 2749L                                            │
00:00:54 verbose #903 > > │ Test case 5. Average Time: 2477L                                             │
00:00:54 verbose #904 > > │ Test case 4. Average Time: 2325L                                             │
00:00:54 verbose #905 > > │ Test case 1. Average Time: 2284L                                             │
00:00:54 verbose #906 > > │ Test case 2. Average Time: 1965L                                             │
00:00:54 verbose #907 > > │ Test case 3. Average Time: 1953L                                             │
00:00:54 verbose #908 > > │ Test case 7. Average Time: 1797L                                             │
00:00:54 verbose #909 > > │ Test case 9. Average Time: 1688L                                             │
00:00:54 verbose #910 > > │ Test case 8. Average Time: 1551L                                             │
00:00:54 verbose #911 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #912 > >
00:00:54 verbose #913 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:54 verbose #914 > > //// test
00:00:54 verbose #915 > >
00:00:54 verbose #916 > > let solutions = [[
00:00:54 verbose #917 > >     "A",
00:00:54 verbose #918 > >     fun (input: string) ->
00:00:54 verbose #919 > >         let resultList =
00:00:54 verbose #920 > >             List.fold (fun acc x ->
00:00:54 verbose #921 > >                 let rotate (text: string) (letter: string) = (text |>
00:00:54 verbose #922 > > SpiralSm.slice 1 (input.Length - 1)) + letter
00:00:54 verbose #923 > >                 [[ rotate (if acc.IsEmpty then input else acc.Head) (string x)
00:00:54 verbose #924 > > ]] @ acc
00:00:54 verbose #925 > >             ) [[]] (Seq.toList input)
00:00:54 verbose #926 > >
00:00:54 verbose #927 > >         (resultList, "")
00:00:54 verbose #928 > >         ||> List.foldBack (fun acc x -> x + acc + " ")
00:00:54 verbose #929 > >         |> _.TrimEnd()
00:00:54 verbose #930 > >
00:00:54 verbose #931 > >     "B",
00:00:54 verbose #932 > >     fun input ->
00:00:54 verbose #933 > >         input
00:00:54 verbose #934 > >         |> Seq.toList
00:00:54 verbose #935 > >         |> List.fold (fun (acc: string list) letter ->
00:00:54 verbose #936 > >             let last =
00:00:54 verbose #937 > >                 if acc.IsEmpty
00:00:54 verbose #938 > >                 then input
00:00:54 verbose #939 > >                 else acc.Head
00:00:54 verbose #940 > >
00:00:54 verbose #941 > >             let item = last.[[1 .. input.Length - 1]] + string letter
00:00:54 verbose #942 > >
00:00:54 verbose #943 > >             item :: acc
00:00:54 verbose #944 > >         ) [[]]
00:00:54 verbose #945 > >         |> List.rev
00:00:54 verbose #946 > >         |> SpiralSm.concat " "
00:00:54 verbose #947 > >
00:00:54 verbose #948 > >     "C",
00:00:54 verbose #949 > >     fun input ->
00:00:54 verbose #950 > >         input
00:00:54 verbose #951 > >         |> Seq.toList
00:00:54 verbose #952 > >         |> List.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..
00:00:54 verbose #953 > > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:54 verbose #954 > >         |> List.rev
00:00:54 verbose #955 > >         |> List.skip 1
00:00:54 verbose #956 > >         |> SpiralSm.concat " "
00:00:54 verbose #957 > >
00:00:54 verbose #958 > >     "CA",
00:00:54 verbose #959 > >     fun input ->
00:00:54 verbose #960 > >         input
00:00:54 verbose #961 > >         |> Seq.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..
00:00:54 verbose #962 > > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:54 verbose #963 > >         |> Seq.rev
00:00:54 verbose #964 > >         |> Seq.skip 1
00:00:54 verbose #965 > >         |> SpiralSm.concat " "
00:00:54 verbose #966 > >
00:00:54 verbose #967 > >     "CB",
00:00:54 verbose #968 > >     fun input ->
00:00:54 verbose #969 > >         input
00:00:54 verbose #970 > >         |> Seq.toArray
00:00:54 verbose #971 > >         |> Array.fold (fun (acc: string[[]]) letter -> acc |> Array.append [[|
00:00:54 verbose #972 > > acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter |]]) [[| input |]]
00:00:54 verbose #973 > >         |> Array.rev
00:00:54 verbose #974 > >         |> Array.skip 1
00:00:54 verbose #975 > >         |> SpiralSm.concat " "
00:00:54 verbose #976 > >
00:00:54 verbose #977 > >     "D",
00:00:54 verbose #978 > >     fun input ->
00:00:54 verbose #979 > >         input
00:00:54 verbose #980 > >         |> Seq.toList
00:00:54 verbose #981 > >         |> fun list ->
00:00:54 verbose #982 > >             let rec loop (acc: char list list) = function
00:00:54 verbose #983 > >                 | _ when acc.Length = list.Length -> acc
00:00:54 verbose #984 > >                 | head :: tail ->
00:00:54 verbose #985 > >                     let item = tail @ [[ head ]]
00:00:54 verbose #986 > >                     loop (item :: acc) item
00:00:54 verbose #987 > >                 | [[]] -> [[]]
00:00:54 verbose #988 > >             loop [[]] list
00:00:54 verbose #989 > >         |> List.rev
00:00:54 verbose #990 > >         |> List.map (List.toArray >> String)
00:00:54 verbose #991 > >         |> SpiralSm.concat " "
00:00:54 verbose #992 > >
00:00:54 verbose #993 > >     "E",
00:00:54 verbose #994 > >     fun input ->
00:00:54 verbose #995 > >         input
00:00:54 verbose #996 > >         |> Seq.toList
00:00:54 verbose #997 > >         |> fun list ->
00:00:54 verbose #998 > >             let rec loop (last: string) = function
00:00:54 verbose #999 > >                 | head :: tail ->
00:00:54 verbose #1000 > >                     let item = last.[[1 .. input.Length - 1]] + string head
00:00:54 verbose #1001 > >                     item :: loop item tail
00:00:54 verbose #1002 > >                 | [[]] -> [[]]
00:00:54 verbose #1003 > >             loop input list
00:00:54 verbose #1004 > >         |> SpiralSm.concat " "
00:00:54 verbose #1005 > >
00:00:54 verbose #1006 > >     "F",
00:00:54 verbose #1007 > >     fun input ->
00:00:54 verbose #1008 > >         Array.singleton 0
00:00:54 verbose #1009 > >         |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:54 verbose #1010 > >         |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:54 verbose #1011 > >         |> SpiralSm.concat " "
00:00:54 verbose #1012 > >
00:00:54 verbose #1013 > >     "FA",
00:00:54 verbose #1014 > >     fun input ->
00:00:54 verbose #1015 > >         List.singleton 0
00:00:54 verbose #1016 > >         |> List.append [[ 1 .. input.Length - 1 ]]
00:00:54 verbose #1017 > >         |> List.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:54 verbose #1018 > >         |> SpiralSm.concat " "
00:00:54 verbose #1019 > >
00:00:54 verbose #1020 > >     "FB",
00:00:54 verbose #1021 > >     fun input ->
00:00:54 verbose #1022 > >         Seq.singleton 0
00:00:54 verbose #1023 > >         |> Seq.append (seq { 1 .. input.Length - 1 })
00:00:54 verbose #1024 > >         |> Seq.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:54 verbose #1025 > >         |> SpiralSm.concat " "
00:00:54 verbose #1026 > >
00:00:54 verbose #1027 > >     "FC",
00:00:54 verbose #1028 > >     fun input ->
00:00:54 verbose #1029 > >         Array.singleton 0
00:00:54 verbose #1030 > >         |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:54 verbose #1031 > >         |> Array.Parallel.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:54 verbose #1032 > >         |> SpiralSm.concat " "
00:00:54 verbose #1033 > > ]]
00:00:54 verbose #1034 > > let testCases = seq {
00:00:54 verbose #1035 > >     "abc", "bca cab abc"
00:00:54 verbose #1036 > >     "abcde", "bcdea cdeab deabc eabcd abcde"
00:00:54 verbose #1037 > >     "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef
00:00:54 verbose #1038 > > hiabcdefg iabcdefgh abcdefghi"
00:00:54 verbose #1039 > >     "abab", "baba abab baba abab"
00:00:54 verbose #1040 > >     "aa", "aa aa"
00:00:54 verbose #1041 > >     "z", "z"
00:00:54 verbose #1042 > > }
00:00:54 verbose #1043 > > let rec rotateStringsTests = runAll (nameof rotateStringsTests) _count solutions
00:00:54 verbose #1044 > > testCases
00:00:54 verbose #1045 > > rotateStringsTests
00:00:54 verbose #1046 > > |> sortResultList
00:01:13 verbose #1047 > >
00:01:13 verbose #1048 > > ╭─[ 18.95s - stdout ]──────────────────────────────────────────────────────────╮
00:01:13 verbose #1049 > > │                                                                              │
00:01:13 verbose #1050 > > │                                                                              │
00:01:13 verbose #1051 > > │ Test: rotateStringsTests                                                     │
00:01:13 verbose #1052 > > │                                                                              │
00:01:13 verbose #1053 > > │ Solution: abc                                                                │
00:01:13 verbose #1054 > > │ Test case 1. A. Time: 4L                                                     │
00:01:13 verbose #1055 > > │ Test case 2. B. Time: 2L                                                     │
00:01:13 verbose #1056 > > │ Test case 3. C. Time: 2L                                                     │
00:01:13 verbose #1057 > > │ Test case 4. CA. Time: 6L                                                    │
00:01:13 verbose #1058 > > │ Test case 5. CB. Time: 3L                                                    │
00:01:13 verbose #1059 > > │ Test case 6. D. Time: 4L                                                     │
00:01:13 verbose #1060 > > │ Test case 7. E. Time: 3L                                                     │
00:01:13 verbose #1061 > > │ Test case 8. F. Time: 3L                                                     │
00:01:13 verbose #1062 > > │ Test case 9. FA. Time: 3L                                                    │
00:01:13 verbose #1063 > > │ Test case 10. FB. Time: 9L                                                   │
00:01:13 verbose #1064 > > │ Test case 11. FC. Time: 12L                                                  │
00:01:13 verbose #1065 > > │                                                                              │
00:01:13 verbose #1066 > > │ Solution: abcde                                                              │
00:01:13 verbose #1067 > > │ Test case 1. A. Time: 4L                                                     │
00:01:13 verbose #1068 > > │ Test case 2. B. Time: 1L                                                     │
00:01:13 verbose #1069 > > │ Test case 3. C. Time: 1L                                                     │
00:01:13 verbose #1070 > > │ Test case 4. CA. Time: 2L                                                    │
00:01:13 verbose #1071 > > │ Test case 5. CB. Time: 2L                                                    │
00:01:13 verbose #1072 > > │ Test case 6. D. Time: 5L                                                     │
00:01:13 verbose #1073 > > │ Test case 7. E. Time: 1L                                                     │
00:01:13 verbose #1074 > > │ Test case 8. F. Time: 1L                                                     │
00:01:13 verbose #1075 > > │ Test case 9. FA. Time: 1L                                                    │
00:01:13 verbose #1076 > > │ Test case 10. FB. Time: 4L                                                   │
00:01:13 verbose #1077 > > │ Test case 11. FC. Time: 5L                                                   │
00:01:13 verbose #1078 > > │                                                                              │
00:01:13 verbose #1079 > > │ Solution: abcdefghi                                                          │
00:01:13 verbose #1080 > > │ Test case 1. A. Time: 6L                                                     │
00:01:13 verbose #1081 > > │ Test case 2. B. Time: 3L                                                     │
00:01:13 verbose #1082 > > │ Test case 3. C. Time: 3L                                                     │
00:01:13 verbose #1083 > > │ Test case 4. CA. Time: 2L                                                    │
00:01:13 verbose #1084 > > │ Test case 5. CB. Time: 5L                                                    │
00:01:13 verbose #1085 > > │ Test case 6. D. Time: 9L                                                     │
00:01:13 verbose #1086 > > │ Test case 7. E. Time: 2L                                                     │
00:01:13 verbose #1087 > > │ Test case 8. F. Time: 0L                                                     │
00:01:13 verbose #1088 > > │ Test case 9. FA. Time: 5L                                                    │
00:01:13 verbose #1089 > > │ Test case 10. FB. Time: 4L                                                   │
00:01:13 verbose #1090 > > │ Test case 11. FC. Time: 4L                                                   │
00:01:13 verbose #1091 > > │                                                                              │
00:01:13 verbose #1092 > > │ Solution: abab                                                               │
00:01:13 verbose #1093 > > │ Test case 1. A. Time: 1L                                                     │
00:01:13 verbose #1094 > > │ Test case 2. B. Time: 1L                                                     │
00:01:13 verbose #1095 > > │ Test case 3. C. Time: 0L                                                     │
00:01:13 verbose #1096 > > │ Test case 4. CA. Time: 1L                                                    │
00:01:13 verbose #1097 > > │ Test case 5. CB. Time: 0L                                                    │
00:01:13 verbose #1098 > > │ Test case 6. D. Time: 1L                                                     │
00:01:13 verbose #1099 > > │ Test case 7. E. Time: 0L                                                     │
00:01:13 verbose #1100 > > │ Test case 8. F. Time: 0L                                                     │
00:01:13 verbose #1101 > > │ Test case 9. FA. Time: 0L                                                    │
00:01:13 verbose #1102 > > │ Test case 10. FB. Time: 1L                                                   │
00:01:13 verbose #1103 > > │ Test case 11. FC. Time: 7L                                                   │
00:01:13 verbose #1104 > > │                                                                              │
00:01:13 verbose #1105 > > │ Solution: aa                                                                 │
00:01:13 verbose #1106 > > │ Test case 1. A. Time: 0L                                                     │
00:01:13 verbose #1107 > > │ Test case 2. B. Time: 0L                                                     │
00:01:13 verbose #1108 > > │ Test case 3. C. Time: 0L                                                     │
00:01:13 verbose #1109 > > │ Test case 4. CA. Time: 1L                                                    │
00:01:13 verbose #1110 > > │ Test case 5. CB. Time: 0L                                                    │
00:01:13 verbose #1111 > > │ Test case 6. D. Time: 0L                                                     │
00:01:13 verbose #1112 > > │ Test case 7. E. Time: 0L                                                     │
00:01:13 verbose #1113 > > │ Test case 8. F. Time: 0L                                                     │
00:01:13 verbose #1114 > > │ Test case 9. FA. Time: 0L                                                    │
00:01:13 verbose #1115 > > │ Test case 10. FB. Time: 1L                                                   │
00:01:13 verbose #1116 > > │ Test case 11. FC. Time: 6L                                                   │
00:01:13 verbose #1117 > > │                                                                              │
00:01:13 verbose #1118 > > │ Solution: z                                                                  │
00:01:13 verbose #1119 > > │ Test case 1. A. Time: 0L                                                     │
00:01:13 verbose #1120 > > │ Test case 2. B. Time: 0L                                                     │
00:01:13 verbose #1121 > > │ Test case 3. C. Time: 0L                                                     │
00:01:13 verbose #1122 > > │ Test case 4. CA. Time: 1L                                                    │
00:01:13 verbose #1123 > > │ Test case 5. CB. Time: 0L                                                    │
00:01:13 verbose #1124 > > │ Test case 6. D. Time: 0L                                                     │
00:01:13 verbose #1125 > > │ Test case 7. E. Time: 0L                                                     │
00:01:13 verbose #1126 > > │ Test case 8. F. Time: 0L                                                     │
00:01:13 verbose #1127 > > │ Test case 9. FA. Time: 1L                                                    │
00:01:13 verbose #1128 > > │ Test case 10. FB. Time: 1L                                                   │
00:01:13 verbose #1129 > > │ Test case 11. FC. Time: 5L                                                   │
00:01:13 verbose #1130 > > │                                                                              │
00:01:13 verbose #1131 > > │ Input    	| Expected                                                           │
00:01:13 verbose #1132 > > │                                                                              │
00:01:13 verbose #1133 > > │ | Result                                                                     │
00:01:13 verbose #1134 > > │                                                                              │
00:01:13 verbose #1135 > > │ | Best                                                                       │
00:01:13 verbose #1136 > > │ ---      	| ---                                                                │
00:01:13 verbose #1137 > > │                                                                              │
00:01:13 verbose #1138 > > │ | ---                                                                        │
00:01:13 verbose #1139 > > │                                                                              │
00:01:13 verbose #1140 > > │ | ---                                                                        │
00:01:13 verbose #1141 > > │ abc      	| bca cab abc                                                        │
00:01:13 verbose #1142 > > │                                                                              │
00:01:13 verbose #1143 > > │ | bca cab abc                                                                │
00:01:13 verbose #1144 > > │                                                                              │
00:01:13 verbose #1145 > > │ | (2, 2)                                                                     │
00:01:13 verbose #1146 > > │ abcde    	| bcdea cdeab deabc eabcd abcde                                      │
00:01:13 verbose #1147 > > │ | bcdea cdeab deabc eabcd abcde                                              │
00:01:13 verbose #1148 > > │ | (2, 1)                                                                     │
00:01:13 verbose #1149 > > │ abcdefghi	| bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef        │
00:01:13 verbose #1150 > > │ hiabcdefg iabcdefgh abcdefghi	| bcdefghia cdefghiab defghiabc efghiabcd        │
00:01:13 verbose #1151 > > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi	| (8, 0)                     │
00:01:13 verbose #1152 > > │ abab     	| baba abab baba abab                                                │
00:01:13 verbose #1153 > > │ | baba abab baba abab                                                        │
00:01:13 verbose #1154 > > │ | (3, 0)                                                                     │
00:01:13 verbose #1155 > > │ aa       	| aa aa                                                              │
00:01:13 verbose #1156 > > │                                                                              │
00:01:13 verbose #1157 > > │ | aa aa                                                                      │
00:01:13 verbose #1158 > > │                                                                              │
00:01:13 verbose #1159 > > │ | (1, 0)                                                                     │
00:01:13 verbose #1160 > > │ z        	| z                                                                  │
00:01:13 verbose #1161 > > │                                                                              │
00:01:13 verbose #1162 > > │ | z                                                                          │
00:01:13 verbose #1163 > > │                                                                              │
00:01:13 verbose #1164 > > │ | (1, 0)                                                                     │
00:01:13 verbose #1165 > > │                                                                              │
00:01:13 verbose #1166 > > │ Average Ranking                                                              │
00:01:13 verbose #1167 > > │ Test case 8. Average Time: 0L                                                │
00:01:13 verbose #1168 > > │ Test case 2. Average Time: 1L                                                │
00:01:13 verbose #1169 > > │ Test case 3. Average Time: 1L                                                │
00:01:13 verbose #1170 > > │ Test case 5. Average Time: 1L                                                │
00:01:13 verbose #1171 > > │ Test case 7. Average Time: 1L                                                │
00:01:13 verbose #1172 > > │ Test case 9. Average Time: 1L                                                │
00:01:13 verbose #1173 > > │ Test case 1. Average Time: 2L                                                │
00:01:13 verbose #1174 > > │ Test case 4. Average Time: 2L                                                │
00:01:13 verbose #1175 > > │ Test case 6. Average Time: 3L                                                │
00:01:13 verbose #1176 > > │ Test case 10. Average Time: 3L                                               │
00:01:13 verbose #1177 > > │ Test case 11. Average Time: 6L                                               │
00:01:13 verbose #1178 > > │                                                                              │
00:01:13 verbose #1179 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:13 verbose #1180 > >
00:01:13 verbose #1181 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:13 verbose #1182 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:13 verbose #1183 > > │ ## rotate_strings_tests                                                      │
00:01:13 verbose #1184 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:13 verbose #1185 > >
00:01:13 verbose #1186 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:13 verbose #1187 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:13 verbose #1188 > > │ ```                                                                          │
00:01:13 verbose #1189 > > │ 02:21:12 verbose #1 benchmark.run_all / {count = 2000000; test_name =   │
00:01:13 verbose #1190 > > │ rotate_strings_tests}                                                        │
00:01:13 verbose #1191 > > │                                                                              │
00:01:13 verbose #1192 > > │ 02:21:12 verbose #2 benchmark.run / {input_str = "abc"}                 │
00:01:13 verbose #1193 > > │ 02:21:13 verbose #3 benchmark.run / solutions.map / {i = 1; test_name = │
00:01:13 verbose #1194 > > │ F; time = 638}                                                               │
00:01:13 verbose #1195 > > │ 02:21:14 verbose #4 benchmark.run / solutions.map / {i = 2; test_name = │
00:01:13 verbose #1196 > > │ FA; time = 779}                                                              │
00:01:13 verbose #1197 > > │                                                                              │
00:01:13 verbose #1198 > > │ 02:21:14 verbose #5 benchmark.run / {input_str = "abcde"}               │
00:01:13 verbose #1199 > > │ 02:21:15 verbose #6 benchmark.run / solutions.map / {i = 1; test_name = │
00:01:13 verbose #1200 > > │ F; time = 745}                                                               │
00:01:13 verbose #1201 > > │ 02:21:16 verbose #7 benchmark.run / solutions.map / {i = 2; test_name = │
00:01:13 verbose #1202 > > │ FA; time = 809}                                                              │
00:01:13 verbose #1203 > > │                                                                              │
00:01:13 verbose #1204 > > │ 02:21:16 verbose #8 benchmark.run / {input_str = "abcdefghi"}           │
00:01:13 verbose #1205 > > │ 02:21:17 verbose #9 benchmark.run / solutions.map / {i = 1; test_name = │
00:01:13 verbose #1206 > > │ F; time = 1092}                                                              │
00:01:13 verbose #1207 > > │ 02:21:18 verbose #10 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:13 verbose #1208 > > │ = FA; time = 1304}                                                           │
00:01:13 verbose #1209 > > │                                                                              │
00:01:13 verbose #1210 > > │ 02:21:18 verbose #11 benchmark.run / {input_str = "abab"}               │
00:01:13 verbose #1211 > > │ 02:21:19 verbose #12 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:13 verbose #1212 > > │ = F; time = 536}                                                             │
00:01:13 verbose #1213 > > │ 02:21:20 verbose #13 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:13 verbose #1214 > > │ = FA; time = 620}                                                            │
00:01:13 verbose #1215 > > │                                                                              │
00:01:13 verbose #1216 > > │ 02:21:20 verbose #14 benchmark.run / {input_str = "aa"}                 │
00:01:13 verbose #1217 > > │ 02:21:21 verbose #15 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:13 verbose #1218 > > │ = F; time = 365}                                                             │
00:01:13 verbose #1219 > > │ 02:21:21 verbose #16 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:13 verbose #1220 > > │ = FA; time = 396}                                                            │
00:01:13 verbose #1221 > > │                                                                              │
00:01:13 verbose #1222 > > │ 02:21:21 verbose #17 benchmark.run / {input_str = "z"}                  │
00:01:13 verbose #1223 > > │ 02:21:22 verbose #18 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:13 verbose #1224 > > │ = F; time = 158}                                                             │
00:01:13 verbose #1225 > > │ 02:21:22 verbose #19 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:13 verbose #1226 > > │ = FA; time = 143}                                                            │
00:01:13 verbose #1227 > > │ ```                                                                          │
00:01:13 verbose #1228 > > │ input      	| expected                                                         │
00:01:13 verbose #1229 > > │                                                                              │
00:01:13 verbose #1230 > > │ | result                                                                     │
00:01:13 verbose #1231 > > │                                                                              │
00:01:13 verbose #1232 > > │ | best                                                                       │
00:01:13 verbose #1233 > > │ ---        	| ---                                                              │
00:01:13 verbose #1234 > > │                                                                              │
00:01:13 verbose #1235 > > │ | ---                                                                        │
00:01:13 verbose #1236 > > │                                                                              │
00:01:13 verbose #1237 > > │ | ---                                                                        │
00:01:13 verbose #1238 > > │ "abc"      	| "bca cab abc"                                                    │
00:01:13 verbose #1239 > > │                                                                              │
00:01:13 verbose #1240 > > │ | "bca cab abc"                                                              │
00:01:13 verbose #1241 > > │                                                                              │
00:01:13 verbose #1242 > > │ | 1, 638                                                                     │
00:01:13 verbose #1243 > > │ "abcde"    	| "bcdea cdeab deabc eabcd abcde"                                  │
00:01:13 verbose #1244 > > │ | "bcdea cdeab deabc eabcd abcde"                                            │
00:01:13 verbose #1245 > > │ | 1, 745                                                                     │
00:01:13 verbose #1246 > > │ "abcdefghi"	| "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef     │
00:01:13 verbose #1247 > > │ hiabcdefg iabcdefgh abcdefghi"	| "bcdefghia cdefghiab defghiabc efghiabcd      │
00:01:13 verbose #1248 > > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi"	| 1, 1092                   │
00:01:13 verbose #1249 > > │ "abab"     	| "baba abab baba abab"                                            │
00:01:13 verbose #1250 > > │ | "baba abab baba abab"                                                      │
00:01:13 verbose #1251 > > │ | 1, 536                                                                     │
00:01:13 verbose #1252 > > │ "aa"       	| "aa aa"                                                          │
00:01:13 verbose #1253 > > │                                                                              │
00:01:13 verbose #1254 > > │ | "aa aa"                                                                    │
00:01:13 verbose #1255 > > │                                                                              │
00:01:13 verbose #1256 > > │ | 1, 365                                                                     │
00:01:13 verbose #1257 > > │ "z"        	| "z"                                                              │
00:01:13 verbose #1258 > > │                                                                              │
00:01:13 verbose #1259 > > │ | "z"                                                                        │
00:01:13 verbose #1260 > > │                                                                              │
00:01:13 verbose #1261 > > │ | 2, 143                                                                     │
00:01:13 verbose #1262 > > │ ```                                                                          │
00:01:13 verbose #1263 > > │ 02:21:22 verbose #20 benchmark.sort_result_list / averages.iter / {avg  │
00:01:13 verbose #1264 > > │ = 589; i = 1}                                                                │
00:01:13 verbose #1265 > > │ 02:21:22 verbose #21 benchmark.sort_result_list / averages.iter / {avg  │
00:01:13 verbose #1266 > > │ = 675; i = 2}                                                                │
00:01:13 verbose #1267 > > │ ```                                                                          │
00:01:13 verbose #1268 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:13 verbose #1269 > >
00:01:13 verbose #1270 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:13 verbose #1271 > > //// test
00:01:13 verbose #1272 > > //// timeout=60000
00:01:13 verbose #1273 > >
00:01:13 verbose #1274 > > inl get_solutions () =
00:01:13 verbose #1275 > >     [[
00:01:13 verbose #1276 > >         // "A",
00:01:13 verbose #1277 > >         // fun (input : string) =>
00:01:13 verbose #1278 > >         //     let resultList =
00:01:13 verbose #1279 > >         //         List.fold (fun acc x =>
00:01:13 verbose #1280 > >         //             let rotate (text : string) (letter : string) =
00:01:13 verbose #1281 > > text.Substring (1, input.Length - 1) + letter
00:01:13 verbose #1282 > >         //             [[ rotate (if acc.IsEmpty then input else acc.Head)
00:01:13 verbose #1283 > > (string x) ]] ++ acc
00:01:13 verbose #1284 > >         //         ) [[]] (Seq.toList input)
00:01:13 verbose #1285 > >
00:01:13 verbose #1286 > >         //     List.foldBack (fun acc x => x + acc + " ") resultList ""
00:01:13 verbose #1287 > >         //     |> fun x => x.TrimEnd ()
00:01:13 verbose #1288 > >
00:01:13 verbose #1289 > >         // "B",
00:01:13 verbose #1290 > >         // fun input =>
00:01:13 verbose #1291 > >         //     input
00:01:13 verbose #1292 > >         //     |> Seq.toList
00:01:13 verbose #1293 > >         //     |> List.fold (fun (acc : string list) letter =>
00:01:13 verbose #1294 > >         //         let last =
00:01:13 verbose #1295 > >         //             if acc.IsEmpty
00:01:13 verbose #1296 > >         //             then input
00:01:13 verbose #1297 > >         //             else acc.Head
00:01:13 verbose #1298 > >
00:01:13 verbose #1299 > >         //         let item = last.[[1 .. input.Length - 1]] + string letter
00:01:13 verbose #1300 > >
00:01:13 verbose #1301 > >         //         item :: acc
00:01:13 verbose #1302 > >         //     ) [[]]
00:01:13 verbose #1303 > >         //     |> List.rev
00:01:13 verbose #1304 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1305 > >
00:01:13 verbose #1306 > >         // "C",
00:01:13 verbose #1307 > >         // fun input =>
00:01:13 verbose #1308 > >         //     input
00:01:13 verbose #1309 > >         //     |> Seq.toList
00:01:13 verbose #1310 > >         //     |> List.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..
00:01:13 verbose #1311 > > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:01:13 verbose #1312 > >         //     |> List.rev
00:01:13 verbose #1313 > >         //     |> List.skip 1
00:01:13 verbose #1314 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1315 > >
00:01:13 verbose #1316 > >         // "CA",
00:01:13 verbose #1317 > >         // fun input =>
00:01:13 verbose #1318 > >         //     input
00:01:13 verbose #1319 > >         //     |> Seq.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..
00:01:13 verbose #1320 > > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:01:13 verbose #1321 > >         //     |> Seq.rev
00:01:13 verbose #1322 > >         //     |> Seq.skip 1
00:01:13 verbose #1323 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1324 > >
00:01:13 verbose #1325 > >         // "CB",
00:01:13 verbose #1326 > >         // fun input =>
00:01:13 verbose #1327 > >         //     input
00:01:13 verbose #1328 > >         //     |> Seq.toArray
00:01:13 verbose #1329 > >         //     |> Array.fold (fun (acc : a _ string) letter => acc |>
00:01:13 verbose #1330 > > Array.append (a ;[[ acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter ]]))
00:01:13 verbose #1331 > > (a ;[[ input ]])
00:01:13 verbose #1332 > >         //     |> Array.rev
00:01:13 verbose #1333 > >         //     |> Array.skip 1
00:01:13 verbose #1334 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1335 > >
00:01:13 verbose #1336 > >         // "D",
00:01:13 verbose #1337 > >         // fun input =>
00:01:13 verbose #1338 > >         //     input
00:01:13 verbose #1339 > >         //     |> Seq.toList
00:01:13 verbose #1340 > >         //     |> fun list =>
00:01:13 verbose #1341 > >         //         let rec loop (acc : list (list char)) = function
00:01:13 verbose #1342 > >         //             | _ when acc.Length = list.Length => acc
00:01:13 verbose #1343 > >         //             | head :: tail =>
00:01:13 verbose #1344 > >         //                 let item = tail ++ [[ head ]]
00:01:13 verbose #1345 > >         //                 loop (item :: acc) item
00:01:13 verbose #1346 > >         //             | [[]] => [[]]
00:01:13 verbose #1347 > >         //         loop [[]] list
00:01:13 verbose #1348 > >         //     |> List.rev
00:01:13 verbose #1349 > >         //     |> List.map (List.toArray >> String)
00:01:13 verbose #1350 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1351 > >
00:01:13 verbose #1352 > >         // "E",
00:01:13 verbose #1353 > >         // fun input =>
00:01:13 verbose #1354 > >         //     input
00:01:13 verbose #1355 > >         //     |> Seq.toList
00:01:13 verbose #1356 > >         //     |> fun list =>
00:01:13 verbose #1357 > >         //         let rec loop (last : string) = function
00:01:13 verbose #1358 > >         //             | head :: tail =>
00:01:13 verbose #1359 > >         //                 let item = last.[[1 .. input.Length - 1]] + string
00:01:13 verbose #1360 > > head
00:01:13 verbose #1361 > >         //                 item :: loop item tail
00:01:13 verbose #1362 > >         //             | [[]] => [[]]
00:01:13 verbose #1363 > >         //         loop input list
00:01:13 verbose #1364 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1365 > >
00:01:13 verbose #1366 > >         "F",
00:01:13 verbose #1367 > >         fun input =>
00:01:13 verbose #1368 > >         // Array.singleton 0
00:01:13 verbose #1369 > >         // |> Array.append [[| 1 .. input.Length - 1 |]]
00:01:13 verbose #1370 > >         // |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:01:13 verbose #1371 > >         // |> SpiralSm.concat " "
00:01:13 verbose #1372 > >             inl input_length = input |> sm.length
00:01:13 verbose #1373 > >             am.singleton 0i32
00:01:13 verbose #1374 > >             |> am.append (am'.init_series 1 (input_length - 1) 1 |> fun x => a x
00:01:13 verbose #1375 > > : _ int _)
00:01:13 verbose #1376 > >             |> fun (a x) => x
00:01:13 verbose #1377 > >             |> am'.map_base fun i =>
00:01:13 verbose #1378 > >                 inl a = input |> sm'.slice i (input_length - 1)
00:01:13 verbose #1379 > >                 inl b = input |> sm'.slice 0 (i - 1)
00:01:13 verbose #1380 > >                 a +. b
00:01:13 verbose #1381 > >             |> fun x => a x : _ int _
00:01:13 verbose #1382 > >             |> seq.of_array
00:01:13 verbose #1383 > >             |> sm'.concat " "
00:01:13 verbose #1384 > >
00:01:13 verbose #1385 > >         "FA",
00:01:13 verbose #1386 > >         fun input =>
00:01:13 verbose #1387 > >         //     List.singleton 0
00:01:13 verbose #1388 > >         //     |> List.append [[ 1 .. input.Length - 1 ]]
00:01:13 verbose #1389 > >         //   //  |> List.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:01:13 verbose #1390 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1391 > >             inl input_length = input |> sm.length
00:01:13 verbose #1392 > >             listm.singleton 0i32
00:01:13 verbose #1393 > >             |> listm.append (listm'.init_series 1 (input_length - 1) 1)
00:01:13 verbose #1394 > >             |> listm.map (fun i =>
00:01:13 verbose #1395 > >                 inl a = input |> sm'.slice i (input_length - 1)
00:01:13 verbose #1396 > >                 inl b = if i = 0 then "" else input |> sm'.slice 0 (i - 1)
00:01:13 verbose #1397 > >                 a +. b
00:01:13 verbose #1398 > >             )
00:01:13 verbose #1399 > >             |> listm'.box
00:01:13 verbose #1400 > >             |> listm'.to_array'
00:01:13 verbose #1401 > >             |> fun x => a x : _ int _
00:01:13 verbose #1402 > >             |> seq.of_array
00:01:13 verbose #1403 > >             |> sm'.concat " "
00:01:13 verbose #1404 > >
00:01:13 verbose #1405 > >         // "FB",
00:01:13 verbose #1406 > >         // fun input =>
00:01:13 verbose #1407 > >         //     Seq.singleton 0
00:01:13 verbose #1408 > >         //   //  |> Seq.append (seq { 1 .. input.Length - 1 })
00:01:13 verbose #1409 > >         //   //  |> Seq.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:01:13 verbose #1410 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1411 > >
00:01:13 verbose #1412 > >         // "FC",
00:01:13 verbose #1413 > >         // fun input =>
00:01:13 verbose #1414 > >         //     Array.singleton 0
00:01:13 verbose #1415 > >         //     |> Array.append (a ;[[ 1 .. input.Length - 1 ]])
00:01:13 verbose #1416 > >         ////    |> Array.Parallel.map (fun i => input.[[ i .. ]] + input.[[ .. i
00:01:13 verbose #1417 > > - 1 ]])
00:01:13 verbose #1418 > >         //     |> SpiralSm.concat " "
00:01:13 verbose #1419 > >     ]]
00:01:13 verbose #1420 > >
00:01:13 verbose #1421 > > inl rec rotate_strings_tests () =
00:01:13 verbose #1422 > >     inl test_cases = [[
00:01:13 verbose #1423 > >         "abc", "bca cab abc"
00:01:13 verbose #1424 > >         "abcde", "bcdea cdeab deabc eabcd abcde"
00:01:13 verbose #1425 > >         "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde
00:01:13 verbose #1426 > > ghiabcdef hiabcdefg iabcdefgh abcdefghi"
00:01:13 verbose #1427 > >         "abab", "baba abab baba abab"
00:01:13 verbose #1428 > >         "aa", "aa aa"
00:01:13 verbose #1429 > >         "z", "z"
00:01:13 verbose #1430 > >     ]]
00:01:13 verbose #1431 > >
00:01:13 verbose #1432 > >     inl solutions = get_solutions ()
00:01:13 verbose #1433 > >
00:01:13 verbose #1434 > >     // inl is_fast () = true
00:01:13 verbose #1435 > >
00:01:13 verbose #1436 > >     inl count =
00:01:13 verbose #1437 > >         if is_fast ()
00:01:13 verbose #1438 > >         then 1000i32
00:01:13 verbose #1439 > >         else 2000000i32
00:01:13 verbose #1440 > >
00:01:13 verbose #1441 > >     run_all (reflection.nameof { rotate_strings_tests }) count solutions
00:01:13 verbose #1442 > > test_cases
00:01:13 verbose #1443 > >     |> sort_result_list
00:01:13 verbose #1444 > >
00:01:13 verbose #1445 > > rotate_strings_tests ()
00:01:13 verbose #1446 > 00:01:13   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf6e4db8b1c0fd8e1ac38b1afd3c052faa998d7764d773b7bd7a8d599095fc0e/main.spi
00:01:44 verbose #1447 > >
00:01:44 verbose #1448 > > ╭─[ 30.93s - stdout ]──────────────────────────────────────────────────────────╮
00:01:44 verbose #1449 > > │                                                                              │
00:01:44 verbose #1450 > > │ ```                                                                          │
00:01:44 verbose #1451 > > │ 00:00:00 verbose #1 benchmark.run_all / { test_name =                   │
00:01:44 verbose #1452 > > │ rotate_strings_tests; count = 2000000 }                                      │
00:01:44 verbose #1453 > > │                                                                              │
00:01:44 verbose #1454 > > │ 00:00:00 verbose #2 benchmark.run / { input_str = "abc" }               │
00:01:44 verbose #1455 > > │ 00:00:02 verbose #3 benchmark.run / solutions.map / { i = 1; test_name  │
00:01:44 verbose #1456 > > │ = F; time = 1776 }                                                           │
00:01:44 verbose #1457 > > │ 00:00:04 verbose #4 benchmark.run / solutions.map / { i = 2; test_name  │
00:01:44 verbose #1458 > > │ = FA; time = 1801 }                                                          │
00:01:44 verbose #1459 > > │                                                                              │
00:01:44 verbose #1460 > > │ 00:00:04 verbose #5 benchmark.run / { input_str = "abcde" }             │
00:01:44 verbose #1461 > > │ 00:00:06 verbose #6 benchmark.run / solutions.map / { i = 1; test_name  │
00:01:44 verbose #1462 > > │ = F; time = 1773 }                                                           │
00:01:44 verbose #1463 > > │ 00:00:09 verbose #7 benchmark.run / solutions.map / { i = 2; test_name  │
00:01:44 verbose #1464 > > │ = FA; time = 2713 }                                                          │
00:01:44 verbose #1465 > > │                                                                              │
00:01:44 verbose #1466 > > │ 00:00:09 verbose #8 benchmark.run / { input_str = "abcdefghi" }         │
00:01:44 verbose #1467 > > │ 00:00:13 verbose #9 benchmark.run / solutions.map / { i = 1; test_name  │
00:01:44 verbose #1468 > > │ = F; time = 3001 }                                                           │
00:01:44 verbose #1469 > > │ 00:00:18 verbose #10 benchmark.run / solutions.map / { i = 2; test_name │
00:01:44 verbose #1470 > > │ = FA; time = 3978 }                                                          │
00:01:44 verbose #1471 > > │                                                                              │
00:01:44 verbose #1472 > > │ 00:00:18 verbose #11 benchmark.run / { input_str = "abab" }             │
00:01:44 verbose #1473 > > │ 00:00:20 verbose #12 benchmark.run / solutions.map / { i = 1; test_name │
00:01:44 verbose #1474 > > │ = F; time = 1598 }                                                           │
00:01:44 verbose #1475 > > │ 00:00:23 verbose #13 benchmark.run / solutions.map / { i = 2; test_name │
00:01:44 verbose #1476 > > │ = FA; time = 1960 }                                                          │
00:01:44 verbose #1477 > > │                                                                              │
00:01:44 verbose #1478 > > │ 00:00:23 verbose #14 benchmark.run / { input_str = "aa" }               │
00:01:44 verbose #1479 > > │ 00:00:24 verbose #15 benchmark.run / solutions.map / { i = 1; test_name │
00:01:44 verbose #1480 > > │ = F; time = 1184 }                                                           │
00:01:44 verbose #1481 > > │ 00:00:26 verbose #16 benchmark.run / solutions.map / { i = 2; test_name │
00:01:44 verbose #1482 > > │ = FA; time = 1212 }                                                          │
00:01:44 verbose #1483 > > │                                                                              │
00:01:44 verbose #1484 > > │ 00:00:26 verbose #17 benchmark.run / { input_str = "z" }                │
00:01:44 verbose #1485 > > │ 00:00:27 verbose #18 benchmark.run / solutions.map / { i = 1; test_name │
00:01:44 verbose #1486 > > │ = F; time = 392 }                                                            │
00:01:44 verbose #1487 > > │ 00:00:27 verbose #19 benchmark.run / solutions.map / { i = 2; test_name │
00:01:44 verbose #1488 > > │ = FA; time = 291 }                                                           │
00:01:44 verbose #1489 > > │ ```                                                                          │
00:01:44 verbose #1490 > > │ input      	| expected                                                         │
00:01:44 verbose #1491 > > │                                                                              │
00:01:44 verbose #1492 > > │ | result                                                                     │
00:01:44 verbose #1493 > > │                                                                              │
00:01:44 verbose #1494 > > │ | best                                                                       │
00:01:44 verbose #1495 > > │ ---        	| ---                                                              │
00:01:44 verbose #1496 > > │                                                                              │
00:01:44 verbose #1497 > > │ | ---                                                                        │
00:01:44 verbose #1498 > > │                                                                              │
00:01:44 verbose #1499 > > │ | ---                                                                        │
00:01:44 verbose #1500 > > │ "abc"      	| "bca cab abc"                                                    │
00:01:44 verbose #1501 > > │                                                                              │
00:01:44 verbose #1502 > > │ | "bca cab abc"                                                              │
00:01:44 verbose #1503 > > │                                                                              │
00:01:44 verbose #1504 > > │ | 1, 1776                                                                    │
00:01:44 verbose #1505 > > │ "abcde"    	| "bcdea cdeab deabc eabcd abcde"                                  │
00:01:44 verbose #1506 > > │ | "bcdea cdeab deabc eabcd abcde"                                            │
00:01:44 verbose #1507 > > │ | 1, 1773                                                                    │
00:01:44 verbose #1508 > > │ "abcdefghi"	| "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef     │
00:01:44 verbose #1509 > > │ hiabcdefg iabcdefgh abcdefghi"	| "bcdefghia cdefghiab defghiabc efghiabcd      │
00:01:44 verbose #1510 > > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi"	| 1, 3001                   │
00:01:44 verbose #1511 > > │ "abab"     	| "baba abab baba abab"                                            │
00:01:44 verbose #1512 > > │ | "baba abab baba abab"                                                      │
00:01:44 verbose #1513 > > │ | 1, 1598                                                                    │
00:01:44 verbose #1514 > > │ "aa"       	| "aa aa"                                                          │
00:01:44 verbose #1515 > > │                                                                              │
00:01:44 verbose #1516 > > │ | "aa aa"                                                                    │
00:01:44 verbose #1517 > > │                                                                              │
00:01:44 verbose #1518 > > │ | 1, 1184                                                                    │
00:01:44 verbose #1519 > > │ "z"        	| "z"                                                              │
00:01:44 verbose #1520 > > │                                                                              │
00:01:44 verbose #1521 > > │ | "z"                                                                        │
00:01:44 verbose #1522 > > │                                                                              │
00:01:44 verbose #1523 > > │ | 2, 291                                                                     │
00:01:44 verbose #1524 > > │ ```                                                                          │
00:01:44 verbose #1525 > > │ 00:00:27 verbose #20 benchmark.sort_result_list / averages.iter / { i = │
00:01:44 verbose #1526 > > │ 1; avg = 1620 }                                                              │
00:01:44 verbose #1527 > > │ 00:00:27 verbose #21 benchmark.sort_result_list / averages.iter / { i = │
00:01:44 verbose #1528 > > │ 2; avg = 1992 }                                                              │
00:01:44 verbose #1529 > > │ ```                                                                          │
00:01:44 verbose #1530 > > │                                                                              │
00:01:44 verbose #1531 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #1532 > >
00:01:44 verbose #1533 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #1534 > > //// test
00:01:44 verbose #1535 > >
00:01:44 verbose #1536 > > // rotate_strings_tests ()
00:01:44 verbose #1537 > > ()
00:01:44 verbose #1538 > 00:01:43   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ffbdf638a179ab054b52361d40c49795bf15c33906a7feb238e04c589e007e2a/main.spi
00:01:45 verbose #1539 > >
00:01:45 verbose #1540 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:45 verbose #1541 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:45 verbose #1542 > > │ ## binary_search_tests                                                       │
00:01:45 verbose #1543 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:45 verbose #1544 > >
00:01:45 verbose #1545 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:45 verbose #1546 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:45 verbose #1547 > > │ ```                                                                          │
00:01:45 verbose #1548 > > │ 02:19:29 verbose #1 benchmark.run_all / {count = 10000000; test_name =  │
00:01:45 verbose #1549 > > │ binary_search_tests}                                                         │
00:01:45 verbose #1550 > > │                                                                              │
00:01:45 verbose #1551 > > │ 02:19:29 verbose #2 benchmark.run / {input_str = struct ([|1; 3; 4; 6;  │
00:01:45 verbose #1552 > > │ 8; 9; 11|], 6, 7)}                                                           │
00:01:45 verbose #1553 > > │ 02:19:30 verbose #3 benchmark.run / solutions.map / {i = 1; test_name = │
00:01:45 verbose #1554 > > │ semi_open_1; time = 662}                                                     │
00:01:45 verbose #1555 > > │ 02:19:30 verbose #4 benchmark.run / solutions.map / {i = 2; test_name = │
00:01:45 verbose #1556 > > │ closed_1; time = 619}                                                        │
00:01:45 verbose #1557 > > │ 02:19:31 verbose #5 benchmark.run / solutions.map / {i = 3; test_name = │
00:01:45 verbose #1558 > > │ semi_open_2; time = 644}                                                     │
00:01:45 verbose #1559 > > │ 02:19:32 verbose #6 benchmark.run / solutions.map / {i = 4; test_name = │
00:01:45 verbose #1560 > > │ closed_2; time = 610}                                                        │
00:01:45 verbose #1561 > > │                                                                              │
00:01:45 verbose #1562 > > │ 02:19:32 verbose #7 benchmark.run / {input_str = struct ([|1; 3; 4; 6;  │
00:01:45 verbose #1563 > > │ 8; 9; 11|], 1, 7)}                                                           │
00:01:45 verbose #1564 > > │ 02:19:33 verbose #8 benchmark.run / solutions.map / {i = 1; test_name = │
00:01:45 verbose #1565 > > │ semi_open_1; time = 607}                                                     │
00:01:45 verbose #1566 > > │ 02:19:33 verbose #9 benchmark.run / solutions.map / {i = 2; test_name = │
00:01:45 verbose #1567 > > │ closed_1; time = 559}                                                        │
00:01:45 verbose #1568 > > │ 02:19:34 verbose #10 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1569 > > │ = semi_open_2; time = 612}                                                   │
00:01:45 verbose #1570 > > │ 02:19:35 verbose #11 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1571 > > │ = closed_2; time = 577}                                                      │
00:01:45 verbose #1572 > > │                                                                              │
00:01:45 verbose #1573 > > │ 02:19:35 verbose #12 benchmark.run / {input_str = struct ([|1; 3; 4; 6; │
00:01:45 verbose #1574 > > │ 8; 9; 11|], 11, 7)}                                                          │
00:01:45 verbose #1575 > > │ 02:19:35 verbose #13 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1576 > > │ = semi_open_1; time = 550}                                                   │
00:01:45 verbose #1577 > > │ 02:19:36 verbose #14 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1578 > > │ = closed_1; time = 580}                                                      │
00:01:45 verbose #1579 > > │ 02:19:37 verbose #15 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1580 > > │ = semi_open_2; time = 624}                                                   │
00:01:45 verbose #1581 > > │ 02:19:37 verbose #16 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1582 > > │ = closed_2; time = 590}                                                      │
00:01:45 verbose #1583 > > │                                                                              │
00:01:45 verbose #1584 > > │ 02:19:37 verbose #17 benchmark.run / {input_str = struct ([|1; 3; 4; 6; │
00:01:45 verbose #1585 > > │ 8; 9; 11|], 12, 7)}                                                          │
00:01:45 verbose #1586 > > │ 02:19:38 verbose #18 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1587 > > │ = semi_open_1; time = 574}                                                   │
00:01:45 verbose #1588 > > │ 02:19:39 verbose #19 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1589 > > │ = closed_1; time = 577}                                                      │
00:01:45 verbose #1590 > > │ 02:19:39 verbose #20 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1591 > > │ = semi_open_2; time = 582}                                                   │
00:01:45 verbose #1592 > > │ 02:19:40 verbose #21 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1593 > > │ = closed_2; time = 585}                                                      │
00:01:45 verbose #1594 > > │                                                                              │
00:01:45 verbose #1595 > > │ 02:19:40 verbose #22 benchmark.run / {input_str = struct ([|1; 2; 3;    │
00:01:45 verbose #1596 > > │ 4...00; ...|], 60, 1000)}                                                    │
00:01:45 verbose #1597 > > │ 02:19:41 verbose #23 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1598 > > │ = semi_open_1; time = 610}                                                   │
00:01:45 verbose #1599 > > │ 02:19:42 verbose #24 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1600 > > │ = closed_1; time = 672}                                                      │
00:01:45 verbose #1601 > > │ 02:19:42 verbose #25 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1602 > > │ = semi_open_2; time = 636}                                                   │
00:01:45 verbose #1603 > > │ 02:19:43 verbose #26 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1604 > > │ = closed_2; time = 629}                                                      │
00:01:45 verbose #1605 > > │                                                                              │
00:01:45 verbose #1606 > > │ 02:19:43 verbose #27 benchmark.run / {input_str = struct ([|1; 3; 4; 6; │
00:01:45 verbose #1607 > > │ 8; 9; 11|], 6, 7)}                                                           │
00:01:45 verbose #1608 > > │ 02:19:44 verbose #28 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1609 > > │ = semi_open_1; time = 599}                                                   │
00:01:45 verbose #1610 > > │ 02:19:44 verbose #29 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1611 > > │ = closed_1; time = 561}                                                      │
00:01:45 verbose #1612 > > │ 02:19:45 verbose #30 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1613 > > │ = semi_open_2; time = 604}                                                   │
00:01:45 verbose #1614 > > │ 02:19:46 verbose #31 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1615 > > │ = closed_2; time = 573}                                                      │
00:01:45 verbose #1616 > > │                                                                              │
00:01:45 verbose #1617 > > │ 02:19:46 verbose #32 benchmark.run / {input_str = struct ([|1; 3; 4; 6; │
00:01:45 verbose #1618 > > │ 8; 9; 11|], 1, 7)}                                                           │
00:01:45 verbose #1619 > > │ 02:19:47 verbose #33 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1620 > > │ = semi_open_1; time = 635}                                                   │
00:01:45 verbose #1621 > > │ 02:19:47 verbose #34 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1622 > > │ = closed_1; time = 603}                                                      │
00:01:45 verbose #1623 > > │ 02:19:48 verbose #35 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1624 > > │ = semi_open_2; time = 644}                                                   │
00:01:45 verbose #1625 > > │ 02:19:49 verbose #36 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1626 > > │ = closed_2; time = 628}                                                      │
00:01:45 verbose #1627 > > │                                                                              │
00:01:45 verbose #1628 > > │ 02:19:49 verbose #37 benchmark.run / {input_str = struct ([|1; 3; 4; 6; │
00:01:45 verbose #1629 > > │ 8; 9; 11|], 11, 7)}                                                          │
00:01:45 verbose #1630 > > │ 02:19:49 verbose #38 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1631 > > │ = semi_open_1; time = 643}                                                   │
00:01:45 verbose #1632 > > │ 02:19:50 verbose #39 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1633 > > │ = closed_1; time = 606}                                                      │
00:01:45 verbose #1634 > > │ 02:19:51 verbose #40 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1635 > > │ = semi_open_2; time = 636}                                                   │
00:01:45 verbose #1636 > > │ 02:19:52 verbose #41 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1637 > > │ = closed_2; time = 624}                                                      │
00:01:45 verbose #1638 > > │                                                                              │
00:01:45 verbose #1639 > > │ 02:19:52 verbose #42 benchmark.run / {input_str = struct ([|1; 3; 4; 6; │
00:01:45 verbose #1640 > > │ 8; 9; 11|], 12, 7)}                                                          │
00:01:45 verbose #1641 > > │ 02:19:52 verbose #43 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1642 > > │ = semi_open_1; time = 689}                                                   │
00:01:45 verbose #1643 > > │ 02:19:53 verbose #44 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1644 > > │ = closed_1; time = 613}                                                      │
00:01:45 verbose #1645 > > │ 02:19:54 verbose #45 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1646 > > │ = semi_open_2; time = 623}                                                   │
00:01:45 verbose #1647 > > │ 02:19:55 verbose #46 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1648 > > │ = closed_2; time = 613}                                                      │
00:01:45 verbose #1649 > > │                                                                              │
00:01:45 verbose #1650 > > │ 02:19:55 verbose #47 benchmark.run / {input_str = struct ([|1; 2; 3;    │
00:01:45 verbose #1651 > > │ 4...100; ...|], 60, 100)}                                                    │
00:01:45 verbose #1652 > > │ 02:19:55 verbose #48 benchmark.run / solutions.map / {i = 1; test_name  │
00:01:45 verbose #1653 > > │ = semi_open_1; time = 630}                                                   │
00:01:45 verbose #1654 > > │ 02:19:56 verbose #49 benchmark.run / solutions.map / {i = 2; test_name  │
00:01:45 verbose #1655 > > │ = closed_1; time = 633}                                                      │
00:01:45 verbose #1656 > > │ 02:19:57 verbose #50 benchmark.run / solutions.map / {i = 3; test_name  │
00:01:45 verbose #1657 > > │ = semi_open_2; time = 653}                                                   │
00:01:45 verbose #1658 > > │ 02:19:58 verbose #51 benchmark.run / solutions.map / {i = 4; test_name  │
00:01:45 verbose #1659 > > │ = closed_2; time = 646}                                                      │
00:01:45 verbose #1660 > > │ ```                                                                          │
00:01:45 verbose #1661 > > │ input                                    	| expected	| result  	| best             │
00:01:45 verbose #1662 > > │ ---                                      	| ---     	| ---     	| ---              │
00:01:45 verbose #1663 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 6, 7)    	| US4_0 3 	| US4_0 3 	| 4, 610           │
00:01:45 verbose #1664 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 1, 7)    	| US4_0 0 	| US4_0 0 	| 2, 559           │
00:01:45 verbose #1665 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 11, 7)   	| US4_0 6 	| US4_0 6 	| 1, 550           │
00:01:45 verbose #1666 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 12, 7)   	| US4_1   	| US4_1   	| 1, 574           │
00:01:45 verbose #1667 > > │ struct ([1; 2; 3; 4...00; ...], 60, 1000)	| US4_0 59	| US4_0 59	| 1, 610           │
00:01:45 verbose #1668 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 6, 7)    	| US4_0 3 	| US4_0 3 	| 2, 561           │
00:01:45 verbose #1669 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 1, 7)    	| US4_0 0 	| US4_0 0 	| 2, 603           │
00:01:45 verbose #1670 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 11, 7)   	| US4_0 6 	| US4_0 6 	| 2, 606           │
00:01:45 verbose #1671 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 12, 7)   	| US4_1   	| US4_1   	| 2, 613           │
00:01:45 verbose #1672 > > │ struct ([1; 2; 3; 4...100; ...], 60, 100)	| US4_0 59	| US4_0 59	| 1, 630           │
00:01:45 verbose #1673 > > │ ```                                                                          │
00:01:45 verbose #1674 > > │ 02:19:58 verbose #52 benchmark.sort_result_list / averages.iter / {avg  │
00:01:45 verbose #1675 > > │ = 602; i = 2}                                                                │
00:01:45 verbose #1676 > > │ 02:19:58 verbose #53 benchmark.sort_result_list / averages.iter / {avg  │
00:01:45 verbose #1677 > > │ = 607; i = 4}                                                                │
00:01:45 verbose #1678 > > │ 02:19:58 verbose #54 benchmark.sort_result_list / averages.iter / {avg  │
00:01:45 verbose #1679 > > │ = 619; i = 1}                                                                │
00:01:45 verbose #1680 > > │ 02:19:58 verbose #55 benchmark.sort_result_list / averages.iter / {avg  │
00:01:45 verbose #1681 > > │ = 625; i = 3}                                                                │
00:01:45 verbose #1682 > > │ ```                                                                          │
00:01:45 verbose #1683 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:45 verbose #1684 > >
00:01:45 verbose #1685 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:45 verbose #1686 > > //// test
00:01:45 verbose #1687 > > //// timeout=90000
00:01:45 verbose #1688 > >
00:01:45 verbose #1689 > > inl binary_search_semi_open_1 arr target left right =
00:01:45 verbose #1690 > >     inl rec body left right =
00:01:45 verbose #1691 > >         if left >= right
00:01:45 verbose #1692 > >         then None
00:01:45 verbose #1693 > >         else
00:01:45 verbose #1694 > >             inl mid = (left + right) / 2
00:01:45 verbose #1695 > >             inl item = index arr mid
00:01:45 verbose #1696 > >             if item = target
00:01:45 verbose #1697 > >             then Some mid
00:01:45 verbose #1698 > >             elif item < target
00:01:45 verbose #1699 > >             then loop (mid + 1) right
00:01:45 verbose #1700 > >             else loop left mid
00:01:45 verbose #1701 > >     and inl loop left right =
00:01:45 verbose #1702 > >         if var_is right |> not
00:01:45 verbose #1703 > >         then body left right
00:01:45 verbose #1704 > >         else
00:01:45 verbose #1705 > >             inl left = dyn left
00:01:45 verbose #1706 > >             join body left right
00:01:45 verbose #1707 > >     loop left right
00:01:45 verbose #1708 > >
00:01:45 verbose #1709 > > inl binary_search_closed_1 arr target left right =
00:01:45 verbose #1710 > >     inl rec body left right =
00:01:45 verbose #1711 > >         if left > right
00:01:45 verbose #1712 > >         then None
00:01:45 verbose #1713 > >         else
00:01:45 verbose #1714 > >             inl mid = (left + right) / 2
00:01:45 verbose #1715 > >             inl item = index arr mid
00:01:45 verbose #1716 > >             if item = target
00:01:45 verbose #1717 > >             then Some mid
00:01:45 verbose #1718 > >             elif item < target
00:01:45 verbose #1719 > >             then loop (mid + 1) right
00:01:45 verbose #1720 > >             else loop left (mid - 1)
00:01:45 verbose #1721 > >     and inl loop left right =
00:01:45 verbose #1722 > >         if var_is right |> not
00:01:45 verbose #1723 > >         then body left right
00:01:45 verbose #1724 > >         else
00:01:45 verbose #1725 > >             inl left = dyn left
00:01:45 verbose #1726 > >             join body left right
00:01:45 verbose #1727 > >     loop left right
00:01:45 verbose #1728 > >
00:01:45 verbose #1729 > > inl binary_search_semi_open_2 arr target left right =
00:01:45 verbose #1730 > >     let rec body left right =
00:01:45 verbose #1731 > >         if left >= right
00:01:45 verbose #1732 > >         then None
00:01:45 verbose #1733 > >         else
00:01:45 verbose #1734 > >             inl mid = (left + right) / 2
00:01:45 verbose #1735 > >             inl item = index arr mid
00:01:45 verbose #1736 > >             if item = target
00:01:45 verbose #1737 > >             then Some mid
00:01:45 verbose #1738 > >             elif item < target
00:01:45 verbose #1739 > >             then loop (mid + 1) right
00:01:45 verbose #1740 > >             else loop left mid
00:01:45 verbose #1741 > >     and inl loop left right = body left right
00:01:45 verbose #1742 > >     loop left right
00:01:45 verbose #1743 > >
00:01:45 verbose #1744 > > inl binary_search_closed_2 arr target left right =
00:01:45 verbose #1745 > >     let rec body left right =
00:01:45 verbose #1746 > >         if left > right
00:01:45 verbose #1747 > >         then None
00:01:45 verbose #1748 > >         else
00:01:45 verbose #1749 > >             inl mid = (left + right) / 2
00:01:45 verbose #1750 > >             inl item = index arr mid
00:01:45 verbose #1751 > >             if item = target
00:01:45 verbose #1752 > >             then Some mid
00:01:45 verbose #1753 > >             elif item < target
00:01:45 verbose #1754 > >             then loop (mid + 1) right
00:01:45 verbose #1755 > >             else loop left (mid - 1)
00:01:45 verbose #1756 > >     and inl loop left right = body left right
00:01:45 verbose #1757 > >     loop left right
00:01:45 verbose #1758 > >
00:01:45 verbose #1759 > > inl get_solutions () =
00:01:45 verbose #1760 > >     [[
00:01:45 verbose #1761 > >         "semi_open_1",
00:01:45 verbose #1762 > >         fun (arr, (target, len)) =>
00:01:45 verbose #1763 > >             binary_search_semi_open_1 arr target 0 len
00:01:45 verbose #1764 > >
00:01:45 verbose #1765 > >         "closed_1",
00:01:45 verbose #1766 > >         fun (arr, (target, len)) =>
00:01:45 verbose #1767 > >             binary_search_closed_1 arr target 0 (len - 1)
00:01:45 verbose #1768 > >
00:01:45 verbose #1769 > >         "semi_open_2",
00:01:45 verbose #1770 > >         fun (arr, (target, len)) =>
00:01:45 verbose #1771 > >             binary_search_semi_open_2 arr target 0 len
00:01:45 verbose #1772 > >
00:01:45 verbose #1773 > >         "closed_2",
00:01:45 verbose #1774 > >         fun (arr, (target, len)) =>
00:01:45 verbose #1775 > >             binary_search_closed_2 arr target 0 (len - 1)
00:01:45 verbose #1776 > >     ]]
00:01:45 verbose #1777 > >
00:01:45 verbose #1778 > > inl rec binary_search_tests () =
00:01:45 verbose #1779 > >     inl arr_with_len target len arr =
00:01:45 verbose #1780 > >         arr, (target, (len |> optionm'.default_with fun () => length arr))
00:01:45 verbose #1781 > >
00:01:45 verbose #1782 > >     inl test_cases = [[
00:01:45 verbose #1783 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 None), (Some 3i32)
00:01:45 verbose #1784 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 None), (Some 0i32)
00:01:45 verbose #1785 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 None), (Some 6i32)
00:01:45 verbose #1786 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 None), None
00:01:45 verbose #1787 > >         ((am'.init_series 1i32 1000 1 |> fun x => a x : _ int _) |> arr_with_len
00:01:45 verbose #1788 > > 60 None), (Some 59)
00:01:45 verbose #1789 > >
00:01:45 verbose #1790 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 (Some 7)), (Some
00:01:45 verbose #1791 > > 3i32)
00:01:45 verbose #1792 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 (Some 7)), (Some
00:01:45 verbose #1793 > > 0i32)
00:01:45 verbose #1794 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 (Some 7)), (Some
00:01:45 verbose #1795 > > 6i32)
00:01:45 verbose #1796 > >         (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 (Some 7)), None
00:01:45 verbose #1797 > >         ((am'.init_series 1i32 1000 1 |> fun x => a x : _ int _) |> arr_with_len
00:01:45 verbose #1798 > > 60 (Some 100)), (Some 59)
00:01:45 verbose #1799 > >     ]]
00:01:45 verbose #1800 > >
00:01:45 verbose #1801 > >     inl solutions = get_solutions ()
00:01:45 verbose #1802 > >
00:01:45 verbose #1803 > >     // inl is_fast () = true
00:01:45 verbose #1804 > >
00:01:45 verbose #1805 > >     inl count =
00:01:45 verbose #1806 > >         if is_fast ()
00:01:45 verbose #1807 > >         then 1000i32
00:01:45 verbose #1808 > >         else 10000000i32
00:01:45 verbose #1809 > >
00:01:45 verbose #1810 > >     run_all (reflection.nameof { binary_search_tests }) count solutions
00:01:45 verbose #1811 > > test_cases
00:01:45 verbose #1812 > >     |> sort_result_list
00:01:45 verbose #1813 > >
00:01:45 verbose #1814 > >
00:01:45 verbose #1815 > > let main () =
00:01:45 verbose #1816 > >     binary_search_tests ()
00:01:45 verbose #1817 > 00:01:44   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/713602f9b8f4d82d4dcfe100ca8304d8b93c68d2b3a29765618d48f14990f769/main.spi
00:02:39 verbose #1818 > >
00:02:39 verbose #1819 > > ╭─[ 54.23s - stdout ]──────────────────────────────────────────────────────────╮
00:02:39 verbose #1820 > > │                                                                              │
00:02:39 verbose #1821 > > │ ```                                                                          │
00:02:39 verbose #1822 > > │ 00:00:00 verbose #1 benchmark.run_all / { test_name =                   │
00:02:39 verbose #1823 > > │ binary_search_tests; count = 10000000 }                                      │
00:02:39 verbose #1824 > > │                                                                              │
00:02:39 verbose #1825 > > │ 00:00:00 verbose #2 benchmark.run / { input_str = struct ([|1; 3; 4; 6; │
00:02:39 verbose #1826 > > │ 8; 9; 11|], 6, 7) }                                                          │
00:02:39 verbose #1827 > > │ 00:00:01 verbose #3 benchmark.run / solutions.map / { i = 1; test_name  │
00:02:39 verbose #1828 > > │ = semi_open_1; time = 1085 }                                                 │
00:02:39 verbose #1829 > > │ 00:00:02 verbose #4 benchmark.run / solutions.map / { i = 2; test_name  │
00:02:39 verbose #1830 > > │ = closed_1; time = 1023 }                                                    │
00:02:39 verbose #1831 > > │ 00:00:03 verbose #5 benchmark.run / solutions.map / { i = 3; test_name  │
00:02:39 verbose #1832 > > │ = semi_open_2; time = 878 }                                                  │
00:02:39 verbose #1833 > > │ 00:00:05 verbose #6 benchmark.run / solutions.map / { i = 4; test_name  │
00:02:39 verbose #1834 > > │ = closed_2; time = 937 }                                                     │
00:02:39 verbose #1835 > > │                                                                              │
00:02:39 verbose #1836 > > │ 00:00:05 verbose #7 benchmark.run / { input_str = struct ([|1; 3; 4; 6; │
00:02:39 verbose #1837 > > │ 8; 9; 11|], 1, 7) }                                                          │
00:02:39 verbose #1838 > > │ 00:00:06 verbose #8 benchmark.run / solutions.map / { i = 1; test_name  │
00:02:39 verbose #1839 > > │ = semi_open_1; time = 893 }                                                  │
00:02:39 verbose #1840 > > │ 00:00:07 verbose #9 benchmark.run / solutions.map / { i = 2; test_name  │
00:02:39 verbose #1841 > > │ = closed_1; time = 888 }                                                     │
00:02:39 verbose #1842 > > │ 00:00:08 verbose #10 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1843 > > │ = semi_open_2; time = 924 }                                                  │
00:02:39 verbose #1844 > > │ 00:00:10 verbose #11 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1845 > > │ = closed_2; time = 916 }                                                     │
00:02:39 verbose #1846 > > │                                                                              │
00:02:39 verbose #1847 > > │ 00:00:10 verbose #12 benchmark.run / { input_str = struct ([|1; 3; 4;   │
00:02:39 verbose #1848 > > │ 6; 8; 9; 11|], 11, 7) }                                                      │
00:02:39 verbose #1849 > > │ 00:00:11 verbose #13 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1850 > > │ = semi_open_1; time = 890 }                                                  │
00:02:39 verbose #1851 > > │ 00:00:12 verbose #14 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1852 > > │ = closed_1; time = 918 }                                                     │
00:02:39 verbose #1853 > > │ 00:00:13 verbose #15 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1854 > > │ = semi_open_2; time = 900 }                                                  │
00:02:39 verbose #1855 > > │ 00:00:15 verbose #16 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1856 > > │ = closed_2; time = 890 }                                                     │
00:02:39 verbose #1857 > > │                                                                              │
00:02:39 verbose #1858 > > │ 00:00:15 verbose #17 benchmark.run / { input_str = struct ([|1; 3; 4;   │
00:02:39 verbose #1859 > > │ 6; 8; 9; 11|], 12, 7) }                                                      │
00:02:39 verbose #1860 > > │ 00:00:16 verbose #18 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1861 > > │ = semi_open_1; time = 992 }                                                  │
00:02:39 verbose #1862 > > │ 00:00:17 verbose #19 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1863 > > │ = closed_1; time = 917 }                                                     │
00:02:39 verbose #1864 > > │ 00:00:18 verbose #20 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1865 > > │ = semi_open_2; time = 897 }                                                  │
00:02:39 verbose #1866 > > │ 00:00:20 verbose #21 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1867 > > │ = closed_2; time = 943 }                                                     │
00:02:39 verbose #1868 > > │                                                                              │
00:02:39 verbose #1869 > > │ 00:00:20 verbose #22 benchmark.run / { input_str = struct ([|1; 2; 3;   │
00:02:39 verbose #1870 > > │ 4...00; ...|], 60, 1000) }                                                   │
00:02:39 verbose #1871 > > │ 00:00:21 verbose #23 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1872 > > │ = semi_open_1; time = 969 }                                                  │
00:02:39 verbose #1873 > > │ 00:00:22 verbose #24 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1874 > > │ = closed_1; time = 997 }                                                     │
00:02:39 verbose #1875 > > │ 00:00:24 verbose #25 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1876 > > │ = semi_open_2; time = 979 }                                                  │
00:02:39 verbose #1877 > > │ 00:00:25 verbose #26 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1878 > > │ = closed_2; time = 996 }                                                     │
00:02:39 verbose #1879 > > │                                                                              │
00:02:39 verbose #1880 > > │ 00:00:25 verbose #27 benchmark.run / { input_str = struct ([|1; 3; 4;   │
00:02:39 verbose #1881 > > │ 6; 8; 9; 11|], 6, 7) }                                                       │
00:02:39 verbose #1882 > > │ 00:00:26 verbose #28 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1883 > > │ = semi_open_1; time = 857 }                                                  │
00:02:39 verbose #1884 > > │ 00:00:27 verbose #29 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1885 > > │ = closed_1; time = 854 }                                                     │
00:02:39 verbose #1886 > > │ 00:00:28 verbose #30 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1887 > > │ = semi_open_2; time = 875 }                                                  │
00:02:39 verbose #1888 > > │ 00:00:30 verbose #31 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1889 > > │ = closed_2; time = 881 }                                                     │
00:02:39 verbose #1890 > > │                                                                              │
00:02:39 verbose #1891 > > │ 00:00:30 verbose #32 benchmark.run / { input_str = struct ([|1; 3; 4;   │
00:02:39 verbose #1892 > > │ 6; 8; 9; 11|], 1, 7) }                                                       │
00:02:39 verbose #1893 > > │ 00:00:31 verbose #33 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1894 > > │ = semi_open_1; time = 933 }                                                  │
00:02:39 verbose #1895 > > │ 00:00:32 verbose #34 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1896 > > │ = closed_1; time = 933 }                                                     │
00:02:39 verbose #1897 > > │ 00:00:33 verbose #35 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1898 > > │ = semi_open_2; time = 931 }                                                  │
00:02:39 verbose #1899 > > │ 00:00:35 verbose #36 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1900 > > │ = closed_2; time = 923 }                                                     │
00:02:39 verbose #1901 > > │                                                                              │
00:02:39 verbose #1902 > > │ 00:00:35 verbose #37 benchmark.run / { input_str = struct ([|1; 3; 4;   │
00:02:39 verbose #1903 > > │ 6; 8; 9; 11|], 11, 7) }                                                      │
00:02:39 verbose #1904 > > │ 00:00:36 verbose #38 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1905 > > │ = semi_open_1; time = 881 }                                                  │
00:02:39 verbose #1906 > > │ 00:00:37 verbose #39 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1907 > > │ = closed_1; time = 950 }                                                     │
00:02:39 verbose #1908 > > │ 00:00:38 verbose #40 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1909 > > │ = semi_open_2; time = 909 }                                                  │
00:02:39 verbose #1910 > > │ 00:00:40 verbose #41 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1911 > > │ = closed_2; time = 937 }                                                     │
00:02:39 verbose #1912 > > │                                                                              │
00:02:39 verbose #1913 > > │ 00:00:40 verbose #42 benchmark.run / { input_str = struct ([|1; 3; 4;   │
00:02:39 verbose #1914 > > │ 6; 8; 9; 11|], 12, 7) }                                                      │
00:02:39 verbose #1915 > > │ 00:00:41 verbose #43 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1916 > > │ = semi_open_1; time = 940 }                                                  │
00:02:39 verbose #1917 > > │ 00:00:43 verbose #44 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1918 > > │ = closed_1; time = 995 }                                                     │
00:02:39 verbose #1919 > > │ 00:00:44 verbose #45 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1920 > > │ = semi_open_2; time = 912 }                                                  │
00:02:39 verbose #1921 > > │ 00:00:45 verbose #46 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1922 > > │ = closed_2; time = 891 }                                                     │
00:02:39 verbose #1923 > > │                                                                              │
00:02:39 verbose #1924 > > │ 00:00:45 verbose #47 benchmark.run / { input_str = struct ([|1; 2; 3;   │
00:02:39 verbose #1925 > > │ 4...100; ...|], 60, 100) }                                                   │
00:02:39 verbose #1926 > > │ 00:00:46 verbose #48 benchmark.run / solutions.map / { i = 1; test_name │
00:02:39 verbose #1927 > > │ = semi_open_1; time = 956 }                                                  │
00:02:39 verbose #1928 > > │ 00:00:48 verbose #49 benchmark.run / solutions.map / { i = 2; test_name │
00:02:39 verbose #1929 > > │ = closed_1; time = 946 }                                                     │
00:02:39 verbose #1930 > > │ 00:00:49 verbose #50 benchmark.run / solutions.map / { i = 3; test_name │
00:02:39 verbose #1931 > > │ = semi_open_2; time = 926 }                                                  │
00:02:39 verbose #1932 > > │ 00:00:50 verbose #51 benchmark.run / solutions.map / { i = 4; test_name │
00:02:39 verbose #1933 > > │ = closed_2; time = 956 }                                                     │
00:02:39 verbose #1934 > > │ ```                                                                          │
00:02:39 verbose #1935 > > │ input                                    	| expected	| result  	| best             │
00:02:39 verbose #1936 > > │ ---                                      	| ---     	| ---     	| ---              │
00:02:39 verbose #1937 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 6, 7)    	| US4_0 3 	| US4_0 3 	| 3, 878           │
00:02:39 verbose #1938 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 1, 7)    	| US4_0 0 	| US4_0 0 	| 2, 888           │
00:02:39 verbose #1939 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 11, 7)   	| US4_0 6 	| US4_0 6 	| 1, 890           │
00:02:39 verbose #1940 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 12, 7)   	| US4_1   	| US4_1   	| 3, 897           │
00:02:39 verbose #1941 > > │ struct ([1; 2; 3; 4...00; ...], 60, 1000)	| US4_0 59	| US4_0 59	| 1, 969           │
00:02:39 verbose #1942 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 6, 7)    	| US4_0 3 	| US4_0 3 	| 2, 854           │
00:02:39 verbose #1943 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 1, 7)    	| US4_0 0 	| US4_0 0 	| 4, 923           │
00:02:39 verbose #1944 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 11, 7)   	| US4_0 6 	| US4_0 6 	| 1, 881           │
00:02:39 verbose #1945 > > │ struct ([1; 3; 4; 6; 8; 9; 11], 12, 7)   	| US4_1   	| US4_1   	| 4, 891           │
00:02:39 verbose #1946 > > │ struct ([1; 2; 3; 4...100; ...], 60, 100)	| US4_0 59	| US4_0 59	| 3, 926           │
00:02:39 verbose #1947 > > │ ```                                                                          │
00:02:39 verbose #1948 > > │ 00:00:50 verbose #52 benchmark.sort_result_list / averages.iter / { i = │
00:02:39 verbose #1949 > > │ 3; avg = 913 }                                                               │
00:02:39 verbose #1950 > > │ 00:00:50 verbose #53 benchmark.sort_result_list / averages.iter / { i = │
00:02:39 verbose #1951 > > │ 4; avg = 927 }                                                               │
00:02:39 verbose #1952 > > │ 00:00:50 verbose #54 benchmark.sort_result_list / averages.iter / { i = │
00:02:39 verbose #1953 > > │ 1; avg = 939 }                                                               │
00:02:39 verbose #1954 > > │ 00:00:50 verbose #55 benchmark.sort_result_list / averages.iter / { i = │
00:02:39 verbose #1955 > > │ 2; avg = 942 }                                                               │
00:02:39 verbose #1956 > > │ ```                                                                          │
00:02:39 verbose #1957 > > │                                                                              │
00:02:39 verbose #1958 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1959 > >
00:02:39 verbose #1960 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:39 verbose #1961 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #1962 > > │ ## returnLettersWithOddCountTests                                            │
00:02:39 verbose #1963 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1964 > >
00:02:39 verbose #1965 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:39 verbose #1966 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #1967 > > │ Test: ReturnLettersWithOddCount                                              │
00:02:39 verbose #1968 > > │                                                                              │
00:02:39 verbose #1969 > > │ Solution: 1                                                                  │
00:02:39 verbose #1970 > > │ Test case 1. A. Time: 645L                                                   │
00:02:39 verbose #1971 > > │                                                                              │
00:02:39 verbose #1972 > > │ Solution: 2                                                                  │
00:02:39 verbose #1973 > > │ Test case 1. A. Time: 663L                                                   │
00:02:39 verbose #1974 > > │                                                                              │
00:02:39 verbose #1975 > > │ Solution: 3                                                                  │
00:02:39 verbose #1976 > > │ Test case 1. A. Time: 680L                                                   │
00:02:39 verbose #1977 > > │                                                                              │
00:02:39 verbose #1978 > > │ Solution: 9                                                                  │
00:02:39 verbose #1979 > > │ Test case 1. A. Time: 730L                                                   │
00:02:39 verbose #1980 > > │                                                                              │
00:02:39 verbose #1981 > > │ Solution: 10                                                                 │
00:02:39 verbose #1982 > > │ Test case 1. A. Time: 815L                                                   │
00:02:39 verbose #1983 > > │                                                                              │
00:02:39 verbose #1984 > > │ Input   | Expected        | Result          | Best                           │
00:02:39 verbose #1985 > > │ ---     | ---             | ---             | ---                            │
00:02:39 verbose #1986 > > │ 1       | a               | a               | (1, 645)                       │
00:02:39 verbose #1987 > > │ 2       | ba              | ba              | (1, 663)                       │
00:02:39 verbose #1988 > > │ 3       | aaa             | aaa             | (1, 680)                       │
00:02:39 verbose #1989 > > │ 9       | aaaaaaaaa       | aaaaaaaaa       | (1, 730)                       │
00:02:39 verbose #1990 > > │ 10      | baaaaaaaaa      | baaaaaaaaa      | (1, 815)                       │
00:02:39 verbose #1991 > > │                                                                              │
00:02:39 verbose #1992 > > │ Averages                                                                     │
00:02:39 verbose #1993 > > │ Test case 1. Average Time: 706L                                              │
00:02:39 verbose #1994 > > │                                                                              │
00:02:39 verbose #1995 > > │ Ranking                                                                      │
00:02:39 verbose #1996 > > │ Test case 1. Average Time: 706L                                              │
00:02:39 verbose #1997 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1998 > >
00:02:39 verbose #1999 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:39 verbose #2000 > > //// test
00:02:39 verbose #2001 > >
00:02:39 verbose #2002 > > let solutions = [[
00:02:39 verbose #2003 > >     "A",
00:02:39 verbose #2004 > >     fun n ->
00:02:39 verbose #2005 > >         let mutable _builder = StringBuilder (new string('a', n))
00:02:39 verbose #2006 > >         if n % 2 = 0 then
00:02:39 verbose #2007 > >             _builder.[[0]] <- 'b'
00:02:39 verbose #2008 > >
00:02:39 verbose #2009 > >         _builder.ToString ()
00:02:39 verbose #2010 > > ]]
00:02:39 verbose #2011 > > let testCases = seq {
00:02:39 verbose #2012 > >     1, "a"
00:02:39 verbose #2013 > >     2, "ba"
00:02:39 verbose #2014 > >     3, "aaa"
00:02:39 verbose #2015 > >     9, "aaaaaaaaa"
00:02:39 verbose #2016 > >     10, "baaaaaaaaa"
00:02:39 verbose #2017 > > }
00:02:39 verbose #2018 > > let rec returnLettersWithOddCountTests =
00:02:39 verbose #2019 > >     runAll (nameof returnLettersWithOddCountTests) _count solutions testCases
00:02:39 verbose #2020 > > returnLettersWithOddCountTests
00:02:39 verbose #2021 > > |> sortResultList
00:02:41 verbose #2022 > >
00:02:41 verbose #2023 > > ╭─[ 1.73s - stdout ]───────────────────────────────────────────────────────────╮
00:02:41 verbose #2024 > > │                                                                              │
00:02:41 verbose #2025 > > │                                                                              │
00:02:41 verbose #2026 > > │ Test: returnLettersWithOddCountTests                                         │
00:02:41 verbose #2027 > > │                                                                              │
00:02:41 verbose #2028 > > │ Solution: 1                                                                  │
00:02:41 verbose #2029 > > │ Test case 1. A. Time: 1L                                                     │
00:02:41 verbose #2030 > > │                                                                              │
00:02:41 verbose #2031 > > │ Solution: 2                                                                  │
00:02:41 verbose #2032 > > │ Test case 1. A. Time: 0L                                                     │
00:02:41 verbose #2033 > > │                                                                              │
00:02:41 verbose #2034 > > │ Solution: 3                                                                  │
00:02:41 verbose #2035 > > │ Test case 1. A. Time: 0L                                                     │
00:02:41 verbose #2036 > > │                                                                              │
00:02:41 verbose #2037 > > │ Solution: 9                                                                  │
00:02:41 verbose #2038 > > │ Test case 1. A. Time: 0L                                                     │
00:02:41 verbose #2039 > > │                                                                              │
00:02:41 verbose #2040 > > │ Solution: 10                                                                 │
00:02:41 verbose #2041 > > │ Test case 1. A. Time: 2L                                                     │
00:02:41 verbose #2042 > > │                                                                              │
00:02:41 verbose #2043 > > │ Input	| Expected  	| Result    	| Best                                             │
00:02:41 verbose #2044 > > │ ---  	| ---       	| ---       	| ---                                              │
00:02:41 verbose #2045 > > │ 1    	| a         	| a         	| (1, 1)                                           │
00:02:41 verbose #2046 > > │ 2    	| ba        	| ba        	| (1, 0)                                           │
00:02:41 verbose #2047 > > │ 3    	| aaa       	| aaa       	| (1, 0)                                           │
00:02:41 verbose #2048 > > │ 9    	| aaaaaaaaa 	| aaaaaaaaa 	| (1, 0)                                           │
00:02:41 verbose #2049 > > │ 10   	| baaaaaaaaa	| baaaaaaaaa	| (1, 2)                                           │
00:02:41 verbose #2050 > > │                                                                              │
00:02:41 verbose #2051 > > │ Average Ranking                                                              │
00:02:41 verbose #2052 > > │ Test case 1. Average Time: 0L                                                │
00:02:41 verbose #2053 > > │                                                                              │
00:02:41 verbose #2054 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:41 verbose #2055 > >
00:02:41 verbose #2056 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:41 verbose #2057 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:41 verbose #2058 > > │ ## hasAnyPairCloseToEachotherTests                                           │
00:02:41 verbose #2059 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:41 verbose #2060 > >
00:02:41 verbose #2061 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:41 verbose #2062 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:41 verbose #2063 > > │ Test: HasAnyPairCloseToEachother                                             │
00:02:41 verbose #2064 > > │                                                                              │
00:02:41 verbose #2065 > > │ Solution: 0                                                                  │
00:02:41 verbose #2066 > > │ Test case 1. A. Time: 137L                                                   │
00:02:41 verbose #2067 > > │                                                                              │
00:02:41 verbose #2068 > > │ Solution: 1,2                                                                │
00:02:41 verbose #2069 > > │ Test case 1. A. Time: 186L                                                   │
00:02:41 verbose #2070 > > │                                                                              │
00:02:41 verbose #2071 > > │ Solution: 3,5                                                                │
00:02:41 verbose #2072 > > │ Test case 1. A. Time: 206L                                                   │
00:02:41 verbose #2073 > > │                                                                              │
00:02:41 verbose #2074 > > │ Solution: 3,4,6                                                              │
00:02:41 verbose #2075 > > │ Test case 1. A. Time: 149L                                                   │
00:02:41 verbose #2076 > > │                                                                              │
00:02:41 verbose #2077 > > │ Solution: 2,4,6                                                              │
00:02:41 verbose #2078 > > │ Test case 1. A. Time: 150L                                                   │
00:02:41 verbose #2079 > > │                                                                              │
00:02:41 verbose #2080 > > │ Input   | Expected        | Result  | Best                                   │
00:02:41 verbose #2081 > > │ ---     | ---             | ---     | ---                                    │
00:02:41 verbose #2082 > > │ 0       | False           | False   | (1, 137)                               │
00:02:41 verbose #2083 > > │ 1,2     | True            | True    | (1, 186)                               │
00:02:41 verbose #2084 > > │ 3,5     | False           | False   | (1, 206)                               │
00:02:41 verbose #2085 > > │ 3,4,6   | True            | True    | (1, 149)                               │
00:02:41 verbose #2086 > > │ 2,4,6   | False           | False   | (1, 150)                               │
00:02:41 verbose #2087 > > │                                                                              │
00:02:41 verbose #2088 > > │ Averages                                                                     │
00:02:41 verbose #2089 > > │ Test case 1. Average Time: 165L                                              │
00:02:41 verbose #2090 > > │                                                                              │
00:02:41 verbose #2091 > > │ Ranking                                                                      │
00:02:41 verbose #2092 > > │ Test case 1. Average Time: 165L                                              │
00:02:41 verbose #2093 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:41 verbose #2094 > >
00:02:41 verbose #2095 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:41 verbose #2096 > > //// test
00:02:41 verbose #2097 > >
00:02:41 verbose #2098 > > let solutions = [[
00:02:41 verbose #2099 > >     "A",
00:02:41 verbose #2100 > >     fun (a: int[[]]) ->
00:02:41 verbose #2101 > >         let indices = System.Linq.Enumerable.Range(0, a.Length) |>
00:02:41 verbose #2102 > > System.Linq.Enumerable.ToArray
00:02:41 verbose #2103 > >         System.Array.Sort (a, indices)
00:02:41 verbose #2104 > >
00:02:41 verbose #2105 > >         indices
00:02:41 verbose #2106 > >         |> Array.take (a.Length - 1)
00:02:41 verbose #2107 > >         |> Array.exists (fun i -> a.[[i + 1]] - a.[[i]] = 1)
00:02:41 verbose #2108 > > ]]
00:02:41 verbose #2109 > > let testCases = seq {
00:02:41 verbose #2110 > >     [[| 0 |]], false
00:02:41 verbose #2111 > >     [[| 1; 2 |]], true
00:02:41 verbose #2112 > >     [[| 3; 5 |]], false
00:02:41 verbose #2113 > >     [[| 3; 4; 6 |]], true
00:02:41 verbose #2114 > >     [[| 2; 4; 6 |]], false
00:02:41 verbose #2115 > > }
00:02:41 verbose #2116 > > let rec hasAnyPairCloseToEachotherTests =
00:02:41 verbose #2117 > >     runAll (nameof hasAnyPairCloseToEachotherTests) _count solutions testCases
00:02:41 verbose #2118 > > hasAnyPairCloseToEachotherTests
00:02:41 verbose #2119 > > |> sortResultList
00:02:42 verbose #2120 > >
00:02:42 verbose #2121 > > ╭─[ 1.51s - stdout ]───────────────────────────────────────────────────────────╮
00:02:42 verbose #2122 > > │                                                                              │
00:02:42 verbose #2123 > > │                                                                              │
00:02:42 verbose #2124 > > │ Test: hasAnyPairCloseToEachotherTests                                        │
00:02:42 verbose #2125 > > │                                                                              │
00:02:42 verbose #2126 > > │ Solution: 0                                                                  │
00:02:42 verbose #2127 > > │ Test case 1. A. Time: 3L                                                     │
00:02:42 verbose #2128 > > │                                                                              │
00:02:42 verbose #2129 > > │ Solution: 1,2                                                                │
00:02:42 verbose #2130 > > │ Test case 1. A. Time: 0L                                                     │
00:02:42 verbose #2131 > > │                                                                              │
00:02:42 verbose #2132 > > │ Solution: 3,5                                                                │
00:02:42 verbose #2133 > > │ Test case 1. A. Time: 0L                                                     │
00:02:42 verbose #2134 > > │                                                                              │
00:02:42 verbose #2135 > > │ Solution: 3,4,6                                                              │
00:02:42 verbose #2136 > > │ Test case 1. A. Time: 0L                                                     │
00:02:42 verbose #2137 > > │                                                                              │
00:02:42 verbose #2138 > > │ Solution: 2,4,6                                                              │
00:02:42 verbose #2139 > > │ Test case 1. A. Time: 0L                                                     │
00:02:42 verbose #2140 > > │                                                                              │
00:02:42 verbose #2141 > > │ Input	| Expected	| Result	| Best                                                   │
00:02:42 verbose #2142 > > │ ---  	| ---     	| ---   	| ---                                                    │
00:02:42 verbose #2143 > > │ 0    	| False   	| False 	| (1, 3)                                                 │
00:02:42 verbose #2144 > > │ 1,2  	| True    	| True  	| (1, 0)                                                 │
00:02:42 verbose #2145 > > │ 3,5  	| False   	| False 	| (1, 0)                                                 │
00:02:42 verbose #2146 > > │ 3,4,6	| True    	| True  	| (1, 0)                                                 │
00:02:42 verbose #2147 > > │ 2,4,6	| False   	| False 	| (1, 0)                                                 │
00:02:42 verbose #2148 > > │                                                                              │
00:02:42 verbose #2149 > > │ Average Ranking                                                              │
00:02:42 verbose #2150 > > │ Test case 1. Average Time: 0L                                                │
00:02:42 verbose #2151 > > │                                                                              │
00:02:42 verbose #2152 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:43 verbose #2153 > 00:02:40 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 125147 }
00:02:43 verbose #2154 > 00:02:40   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:02:43 verbose #2155 >     "nbconvert",
00:02:43 verbose #2156 >     "c:/home/git/polyglot/apps/perf/Perf.dib.ipynb",
00:02:43 verbose #2157 >     "--to",
00:02:43 verbose #2158 >     "html",
00:02:43 verbose #2159 >     "--HTMLExporter.theme=dark",
00:02:43 verbose #2160 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/perf/Perf.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:45 verbose #2161 > 00:02:43 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/perf/Perf.dib.ipynb to html
00:02:45 verbose #2162 > 00:02:43 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:45 verbose #2163 > 00:02:43 verbose #7 !   validate(nb)
00:02:48 verbose #2164 > 00:02:46 verbose #8 ! [NbConvertApp] Writing 458548 bytes to c:\home\git\polyglot\apps\perf\Perf.dib.html
00:02:48 verbose #2165 > 00:02:46 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 637 }
00:02:48 verbose #2166 > 00:02:46   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 637 }
00:02:48 verbose #2167 > 00:02:46   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:02:48 verbose #2168 >     "-c",
00:02:48 verbose #2169 >     "$counter = 1; $path = 'c:/home/git/polyglot/apps/perf/Perf.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:02:48 verbose #2170 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/perf/Perf.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:50 verbose #2171 > 00:02:47 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:02:50 verbose #2172 > 00:02:47   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:02:51 verbose #2173 > 00:02:48   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 125843 }
00:02:51   debug #2174 runtime.execute_with_options_async / { exit_code = 0; output_length = 132759 }
00:02:51   debug #4 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path Perf.dib --retries 3
00:02:51 verbose #6 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:02:51 verbose #7 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 writeDibCode / output: Fs / path: Perf.dib
00:00:00   debug #2 parseDibCode / output: Fs / file: Perf.dib
In [ ]:
{ pwsh ../apps/dir-tree-html/build.ps1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #6 async.run_with_timeout_async / { timeout = 100 }
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02   debug #7 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path DirTreeHtml.dib; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:02 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "DirTreeHtml.dib"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib" --output-path "c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:06 verbose #17 > >
00:00:06 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #20 > > │ # DirTreeHtml (Polyglot)                                                     │
00:00:06 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 verbose #22 > >
00:00:12 verbose #23 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:12 verbose #24 > > #r
00:00:12 verbose #25 > > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:00:12 verbose #26 > > dard2.1/FSharp.Control.AsyncSeq.dll"
00:00:12 verbose #27 > > #r
00:00:12 verbose #28 > > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:00:12 verbose #29 > > 0/System.Reactive.dll"
00:00:12 verbose #30 > > #r
00:00:12 verbose #31 > > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:00:12 verbose #32 > > netstandard2.0/System.Reactive.Linq.dll"
00:00:12 verbose #33 > > #r
00:00:12 verbose #34 > > @"../../../../../../../.nuget/packages/argu/6.2.4/lib/netstandard2.0/Argu.dll"
00:00:12 verbose #35 > > #r
00:00:12 verbose #36 > > @"../../../../../../../.nuget/packages/falco.markup/1.1.1/lib/netstandard2.0/Fal
00:00:12 verbose #37 > > co.Markup.dll"
00:00:33 verbose #38 > >
00:00:33 verbose #39 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #40 > > #if !INTERACTIVE
00:00:33 verbose #41 > > open Lib
00:00:33 verbose #42 > > #endif
00:00:33 verbose #43 > >
00:00:33 verbose #44 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #45 > > open SpiralFileSystem.Operators
00:00:33 verbose #46 > > open Falco.Markup
00:00:33 verbose #47 > >
00:00:33 verbose #48 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #49 > > type FileSystemNode =
00:00:33 verbose #50 > >     | File of string * string * int64
00:00:33 verbose #51 > >     | Folder of string * string * FileSystemNode list
00:00:33 verbose #52 > >     | Root of FileSystemNode list
00:00:33 verbose #53 > >
00:00:33 verbose #54 > > let rec scanDirectory isRoot (basePath : string) (path : string) =
00:00:33 verbose #55 > >     let relativePath =
00:00:33 verbose #56 > >         path
00:00:33 verbose #57 > >         |> SpiralSm.replace basePath ""
00:00:33 verbose #58 > >         |> SpiralSm.replace "\\" "/"
00:00:33 verbose #59 > >         |> SpiralSm.replace "//" "/"
00:00:33 verbose #60 > >         |> SpiralSm.trim_start [[| '/' |]]
00:00:33 verbose #61 > >
00:00:33 verbose #62 > >     let directories =
00:00:33 verbose #63 > >         path
00:00:33 verbose #64 > >         |> System.IO.Directory.GetDirectories
00:00:33 verbose #65 > >         |> Array.toList
00:00:33 verbose #66 > >         |> List.sort
00:00:33 verbose #67 > >         |> List.map (scanDirectory false basePath)
00:00:33 verbose #68 > >     let files =
00:00:33 verbose #69 > >         path
00:00:33 verbose #70 > >         |> System.IO.Directory.GetFiles
00:00:33 verbose #71 > >         |> Array.toList
00:00:33 verbose #72 > >         |> List.sort
00:00:33 verbose #73 > >         |> List.map (fun f -> File (System.IO.Path.GetFileName f, relativePath,
00:00:33 verbose #74 > > System.IO.FileInfo(f).Length))
00:00:33 verbose #75 > >
00:00:33 verbose #76 > >     let children = directories @ files
00:00:33 verbose #77 > >     if isRoot
00:00:33 verbose #78 > >     then Root children
00:00:33 verbose #79 > >     else Folder (path |> System.IO.Path.GetFileName, relativePath, children)
00:00:33 verbose #80 > >
00:00:33 verbose #81 > > let rec generateHtml fsNode =
00:00:33 verbose #82 > >     let sizeLabel size =
00:00:33 verbose #83 > >         match float size with
00:00:33 verbose #84 > >         | size when size > 1024.0 * 1024.0 -> $"%.2f{size / 1024.0 / 1024.0} MB"
00:00:33 verbose #85 > >         | size when size > 1024.0 -> $"%.2f{size / 1024.0} KB"
00:00:33 verbose #86 > >         | size -> $"%.2f{size} B"
00:00:33 verbose #87 > >     match fsNode with
00:00:33 verbose #88 > >     | File (fileName, relativePath, size) ->
00:00:33 verbose #89 > >         Elem.div [[]] [[
00:00:33 verbose #90 > >             Text.raw "&#128196; "
00:00:33 verbose #91 > >             Elem.a [[
00:00:33 verbose #92 > >                 Attr.href $"""{relativePath}{if relativePath = "" then "" else
00:00:33 verbose #93 > > "/"}{fileName}"""
00:00:33 verbose #94 > >             ]] [[
00:00:33 verbose #95 > >                 Text.raw fileName
00:00:33 verbose #96 > >             ]]
00:00:33 verbose #97 > >             Elem.span [[]] [[
00:00:33 verbose #98 > >                 Text.raw $" ({size |> sizeLabel})"
00:00:33 verbose #99 > >             ]]
00:00:33 verbose #100 > >         ]]
00:00:33 verbose #101 > >     | Folder (folderName, relativePath, children) ->
00:00:33 verbose #102 > >         let size =
00:00:33 verbose #103 > >             let rec loop children =
00:00:33 verbose #104 > >                 children
00:00:33 verbose #105 > >                 |> List.sumBy (function
00:00:33 verbose #106 > >                     | File (_, _, size) -> size
00:00:33 verbose #107 > >                     | Folder (_, _, children)
00:00:33 verbose #108 > >                     | Root children -> loop children
00:00:33 verbose #109 > >                 )
00:00:33 verbose #110 > >             loop children
00:00:33 verbose #111 > >         Elem.details [[
00:00:33 verbose #112 > >             Attr.open' "true"
00:00:33 verbose #113 > >         ]] [[
00:00:33 verbose #114 > >             Elem.summary [[]] [[
00:00:33 verbose #115 > >                 Text.raw "&#128194; "
00:00:33 verbose #116 > >                 Elem.a [[
00:00:33 verbose #117 > >                     Attr.href relativePath
00:00:33 verbose #118 > >                 ]] [[
00:00:33 verbose #119 > >                     Text.raw folderName
00:00:33 verbose #120 > >                 ]]
00:00:33 verbose #121 > >                 Elem.span [[]] [[
00:00:33 verbose #122 > >                     Text.raw $" ({size |> sizeLabel})"
00:00:33 verbose #123 > >                 ]]
00:00:33 verbose #124 > >             ]]
00:00:33 verbose #125 > >             Elem.div [[]] [[
00:00:33 verbose #126 > >                 yield! children |> List.map generateHtml
00:00:33 verbose #127 > >             ]]
00:00:33 verbose #128 > >         ]]
00:00:33 verbose #129 > >     | Root children ->
00:00:33 verbose #130 > >         Elem.div [[]] [[
00:00:33 verbose #131 > >             yield! children |> List.map generateHtml
00:00:33 verbose #132 > >         ]]
00:00:33 verbose #133 > >
00:00:33 verbose #134 > > let generateHtmlForFileSystem root =
00:00:33 verbose #135 > >     $"""<!DOCTYPE html>
00:00:33 verbose #136 > > <html lang="en">
00:00:33 verbose #137 > > <head>
00:00:33 verbose #138 > >   <meta charset="UTF-8">
00:00:33 verbose #139 > >   <style>
00:00:33 verbose #140 > > body {{
00:00:33 verbose #141 > >     background-color: #222;
00:00:33 verbose #142 > >     color: #ccc;
00:00:33 verbose #143 > > }}
00:00:33 verbose #144 > > a {{
00:00:33 verbose #145 > >   color: #777;
00:00:33 verbose #146 > >   font-size: 15px;
00:00:33 verbose #147 > > }}
00:00:33 verbose #148 > > span {{
00:00:33 verbose #149 > >   font-size: 11px;
00:00:33 verbose #150 > > }}
00:00:33 verbose #151 > > div > div {{
00:00:33 verbose #152 > >   padding-left: 10px;
00:00:33 verbose #153 > > }}
00:00:33 verbose #154 > > details > div {{
00:00:33 verbose #155 > >   padding-left: 19px;
00:00:33 verbose #156 > > }}
00:00:33 verbose #157 > >   </style>
00:00:33 verbose #158 > > </head>
00:00:33 verbose #159 > > <body>
00:00:33 verbose #160 > >   {root |> generateHtml |> renderNode}
00:00:33 verbose #161 > > </body>
00:00:33 verbose #162 > > </html>
00:00:33 verbose #163 > > """
00:00:34 verbose #164 > >
00:00:34 verbose #165 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #166 > > //// test
00:00:34 verbose #167 > >
00:00:34 verbose #168 > > let expected = """<!DOCTYPE html>
00:00:34 verbose #169 > > <html lang="en">
00:00:34 verbose #170 > > <head>
00:00:34 verbose #171 > >   <meta charset="UTF-8">
00:00:34 verbose #172 > >   <style>
00:00:34 verbose #173 > > body {
00:00:34 verbose #174 > >     background-color: #222;
00:00:34 verbose #175 > >     color: #ccc;
00:00:34 verbose #176 > > }
00:00:34 verbose #177 > > a {
00:00:34 verbose #178 > >   color: #777;
00:00:34 verbose #179 > >   font-size: 15px;
00:00:34 verbose #180 > > }
00:00:34 verbose #181 > > span {
00:00:34 verbose #182 > >   font-size: 11px;
00:00:34 verbose #183 > > }
00:00:34 verbose #184 > > div > div {
00:00:34 verbose #185 > >   padding-left: 10px;
00:00:34 verbose #186 > > }
00:00:34 verbose #187 > > details > div {
00:00:34 verbose #188 > >   padding-left: 19px;
00:00:34 verbose #189 > > }
00:00:34 verbose #190 > >   </style>
00:00:34 verbose #191 > > </head>
00:00:34 verbose #192 > > <body>
00:00:34 verbose #193 > >   <div><details open="true"><summary>&#128194; <a href="_.root">_.root</a><span>
00:00:34 verbose #194 > > (10.00 B)</span></summary><div><details open="true"><summary>&#128194; <a
00:00:34 verbose #195 > > href="_.root/3">3</a><span> (6.00 B)</span></summary><div><details
00:00:34 verbose #196 > > open="true"><summary>&#128194; <a href="_.root/3/2">2</a><span> (3.00
00:00:34 verbose #197 > > B)</span></summary><div><details open="true"><summary>&#128194; <a
00:00:34 verbose #198 > > href="_.root/3/2/1">1</a><span> (1.00 B)</span></summary><div><div>&#128196; <a
00:00:34 verbose #199 > > href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00
00:00:34 verbose #200 > > B)</span></div></div></details><div>&#128196; <a
00:00:34 verbose #201 > > href="_.root/3/2/file.txt">file.txt</a><span> (2.00
00:00:34 verbose #202 > > B)</span></div></div></details><div>&#128196; <a
00:00:34 verbose #203 > > href="_.root/3/file.txt">file.txt</a><span> (3.00
00:00:34 verbose #204 > > B)</span></div></div></details><div>&#128196; <a
00:00:34 verbose #205 > > href="_.root/file.txt">file.txt</a><span> (4.00
00:00:34 verbose #206 > > B)</span></div></div></details></div>
00:00:34 verbose #207 > > </body>
00:00:34 verbose #208 > > </html>
00:00:34 verbose #209 > > """
00:00:34 verbose #210 > >
00:00:34 verbose #211 > > let struct (tempFolder, disposable) = expected |> SpiralCrypto.hash_text |>
00:00:34 verbose #212 > > SpiralFileSystem.create_temp_dir'
00:00:34 verbose #213 > > let rec loop d n = async {
00:00:34 verbose #214 > >     if n >= 0 then
00:00:34 verbose #215 > >         tempFolder </> d |> System.IO.Directory.CreateDirectory |> ignore
00:00:34 verbose #216 > >         do!
00:00:34 verbose #217 > >             n
00:00:34 verbose #218 > >             |> string
00:00:34 verbose #219 > >             |> String.replicate (n + 1)
00:00:34 verbose #220 > >             |> SpiralFileSystem.write_all_text_async (tempFolder </> d </>
00:00:34 verbose #221 > > $"file.txt")
00:00:34 verbose #222 > >         do! loop $"{d}/{n}" (n - 1)
00:00:34 verbose #223 > > }
00:00:34 verbose #224 > > loop "_.root" 3
00:00:34 verbose #225 > > |> Async.RunSynchronously
00:00:34 verbose #226 > >
00:00:34 verbose #227 > > let html =
00:00:34 verbose #228 > >     scanDirectory true tempFolder tempFolder
00:00:34 verbose #229 > >     |> generateHtmlForFileSystem
00:00:34 verbose #230 > >
00:00:34 verbose #231 > > html
00:00:34 verbose #232 > > |> _assertEqual expected
00:00:34 verbose #233 > >
00:00:34 verbose #234 > > disposable.Dispose ()
00:00:34 verbose #235 > >
00:00:34 verbose #236 > > html |> Microsoft.DotNet.Interactive.Formatting.Html.ToHtmlContent
00:00:34 verbose #237 > >
00:00:34 verbose #238 > > ╭─[ 216.01ms - return value ]──────────────────────────────────────────────────╮
00:00:34 verbose #239 > > │ <!DOCTYPE html>                                                              │
00:00:34 verbose #240 > > │ <html lang="en">                                                             │
00:00:34 verbose #241 > > │ <head>                                                                       │
00:00:34 verbose #242 > > │   <meta charset="UTF-8">                                                     │
00:00:34 verbose #243 > > │   <style>                                                                    │
00:00:34 verbose #244 > > │ body {                                                                       │
00:00:34 verbose #245 > > │     background-color: #222;                                                  │
00:00:34 verbose #246 > > │     color: #ccc;                                                             │
00:00:34 verbose #247 > > │ }                                                                            │
00:00:34 verbose #248 > > │ a {                                                                          │
00:00:34 verbose #249 > > │   color: #777;                                                               │
00:00:34 verbose #250 > > │   font-size: 15px;                                                           │
00:00:34 verbose #251 > > │ }                                                                            │
00:00:34 verbose #252 > > │ span {                                                                       │
00:00:34 verbose #253 > > │   font-size: 11px;                                                           │
00:00:34 verbose #254 > > │ }                                                                            │
00:00:34 verbose #255 > > │ div > div {                                                                  │
00:00:34 verbose #256 > > │   padding-left: 10px;                                                        │
00:00:34 verbose #257 > > │ }                                                                            │
00:00:34 verbose #258 > > │ details > div {                                                              │
00:00:34 verbose #259 > > │   padding-left: 19px;                                                        │
00:00:34 verbose #260 > > │ }                                                                            │
00:00:34 verbose #261 > > │   </style>                                                                   │
00:00:34 verbose #262 > > │ </head>                                                                      │
00:00:34 verbose #263 > > │ <body>                                                                       │
00:00:34 verbose #264 > > │   <div><details open="true"><summary>&#128194; <a                            │
00:00:34 verbose #265 > > │ href="_.root">_.root</a><span> (10.00 B)</span></summary><div><details       │
00:00:34 verbose #266 > > │ open="true"><summary>&#128194; <a href="_.root/3">3</a><span> (6.00          │
00:00:34 verbose #267 > > │ B)</span></summary><div><details open="true"><summary>&#128194; <a           │
00:00:34 verbose #268 > > │ href="_.root/3/2">2</a><span> (3.00 B)</span></summary><div><details         │
00:00:34 verbose #269 > > │ open="true"><summary>&#128194; <a href="_.root/3/2/1">1</a><span> (1.00      │
00:00:34 verbose #270 > > │ B)</span></summary><div><div>&#128196; <a                                    │
00:00:34 verbose #271 > > │ href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00                        │
00:00:34 verbose #272 > > │ B)</span></div></div></details><div>&#128196; <a                             │
00:00:34 verbose #273 > > │ href="_.root/3/2/file.txt">file.txt</a><span> (2.00                          │
00:00:34 verbose #274 > > │ B)</span></div></div></details><div>&#128196; <a                             │
00:00:34 verbose #275 > > │ href="_.root/3/file.txt">file.txt</a><span> (3.00                            │
00:00:34 verbose #276 > > │ B)</span></div></div></details><div>&#128196; <a                             │
00:00:34 verbose #277 > > │ href="_.root/file.txt">file.txt</a><span> (4.00                              │
00:00:34 verbose #278 > > │ B)</span></div></div></details></div>                                        │
00:00:34 verbose #279 > > │ </body>                                                                      │
00:00:34 verbose #280 > > │ </html>                                                                      │
00:00:34 verbose #281 > > │                                                                              │
00:00:34 verbose #282 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #283 > >
00:00:34 verbose #284 > > ╭─[ 223.94ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 verbose #285 > > │ "<!DOCTYPE html>                                                             │
00:00:34 verbose #286 > > │ <html lang="en">                                                             │
00:00:34 verbose #287 > > │ <head>                                                                       │
00:00:34 verbose #288 > > │   <meta charset="UTF-8">                                                     │
00:00:34 verbose #289 > > │   <style>                                                                    │
00:00:34 verbose #290 > > │ body {                                                                       │
00:00:34 verbose #291 > > │     background-color: #222;                                                  │
00:00:34 verbose #292 > > │     color: #ccc;                                                             │
00:00:34 verbose #293 > > │ }                                                                            │
00:00:34 verbose #294 > > │ a {                                                                          │
00:00:34 verbose #295 > > │   color: #777;                                                               │
00:00:34 verbose #296 > > │   font-size: 15px;                                                           │
00:00:34 verbose #297 > > │ }                                                                            │
00:00:34 verbose #298 > > │ span {                                                                       │
00:00:34 verbose #299 > > │   font-size: 11px;                                                           │
00:00:34 verbose #300 > > │ }                                                                            │
00:00:34 verbose #301 > > │ div > div {                                                                  │
00:00:34 verbose #302 > > │   padding-left: 10px;                                                        │
00:00:34 verbose #303 > > │ }                                                                            │
00:00:34 verbose #304 > > │ details > div {                                                              │
00:00:34 verbose #305 > > │   padding-left: 19px;                                                        │
00:00:34 verbose #306 > > │ }                                                                            │
00:00:34 verbose #307 > > │   </style>                                                                   │
00:00:34 verbose #308 > > │ </head>                                                                      │
00:00:34 verbose #309 > > │ <body>                                                                       │
00:00:34 verbose #310 > > │   <div><details open="true"><summary>&#128194; <a                            │
00:00:34 verbose #311 > > │ href="_.root">_.root</a><span> (10.00 B)</span></summary><div><details       │
00:00:34 verbose #312 > > │ open="true"><summary>&#128194; <a href="_.root/3">3</a><span> (6.00          │
00:00:34 verbose #313 > > │ B)</span></summary><div><details open="true"><summary>&#128194; <a           │
00:00:34 verbose #314 > > │ href="_.root/3/2">2</a><span> (3.00 B)</span></summary><div><details         │
00:00:34 verbose #315 > > │ open="true"><summary>&#128194; <a href="_.root/3/2/1">1</a><span> (1.00      │
00:00:34 verbose #316 > > │ B)</span></summary><div><div>&#128196; <a                                    │
00:00:34 verbose #317 > > │ href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00                        │
00:00:34 verbose #318 > > │ B)</span></div></div></details><div>&#128196; <a                             │
00:00:34 verbose #319 > > │ href="_.root/3/2/file.txt">file.txt</a><span> (2.00                          │
00:00:34 verbose #320 > > │ B)</span></div></div></details><div>&#128196; <a                             │
00:00:34 verbose #321 > > │ href="_.root/3/file.txt">file.txt</a><span> (3.00                            │
00:00:34 verbose #322 > > │ B)</span></div></div></details><div>&#128196; <a                             │
00:00:34 verbose #323 > > │ href="_.root/file.txt">file.txt</a><span> (4.00                              │
00:00:34 verbose #324 > > │ B)</span></div></div></details></div>                                        │
00:00:34 verbose #325 > > │ </body>                                                                      │
00:00:34 verbose #326 > > │ </html>                                                                      │
00:00:34 verbose #327 > > │ "                                                                            │
00:00:34 verbose #328 > > │                                                                              │
00:00:34 verbose #329 > > │                                                                              │
00:00:34 verbose #330 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #331 > >
00:00:34 verbose #332 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #333 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #334 > > │ ## Arguments                                                                 │
00:00:34 verbose #335 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #336 > >
00:00:34 verbose #337 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #338 > > [[<RequireQualifiedAccess>]]
00:00:34 verbose #339 > > type Arguments =
00:00:34 verbose #340 > >     | [[<Argu.ArguAttributes.ExactlyOnce>]] Dir of string
00:00:34 verbose #341 > >     | [[<Argu.ArguAttributes.ExactlyOnce>]] Html of string
00:00:34 verbose #342 > >
00:00:34 verbose #343 > >     interface Argu.IArgParserTemplate with
00:00:34 verbose #344 > >         member s.Usage =
00:00:34 verbose #345 > >             match s with
00:00:34 verbose #346 > >             | Dir _ -> nameof Dir
00:00:34 verbose #347 > >             | Html _ -> nameof Html
00:00:34 verbose #348 > >
00:00:34 verbose #349 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #350 > > //// test
00:00:34 verbose #351 > >
00:00:34 verbose #352 > > Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
00:00:34 verbose #353 > >
00:00:34 verbose #354 > > ╭─[ 113.26ms - return value ]──────────────────────────────────────────────────╮
00:00:34 verbose #355 > > │ "USAGE: dotnet-repl [--help] --dir <string> --html <string>                  │
00:00:34 verbose #356 > > │                                                                              │
00:00:34 verbose #357 > > │ OPTIONS:                                                                     │
00:00:34 verbose #358 > > │                                                                              │
00:00:34 verbose #359 > > │     --dir <string>        Dir                                                │
00:00:34 verbose #360 > > │     --html <string>       Html                                               │
00:00:34 verbose #361 > > │     --help                display this list of options.                      │
00:00:34 verbose #362 > > │ "                                                                            │
00:00:34 verbose #363 > > │                                                                              │
00:00:34 verbose #364 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #365 > >
00:00:34 verbose #366 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #367 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #368 > > │ ## main                                                                      │
00:00:34 verbose #369 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #370 > >
00:00:34 verbose #371 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #372 > > let main args =
00:00:34 verbose #373 > >     let argsMap = args |> Runtime.parseArgsMap<Arguments>
00:00:34 verbose #374 > >
00:00:34 verbose #375 > >     let dir =
00:00:34 verbose #376 > >         match argsMap.[[nameof Arguments.Dir]] with
00:00:34 verbose #377 > >         | [[ Arguments.Dir dir ]] -> Some dir
00:00:34 verbose #378 > >         | _ -> None
00:00:34 verbose #379 > >         |> Option.get
00:00:34 verbose #380 > >
00:00:34 verbose #381 > >     let htmlPath =
00:00:34 verbose #382 > >         match argsMap.[[nameof Arguments.Html]] with
00:00:34 verbose #383 > >         | [[ Arguments.Html html ]] -> Some html
00:00:34 verbose #384 > >         | _ -> None
00:00:34 verbose #385 > >         |> Option.get
00:00:34 verbose #386 > >
00:00:34 verbose #387 > >     let fileSystem = scanDirectory true dir dir
00:00:34 verbose #388 > >     let html = generateHtmlForFileSystem fileSystem
00:00:34 verbose #389 > >
00:00:34 verbose #390 > >     html |> SpiralFileSystem.write_all_text_async htmlPath
00:00:34 verbose #391 > >     |> Async.runWithTimeout 30000
00:00:34 verbose #392 > >     |> function
00:00:34 verbose #393 > >         | Some () -> 0
00:00:34 verbose #394 > >         | None -> 1
00:00:34 verbose #395 > >
00:00:34 verbose #396 > > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #397 > > //// test
00:00:34 verbose #398 > >
00:00:34 verbose #399 > > let args =
00:00:34 verbose #400 > >     System.Environment.GetEnvironmentVariable "ARGS"
00:00:34 verbose #401 > >     |> SpiralRuntime.split_args
00:00:34 verbose #402 > >     |> Result.toArray
00:00:34 verbose #403 > >     |> Array.collect id
00:00:34 verbose #404 > >
00:00:34 verbose #405 > > match args with
00:00:34 verbose #406 > > | [[||]] -> 0
00:00:34 verbose #407 > > | args -> if main args = 0 then 0 else failwith "main failed"
00:00:34 verbose #408 > >
00:00:34 verbose #409 > > ╭─[ 106.74ms - return value ]──────────────────────────────────────────────────╮
00:00:34 verbose #410 > > │ <div class="dni-plaintext"><pre>0                                            │
00:00:34 verbose #411 > > │ </pre></div><style>                                                          │
00:00:34 verbose #412 > > │ .dni-code-hint {                                                             │
00:00:34 verbose #413 > > │     font-style: italic;                                                      │
00:00:34 verbose #414 > > │     overflow: hidden;                                                        │
00:00:34 verbose #415 > > │     white-space: nowrap;                                                     │
00:00:34 verbose #416 > > │ }                                                                            │
00:00:34 verbose #417 > > │ .dni-treeview {                                                              │
00:00:34 verbose #418 > > │     white-space: nowrap;                                                     │
00:00:34 verbose #419 > > │ }                                                                            │
00:00:34 verbose #420 > > │ .dni-treeview td {                                                           │
00:00:34 verbose #421 > > │     vertical-align: top;                                                     │
00:00:34 verbose #422 > > │     text-align: start;                                                       │
00:00:34 verbose #423 > > │ }                                                                            │
00:00:34 verbose #424 > > │ details.dni-treeview {                                                       │
00:00:34 verbose #425 > > │     padding-left: 1em;                                                       │
00:00:34 verbose #426 > > │ }                                                                            │
00:00:34 verbose #427 > > │ table td {                                                                   │
00:00:34 verbose #428 > > │     text-align: start;                                                       │
00:00:34 verbose #429 > > │ }                                                                            │
00:00:34 verbose #430 > > │ table tr {                                                                   │
00:00:34 verbose #431 > > │     vertical-align: top;                                                     │
00:00:34 verbose #432 > > │     margin: 0em 0px;                                                         │
00:00:34 verbose #433 > > │ }                                                                            │
00:00:34 verbose #434 > > │ table tr td pre                                                              │
00:00:34 verbose #435 > > │ {                                                                            │
00:00:34 verbose #436 > > │     vertical-align: top !important;                                          │
00:00:34 verbose #437 > > │     margin: 0em 0px !important;                                              │
00:00:34 verbose #438 > > │ }                                                                            │
00:00:34 verbose #439 > > │ table th {                                                                   │
00:00:34 verbose #440 > > │     text-align: start;                                                       │
00:00:34 verbose #441 > > │ }                                                                            │
00:00:34 verbose #442 > > │ </style>                                                                     │
00:00:34 verbose #443 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #444 > 00:00:32 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 19755 }
00:00:35 verbose #445 > 00:00:32   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:00:35 verbose #446 >     "nbconvert",
00:00:35 verbose #447 >     "c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib.ipynb",
00:00:35 verbose #448 >     "--to",
00:00:35 verbose #449 >     "html",
00:00:35 verbose #450 >     "--HTMLExporter.theme=dark",
00:00:35 verbose #451 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:37 verbose #452 > 00:00:35 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib.ipynb to html
00:00:37 verbose #453 > 00:00:35 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:37 verbose #454 > 00:00:35 verbose #7 !   validate(nb)
00:00:39 verbose #455 > 00:00:36 verbose #8 ! [NbConvertApp] Writing 309931 bytes to c:\home\git\polyglot\apps\dir-tree-html\DirTreeHtml.dib.html
00:00:39 verbose #456 > 00:00:36 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 669 }
00:00:39 verbose #457 > 00:00:36   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 669 }
00:00:39 verbose #458 > 00:00:36   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:00:39 verbose #459 >     "-c",
00:00:39 verbose #460 >     "$counter = 1; $path = 'c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:00:39 verbose #461 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/dir-tree-html/DirTreeHtml.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:40 verbose #462 > 00:00:38 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:00:40 verbose #463 > 00:00:38   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:00:41 verbose #464 > 00:00:38   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 20483 }
00:00:41   debug #465 runtime.execute_with_options_async / { exit_code = 0; output_length = 24106 }
00:00:41   debug #4 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path DirTreeHtml.dib
00:00:41 verbose #7 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:41 verbose #8 async.run_with_timeout_async / { timeout = 100 }
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("&$0")>]
#endif
type Ref<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("mut $0")>]
#endif
type Mut<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Vec<$0>")>]
#endif
type Vec<'T> = class end
module TraceState = let mutable trace_state = None
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::env::VarError")>]
#endif
type std_env_VarError = class end
type IOsEnviron = abstract environ: x: unit -> obj
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("str")>]
#endif
type Str = class end
type [<Struct>] US0 =
    | US0_0
    | US0_1
    | US0_2
    | US0_3
    | US0_4
and Mut0 = {mutable l0 : int64}
and Mut1 = {mutable l0 : (string -> unit)}
and Mut2 = {mutable l0 : bool}
and Mut3 = {mutable l0 : string}
and Mut4 = {mutable l0 : US0}
and [<Struct>] US1 =
    | US1_0 of f0_0 : string
    | US1_1
and [<Struct>] US2 =
    | US2_0 of f0_0 : US0
    | US2_1
and [<Struct>] US3 =
    | US3_0 of f0_0 : int64
    | US3_1
and [<Struct>] US4 =
    | US4_0 of f0_0 : bool
    | US4_1
and [<Struct>] US5 =
    | US5_0 of f0_0 : bool
    | US5_1 of f1_0 : exn
and [<Struct>] US6 =
    | US6_0 of f0_0 : bool
    | US6_1 of f1_0 : exn
and [<Struct>] US7 =
    | US7_0 of f0_0 : int32
    | US7_1
let rec method1 () : string =
    let v0 : string = "TRACE_LEVEL"
    v0
and method3 () : string =
    let v0 : string = ""
    v0
and closure1 (v0 : US1 option ref) (v1 : US1 option) : US1 option ref =
    v0.Value <- v1 
    v0
and closure2 (v0 : string option, v1 : (US1 option -> US1 option ref)) () : unit =
    match v0 with
    | Some x -> (
    (fun () ->
    (fun () ->
    let v2 : string = x
    let v3 : US1 = US1_0(v2)
    v3 
    )
    |> fun x -> x () |> Some
    ) () ) | None -> None
    |> v1 |> ignore
    ()
and method2 (v0 : string) : string =
    let v1 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v2 : string = "std::env::var(&*$0)"
    let v3 : Result<std_string_String, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr v0 v2 
    let v4 : string = "true; let _result_map_ = $0.map(|x| { //"
    let v5 : bool = Fable.Core.RustInterop.emitRustExpr v3 v4 
    let v6 : string = "x"
    let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v6 
    let v8 : string = "fable_library_rust::String_::fromString($0)"
    let v9 : string = Fable.Core.RustInterop.emitRustExpr v7 v8 
    let v10 : string = "true; $0 })"
    let v11 : bool = Fable.Core.RustInterop.emitRustExpr v9 v10 
    let v12 : string = "_result_map_"
    let v13 : Result<string, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr () v12 
    let v14 : string = method3()
    let v15 : string = "$0.unwrap_or($1)"
    let v16 : string = Fable.Core.RustInterop.emitRustExpr struct (v13, v14) v15 
    let _v1 = v16 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v17 : string = "std::env::var(&*$0)"
    let v18 : Result<std_string_String, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr v0 v17 
    let v19 : string = "true; let _result_map_ = $0.map(|x| { //"
    let v20 : bool = Fable.Core.RustInterop.emitRustExpr v18 v19 
    let v21 : string = "x"
    let v22 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v21 
    let v23 : string = "fable_library_rust::String_::fromString($0)"
    let v24 : string = Fable.Core.RustInterop.emitRustExpr v22 v23 
    let v25 : string = "true; $0 })"
    let v26 : bool = Fable.Core.RustInterop.emitRustExpr v24 v25 
    let v27 : string = "_result_map_"
    let v28 : Result<string, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr () v27 
    let v29 : string = method3()
    let v30 : string = "$0.unwrap_or($1)"
    let v31 : string = Fable.Core.RustInterop.emitRustExpr struct (v28, v29) v30 
    let _v1 = v31 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v32 : string = "std::env::var(&*$0)"
    let v33 : Result<std_string_String, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr v0 v32 
    let v34 : string = "true; let _result_map_ = $0.map(|x| { //"
    let v35 : bool = Fable.Core.RustInterop.emitRustExpr v33 v34 
    let v36 : string = "x"
    let v37 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v36 
    let v38 : string = "fable_library_rust::String_::fromString($0)"
    let v39 : string = Fable.Core.RustInterop.emitRustExpr v37 v38 
    let v40 : string = "true; $0 })"
    let v41 : bool = Fable.Core.RustInterop.emitRustExpr v39 v40 
    let v42 : string = "_result_map_"
    let v43 : Result<string, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr () v42 
    let v44 : string = method3()
    let v45 : string = "$0.unwrap_or($1)"
    let v46 : string = Fable.Core.RustInterop.emitRustExpr struct (v43, v44) v45 
    let _v1 = v46 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v47 : string = "process.env[$0] ?? \"\""
    let v48 : string = Fable.Core.JsInterop.emitJsExpr v0 v47 
    let _v1 = v48 
    #endif
#if FABLE_COMPILER_PYTHON
    let v49 : string = "os"
    let v50 : IOsEnviron = Fable.Core.PyInterop.importAll v49 
    let v51 : string = "v50.environ"
    let v52 : obj = Fable.Core.PyInterop.emitPyExpr () v51 
    let v55 : string = "v52.get($0)"
    let v56 : string = Fable.Core.PyInterop.emitPyExpr v0 v55 
    let mutable _v56 = None
    #if !FABLE_COMPILER && !WASM && !CONTRACT
    let v59 : (string -> string option) = Option.ofObj
    let v60 : string option = v59 v56
    v60 
    #else
    Some v56 
    #endif
    |> fun x -> _v56 <- Some x
    let v61 : string option = match _v56 with Some x -> x | None -> failwith "optionm'.of_obj / _v56=None"
    let v64 : US1 option = None
    let _v64 = ref v64 
    let v65 : US1 option ref = _v64 
    let v66 : (US1 option -> US1 option ref) = closure1(v65)
    let v67 : unit = ()
    let v68 : (unit -> unit) = closure2(v61, v66)
    let v69 : unit = (fun () -> v68 (); v67) ()
    let v72 : US1 option = _v64.Value 
    let v83 : US1 = US1_1
    let v84 : US1 = v72 |> Option.defaultValue v83 
    let v91 : string =
        match v84 with
        | US1_1 -> (* None *)
            let v89 : string = ""
            v89
        | US1_0(v88) -> (* Some *)
            v88
    let _v1 = v91 
    #endif
#else
    let v92 : (string -> string) = System.Environment.GetEnvironmentVariable
    let v93 : string = v92 v0
    let mutable _v93 = None
    #if !FABLE_COMPILER && !WASM && !CONTRACT
    let v94 : (string -> string option) = Option.ofObj
    let v95 : string option = v94 v93
    v95 
    #else
    Some v93 
    #endif
    |> fun x -> _v93 <- Some x
    let v96 : string option = match _v93 with Some x -> x | None -> failwith "optionm'.of_obj / _v93=None"
    let v99 : US1 option = None
    let _v99 = ref v99 
    let v100 : US1 option ref = _v99 
    let v101 : (US1 option -> US1 option ref) = closure1(v100)
    let v102 : unit = ()
    let v103 : (unit -> unit) = closure2(v96, v101)
    let v104 : unit = (fun () -> v103 (); v102) ()
    let v107 : US1 option = _v99.Value 
    let v118 : US1 = US1_1
    let v119 : US1 = v107 |> Option.defaultValue v118 
    let v126 : string =
        match v119 with
        | US1_1 -> (* None *)
            let v124 : string = ""
            v124
        | US1_0(v123) -> (* Some *)
            v123
    let _v1 = v126 
    #endif
    let v127 : string = _v1 
    v127
and method4 () : string =
    let v0 : string = "AUTOMATION"
    v0
and closure3 () (v0 : string) : unit =
    ()
and method0 (v0 : US0) : struct (Mut0 * Mut1 * Mut2 * Mut3 * Mut4 * int64 option) =
    let v1 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v2 : string = method1()
    let v3 : string = method2(v2)
    
    
    
    
    
    let v4 : bool = "Verbose" = v3
    let v8 : US2 =
        if v4 then
            let v5 : US0 = US0_0
            US2_0(v5)
        else
            US2_1
    let v49 : US2 =
        match v8 with
        | US2_1 -> (* None *)
            let v11 : bool = "Debug" = v3
            let v15 : US2 =
                if v11 then
                    let v12 : US0 = US0_1
                    US2_0(v12)
                else
                    US2_1
            match v15 with
            | US2_1 -> (* None *)
                let v18 : bool = "Info" = v3
                let v22 : US2 =
                    if v18 then
                        let v19 : US0 = US0_2
                        US2_0(v19)
                    else
                        US2_1
                match v22 with
                | US2_1 -> (* None *)
                    let v25 : bool = "Warning" = v3
                    let v29 : US2 =
                        if v25 then
                            let v26 : US0 = US0_3
                            US2_0(v26)
                        else
                            US2_1
                    match v29 with
                    | US2_1 -> (* None *)
                        let v32 : bool = "Critical" = v3
                        let v36 : US2 =
                            if v32 then
                                let v33 : US0 = US0_4
                                US2_0(v33)
                            else
                                US2_1
                        match v36 with
                        | US2_1 -> (* None *)
                            US2_1
                        | US2_0(v37) -> (* Some *)
                            US2_0(v37)
                    | US2_0(v30) -> (* Some *)
                        US2_0(v30)
                | US2_0(v23) -> (* Some *)
                    US2_0(v23)
            | US2_0(v16) -> (* Some *)
                US2_0(v16)
        | US2_0(v9) -> (* Some *)
            US2_0(v9)
    let v50 : string = method4()
    let v51 : string = method2(v50)
    let v52 : bool = v51 = "True"
    let v62 : US3 =
        if v52 then
            let v53 : System.DateTime = System.DateTime.Now
            let v56 : (System.DateTime -> int64) = _.Ticks
            let v57 : int64 = v56 v53
            US3_0(v57)
        else
            US3_1
    let _v1 = struct (v49, v62) 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v63 : US2 = US2_1
    let v64 : US3 = US3_1
    let _v1 = struct (v63, v64) 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v65 : string = "AUTOMATION"
    let v66 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v67 : string = "env!(\"" + v65 + "\")"
    let v68 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v67 
    let v69 : string = "String::from($0)"
    let v70 : std_string_String = Fable.Core.RustInterop.emitRustExpr v68 v69 
    let v71 : string = "fable_library_rust::String_::fromString($0)"
    let v72 : string = Fable.Core.RustInterop.emitRustExpr v70 v71 
    let _v66 = v72 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v73 : string = "env!(\"" + v65 + "\")"
    let v74 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v73 
    let v75 : string = "String::from($0)"
    let v76 : std_string_String = Fable.Core.RustInterop.emitRustExpr v74 v75 
    let v77 : string = "fable_library_rust::String_::fromString($0)"
    let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 
    let _v66 = v78 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v79 : string = "env!(\"" + v65 + "\")"
    let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 
    let v81 : string = "String::from($0)"
    let v82 : std_string_String = Fable.Core.RustInterop.emitRustExpr v80 v81 
    let v83 : string = "fable_library_rust::String_::fromString($0)"
    let v84 : string = Fable.Core.RustInterop.emitRustExpr v82 v83 
    let _v66 = v84 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v85 : string = null |> unbox<string>
    let _v66 = v85 
    #endif
#if FABLE_COMPILER_PYTHON
    let v88 : string = null |> unbox<string>
    let _v66 = v88 
    #endif
#else
    let v91 : string = null |> unbox<string>
    let _v66 = v91 
    #endif
    let v94 : string = _v66 
    let v99 : string = "True"
    let v100 : bool = v94 <> v99 
    let v109 : US3 =
        if v100 then
            US3_1
        else
            let v104 : string = $"near_sdk::env::block_timestamp()"
            let v105 : uint64 = Fable.Core.RustInterop.emitRustExpr () v104 
            let v106 : (uint64 -> int64) = int64
            let v107 : int64 = v106 v105
            US3_0(v107)
    let v110 : US2 = US2_1
    let _v1 = struct (v110, v109) 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v111 : string = method1()
    let v112 : string = method2(v111)
    
    
    
    
    
    let v113 : bool = "Verbose" = v112
    let v117 : US2 =
        if v113 then
            let v114 : US0 = US0_0
            US2_0(v114)
        else
            US2_1
    let v158 : US2 =
        match v117 with
        | US2_1 -> (* None *)
            let v120 : bool = "Debug" = v112
            let v124 : US2 =
                if v120 then
                    let v121 : US0 = US0_1
                    US2_0(v121)
                else
                    US2_1
            match v124 with
            | US2_1 -> (* None *)
                let v127 : bool = "Info" = v112
                let v131 : US2 =
                    if v127 then
                        let v128 : US0 = US0_2
                        US2_0(v128)
                    else
                        US2_1
                match v131 with
                | US2_1 -> (* None *)
                    let v134 : bool = "Warning" = v112
                    let v138 : US2 =
                        if v134 then
                            let v135 : US0 = US0_3
                            US2_0(v135)
                        else
                            US2_1
                    match v138 with
                    | US2_1 -> (* None *)
                        let v141 : bool = "Critical" = v112
                        let v145 : US2 =
                            if v141 then
                                let v142 : US0 = US0_4
                                US2_0(v142)
                            else
                                US2_1
                        match v145 with
                        | US2_1 -> (* None *)
                            US2_1
                        | US2_0(v146) -> (* Some *)
                            US2_0(v146)
                    | US2_0(v139) -> (* Some *)
                        US2_0(v139)
                | US2_0(v132) -> (* Some *)
                    US2_0(v132)
            | US2_0(v125) -> (* Some *)
                US2_0(v125)
        | US2_0(v118) -> (* Some *)
            US2_0(v118)
    let v159 : string = method4()
    let v160 : string = method2(v159)
    let v161 : bool = v160 = "True"
    let v171 : US3 =
        if v161 then
            let v162 : System.DateTime = System.DateTime.Now
            let v165 : (System.DateTime -> int64) = _.Ticks
            let v166 : int64 = v165 v162
            US3_0(v166)
        else
            US3_1
    let _v1 = struct (v158, v171) 
    #endif
#if FABLE_COMPILER_PYTHON
    let v172 : string = method1()
    let v173 : string = method2(v172)
    
    
    
    
    
    let v174 : bool = "Verbose" = v173
    let v178 : US2 =
        if v174 then
            let v175 : US0 = US0_0
            US2_0(v175)
        else
            US2_1
    let v219 : US2 =
        match v178 with
        | US2_1 -> (* None *)
            let v181 : bool = "Debug" = v173
            let v185 : US2 =
                if v181 then
                    let v182 : US0 = US0_1
                    US2_0(v182)
                else
                    US2_1
            match v185 with
            | US2_1 -> (* None *)
                let v188 : bool = "Info" = v173
                let v192 : US2 =
                    if v188 then
                        let v189 : US0 = US0_2
                        US2_0(v189)
                    else
                        US2_1
                match v192 with
                | US2_1 -> (* None *)
                    let v195 : bool = "Warning" = v173
                    let v199 : US2 =
                        if v195 then
                            let v196 : US0 = US0_3
                            US2_0(v196)
                        else
                            US2_1
                    match v199 with
                    | US2_1 -> (* None *)
                        let v202 : bool = "Critical" = v173
                        let v206 : US2 =
                            if v202 then
                                let v203 : US0 = US0_4
                                US2_0(v203)
                            else
                                US2_1
                        match v206 with
                        | US2_1 -> (* None *)
                            US2_1
                        | US2_0(v207) -> (* Some *)
                            US2_0(v207)
                    | US2_0(v200) -> (* Some *)
                        US2_0(v200)
                | US2_0(v193) -> (* Some *)
                    US2_0(v193)
            | US2_0(v186) -> (* Some *)
                US2_0(v186)
        | US2_0(v179) -> (* Some *)
            US2_0(v179)
    let v220 : string = method4()
    let v221 : string = method2(v220)
    let v222 : bool = v221 = "True"
    let v232 : US3 =
        if v222 then
            let v223 : System.DateTime = System.DateTime.Now
            let v226 : (System.DateTime -> int64) = _.Ticks
            let v227 : int64 = v226 v223
            US3_0(v227)
        else
            US3_1
    let _v1 = struct (v219, v232) 
    #endif
#else
    let v233 : string = method1()
    let v234 : string = method2(v233)
    
    
    
    
    
    let v235 : bool = "Verbose" = v234
    let v239 : US2 =
        if v235 then
            let v236 : US0 = US0_0
            US2_0(v236)
        else
            US2_1
    let v280 : US2 =
        match v239 with
        | US2_1 -> (* None *)
            let v242 : bool = "Debug" = v234
            let v246 : US2 =
                if v242 then
                    let v243 : US0 = US0_1
                    US2_0(v243)
                else
                    US2_1
            match v246 with
            | US2_1 -> (* None *)
                let v249 : bool = "Info" = v234
                let v253 : US2 =
                    if v249 then
                        let v250 : US0 = US0_2
                        US2_0(v250)
                    else
                        US2_1
                match v253 with
                | US2_1 -> (* None *)
                    let v256 : bool = "Warning" = v234
                    let v260 : US2 =
                        if v256 then
                            let v257 : US0 = US0_3
                            US2_0(v257)
                        else
                            US2_1
                    match v260 with
                    | US2_1 -> (* None *)
                        let v263 : bool = "Critical" = v234
                        let v267 : US2 =
                            if v263 then
                                let v264 : US0 = US0_4
                                US2_0(v264)
                            else
                                US2_1
                        match v267 with
                        | US2_1 -> (* None *)
                            US2_1
                        | US2_0(v268) -> (* Some *)
                            US2_0(v268)
                    | US2_0(v261) -> (* Some *)
                        US2_0(v261)
                | US2_0(v254) -> (* Some *)
                    US2_0(v254)
            | US2_0(v247) -> (* Some *)
                US2_0(v247)
        | US2_0(v240) -> (* Some *)
            US2_0(v240)
    let v281 : string = method4()
    let v282 : string = method2(v281)
    let v283 : bool = v282 = "True"
    let v293 : US3 =
        if v283 then
            let v284 : System.DateTime = System.DateTime.Now
            let v287 : (System.DateTime -> int64) = _.Ticks
            let v288 : int64 = v287 v284
            US3_0(v288)
        else
            US3_1
    let _v1 = struct (v280, v293) 
    #endif
    let struct (v294 : US2, v295 : US3) = _v1 
    let v359 : Mut0 = {l0 = 0L} : Mut0
    let v360 : (string -> unit) = closure3()
    let v361 : Mut1 = {l0 = v360} : Mut1
    let v362 : Mut2 = {l0 = true} : Mut2
    let v363 : string = ""
    let v364 : Mut3 = {l0 = v363} : Mut3
    let v367 : US0 =
        match v294 with
        | US2_1 -> (* None *)
            v0
        | US2_0(v365) -> (* Some *)
            v365
    let v368 : Mut4 = {l0 = v367} : Mut4
    let v375 : int64 option =
        match v295 with
        | US3_1 -> (* None *)
            let v373 : int64 option = None
            v373
        | US3_0(v369) -> (* Some *)
            let v370 : int64 option = Some v369 
            v370
    struct (v359, v361, v362, v364, v368, v375)
and closure0 () () : unit =
    let v0 : bool = TraceState.trace_state.IsNone
    if v0 then
        let v1 : US0 = US0_0
        let struct (v2 : Mut0, v3 : Mut1, v4 : Mut2, v5 : Mut3, v6 : Mut4, v7 : int64 option) = method0(v1)
        let v8 : struct (Mut0 * Mut1 * Mut2 * Mut3 * Mut4 * int64 option) option = Some struct (v2, v3, v4, v5, v6, v7) 
        TraceState.trace_state <- v8 
        ()
and closure7 (v0 : Mut0) () : unit =
    let v1 : int64 = v0.l0
    let v2 : int64 = v1 + 1L
    v0.l0 <- v2
    ()
and closure8 (v0 : US3 option ref) (v1 : US3 option) : US3 option ref =
    v0.Value <- v1 
    v0
and closure9 (v0 : int64 option, v1 : (US3 option -> US3 option ref)) () : unit =
    match v0 with
    | Some x -> (
    (fun () ->
    (fun () ->
    let v2 : int64 = x
    let v3 : US3 = US3_0(v2)
    v3 
    )
    |> fun x -> x () |> Some
    ) () ) | None -> None
    |> v1 |> ignore
    ()
and method5 () : string =
    let v0 : string = "hh:mm:ss"
    v0
and method6 () : string =
    let v0 : string = "HH:mm:ss"
    v0
and method7 () : string =
    let v0 : string = "\u001b[0m"
    v0
and method8 () : string =
    let v0 : string = ""
    v0
and closure10 (v0 : Mut3, v1 : string) () : unit =
    let v2 : string = v0.l0
    let v3 : string = v2 + v1 
    v0.l0 <- v3
    ()
and closure12 (v0 : string) () : unit =
    let v1 : (string -> unit) = System.Console.WriteLine
    v1 v0
and closure11 () (v0 : string) : unit =
    let v1 : unit = ()
    let v2 : (unit -> unit) = closure12(v0)
    let v3 : unit = (fun () -> v2 (); v1) ()
    ()
and closure6 (v0 : int32, v1 : string) () : unit =
    let v2 : unit = ()
    let v3 : (unit -> unit) = closure0()
    let v4 : unit = (fun () -> v3 (); v2) ()
    let struct (v18 : Mut0, v19 : Mut1, v20 : Mut2, v21 : Mut3, v22 : Mut4, v23 : int64 option) = TraceState.trace_state.Value
    let v36 : unit = ()
    let v37 : unit = (fun () -> v3 (); v36) ()
    let struct (v51 : Mut0, v52 : Mut1, v53 : Mut2, v54 : Mut3, v55 : Mut4, v56 : int64 option) = TraceState.trace_state.Value
    let v69 : US0 = v55.l0
    let v70 : bool = v53.l0
    let v71 : bool = v70 = false
    let v74 : bool =
        if v71 then
            false
        else
            let v72 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v69
            let v73 : bool = 0 >= v72
            v73
    if v74 then
        let v75 : unit = ()
        let v76 : (unit -> unit) = closure7(v18)
        let v77 : unit = (fun () -> v76 (); v75) ()
        let v80 : unit = ()
        let v81 : unit = (fun () -> v3 (); v80) ()
        let struct (v95 : Mut0, v96 : Mut1, v97 : Mut2, v98 : Mut3, v99 : Mut4, v100 : int64 option) = TraceState.trace_state.Value
        let v113 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v114 : US3 option = None
        let _v114 = ref v114 
        let v115 : US3 option ref = _v114 
        let v116 : (US3 option -> US3 option ref) = closure8(v115)
        let v117 : unit = ()
        let v118 : (unit -> unit) = closure9(v100, v116)
        let v119 : unit = (fun () -> v118 (); v117) ()
        let v122 : US3 option = _v114.Value 
        let v133 : US3 = US3_1
        let v134 : US3 = v122 |> Option.defaultValue v133 
        let v174 : System.DateTime =
            match v134 with
            | US3_1 -> (* None *)
                let v170 : System.DateTime = System.DateTime.Now
                v170
            | US3_0(v138) -> (* Some *)
                let v139 : System.DateTime = System.DateTime.Now
                let v142 : (System.DateTime -> int64) = _.Ticks
                let v143 : int64 = v142 v139
                let v146 : int64 = v143 - v138
                let v147 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v148 : System.TimeSpan = v147 v146
                let v151 : (System.TimeSpan -> int32) = _.Hours
                let v152 : int32 = v151 v148
                let v155 : (System.TimeSpan -> int32) = _.Minutes
                let v156 : int32 = v155 v148
                let v159 : (System.TimeSpan -> int32) = _.Seconds
                let v160 : int32 = v159 v148
                let v163 : (System.TimeSpan -> int32) = _.Milliseconds
                let v164 : int32 = v163 v148
                let v167 : System.DateTime = System.DateTime (1, 1, 1, v152, v156, v160, v164)
                v167
        let v175 : string = method5()
        let v178 : (string -> string) = v174.ToString
        let v179 : string = v178 v175
        let _v113 = v179 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v182 : US3 option = None
        let _v182 = ref v182 
        let v183 : US3 option ref = _v182 
        let v184 : (US3 option -> US3 option ref) = closure8(v183)
        let v185 : unit = ()
        let v186 : (unit -> unit) = closure9(v100, v184)
        let v187 : unit = (fun () -> v186 (); v185) ()
        let v190 : US3 option = _v182.Value 
        let v201 : US3 = US3_1
        let v202 : US3 = v190 |> Option.defaultValue v201 
        let v242 : System.DateTime =
            match v202 with
            | US3_1 -> (* None *)
                let v238 : System.DateTime = System.DateTime.Now
                v238
            | US3_0(v206) -> (* Some *)
                let v207 : System.DateTime = System.DateTime.Now
                let v210 : (System.DateTime -> int64) = _.Ticks
                let v211 : int64 = v210 v207
                let v214 : int64 = v211 - v206
                let v215 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v216 : System.TimeSpan = v215 v214
                let v219 : (System.TimeSpan -> int32) = _.Hours
                let v220 : int32 = v219 v216
                let v223 : (System.TimeSpan -> int32) = _.Minutes
                let v224 : int32 = v223 v216
                let v227 : (System.TimeSpan -> int32) = _.Seconds
                let v228 : int32 = v227 v216
                let v231 : (System.TimeSpan -> int32) = _.Milliseconds
                let v232 : int32 = v231 v216
                let v235 : System.DateTime = System.DateTime (1, 1, 1, v220, v224, v228, v232)
                v235
        let v243 : string = method5()
        let v246 : (string -> string) = v242.ToString
        let v247 : string = v246 v243
        let _v113 = v247 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v250 : string = $"near_sdk::env::block_timestamp()"
        let v251 : uint64 = Fable.Core.RustInterop.emitRustExpr () v250 
        let v252 : US3 option = None
        let _v252 = ref v252 
        let v253 : US3 option ref = _v252 
        let v254 : (US3 option -> US3 option ref) = closure8(v253)
        let v255 : unit = ()
        let v256 : (unit -> unit) = closure9(v100, v254)
        let v257 : unit = (fun () -> v256 (); v255) ()
        let v260 : US3 option = _v252.Value 
        let v271 : US3 = US3_1
        let v272 : US3 = v260 |> Option.defaultValue v271 
        let v281 : uint64 =
            match v272 with
            | US3_1 -> (* None *)
                v251
            | US3_0(v276) -> (* Some *)
                let v277 : (int64 -> uint64) = uint64
                let v278 : uint64 = v277 v276
                let v279 : uint64 = v251 - v278
                v279
        let v282 : uint64 = v281 / 1000000000UL
        let v283 : uint64 = v282 % 60UL
        let v284 : uint64 = v282 / 60UL
        let v285 : uint64 = v284 % 60UL
        let v286 : uint64 = v282 / 3600UL
        let v287 : uint64 = v286 % 24UL
        let v288 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)"
        let v289 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v287, v285, v283) v288 
        let v290 : string = "fable_library_rust::String_::fromString($0)"
        let v291 : string = Fable.Core.RustInterop.emitRustExpr v289 v290 
        let _v113 = v291 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v292 : US3 option = None
        let _v292 = ref v292 
        let v293 : US3 option ref = _v292 
        let v294 : (US3 option -> US3 option ref) = closure8(v293)
        let v295 : unit = ()
        let v296 : (unit -> unit) = closure9(v100, v294)
        let v297 : unit = (fun () -> v296 (); v295) ()
        let v300 : US3 option = _v292.Value 
        let v311 : US3 = US3_1
        let v312 : US3 = v300 |> Option.defaultValue v311 
        let v352 : System.DateTime =
            match v312 with
            | US3_1 -> (* None *)
                let v348 : System.DateTime = System.DateTime.Now
                v348
            | US3_0(v316) -> (* Some *)
                let v317 : System.DateTime = System.DateTime.Now
                let v320 : (System.DateTime -> int64) = _.Ticks
                let v321 : int64 = v320 v317
                let v324 : int64 = v321 - v316
                let v325 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v326 : System.TimeSpan = v325 v324
                let v329 : (System.TimeSpan -> int32) = _.Hours
                let v330 : int32 = v329 v326
                let v333 : (System.TimeSpan -> int32) = _.Minutes
                let v334 : int32 = v333 v326
                let v337 : (System.TimeSpan -> int32) = _.Seconds
                let v338 : int32 = v337 v326
                let v341 : (System.TimeSpan -> int32) = _.Milliseconds
                let v342 : int32 = v341 v326
                let v345 : System.DateTime = System.DateTime (1, 1, 1, v330, v334, v338, v342)
                v345
        let v353 : string = method6()
        let v356 : (string -> string) = v352.ToString
        let v357 : string = v356 v353
        let _v113 = v357 
        #endif
#if FABLE_COMPILER_PYTHON
        let v360 : US3 option = None
        let _v360 = ref v360 
        let v361 : US3 option ref = _v360 
        let v362 : (US3 option -> US3 option ref) = closure8(v361)
        let v363 : unit = ()
        let v364 : (unit -> unit) = closure9(v100, v362)
        let v365 : unit = (fun () -> v364 (); v363) ()
        let v368 : US3 option = _v360.Value 
        let v379 : US3 = US3_1
        let v380 : US3 = v368 |> Option.defaultValue v379 
        let v420 : System.DateTime =
            match v380 with
            | US3_1 -> (* None *)
                let v416 : System.DateTime = System.DateTime.Now
                v416
            | US3_0(v384) -> (* Some *)
                let v385 : System.DateTime = System.DateTime.Now
                let v388 : (System.DateTime -> int64) = _.Ticks
                let v389 : int64 = v388 v385
                let v392 : int64 = v389 - v384
                let v393 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v394 : System.TimeSpan = v393 v392
                let v397 : (System.TimeSpan -> int32) = _.Hours
                let v398 : int32 = v397 v394
                let v401 : (System.TimeSpan -> int32) = _.Minutes
                let v402 : int32 = v401 v394
                let v405 : (System.TimeSpan -> int32) = _.Seconds
                let v406 : int32 = v405 v394
                let v409 : (System.TimeSpan -> int32) = _.Milliseconds
                let v410 : int32 = v409 v394
                let v413 : System.DateTime = System.DateTime (1, 1, 1, v398, v402, v406, v410)
                v413
        let v421 : string = method6()
        let v424 : (string -> string) = v420.ToString
        let v425 : string = v424 v421
        let _v113 = v425 
        #endif
#else
        let v428 : US3 option = None
        let _v428 = ref v428 
        let v429 : US3 option ref = _v428 
        let v430 : (US3 option -> US3 option ref) = closure8(v429)
        let v431 : unit = ()
        let v432 : (unit -> unit) = closure9(v100, v430)
        let v433 : unit = (fun () -> v432 (); v431) ()
        let v436 : US3 option = _v428.Value 
        let v447 : US3 = US3_1
        let v448 : US3 = v436 |> Option.defaultValue v447 
        let v488 : System.DateTime =
            match v448 with
            | US3_1 -> (* None *)
                let v484 : System.DateTime = System.DateTime.Now
                v484
            | US3_0(v452) -> (* Some *)
                let v453 : System.DateTime = System.DateTime.Now
                let v456 : (System.DateTime -> int64) = _.Ticks
                let v457 : int64 = v456 v453
                let v460 : int64 = v457 - v452
                let v461 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v462 : System.TimeSpan = v461 v460
                let v465 : (System.TimeSpan -> int32) = _.Hours
                let v466 : int32 = v465 v462
                let v469 : (System.TimeSpan -> int32) = _.Minutes
                let v470 : int32 = v469 v462
                let v473 : (System.TimeSpan -> int32) = _.Seconds
                let v474 : int32 = v473 v462
                let v477 : (System.TimeSpan -> int32) = _.Milliseconds
                let v478 : int32 = v477 v462
                let v481 : System.DateTime = System.DateTime (1, 1, 1, v466, v470, v474, v478)
                v481
        let v489 : string = method6()
        let v492 : (string -> string) = v488.ToString
        let v493 : string = v492 v489
        let _v113 = v493 
        #endif
        let v496 : string = _v113 
        
        
        
        
        
        let v566 : string = "Verbose"
        let v567 : (unit -> string) = v566.ToLower
        let v568 : string = v567 ()
        let v571 : string = v568.PadLeft (7, ' ')
        let v585 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v586 : string = "inline_colorization::color_bright_black"
        let v587 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v586 
        let v588 : string = "&*$0"
        let v589 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v571 v588 
        let v590 : string = "inline_colorization::color_reset"
        let v591 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v590 
        let v592 : string = "\"{v587}{v589}{v591}\""
        let v593 : string = @$"format!(" + v592 + ")"
        let v594 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v593 
        let v595 : string = "fable_library_rust::String_::fromString($0)"
        let v596 : string = Fable.Core.RustInterop.emitRustExpr v594 v595 
        let _v585 = v596 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v597 : string = "inline_colorization::color_bright_black"
        let v598 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v597 
        let v599 : string = "&*$0"
        let v600 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v571 v599 
        let v601 : string = "inline_colorization::color_reset"
        let v602 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v601 
        let v603 : string = "\"{v598}{v600}{v602}\""
        let v604 : string = @$"format!(" + v603 + ")"
        let v605 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v604 
        let v606 : string = "fable_library_rust::String_::fromString($0)"
        let v607 : string = Fable.Core.RustInterop.emitRustExpr v605 v606 
        let _v585 = v607 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v608 : string = "inline_colorization::color_bright_black"
        let v609 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v608 
        let v610 : string = "&*$0"
        let v611 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v571 v610 
        let v612 : string = "inline_colorization::color_reset"
        let v613 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v612 
        let v614 : string = "\"{v609}{v611}{v613}\""
        let v615 : string = @$"format!(" + v614 + ")"
        let v616 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v615 
        let v617 : string = "fable_library_rust::String_::fromString($0)"
        let v618 : string = Fable.Core.RustInterop.emitRustExpr v616 v617 
        let _v585 = v618 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v619 : string = "\u001b[90m"
        let v620 : string = method7()
        let v621 : string = v619 + v571 
        let v622 : string = v621 + v620 
        let _v585 = v622 
        #endif
#if FABLE_COMPILER_PYTHON
        let v623 : string = "\u001b[90m"
        let v624 : string = method7()
        let v625 : string = v623 + v571 
        let v626 : string = v625 + v624 
        let _v585 = v626 
        #endif
#else
        let v627 : string = "\u001b[90m"
        let v628 : string = method7()
        let v629 : string = v627 + v571 
        let v630 : string = v629 + v628 
        let _v585 = v630 
        #endif
        let v631 : string = _v585 
        let v637 : int64 = v95.l0
        let v638 : string = method8()
        let v639 : Mut3 = {l0 = v638} : Mut3
        let v640 : string = "{ "
        let v641 : string = $"{v640}"
        let v644 : unit = ()
        let v645 : (unit -> unit) = closure10(v639, v641)
        let v646 : unit = (fun () -> v645 (); v644) ()
        let v649 : string = "port"
        let v650 : string = $"{v649}"
        let v653 : unit = ()
        let v654 : (unit -> unit) = closure10(v639, v650)
        let v655 : unit = (fun () -> v654 (); v653) ()
        let v658 : string = " = "
        let v659 : string = $"{v658}"
        let v662 : unit = ()
        let v663 : (unit -> unit) = closure10(v639, v659)
        let v664 : unit = (fun () -> v663 (); v662) ()
        let v667 : string = $"{v0}"
        let v670 : unit = ()
        let v671 : (unit -> unit) = closure10(v639, v667)
        let v672 : unit = (fun () -> v671 (); v670) ()
        let v675 : string = "; "
        let v676 : string = $"{v675}"
        let v679 : unit = ()
        let v680 : (unit -> unit) = closure10(v639, v676)
        let v681 : unit = (fun () -> v680 (); v679) ()
        let v684 : string = "ex"
        let v685 : string = $"{v684}"
        let v688 : unit = ()
        let v689 : (unit -> unit) = closure10(v639, v685)
        let v690 : unit = (fun () -> v689 (); v688) ()
        let v693 : string = $"{v658}"
        let v696 : unit = ()
        let v697 : (unit -> unit) = closure10(v639, v693)
        let v698 : unit = (fun () -> v697 (); v696) ()
        let v701 : string = $"{v1}"
        let v704 : unit = ()
        let v705 : (unit -> unit) = closure10(v639, v701)
        let v706 : unit = (fun () -> v705 (); v704) ()
        let v709 : string = " }"
        let v710 : string = $"{v709}"
        let v713 : unit = ()
        let v714 : (unit -> unit) = closure10(v639, v710)
        let v715 : unit = (fun () -> v714 (); v713) ()
        let v718 : string = v639.l0
        let v719 : string = $"networking.test_port_open"
        let v720 : bool = v719 = ""
        let v777 : string =
            if v720 then
                let v721 : string = ""
                v721
            else
                let v722 : string = $"{v496} {v631} #{v637} %s{v719} / {v718}"
                let v725 : char list = []
                let v726 : (char list -> (char [])) = List.toArray
                let v727 : (char []) = v726 v725
                let v730 : string = v722.TrimStart v727 
                let v748 : char list = []
                let v749 : char list = '/' :: v748 
                let v752 : char list = ' ' :: v749 
                let v755 : (char list -> (char [])) = List.toArray
                let v756 : (char []) = v755 v752
                let v759 : string = v730.TrimEnd v756 
                v759
        let v778 : (string -> unit) = closure11()
        let v779 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v780 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v777 v780 
        let _v779 = () 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v781 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v777 v781 
        let _v779 = () 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v782 : string = v21.l0
        let v783 : bool = v782 = ""
        let v791 : string =
            if v783 then
                v777
            else
                let v784 : bool = v777 = ""
                if v784 then
                    let v785 : string = v21.l0
                    v785
                else
                    let v786 : string = v21.l0
                    let v787 : string = "\n"
                    let v788 : string = v786 + v787 
                    let v789 : string = v788 + v777 
                    v789
        let v792 : string = "&*$0"
        let v793 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v791 v792 
        let v794 : string = $"$0.chars()"
        let v795 : Mut<_> = Fable.Core.RustInterop.emitRustExpr v793 v794 
        let v796 : string = "v795"
        let v797 : _ = Fable.Core.RustInterop.emitRustExpr () v796 
        let v798 : string = "v797.collect::<Vec<_>>()"
        let v799 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v798 
        let v800 : string = "$0.chunks(15000).map(|x| x.into_iter().map(|x| x.clone()).collect::<Vec<_>>()).collect::<Vec<_>>()"
        let v801 : Vec<Vec<char>> = Fable.Core.RustInterop.emitRustExpr v799 v800 
        let v802 : string = "true; let _vec_map : Vec<_> = $0.into_iter().map(|x| { //"
        let v803 : bool = Fable.Core.RustInterop.emitRustExpr v801 v802 
        let v804 : string = "x"
        let v805 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v804 
        let v806 : string = "String::from_iter($0)"
        let v807 : std_string_String = Fable.Core.RustInterop.emitRustExpr v805 v806 
        let v808 : string = "true; $0 }).collect::<Vec<_>>()"
        let v809 : bool = Fable.Core.RustInterop.emitRustExpr v807 v808 
        let v810 : string = "_vec_map"
        let v811 : Vec<std_string_String> = Fable.Core.RustInterop.emitRustExpr () v810 
        let v812 : string = "$0.len()"
        let v813 : unativeint = Fable.Core.RustInterop.emitRustExpr v811 v812 
        let v814 : (unativeint -> int32) = int32
        let v815 : int32 = v814 v813
        let v816 : string = ""
        let v817 : bool = v777 <> v816 
        let v821 : bool =
            if v817 then
                let v820 : bool = v815 <= 1
                v820
            else
                false
        if v821 then
            v21.l0 <- v791
            ()
        else
            v21.l0 <- v816
            let v822 : string = "true; $0.into_iter().for_each(|x| { //"
            let v823 : bool = Fable.Core.RustInterop.emitRustExpr v811 v822 
            let v824 : string = "x"
            let v825 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v824 
            let v826 : string = $"near_sdk::log!(\"{{}}\", $0)"
            Fable.Core.RustInterop.emitRustExpr v825 v826 
            let v827 : string = $"true;"
            let v828 : bool = Fable.Core.RustInterop.emitRustExpr () v827 
            let v829 : string = "true; }}); { //"
            let v830 : bool = Fable.Core.RustInterop.emitRustExpr () v829 
            ()
        let _v779 = () 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        v778 v777
        let _v779 = () 
        #endif
#if FABLE_COMPILER_PYTHON
        v778 v777
        let _v779 = () 
        #endif
#else
        v778 v777
        let _v779 = () 
        #endif
        _v779 
        let v831 : (string -> unit) = v19.l0
        v831 v777
and closure5 (v0 : string) (v1 : int32) : Async<bool> =
    let v2 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v3 : Async<bool> = null |> unbox<Async<bool>>
    let _v2 = v3 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v6 : Async<bool> = null |> unbox<Async<bool>>
    let _v2 = v6 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v9 : Async<bool> = null |> unbox<Async<bool>>
    let _v2 = v9 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v12 : Async<bool> = null |> unbox<Async<bool>>
    let _v2 = v12 
    #endif
#if FABLE_COMPILER_PYTHON
    let v15 : Async<bool> = null |> unbox<Async<bool>>
    let _v2 = v15 
    #endif
#else
    let v18 : Async<bool> option = None
    let mutable _v18 = v18 
    async {
    let v19 : Async<System.Threading.CancellationToken> = Async.CancellationToken
    let! v19 = v19 
    let v20 : System.Threading.CancellationToken = v19 
    let v21 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
    use v21 = v21 
    let v22 : System.Net.Sockets.TcpClient = v21 
    try
    let v23 : System.Threading.Tasks.ValueTask = v22.ConnectAsync (v0, v1, v20)
    let v24 : (unit -> System.Threading.Tasks.Task) = v23.AsTask
    let v25 : System.Threading.Tasks.Task = v24 ()
    let v26 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v27 : Async<unit> = null |> unbox<Async<unit>>
    let _v26 = v27 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v30 : Async<unit> = null |> unbox<Async<unit>>
    let _v26 = v30 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v33 : Async<unit> = null |> unbox<Async<unit>>
    let _v26 = v33 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v36 : Async<unit> = null |> unbox<Async<unit>>
    let _v26 = v36 
    #endif
#if FABLE_COMPILER_PYTHON
    let v39 : Async<unit> = null |> unbox<Async<unit>>
    let _v26 = v39 
    #endif
#else
    let v42 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
    let v43 : Async<unit> = v42 v25
    let _v26 = v43 
    #endif
    let v44 : Async<unit> = _v26 
    do! v44 
    return true 
    with ex ->
    let v49 : exn = ex
    let v50 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v51 : string = $"%A{v49}"
    let _v50 = v51 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v54 : string = $"%A{v49}"
    let _v50 = v54 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v57 : string = $"%A{v49}"
    let _v50 = v57 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v60 : string = $"%A{v49}"
    let _v50 = v60 
    #endif
#if FABLE_COMPILER_PYTHON
    let v63 : string = $"%A{v49}"
    let _v50 = v63 
    #endif
#else
    let v66 : string = $"{v49.GetType ()}: {v49.Message}"
    let _v50 = v66 
    #endif
    let v67 : string = _v50 
    let v72 : unit = ()
    let v73 : (unit -> unit) = closure6(v1, v67)
    let v74 : unit = (fun () -> v73 (); v72) ()
    return false 
    (*
    let v905 : bool = *)
    }
    |> fun x -> _v18 <- Some x
    let v906 : Async<bool> = match _v18 with Some x -> x | None -> failwith "async.new_async_unit / _v18=None"
    let _v2 = v906 
    #endif
    let v907 : Async<bool> = _v2 
    v907
and closure4 () (v0 : string) : (int32 -> Async<bool>) =
    closure5(v0)
and closure16 () (v0 : bool) : US5 =
    US5_0(v0)
and closure17 () (v0 : exn) : US5 =
    US5_1(v0)
and closure18 (v0 : int32) () : unit =
    let v1 : unit = ()
    let v2 : (unit -> unit) = closure0()
    let v3 : unit = (fun () -> v2 (); v1) ()
    let struct (v17 : Mut0, v18 : Mut1, v19 : Mut2, v20 : Mut3, v21 : Mut4, v22 : int64 option) = TraceState.trace_state.Value
    let v35 : unit = ()
    let v36 : unit = (fun () -> v2 (); v35) ()
    let struct (v50 : Mut0, v51 : Mut1, v52 : Mut2, v53 : Mut3, v54 : Mut4, v55 : int64 option) = TraceState.trace_state.Value
    let v68 : US0 = v54.l0
    let v69 : bool = v52.l0
    let v70 : bool = v69 = false
    let v73 : bool =
        if v70 then
            false
        else
            let v71 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v68
            let v72 : bool = 0 >= v71
            v72
    if v73 then
        let v74 : unit = ()
        let v75 : (unit -> unit) = closure7(v17)
        let v76 : unit = (fun () -> v75 (); v74) ()
        let v79 : unit = ()
        let v80 : unit = (fun () -> v2 (); v79) ()
        let struct (v94 : Mut0, v95 : Mut1, v96 : Mut2, v97 : Mut3, v98 : Mut4, v99 : int64 option) = TraceState.trace_state.Value
        let v112 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v113 : US3 option = None
        let _v113 = ref v113 
        let v114 : US3 option ref = _v113 
        let v115 : (US3 option -> US3 option ref) = closure8(v114)
        let v116 : unit = ()
        let v117 : (unit -> unit) = closure9(v99, v115)
        let v118 : unit = (fun () -> v117 (); v116) ()
        let v121 : US3 option = _v113.Value 
        let v132 : US3 = US3_1
        let v133 : US3 = v121 |> Option.defaultValue v132 
        let v173 : System.DateTime =
            match v133 with
            | US3_1 -> (* None *)
                let v169 : System.DateTime = System.DateTime.Now
                v169
            | US3_0(v137) -> (* Some *)
                let v138 : System.DateTime = System.DateTime.Now
                let v141 : (System.DateTime -> int64) = _.Ticks
                let v142 : int64 = v141 v138
                let v145 : int64 = v142 - v137
                let v146 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v147 : System.TimeSpan = v146 v145
                let v150 : (System.TimeSpan -> int32) = _.Hours
                let v151 : int32 = v150 v147
                let v154 : (System.TimeSpan -> int32) = _.Minutes
                let v155 : int32 = v154 v147
                let v158 : (System.TimeSpan -> int32) = _.Seconds
                let v159 : int32 = v158 v147
                let v162 : (System.TimeSpan -> int32) = _.Milliseconds
                let v163 : int32 = v162 v147
                let v166 : System.DateTime = System.DateTime (1, 1, 1, v151, v155, v159, v163)
                v166
        let v174 : string = method5()
        let v177 : (string -> string) = v173.ToString
        let v178 : string = v177 v174
        let _v112 = v178 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v181 : US3 option = None
        let _v181 = ref v181 
        let v182 : US3 option ref = _v181 
        let v183 : (US3 option -> US3 option ref) = closure8(v182)
        let v184 : unit = ()
        let v185 : (unit -> unit) = closure9(v99, v183)
        let v186 : unit = (fun () -> v185 (); v184) ()
        let v189 : US3 option = _v181.Value 
        let v200 : US3 = US3_1
        let v201 : US3 = v189 |> Option.defaultValue v200 
        let v241 : System.DateTime =
            match v201 with
            | US3_1 -> (* None *)
                let v237 : System.DateTime = System.DateTime.Now
                v237
            | US3_0(v205) -> (* Some *)
                let v206 : System.DateTime = System.DateTime.Now
                let v209 : (System.DateTime -> int64) = _.Ticks
                let v210 : int64 = v209 v206
                let v213 : int64 = v210 - v205
                let v214 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v215 : System.TimeSpan = v214 v213
                let v218 : (System.TimeSpan -> int32) = _.Hours
                let v219 : int32 = v218 v215
                let v222 : (System.TimeSpan -> int32) = _.Minutes
                let v223 : int32 = v222 v215
                let v226 : (System.TimeSpan -> int32) = _.Seconds
                let v227 : int32 = v226 v215
                let v230 : (System.TimeSpan -> int32) = _.Milliseconds
                let v231 : int32 = v230 v215
                let v234 : System.DateTime = System.DateTime (1, 1, 1, v219, v223, v227, v231)
                v234
        let v242 : string = method5()
        let v245 : (string -> string) = v241.ToString
        let v246 : string = v245 v242
        let _v112 = v246 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v249 : string = $"near_sdk::env::block_timestamp()"
        let v250 : uint64 = Fable.Core.RustInterop.emitRustExpr () v249 
        let v251 : US3 option = None
        let _v251 = ref v251 
        let v252 : US3 option ref = _v251 
        let v253 : (US3 option -> US3 option ref) = closure8(v252)
        let v254 : unit = ()
        let v255 : (unit -> unit) = closure9(v99, v253)
        let v256 : unit = (fun () -> v255 (); v254) ()
        let v259 : US3 option = _v251.Value 
        let v270 : US3 = US3_1
        let v271 : US3 = v259 |> Option.defaultValue v270 
        let v280 : uint64 =
            match v271 with
            | US3_1 -> (* None *)
                v250
            | US3_0(v275) -> (* Some *)
                let v276 : (int64 -> uint64) = uint64
                let v277 : uint64 = v276 v275
                let v278 : uint64 = v250 - v277
                v278
        let v281 : uint64 = v280 / 1000000000UL
        let v282 : uint64 = v281 % 60UL
        let v283 : uint64 = v281 / 60UL
        let v284 : uint64 = v283 % 60UL
        let v285 : uint64 = v281 / 3600UL
        let v286 : uint64 = v285 % 24UL
        let v287 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)"
        let v288 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v286, v284, v282) v287 
        let v289 : string = "fable_library_rust::String_::fromString($0)"
        let v290 : string = Fable.Core.RustInterop.emitRustExpr v288 v289 
        let _v112 = v290 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v291 : US3 option = None
        let _v291 = ref v291 
        let v292 : US3 option ref = _v291 
        let v293 : (US3 option -> US3 option ref) = closure8(v292)
        let v294 : unit = ()
        let v295 : (unit -> unit) = closure9(v99, v293)
        let v296 : unit = (fun () -> v295 (); v294) ()
        let v299 : US3 option = _v291.Value 
        let v310 : US3 = US3_1
        let v311 : US3 = v299 |> Option.defaultValue v310 
        let v351 : System.DateTime =
            match v311 with
            | US3_1 -> (* None *)
                let v347 : System.DateTime = System.DateTime.Now
                v347
            | US3_0(v315) -> (* Some *)
                let v316 : System.DateTime = System.DateTime.Now
                let v319 : (System.DateTime -> int64) = _.Ticks
                let v320 : int64 = v319 v316
                let v323 : int64 = v320 - v315
                let v324 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v325 : System.TimeSpan = v324 v323
                let v328 : (System.TimeSpan -> int32) = _.Hours
                let v329 : int32 = v328 v325
                let v332 : (System.TimeSpan -> int32) = _.Minutes
                let v333 : int32 = v332 v325
                let v336 : (System.TimeSpan -> int32) = _.Seconds
                let v337 : int32 = v336 v325
                let v340 : (System.TimeSpan -> int32) = _.Milliseconds
                let v341 : int32 = v340 v325
                let v344 : System.DateTime = System.DateTime (1, 1, 1, v329, v333, v337, v341)
                v344
        let v352 : string = method6()
        let v355 : (string -> string) = v351.ToString
        let v356 : string = v355 v352
        let _v112 = v356 
        #endif
#if FABLE_COMPILER_PYTHON
        let v359 : US3 option = None
        let _v359 = ref v359 
        let v360 : US3 option ref = _v359 
        let v361 : (US3 option -> US3 option ref) = closure8(v360)
        let v362 : unit = ()
        let v363 : (unit -> unit) = closure9(v99, v361)
        let v364 : unit = (fun () -> v363 (); v362) ()
        let v367 : US3 option = _v359.Value 
        let v378 : US3 = US3_1
        let v379 : US3 = v367 |> Option.defaultValue v378 
        let v419 : System.DateTime =
            match v379 with
            | US3_1 -> (* None *)
                let v415 : System.DateTime = System.DateTime.Now
                v415
            | US3_0(v383) -> (* Some *)
                let v384 : System.DateTime = System.DateTime.Now
                let v387 : (System.DateTime -> int64) = _.Ticks
                let v388 : int64 = v387 v384
                let v391 : int64 = v388 - v383
                let v392 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v393 : System.TimeSpan = v392 v391
                let v396 : (System.TimeSpan -> int32) = _.Hours
                let v397 : int32 = v396 v393
                let v400 : (System.TimeSpan -> int32) = _.Minutes
                let v401 : int32 = v400 v393
                let v404 : (System.TimeSpan -> int32) = _.Seconds
                let v405 : int32 = v404 v393
                let v408 : (System.TimeSpan -> int32) = _.Milliseconds
                let v409 : int32 = v408 v393
                let v412 : System.DateTime = System.DateTime (1, 1, 1, v397, v401, v405, v409)
                v412
        let v420 : string = method6()
        let v423 : (string -> string) = v419.ToString
        let v424 : string = v423 v420
        let _v112 = v424 
        #endif
#else
        let v427 : US3 option = None
        let _v427 = ref v427 
        let v428 : US3 option ref = _v427 
        let v429 : (US3 option -> US3 option ref) = closure8(v428)
        let v430 : unit = ()
        let v431 : (unit -> unit) = closure9(v99, v429)
        let v432 : unit = (fun () -> v431 (); v430) ()
        let v435 : US3 option = _v427.Value 
        let v446 : US3 = US3_1
        let v447 : US3 = v435 |> Option.defaultValue v446 
        let v487 : System.DateTime =
            match v447 with
            | US3_1 -> (* None *)
                let v483 : System.DateTime = System.DateTime.Now
                v483
            | US3_0(v451) -> (* Some *)
                let v452 : System.DateTime = System.DateTime.Now
                let v455 : (System.DateTime -> int64) = _.Ticks
                let v456 : int64 = v455 v452
                let v459 : int64 = v456 - v451
                let v460 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v461 : System.TimeSpan = v460 v459
                let v464 : (System.TimeSpan -> int32) = _.Hours
                let v465 : int32 = v464 v461
                let v468 : (System.TimeSpan -> int32) = _.Minutes
                let v469 : int32 = v468 v461
                let v472 : (System.TimeSpan -> int32) = _.Seconds
                let v473 : int32 = v472 v461
                let v476 : (System.TimeSpan -> int32) = _.Milliseconds
                let v477 : int32 = v476 v461
                let v480 : System.DateTime = System.DateTime (1, 1, 1, v465, v469, v473, v477)
                v480
        let v488 : string = method6()
        let v491 : (string -> string) = v487.ToString
        let v492 : string = v491 v488
        let _v112 = v492 
        #endif
        let v495 : string = _v112 
        
        
        
        
        
        let v565 : string = "Verbose"
        let v566 : (unit -> string) = v565.ToLower
        let v567 : string = v566 ()
        let v570 : string = v567.PadLeft (7, ' ')
        let v584 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v585 : string = "inline_colorization::color_bright_black"
        let v586 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v585 
        let v587 : string = "&*$0"
        let v588 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v570 v587 
        let v589 : string = "inline_colorization::color_reset"
        let v590 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v589 
        let v591 : string = "\"{v586}{v588}{v590}\""
        let v592 : string = @$"format!(" + v591 + ")"
        let v593 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v592 
        let v594 : string = "fable_library_rust::String_::fromString($0)"
        let v595 : string = Fable.Core.RustInterop.emitRustExpr v593 v594 
        let _v584 = v595 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v596 : string = "inline_colorization::color_bright_black"
        let v597 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v596 
        let v598 : string = "&*$0"
        let v599 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v570 v598 
        let v600 : string = "inline_colorization::color_reset"
        let v601 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v600 
        let v602 : string = "\"{v597}{v599}{v601}\""
        let v603 : string = @$"format!(" + v602 + ")"
        let v604 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v603 
        let v605 : string = "fable_library_rust::String_::fromString($0)"
        let v606 : string = Fable.Core.RustInterop.emitRustExpr v604 v605 
        let _v584 = v606 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v607 : string = "inline_colorization::color_bright_black"
        let v608 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v607 
        let v609 : string = "&*$0"
        let v610 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v570 v609 
        let v611 : string = "inline_colorization::color_reset"
        let v612 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v611 
        let v613 : string = "\"{v608}{v610}{v612}\""
        let v614 : string = @$"format!(" + v613 + ")"
        let v615 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v614 
        let v616 : string = "fable_library_rust::String_::fromString($0)"
        let v617 : string = Fable.Core.RustInterop.emitRustExpr v615 v616 
        let _v584 = v617 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v618 : string = "\u001b[90m"
        let v619 : string = method7()
        let v620 : string = v618 + v570 
        let v621 : string = v620 + v619 
        let _v584 = v621 
        #endif
#if FABLE_COMPILER_PYTHON
        let v622 : string = "\u001b[90m"
        let v623 : string = method7()
        let v624 : string = v622 + v570 
        let v625 : string = v624 + v623 
        let _v584 = v625 
        #endif
#else
        let v626 : string = "\u001b[90m"
        let v627 : string = method7()
        let v628 : string = v626 + v570 
        let v629 : string = v628 + v627 
        let _v584 = v629 
        #endif
        let v630 : string = _v584 
        let v636 : int64 = v94.l0
        let v637 : string = method8()
        let v638 : Mut3 = {l0 = v637} : Mut3
        let v639 : string = "{ "
        let v640 : string = $"{v639}"
        let v643 : unit = ()
        let v644 : (unit -> unit) = closure10(v638, v640)
        let v645 : unit = (fun () -> v644 (); v643) ()
        let v648 : string = "timeout"
        let v649 : string = $"{v648}"
        let v652 : unit = ()
        let v653 : (unit -> unit) = closure10(v638, v649)
        let v654 : unit = (fun () -> v653 (); v652) ()
        let v657 : string = " = "
        let v658 : string = $"{v657}"
        let v661 : unit = ()
        let v662 : (unit -> unit) = closure10(v638, v658)
        let v663 : unit = (fun () -> v662 (); v661) ()
        let v666 : string = $"{v0}"
        let v669 : unit = ()
        let v670 : (unit -> unit) = closure10(v638, v666)
        let v671 : unit = (fun () -> v670 (); v669) ()
        let v674 : string = " }"
        let v675 : string = $"{v674}"
        let v678 : unit = ()
        let v679 : (unit -> unit) = closure10(v638, v675)
        let v680 : unit = (fun () -> v679 (); v678) ()
        let v683 : string = v638.l0
        let v684 : string = "async.run_with_timeout_async"
        let v685 : bool = v684 = ""
        let v742 : string =
            if v685 then
                let v686 : string = ""
                v686
            else
                let v687 : string = $"{v495} {v630} #{v636} %s{v684} / {v683}"
                let v690 : char list = []
                let v691 : (char list -> (char [])) = List.toArray
                let v692 : (char []) = v691 v690
                let v695 : string = v687.TrimStart v692 
                let v713 : char list = []
                let v714 : char list = '/' :: v713 
                let v717 : char list = ' ' :: v714 
                let v720 : (char list -> (char [])) = List.toArray
                let v721 : (char []) = v720 v717
                let v724 : string = v695.TrimEnd v721 
                v724
        let v743 : (string -> unit) = closure11()
        let v744 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v745 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v742 v745 
        let _v744 = () 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v746 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v742 v746 
        let _v744 = () 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v747 : string = v20.l0
        let v748 : bool = v747 = ""
        let v756 : string =
            if v748 then
                v742
            else
                let v749 : bool = v742 = ""
                if v749 then
                    let v750 : string = v20.l0
                    v750
                else
                    let v751 : string = v20.l0
                    let v752 : string = "\n"
                    let v753 : string = v751 + v752 
                    let v754 : string = v753 + v742 
                    v754
        let v757 : string = "&*$0"
        let v758 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v756 v757 
        let v759 : string = $"$0.chars()"
        let v760 : Mut<_> = Fable.Core.RustInterop.emitRustExpr v758 v759 
        let v761 : string = "v760"
        let v762 : _ = Fable.Core.RustInterop.emitRustExpr () v761 
        let v763 : string = "v762.collect::<Vec<_>>()"
        let v764 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v763 
        let v765 : string = "$0.chunks(15000).map(|x| x.into_iter().map(|x| x.clone()).collect::<Vec<_>>()).collect::<Vec<_>>()"
        let v766 : Vec<Vec<char>> = Fable.Core.RustInterop.emitRustExpr v764 v765 
        let v767 : string = "true; let _vec_map : Vec<_> = $0.into_iter().map(|x| { //"
        let v768 : bool = Fable.Core.RustInterop.emitRustExpr v766 v767 
        let v769 : string = "x"
        let v770 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v769 
        let v771 : string = "String::from_iter($0)"
        let v772 : std_string_String = Fable.Core.RustInterop.emitRustExpr v770 v771 
        let v773 : string = "true; $0 }).collect::<Vec<_>>()"
        let v774 : bool = Fable.Core.RustInterop.emitRustExpr v772 v773 
        let v775 : string = "_vec_map"
        let v776 : Vec<std_string_String> = Fable.Core.RustInterop.emitRustExpr () v775 
        let v777 : string = "$0.len()"
        let v778 : unativeint = Fable.Core.RustInterop.emitRustExpr v776 v777 
        let v779 : (unativeint -> int32) = int32
        let v780 : int32 = v779 v778
        let v781 : string = ""
        let v782 : bool = v742 <> v781 
        let v786 : bool =
            if v782 then
                let v785 : bool = v780 <= 1
                v785
            else
                false
        if v786 then
            v20.l0 <- v756
            ()
        else
            v20.l0 <- v781
            let v787 : string = "true; $0.into_iter().for_each(|x| { //"
            let v788 : bool = Fable.Core.RustInterop.emitRustExpr v776 v787 
            let v789 : string = "x"
            let v790 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v789 
            let v791 : string = $"near_sdk::log!(\"{{}}\", $0)"
            Fable.Core.RustInterop.emitRustExpr v790 v791 
            let v792 : string = $"true;"
            let v793 : bool = Fable.Core.RustInterop.emitRustExpr () v792 
            let v794 : string = "true; }}); { //"
            let v795 : bool = Fable.Core.RustInterop.emitRustExpr () v794 
            ()
        let _v744 = () 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        v743 v742
        let _v744 = () 
        #endif
#if FABLE_COMPILER_PYTHON
        v743 v742
        let _v744 = () 
        #endif
#else
        v743 v742
        let _v744 = () 
        #endif
        _v744 
        let v796 : (string -> unit) = v18.l0
        v796 v742
and closure19 (v0 : int32, v1 : exn) () : unit =
    let v2 : unit = ()
    let v3 : (unit -> unit) = closure0()
    let v4 : unit = (fun () -> v3 (); v2) ()
    let struct (v18 : Mut0, v19 : Mut1, v20 : Mut2, v21 : Mut3, v22 : Mut4, v23 : int64 option) = TraceState.trace_state.Value
    let v36 : unit = ()
    let v37 : unit = (fun () -> v3 (); v36) ()
    let struct (v51 : Mut0, v52 : Mut1, v53 : Mut2, v54 : Mut3, v55 : Mut4, v56 : int64 option) = TraceState.trace_state.Value
    let v69 : US0 = v55.l0
    let v70 : bool = v53.l0
    let v71 : bool = v70 = false
    let v74 : bool =
        if v71 then
            false
        else
            let v72 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v69
            let v73 : bool = 4 >= v72
            v73
    if v74 then
        let v75 : unit = ()
        let v76 : (unit -> unit) = closure7(v18)
        let v77 : unit = (fun () -> v76 (); v75) ()
        let v80 : unit = ()
        let v81 : unit = (fun () -> v3 (); v80) ()
        let struct (v95 : Mut0, v96 : Mut1, v97 : Mut2, v98 : Mut3, v99 : Mut4, v100 : int64 option) = TraceState.trace_state.Value
        let v113 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v114 : US3 option = None
        let _v114 = ref v114 
        let v115 : US3 option ref = _v114 
        let v116 : (US3 option -> US3 option ref) = closure8(v115)
        let v117 : unit = ()
        let v118 : (unit -> unit) = closure9(v100, v116)
        let v119 : unit = (fun () -> v118 (); v117) ()
        let v122 : US3 option = _v114.Value 
        let v133 : US3 = US3_1
        let v134 : US3 = v122 |> Option.defaultValue v133 
        let v174 : System.DateTime =
            match v134 with
            | US3_1 -> (* None *)
                let v170 : System.DateTime = System.DateTime.Now
                v170
            | US3_0(v138) -> (* Some *)
                let v139 : System.DateTime = System.DateTime.Now
                let v142 : (System.DateTime -> int64) = _.Ticks
                let v143 : int64 = v142 v139
                let v146 : int64 = v143 - v138
                let v147 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v148 : System.TimeSpan = v147 v146
                let v151 : (System.TimeSpan -> int32) = _.Hours
                let v152 : int32 = v151 v148
                let v155 : (System.TimeSpan -> int32) = _.Minutes
                let v156 : int32 = v155 v148
                let v159 : (System.TimeSpan -> int32) = _.Seconds
                let v160 : int32 = v159 v148
                let v163 : (System.TimeSpan -> int32) = _.Milliseconds
                let v164 : int32 = v163 v148
                let v167 : System.DateTime = System.DateTime (1, 1, 1, v152, v156, v160, v164)
                v167
        let v175 : string = method5()
        let v178 : (string -> string) = v174.ToString
        let v179 : string = v178 v175
        let _v113 = v179 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v182 : US3 option = None
        let _v182 = ref v182 
        let v183 : US3 option ref = _v182 
        let v184 : (US3 option -> US3 option ref) = closure8(v183)
        let v185 : unit = ()
        let v186 : (unit -> unit) = closure9(v100, v184)
        let v187 : unit = (fun () -> v186 (); v185) ()
        let v190 : US3 option = _v182.Value 
        let v201 : US3 = US3_1
        let v202 : US3 = v190 |> Option.defaultValue v201 
        let v242 : System.DateTime =
            match v202 with
            | US3_1 -> (* None *)
                let v238 : System.DateTime = System.DateTime.Now
                v238
            | US3_0(v206) -> (* Some *)
                let v207 : System.DateTime = System.DateTime.Now
                let v210 : (System.DateTime -> int64) = _.Ticks
                let v211 : int64 = v210 v207
                let v214 : int64 = v211 - v206
                let v215 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v216 : System.TimeSpan = v215 v214
                let v219 : (System.TimeSpan -> int32) = _.Hours
                let v220 : int32 = v219 v216
                let v223 : (System.TimeSpan -> int32) = _.Minutes
                let v224 : int32 = v223 v216
                let v227 : (System.TimeSpan -> int32) = _.Seconds
                let v228 : int32 = v227 v216
                let v231 : (System.TimeSpan -> int32) = _.Milliseconds
                let v232 : int32 = v231 v216
                let v235 : System.DateTime = System.DateTime (1, 1, 1, v220, v224, v228, v232)
                v235
        let v243 : string = method5()
        let v246 : (string -> string) = v242.ToString
        let v247 : string = v246 v243
        let _v113 = v247 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v250 : string = $"near_sdk::env::block_timestamp()"
        let v251 : uint64 = Fable.Core.RustInterop.emitRustExpr () v250 
        let v252 : US3 option = None
        let _v252 = ref v252 
        let v253 : US3 option ref = _v252 
        let v254 : (US3 option -> US3 option ref) = closure8(v253)
        let v255 : unit = ()
        let v256 : (unit -> unit) = closure9(v100, v254)
        let v257 : unit = (fun () -> v256 (); v255) ()
        let v260 : US3 option = _v252.Value 
        let v271 : US3 = US3_1
        let v272 : US3 = v260 |> Option.defaultValue v271 
        let v281 : uint64 =
            match v272 with
            | US3_1 -> (* None *)
                v251
            | US3_0(v276) -> (* Some *)
                let v277 : (int64 -> uint64) = uint64
                let v278 : uint64 = v277 v276
                let v279 : uint64 = v251 - v278
                v279
        let v282 : uint64 = v281 / 1000000000UL
        let v283 : uint64 = v282 % 60UL
        let v284 : uint64 = v282 / 60UL
        let v285 : uint64 = v284 % 60UL
        let v286 : uint64 = v282 / 3600UL
        let v287 : uint64 = v286 % 24UL
        let v288 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)"
        let v289 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v287, v285, v283) v288 
        let v290 : string = "fable_library_rust::String_::fromString($0)"
        let v291 : string = Fable.Core.RustInterop.emitRustExpr v289 v290 
        let _v113 = v291 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v292 : US3 option = None
        let _v292 = ref v292 
        let v293 : US3 option ref = _v292 
        let v294 : (US3 option -> US3 option ref) = closure8(v293)
        let v295 : unit = ()
        let v296 : (unit -> unit) = closure9(v100, v294)
        let v297 : unit = (fun () -> v296 (); v295) ()
        let v300 : US3 option = _v292.Value 
        let v311 : US3 = US3_1
        let v312 : US3 = v300 |> Option.defaultValue v311 
        let v352 : System.DateTime =
            match v312 with
            | US3_1 -> (* None *)
                let v348 : System.DateTime = System.DateTime.Now
                v348
            | US3_0(v316) -> (* Some *)
                let v317 : System.DateTime = System.DateTime.Now
                let v320 : (System.DateTime -> int64) = _.Ticks
                let v321 : int64 = v320 v317
                let v324 : int64 = v321 - v316
                let v325 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v326 : System.TimeSpan = v325 v324
                let v329 : (System.TimeSpan -> int32) = _.Hours
                let v330 : int32 = v329 v326
                let v333 : (System.TimeSpan -> int32) = _.Minutes
                let v334 : int32 = v333 v326
                let v337 : (System.TimeSpan -> int32) = _.Seconds
                let v338 : int32 = v337 v326
                let v341 : (System.TimeSpan -> int32) = _.Milliseconds
                let v342 : int32 = v341 v326
                let v345 : System.DateTime = System.DateTime (1, 1, 1, v330, v334, v338, v342)
                v345
        let v353 : string = method6()
        let v356 : (string -> string) = v352.ToString
        let v357 : string = v356 v353
        let _v113 = v357 
        #endif
#if FABLE_COMPILER_PYTHON
        let v360 : US3 option = None
        let _v360 = ref v360 
        let v361 : US3 option ref = _v360 
        let v362 : (US3 option -> US3 option ref) = closure8(v361)
        let v363 : unit = ()
        let v364 : (unit -> unit) = closure9(v100, v362)
        let v365 : unit = (fun () -> v364 (); v363) ()
        let v368 : US3 option = _v360.Value 
        let v379 : US3 = US3_1
        let v380 : US3 = v368 |> Option.defaultValue v379 
        let v420 : System.DateTime =
            match v380 with
            | US3_1 -> (* None *)
                let v416 : System.DateTime = System.DateTime.Now
                v416
            | US3_0(v384) -> (* Some *)
                let v385 : System.DateTime = System.DateTime.Now
                let v388 : (System.DateTime -> int64) = _.Ticks
                let v389 : int64 = v388 v385
                let v392 : int64 = v389 - v384
                let v393 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v394 : System.TimeSpan = v393 v392
                let v397 : (System.TimeSpan -> int32) = _.Hours
                let v398 : int32 = v397 v394
                let v401 : (System.TimeSpan -> int32) = _.Minutes
                let v402 : int32 = v401 v394
                let v405 : (System.TimeSpan -> int32) = _.Seconds
                let v406 : int32 = v405 v394
                let v409 : (System.TimeSpan -> int32) = _.Milliseconds
                let v410 : int32 = v409 v394
                let v413 : System.DateTime = System.DateTime (1, 1, 1, v398, v402, v406, v410)
                v413
        let v421 : string = method6()
        let v424 : (string -> string) = v420.ToString
        let v425 : string = v424 v421
        let _v113 = v425 
        #endif
#else
        let v428 : US3 option = None
        let _v428 = ref v428 
        let v429 : US3 option ref = _v428 
        let v430 : (US3 option -> US3 option ref) = closure8(v429)
        let v431 : unit = ()
        let v432 : (unit -> unit) = closure9(v100, v430)
        let v433 : unit = (fun () -> v432 (); v431) ()
        let v436 : US3 option = _v428.Value 
        let v447 : US3 = US3_1
        let v448 : US3 = v436 |> Option.defaultValue v447 
        let v488 : System.DateTime =
            match v448 with
            | US3_1 -> (* None *)
                let v484 : System.DateTime = System.DateTime.Now
                v484
            | US3_0(v452) -> (* Some *)
                let v453 : System.DateTime = System.DateTime.Now
                let v456 : (System.DateTime -> int64) = _.Ticks
                let v457 : int64 = v456 v453
                let v460 : int64 = v457 - v452
                let v461 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v462 : System.TimeSpan = v461 v460
                let v465 : (System.TimeSpan -> int32) = _.Hours
                let v466 : int32 = v465 v462
                let v469 : (System.TimeSpan -> int32) = _.Minutes
                let v470 : int32 = v469 v462
                let v473 : (System.TimeSpan -> int32) = _.Seconds
                let v474 : int32 = v473 v462
                let v477 : (System.TimeSpan -> int32) = _.Milliseconds
                let v478 : int32 = v477 v462
                let v481 : System.DateTime = System.DateTime (1, 1, 1, v466, v470, v474, v478)
                v481
        let v489 : string = method6()
        let v492 : (string -> string) = v488.ToString
        let v493 : string = v492 v489
        let _v113 = v493 
        #endif
        let v496 : string = _v113 
        
        
        
        
        
        let v566 : string = "Critical"
        let v567 : (unit -> string) = v566.ToLower
        let v568 : string = v567 ()
        let v571 : string = v568.PadLeft (7, ' ')
        let v585 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v586 : string = "inline_colorization::color_bright_red"
        let v587 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v586 
        let v588 : string = "&*$0"
        let v589 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v571 v588 
        let v590 : string = "inline_colorization::color_reset"
        let v591 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v590 
        let v592 : string = "\"{v587}{v589}{v591}\""
        let v593 : string = @$"format!(" + v592 + ")"
        let v594 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v593 
        let v595 : string = "fable_library_rust::String_::fromString($0)"
        let v596 : string = Fable.Core.RustInterop.emitRustExpr v594 v595 
        let _v585 = v596 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v597 : string = "inline_colorization::color_bright_red"
        let v598 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v597 
        let v599 : string = "&*$0"
        let v600 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v571 v599 
        let v601 : string = "inline_colorization::color_reset"
        let v602 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v601 
        let v603 : string = "\"{v598}{v600}{v602}\""
        let v604 : string = @$"format!(" + v603 + ")"
        let v605 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v604 
        let v606 : string = "fable_library_rust::String_::fromString($0)"
        let v607 : string = Fable.Core.RustInterop.emitRustExpr v605 v606 
        let _v585 = v607 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v608 : string = "inline_colorization::color_bright_red"
        let v609 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v608 
        let v610 : string = "&*$0"
        let v611 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v571 v610 
        let v612 : string = "inline_colorization::color_reset"
        let v613 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v612 
        let v614 : string = "\"{v609}{v611}{v613}\""
        let v615 : string = @$"format!(" + v614 + ")"
        let v616 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v615 
        let v617 : string = "fable_library_rust::String_::fromString($0)"
        let v618 : string = Fable.Core.RustInterop.emitRustExpr v616 v617 
        let _v585 = v618 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v619 : string = "\u001b[91m"
        let v620 : string = method7()
        let v621 : string = v619 + v571 
        let v622 : string = v621 + v620 
        let _v585 = v622 
        #endif
#if FABLE_COMPILER_PYTHON
        let v623 : string = "\u001b[91m"
        let v624 : string = method7()
        let v625 : string = v623 + v571 
        let v626 : string = v625 + v624 
        let _v585 = v626 
        #endif
#else
        let v627 : string = "\u001b[91m"
        let v628 : string = method7()
        let v629 : string = v627 + v571 
        let v630 : string = v629 + v628 
        let _v585 = v630 
        #endif
        let v631 : string = _v585 
        let v637 : int64 = v95.l0
        let v638 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v639 : string = $"%A{v1}"
        let _v638 = v639 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v642 : string = $"%A{v1}"
        let _v638 = v642 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v645 : string = $"%A{v1}"
        let _v638 = v645 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v648 : string = $"%A{v1}"
        let _v638 = v648 
        #endif
#if FABLE_COMPILER_PYTHON
        let v651 : string = $"%A{v1}"
        let _v638 = v651 
        #endif
#else
        let v654 : string = $"{v1.GetType ()}: {v1.Message}"
        let _v638 = v654 
        #endif
        let v655 : string = _v638 
        let v660 : string = method8()
        let v661 : Mut3 = {l0 = v660} : Mut3
        let v662 : string = "{ "
        let v663 : string = $"{v662}"
        let v666 : unit = ()
        let v667 : (unit -> unit) = closure10(v661, v663)
        let v668 : unit = (fun () -> v667 (); v666) ()
        let v671 : string = "timeout"
        let v672 : string = $"{v671}"
        let v675 : unit = ()
        let v676 : (unit -> unit) = closure10(v661, v672)
        let v677 : unit = (fun () -> v676 (); v675) ()
        let v680 : string = " = "
        let v681 : string = $"{v680}"
        let v684 : unit = ()
        let v685 : (unit -> unit) = closure10(v661, v681)
        let v686 : unit = (fun () -> v685 (); v684) ()
        let v689 : string = $"{v0}"
        let v692 : unit = ()
        let v693 : (unit -> unit) = closure10(v661, v689)
        let v694 : unit = (fun () -> v693 (); v692) ()
        let v697 : string = "; "
        let v698 : string = $"{v697}"
        let v701 : unit = ()
        let v702 : (unit -> unit) = closure10(v661, v698)
        let v703 : unit = (fun () -> v702 (); v701) ()
        let v706 : string = "ex"
        let v707 : string = $"{v706}"
        let v710 : unit = ()
        let v711 : (unit -> unit) = closure10(v661, v707)
        let v712 : unit = (fun () -> v711 (); v710) ()
        let v715 : string = $"{v680}"
        let v718 : unit = ()
        let v719 : (unit -> unit) = closure10(v661, v715)
        let v720 : unit = (fun () -> v719 (); v718) ()
        let v723 : string = $"{v655}"
        let v726 : unit = ()
        let v727 : (unit -> unit) = closure10(v661, v723)
        let v728 : unit = (fun () -> v727 (); v726) ()
        let v731 : string = " }"
        let v732 : string = $"{v731}"
        let v735 : unit = ()
        let v736 : (unit -> unit) = closure10(v661, v732)
        let v737 : unit = (fun () -> v736 (); v735) ()
        let v740 : string = v661.l0
        let v741 : string = $"async.run_with_timeout_async**"
        let v742 : bool = v741 = ""
        let v799 : string =
            if v742 then
                let v743 : string = ""
                v743
            else
                let v744 : string = $"{v496} {v631} #{v637} %s{v741} / {v740}"
                let v747 : char list = []
                let v748 : (char list -> (char [])) = List.toArray
                let v749 : (char []) = v748 v747
                let v752 : string = v744.TrimStart v749 
                let v770 : char list = []
                let v771 : char list = '/' :: v770 
                let v774 : char list = ' ' :: v771 
                let v777 : (char list -> (char [])) = List.toArray
                let v778 : (char []) = v777 v774
                let v781 : string = v752.TrimEnd v778 
                v781
        let v800 : (string -> unit) = closure11()
        let v801 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v802 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v799 v802 
        let _v801 = () 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v803 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v799 v803 
        let _v801 = () 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v804 : string = v21.l0
        let v805 : bool = v804 = ""
        let v813 : string =
            if v805 then
                v799
            else
                let v806 : bool = v799 = ""
                if v806 then
                    let v807 : string = v21.l0
                    v807
                else
                    let v808 : string = v21.l0
                    let v809 : string = "\n"
                    let v810 : string = v808 + v809 
                    let v811 : string = v810 + v799 
                    v811
        let v814 : string = "&*$0"
        let v815 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v813 v814 
        let v816 : string = $"$0.chars()"
        let v817 : Mut<_> = Fable.Core.RustInterop.emitRustExpr v815 v816 
        let v818 : string = "v817"
        let v819 : _ = Fable.Core.RustInterop.emitRustExpr () v818 
        let v820 : string = "v819.collect::<Vec<_>>()"
        let v821 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v820 
        let v822 : string = "$0.chunks(15000).map(|x| x.into_iter().map(|x| x.clone()).collect::<Vec<_>>()).collect::<Vec<_>>()"
        let v823 : Vec<Vec<char>> = Fable.Core.RustInterop.emitRustExpr v821 v822 
        let v824 : string = "true; let _vec_map : Vec<_> = $0.into_iter().map(|x| { //"
        let v825 : bool = Fable.Core.RustInterop.emitRustExpr v823 v824 
        let v826 : string = "x"
        let v827 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v826 
        let v828 : string = "String::from_iter($0)"
        let v829 : std_string_String = Fable.Core.RustInterop.emitRustExpr v827 v828 
        let v830 : string = "true; $0 }).collect::<Vec<_>>()"
        let v831 : bool = Fable.Core.RustInterop.emitRustExpr v829 v830 
        let v832 : string = "_vec_map"
        let v833 : Vec<std_string_String> = Fable.Core.RustInterop.emitRustExpr () v832 
        let v834 : string = "$0.len()"
        let v835 : unativeint = Fable.Core.RustInterop.emitRustExpr v833 v834 
        let v836 : (unativeint -> int32) = int32
        let v837 : int32 = v836 v835
        let v838 : string = ""
        let v839 : bool = v799 <> v838 
        let v843 : bool =
            if v839 then
                let v842 : bool = v837 <= 1
                v842
            else
                false
        if v843 then
            v21.l0 <- v813
            ()
        else
            v21.l0 <- v838
            let v844 : string = "true; $0.into_iter().for_each(|x| { //"
            let v845 : bool = Fable.Core.RustInterop.emitRustExpr v833 v844 
            let v846 : string = "x"
            let v847 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v846 
            let v848 : string = $"near_sdk::log!(\"{{}}\", $0)"
            Fable.Core.RustInterop.emitRustExpr v847 v848 
            let v849 : string = $"true;"
            let v850 : bool = Fable.Core.RustInterop.emitRustExpr () v849 
            let v851 : string = "true; }}); { //"
            let v852 : bool = Fable.Core.RustInterop.emitRustExpr () v851 
            ()
        let _v801 = () 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        v800 v799
        let _v801 = () 
        #endif
#if FABLE_COMPILER_PYTHON
        v800 v799
        let _v801 = () 
        #endif
#else
        v800 v799
        let _v801 = () 
        #endif
        _v801 
        let v853 : (string -> unit) = v19.l0
        v853 v799
and closure15 (v0 : int32, v1 : string) (v2 : int32) : Async<bool> =
    let v3 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v4 : Async<bool> = null |> unbox<Async<bool>>
    let _v3 = v4 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v7 : Async<bool> = null |> unbox<Async<bool>>
    let _v3 = v7 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v10 : Async<bool> = null |> unbox<Async<bool>>
    let _v3 = v10 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v13 : Async<bool> = null |> unbox<Async<bool>>
    let _v3 = v13 
    #endif
#if FABLE_COMPILER_PYTHON
    let v16 : Async<bool> = null |> unbox<Async<bool>>
    let _v3 = v16 
    #endif
#else
    let v19 : Async<bool> option = None
    let mutable _v19 = v19 
    async {
    let v20 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v21 : Async<bool> = null |> unbox<Async<bool>>
    let _v20 = v21 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v24 : Async<bool> = null |> unbox<Async<bool>>
    let _v20 = v24 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v27 : Async<bool> = null |> unbox<Async<bool>>
    let _v20 = v27 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v30 : Async<bool> = null |> unbox<Async<bool>>
    let _v20 = v30 
    #endif
#if FABLE_COMPILER_PYTHON
    let v33 : Async<bool> = null |> unbox<Async<bool>>
    let _v20 = v33 
    #endif
#else
    let v36 : Async<bool> option = None
    let mutable _v36 = v36 
    async {
    let v37 : Async<System.Threading.CancellationToken> = Async.CancellationToken
    let! v37 = v37 
    let v38 : System.Threading.CancellationToken = v37 
    let v39 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
    use v39 = v39 
    let v40 : System.Net.Sockets.TcpClient = v39 
    try
    let v41 : System.Threading.Tasks.ValueTask = v40.ConnectAsync (v1, v2, v38)
    let v42 : (unit -> System.Threading.Tasks.Task) = v41.AsTask
    let v43 : System.Threading.Tasks.Task = v42 ()
    let v44 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v45 : Async<unit> = null |> unbox<Async<unit>>
    let _v44 = v45 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v48 : Async<unit> = null |> unbox<Async<unit>>
    let _v44 = v48 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v51 : Async<unit> = null |> unbox<Async<unit>>
    let _v44 = v51 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v54 : Async<unit> = null |> unbox<Async<unit>>
    let _v44 = v54 
    #endif
#if FABLE_COMPILER_PYTHON
    let v57 : Async<unit> = null |> unbox<Async<unit>>
    let _v44 = v57 
    #endif
#else
    let v60 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
    let v61 : Async<unit> = v60 v43
    let _v44 = v61 
    #endif
    let v62 : Async<unit> = _v44 
    do! v62 
    return true 
    with ex ->
    let v67 : exn = ex
    let v68 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v69 : string = $"%A{v67}"
    let _v68 = v69 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v72 : string = $"%A{v67}"
    let _v68 = v72 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v75 : string = $"%A{v67}"
    let _v68 = v75 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v78 : string = $"%A{v67}"
    let _v68 = v78 
    #endif
#if FABLE_COMPILER_PYTHON
    let v81 : string = $"%A{v67}"
    let _v68 = v81 
    #endif
#else
    let v84 : string = $"{v67.GetType ()}: {v67.Message}"
    let _v68 = v84 
    #endif
    let v85 : string = _v68 
    let v90 : unit = ()
    let v91 : (unit -> unit) = closure6(v2, v85)
    let v92 : unit = (fun () -> v91 (); v90) ()
    return false 
    (*
    let v923 : bool = *)
    }
    |> fun x -> _v36 <- Some x
    let v924 : Async<bool> = match _v36 with Some x -> x | None -> failwith "async.new_async_unit / _v36=None"
    let _v20 = v924 
    #endif
    let v925 : Async<bool> = _v20 
    let v930 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v931 : Async<US4> = null |> unbox<Async<US4>>
    let _v930 = v931 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v934 : Async<US4> = null |> unbox<Async<US4>>
    let _v930 = v934 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v937 : Async<US4> = null |> unbox<Async<US4>>
    let _v930 = v937 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v940 : Async<US4> = null |> unbox<Async<US4>>
    let _v930 = v940 
    #endif
#if FABLE_COMPILER_PYTHON
    let v943 : Async<US4> = null |> unbox<Async<US4>>
    let _v930 = v943 
    #endif
#else
    let v946 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v947 : Async<US4> = null |> unbox<Async<US4>>
    let _v946 = v947 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v950 : Async<US4> = null |> unbox<Async<US4>>
    let _v946 = v950 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v953 : Async<US4> = null |> unbox<Async<US4>>
    let _v946 = v953 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v956 : Async<US4> = null |> unbox<Async<US4>>
    let _v946 = v956 
    #endif
#if FABLE_COMPILER_PYTHON
    let v959 : Async<US4> = null |> unbox<Async<US4>>
    let _v946 = v959 
    #endif
#else
    let v962 : Async<US4> option = None
    let mutable _v962 = v962 
    async {
    let v963 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v964 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
    let _v963 = v964 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v967 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
    let _v963 = v967 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v970 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
    let _v963 = v970 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v973 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
    let _v963 = v973 
    #endif
#if FABLE_COMPILER_PYTHON
    let v976 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
    let _v963 = v976 
    #endif
#else
    let v979 : Async<Async<bool>> = Async.StartChild (v925, v0)
    let _v963 = v979 
    #endif
    let v980 : Async<Async<bool>> = _v963 
    let! v980 = v980 
    let v985 : Async<bool> = v980 
    let v986 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v987 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
    let _v986 = v987 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v990 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
    let _v986 = v990 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v993 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
    let _v986 = v993 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v996 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
    let _v986 = v996 
    #endif
#if FABLE_COMPILER_PYTHON
    let v999 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
    let _v986 = v999 
    #endif
#else
    let v1002 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch
    let v1003 : Async<Choice<bool, exn>> = v1002 v985
    let _v986 = v1003 
    #endif
    let v1004 : Async<Choice<bool, exn>> = _v986 
    let v1009 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v1010 : Async<US5> = null |> unbox<Async<US5>>
    let _v1009 = v1010 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v1013 : Async<US5> = null |> unbox<Async<US5>>
    let _v1009 = v1013 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v1016 : Async<US5> = null |> unbox<Async<US5>>
    let _v1009 = v1016 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v1019 : Async<US5> = null |> unbox<Async<US5>>
    let _v1009 = v1019 
    #endif
#if FABLE_COMPILER_PYTHON
    let v1022 : Async<US5> = null |> unbox<Async<US5>>
    let _v1009 = v1022 
    #endif
#else
    let v1025 : Async<US5> option = None
    let mutable _v1025 = v1025 
    async {
    let! v1004 = v1004 
    let v1026 : Choice<bool, exn> = v1004 
    let v1027 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v1028 : US5 = null |> unbox<US5>
    let _v1027 = v1028 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v1031 : US5 = null |> unbox<US5>
    let _v1027 = v1031 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v1034 : US5 = null |> unbox<US5>
    let _v1027 = v1034 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v1037 : US5 = null |> unbox<US5>
    let _v1027 = v1037 
    #endif
#if FABLE_COMPILER_PYTHON
    let v1040 : US5 = null |> unbox<US5>
    let _v1027 = v1040 
    #endif
#else
    let v1043 : (bool -> US5) = closure16()
    let v1044 : (exn -> US5) = closure17()
    let v1045 : US5 = match v1026 with Choice1Of2 x -> v1043 x | Choice2Of2 x -> v1044 x
    let _v1027 = v1045 
    #endif
    let v1046 : US5 = _v1027 
    return v1046 
    }
    |> fun x -> _v1025 <- Some x
    let v1051 : Async<US5> = match _v1025 with Some x -> x | None -> failwith "async.new_async_unit / _v1025=None"
    let _v1009 = v1051 
    #endif
    let v1052 : Async<US5> = _v1009 
    let v1057 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v1058 : Async<US6> = null |> unbox<Async<US6>>
    let _v1057 = v1058 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v1061 : Async<US6> = null |> unbox<Async<US6>>
    let _v1057 = v1061 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v1064 : Async<US6> = null |> unbox<Async<US6>>
    let _v1057 = v1064 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v1067 : Async<US6> = null |> unbox<Async<US6>>
    let _v1057 = v1067 
    #endif
#if FABLE_COMPILER_PYTHON
    let v1070 : Async<US6> = null |> unbox<Async<US6>>
    let _v1057 = v1070 
    #endif
#else
    let v1073 : Async<US6> option = None
    let mutable _v1073 = v1073 
    async {
    let! v1052 = v1052 
    let v1074 : US5 = v1052 
    let v1080 : US6 =
        match v1074 with
        | US5_0(v1075) -> (* C1of2 *)
            US6_0(v1075)
        | US5_1(v1077) -> (* C2of2 *)
            US6_1(v1077)
    return v1080 
    }
    |> fun x -> _v1073 <- Some x
    let v1081 : Async<US6> = match _v1073 with Some x -> x | None -> failwith "async.new_async_unit / _v1073=None"
    let _v1057 = v1081 
    #endif
    let v1082 : Async<US6> = _v1057 
    let v1087 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v1088 : Async<US4> = null |> unbox<Async<US4>>
    let _v1087 = v1088 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v1091 : Async<US4> = null |> unbox<Async<US4>>
    let _v1087 = v1091 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v1094 : Async<US4> = null |> unbox<Async<US4>>
    let _v1087 = v1094 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v1097 : Async<US4> = null |> unbox<Async<US4>>
    let _v1087 = v1097 
    #endif
#if FABLE_COMPILER_PYTHON
    let v1100 : Async<US4> = null |> unbox<Async<US4>>
    let _v1087 = v1100 
    #endif
#else
    let v1103 : Async<US4> option = None
    let mutable _v1103 = v1103 
    async {
    let! v1082 = v1082 
    let v1104 : US6 = v1082 
    let v2773 : US4 =
        match v1104 with
        | US6_1(v1107) -> (* Error *)
            let v1108 : string = $"%A{v1107}"
            let v1111 : string = "System.TimeoutException"
            let v1112 : bool = v1108.Contains v1111 
            if v1112 then
                let v1115 : unit = ()
                let v1116 : (unit -> unit) = closure18(v0)
                let v1117 : unit = (fun () -> v1116 (); v1115) ()
                US4_1
            else
                let v1915 : unit = ()
                let v1916 : (unit -> unit) = closure19(v0, v1107)
                let v1917 : unit = (fun () -> v1916 (); v1915) ()
                US4_1
        | US6_0(v1105) -> (* Ok *)
            US4_0(v1105)
    return v2773 
    }
    |> fun x -> _v1103 <- Some x
    let v2774 : Async<US4> = match _v1103 with Some x -> x | None -> failwith "async.new_async_unit / _v1103=None"
    let _v1087 = v2774 
    #endif
    let v2775 : Async<US4> = _v1087 
    return! v2775 
    }
    |> fun x -> _v962 <- Some x
    let v2780 : Async<US4> = match _v962 with Some x -> x | None -> failwith "async.new_async_unit / _v962=None"
    let _v946 = v2780 
    #endif
    let v2781 : Async<US4> = _v946 
    let _v930 = v2781 
    #endif
    let v2786 : Async<US4> = _v930 
    let! v2786 = v2786 
    let v2791 : US4 = v2786 
    let v2794 : bool =
        match v2791 with
        | US4_1 -> (* None *)
            false
        | US4_0(v2792) -> (* Some *)
            v2792
    return v2794 
    }
    |> fun x -> _v19 <- Some x
    let v2795 : Async<bool> = match _v19 with Some x -> x | None -> failwith "async.new_async_unit / _v19=None"
    let _v3 = v2795 
    #endif
    let v2796 : Async<bool> = _v3 
    v2796
and closure14 (v0 : int32) (v1 : string) : (int32 -> Async<bool>) =
    closure15(v0, v1)
and closure13 () (v0 : int32) : (string -> (int32 -> Async<bool>)) =
    closure14(v0)
and closure24 (v0 : US7 option ref) (v1 : US7 option) : US7 option ref =
    v0.Value <- v1 
    v0
and closure25 (v0 : int32 option, v1 : (US7 option -> US7 option ref)) () : unit =
    match v0 with
    | Some x -> (
    (fun () ->
    (fun () ->
    let v2 : int32 = x
    let v3 : US7 = US7_0(v2)
    v3 
    )
    |> fun x -> x () |> Some
    ) () ) | None -> None
    |> v1 |> ignore
    ()
and closure26 (v0 : int32 option, v1 : bool, v2 : int32, v3 : int64) () : unit =
    let v4 : unit = ()
    let v5 : (unit -> unit) = closure0()
    let v6 : unit = (fun () -> v5 (); v4) ()
    let struct (v20 : Mut0, v21 : Mut1, v22 : Mut2, v23 : Mut3, v24 : Mut4, v25 : int64 option) = TraceState.trace_state.Value
    let v38 : unit = ()
    let v39 : unit = (fun () -> v5 (); v38) ()
    let struct (v53 : Mut0, v54 : Mut1, v55 : Mut2, v56 : Mut3, v57 : Mut4, v58 : int64 option) = TraceState.trace_state.Value
    let v71 : US0 = v57.l0
    let v72 : bool = v55.l0
    let v73 : bool = v72 = false
    let v76 : bool =
        if v73 then
            false
        else
            let v74 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v71
            let v75 : bool = 0 >= v74
            v75
    if v76 then
        let v77 : unit = ()
        let v78 : (unit -> unit) = closure7(v20)
        let v79 : unit = (fun () -> v78 (); v77) ()
        let v82 : unit = ()
        let v83 : unit = (fun () -> v5 (); v82) ()
        let struct (v97 : Mut0, v98 : Mut1, v99 : Mut2, v100 : Mut3, v101 : Mut4, v102 : int64 option) = TraceState.trace_state.Value
        let v115 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v116 : US3 option = None
        let _v116 = ref v116 
        let v117 : US3 option ref = _v116 
        let v118 : (US3 option -> US3 option ref) = closure8(v117)
        let v119 : unit = ()
        let v120 : (unit -> unit) = closure9(v102, v118)
        let v121 : unit = (fun () -> v120 (); v119) ()
        let v124 : US3 option = _v116.Value 
        let v135 : US3 = US3_1
        let v136 : US3 = v124 |> Option.defaultValue v135 
        let v176 : System.DateTime =
            match v136 with
            | US3_1 -> (* None *)
                let v172 : System.DateTime = System.DateTime.Now
                v172
            | US3_0(v140) -> (* Some *)
                let v141 : System.DateTime = System.DateTime.Now
                let v144 : (System.DateTime -> int64) = _.Ticks
                let v145 : int64 = v144 v141
                let v148 : int64 = v145 - v140
                let v149 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v150 : System.TimeSpan = v149 v148
                let v153 : (System.TimeSpan -> int32) = _.Hours
                let v154 : int32 = v153 v150
                let v157 : (System.TimeSpan -> int32) = _.Minutes
                let v158 : int32 = v157 v150
                let v161 : (System.TimeSpan -> int32) = _.Seconds
                let v162 : int32 = v161 v150
                let v165 : (System.TimeSpan -> int32) = _.Milliseconds
                let v166 : int32 = v165 v150
                let v169 : System.DateTime = System.DateTime (1, 1, 1, v154, v158, v162, v166)
                v169
        let v177 : string = method5()
        let v180 : (string -> string) = v176.ToString
        let v181 : string = v180 v177
        let _v115 = v181 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v184 : US3 option = None
        let _v184 = ref v184 
        let v185 : US3 option ref = _v184 
        let v186 : (US3 option -> US3 option ref) = closure8(v185)
        let v187 : unit = ()
        let v188 : (unit -> unit) = closure9(v102, v186)
        let v189 : unit = (fun () -> v188 (); v187) ()
        let v192 : US3 option = _v184.Value 
        let v203 : US3 = US3_1
        let v204 : US3 = v192 |> Option.defaultValue v203 
        let v244 : System.DateTime =
            match v204 with
            | US3_1 -> (* None *)
                let v240 : System.DateTime = System.DateTime.Now
                v240
            | US3_0(v208) -> (* Some *)
                let v209 : System.DateTime = System.DateTime.Now
                let v212 : (System.DateTime -> int64) = _.Ticks
                let v213 : int64 = v212 v209
                let v216 : int64 = v213 - v208
                let v217 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v218 : System.TimeSpan = v217 v216
                let v221 : (System.TimeSpan -> int32) = _.Hours
                let v222 : int32 = v221 v218
                let v225 : (System.TimeSpan -> int32) = _.Minutes
                let v226 : int32 = v225 v218
                let v229 : (System.TimeSpan -> int32) = _.Seconds
                let v230 : int32 = v229 v218
                let v233 : (System.TimeSpan -> int32) = _.Milliseconds
                let v234 : int32 = v233 v218
                let v237 : System.DateTime = System.DateTime (1, 1, 1, v222, v226, v230, v234)
                v237
        let v245 : string = method5()
        let v248 : (string -> string) = v244.ToString
        let v249 : string = v248 v245
        let _v115 = v249 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v252 : string = $"near_sdk::env::block_timestamp()"
        let v253 : uint64 = Fable.Core.RustInterop.emitRustExpr () v252 
        let v254 : US3 option = None
        let _v254 = ref v254 
        let v255 : US3 option ref = _v254 
        let v256 : (US3 option -> US3 option ref) = closure8(v255)
        let v257 : unit = ()
        let v258 : (unit -> unit) = closure9(v102, v256)
        let v259 : unit = (fun () -> v258 (); v257) ()
        let v262 : US3 option = _v254.Value 
        let v273 : US3 = US3_1
        let v274 : US3 = v262 |> Option.defaultValue v273 
        let v283 : uint64 =
            match v274 with
            | US3_1 -> (* None *)
                v253
            | US3_0(v278) -> (* Some *)
                let v279 : (int64 -> uint64) = uint64
                let v280 : uint64 = v279 v278
                let v281 : uint64 = v253 - v280
                v281
        let v284 : uint64 = v283 / 1000000000UL
        let v285 : uint64 = v284 % 60UL
        let v286 : uint64 = v284 / 60UL
        let v287 : uint64 = v286 % 60UL
        let v288 : uint64 = v284 / 3600UL
        let v289 : uint64 = v288 % 24UL
        let v290 : string = $"format!(\"{{:02}}:{{:02}}:{{:02}}\", $0, $1, $2)"
        let v291 : std_string_String = Fable.Core.RustInterop.emitRustExpr struct (v289, v287, v285) v290 
        let v292 : string = "fable_library_rust::String_::fromString($0)"
        let v293 : string = Fable.Core.RustInterop.emitRustExpr v291 v292 
        let _v115 = v293 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v294 : US3 option = None
        let _v294 = ref v294 
        let v295 : US3 option ref = _v294 
        let v296 : (US3 option -> US3 option ref) = closure8(v295)
        let v297 : unit = ()
        let v298 : (unit -> unit) = closure9(v102, v296)
        let v299 : unit = (fun () -> v298 (); v297) ()
        let v302 : US3 option = _v294.Value 
        let v313 : US3 = US3_1
        let v314 : US3 = v302 |> Option.defaultValue v313 
        let v354 : System.DateTime =
            match v314 with
            | US3_1 -> (* None *)
                let v350 : System.DateTime = System.DateTime.Now
                v350
            | US3_0(v318) -> (* Some *)
                let v319 : System.DateTime = System.DateTime.Now
                let v322 : (System.DateTime -> int64) = _.Ticks
                let v323 : int64 = v322 v319
                let v326 : int64 = v323 - v318
                let v327 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v328 : System.TimeSpan = v327 v326
                let v331 : (System.TimeSpan -> int32) = _.Hours
                let v332 : int32 = v331 v328
                let v335 : (System.TimeSpan -> int32) = _.Minutes
                let v336 : int32 = v335 v328
                let v339 : (System.TimeSpan -> int32) = _.Seconds
                let v340 : int32 = v339 v328
                let v343 : (System.TimeSpan -> int32) = _.Milliseconds
                let v344 : int32 = v343 v328
                let v347 : System.DateTime = System.DateTime (1, 1, 1, v332, v336, v340, v344)
                v347
        let v355 : string = method6()
        let v358 : (string -> string) = v354.ToString
        let v359 : string = v358 v355
        let _v115 = v359 
        #endif
#if FABLE_COMPILER_PYTHON
        let v362 : US3 option = None
        let _v362 = ref v362 
        let v363 : US3 option ref = _v362 
        let v364 : (US3 option -> US3 option ref) = closure8(v363)
        let v365 : unit = ()
        let v366 : (unit -> unit) = closure9(v102, v364)
        let v367 : unit = (fun () -> v366 (); v365) ()
        let v370 : US3 option = _v362.Value 
        let v381 : US3 = US3_1
        let v382 : US3 = v370 |> Option.defaultValue v381 
        let v422 : System.DateTime =
            match v382 with
            | US3_1 -> (* None *)
                let v418 : System.DateTime = System.DateTime.Now
                v418
            | US3_0(v386) -> (* Some *)
                let v387 : System.DateTime = System.DateTime.Now
                let v390 : (System.DateTime -> int64) = _.Ticks
                let v391 : int64 = v390 v387
                let v394 : int64 = v391 - v386
                let v395 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v396 : System.TimeSpan = v395 v394
                let v399 : (System.TimeSpan -> int32) = _.Hours
                let v400 : int32 = v399 v396
                let v403 : (System.TimeSpan -> int32) = _.Minutes
                let v404 : int32 = v403 v396
                let v407 : (System.TimeSpan -> int32) = _.Seconds
                let v408 : int32 = v407 v396
                let v411 : (System.TimeSpan -> int32) = _.Milliseconds
                let v412 : int32 = v411 v396
                let v415 : System.DateTime = System.DateTime (1, 1, 1, v400, v404, v408, v412)
                v415
        let v423 : string = method6()
        let v426 : (string -> string) = v422.ToString
        let v427 : string = v426 v423
        let _v115 = v427 
        #endif
#else
        let v430 : US3 option = None
        let _v430 = ref v430 
        let v431 : US3 option ref = _v430 
        let v432 : (US3 option -> US3 option ref) = closure8(v431)
        let v433 : unit = ()
        let v434 : (unit -> unit) = closure9(v102, v432)
        let v435 : unit = (fun () -> v434 (); v433) ()
        let v438 : US3 option = _v430.Value 
        let v449 : US3 = US3_1
        let v450 : US3 = v438 |> Option.defaultValue v449 
        let v490 : System.DateTime =
            match v450 with
            | US3_1 -> (* None *)
                let v486 : System.DateTime = System.DateTime.Now
                v486
            | US3_0(v454) -> (* Some *)
                let v455 : System.DateTime = System.DateTime.Now
                let v458 : (System.DateTime -> int64) = _.Ticks
                let v459 : int64 = v458 v455
                let v462 : int64 = v459 - v454
                let v463 : (int64 -> System.TimeSpan) = System.TimeSpan 
                let v464 : System.TimeSpan = v463 v462
                let v467 : (System.TimeSpan -> int32) = _.Hours
                let v468 : int32 = v467 v464
                let v471 : (System.TimeSpan -> int32) = _.Minutes
                let v472 : int32 = v471 v464
                let v475 : (System.TimeSpan -> int32) = _.Seconds
                let v476 : int32 = v475 v464
                let v479 : (System.TimeSpan -> int32) = _.Milliseconds
                let v480 : int32 = v479 v464
                let v483 : System.DateTime = System.DateTime (1, 1, 1, v468, v472, v476, v480)
                v483
        let v491 : string = method6()
        let v494 : (string -> string) = v490.ToString
        let v495 : string = v494 v491
        let _v115 = v495 
        #endif
        let v498 : string = _v115 
        
        
        
        
        
        let v568 : string = "Verbose"
        let v569 : (unit -> string) = v568.ToLower
        let v570 : string = v569 ()
        let v573 : string = v570.PadLeft (7, ' ')
        let v587 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v588 : string = "inline_colorization::color_bright_black"
        let v589 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v588 
        let v590 : string = "&*$0"
        let v591 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v573 v590 
        let v592 : string = "inline_colorization::color_reset"
        let v593 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v592 
        let v594 : string = "\"{v589}{v591}{v593}\""
        let v595 : string = @$"format!(" + v594 + ")"
        let v596 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v595 
        let v597 : string = "fable_library_rust::String_::fromString($0)"
        let v598 : string = Fable.Core.RustInterop.emitRustExpr v596 v597 
        let _v587 = v598 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v599 : string = "inline_colorization::color_bright_black"
        let v600 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v599 
        let v601 : string = "&*$0"
        let v602 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v573 v601 
        let v603 : string = "inline_colorization::color_reset"
        let v604 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v603 
        let v605 : string = "\"{v600}{v602}{v604}\""
        let v606 : string = @$"format!(" + v605 + ")"
        let v607 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v606 
        let v608 : string = "fable_library_rust::String_::fromString($0)"
        let v609 : string = Fable.Core.RustInterop.emitRustExpr v607 v608 
        let _v587 = v609 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v610 : string = "inline_colorization::color_bright_black"
        let v611 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v610 
        let v612 : string = "&*$0"
        let v613 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v573 v612 
        let v614 : string = "inline_colorization::color_reset"
        let v615 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v614 
        let v616 : string = "\"{v611}{v613}{v615}\""
        let v617 : string = @$"format!(" + v616 + ")"
        let v618 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v617 
        let v619 : string = "fable_library_rust::String_::fromString($0)"
        let v620 : string = Fable.Core.RustInterop.emitRustExpr v618 v619 
        let _v587 = v620 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v621 : string = "\u001b[90m"
        let v622 : string = method7()
        let v623 : string = v621 + v573 
        let v624 : string = v623 + v622 
        let _v587 = v624 
        #endif
#if FABLE_COMPILER_PYTHON
        let v625 : string = "\u001b[90m"
        let v626 : string = method7()
        let v627 : string = v625 + v573 
        let v628 : string = v627 + v626 
        let _v587 = v628 
        #endif
#else
        let v629 : string = "\u001b[90m"
        let v630 : string = method7()
        let v631 : string = v629 + v573 
        let v632 : string = v631 + v630 
        let _v587 = v632 
        #endif
        let v633 : string = _v587 
        let v639 : int64 = v97.l0
        let v640 : string = method8()
        let v641 : Mut3 = {l0 = v640} : Mut3
        let v642 : string = "{ "
        let v643 : string = $"{v642}"
        let v646 : unit = ()
        let v647 : (unit -> unit) = closure10(v641, v643)
        let v648 : unit = (fun () -> v647 (); v646) ()
        let v651 : string = "port"
        let v652 : string = $"{v651}"
        let v655 : unit = ()
        let v656 : (unit -> unit) = closure10(v641, v652)
        let v657 : unit = (fun () -> v656 (); v655) ()
        let v660 : string = " = "
        let v661 : string = $"{v660}"
        let v664 : unit = ()
        let v665 : (unit -> unit) = closure10(v641, v661)
        let v666 : unit = (fun () -> v665 (); v664) ()
        let v669 : string = $"{v2}"
        let v672 : unit = ()
        let v673 : (unit -> unit) = closure10(v641, v669)
        let v674 : unit = (fun () -> v673 (); v672) ()
        let v677 : string = "; "
        let v678 : string = $"{v677}"
        let v681 : unit = ()
        let v682 : (unit -> unit) = closure10(v641, v678)
        let v683 : unit = (fun () -> v682 (); v681) ()
        let v686 : string = "retry"
        let v687 : string = $"{v686}"
        let v690 : unit = ()
        let v691 : (unit -> unit) = closure10(v641, v687)
        let v692 : unit = (fun () -> v691 (); v690) ()
        let v695 : string = $"{v660}"
        let v698 : unit = ()
        let v699 : (unit -> unit) = closure10(v641, v695)
        let v700 : unit = (fun () -> v699 (); v698) ()
        let v703 : string = $"{v3}"
        let v706 : unit = ()
        let v707 : (unit -> unit) = closure10(v641, v703)
        let v708 : unit = (fun () -> v707 (); v706) ()
        let v711 : string = $"{v677}"
        let v714 : unit = ()
        let v715 : (unit -> unit) = closure10(v641, v711)
        let v716 : unit = (fun () -> v715 (); v714) ()
        let v719 : string = "timeout"
        let v720 : string = $"{v719}"
        let v723 : unit = ()
        let v724 : (unit -> unit) = closure10(v641, v720)
        let v725 : unit = (fun () -> v724 (); v723) ()
        let v728 : string = $"{v660}"
        let v731 : unit = ()
        let v732 : (unit -> unit) = closure10(v641, v728)
        let v733 : unit = (fun () -> v732 (); v731) ()
        let v736 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v737 : string = "format!(\"{:#?}\", $0)"
        let v738 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v737 
        let v739 : string = "fable_library_rust::String_::fromString($0)"
        let v740 : string = Fable.Core.RustInterop.emitRustExpr v738 v739 
        let _v736 = v740 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v741 : string = "format!(\"{:#?}\", $0)"
        let v742 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v741 
        let v743 : string = "fable_library_rust::String_::fromString($0)"
        let v744 : string = Fable.Core.RustInterop.emitRustExpr v742 v743 
        let _v736 = v744 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v745 : string = "format!(\"{:#?}\", $0)"
        let v746 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v745 
        let v747 : string = "fable_library_rust::String_::fromString($0)"
        let v748 : string = Fable.Core.RustInterop.emitRustExpr v746 v747 
        let _v736 = v748 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v749 : string = $"%A{v0}"
        let _v736 = v749 
        #endif
#if FABLE_COMPILER_PYTHON
        let v752 : string = $"%A{v0}"
        let _v736 = v752 
        #endif
#else
        let v755 : string = $"%A{v0}"
        let _v736 = v755 
        #endif
        let v758 : string = _v736 
        let v763 : string = $"{v758}"
        let v766 : unit = ()
        let v767 : (unit -> unit) = closure10(v641, v763)
        let v768 : unit = (fun () -> v767 (); v766) ()
        let v771 : string = $"{v677}"
        let v774 : unit = ()
        let v775 : (unit -> unit) = closure10(v641, v771)
        let v776 : unit = (fun () -> v775 (); v774) ()
        let v779 : string = "status"
        let v780 : string = $"{v779}"
        let v783 : unit = ()
        let v784 : (unit -> unit) = closure10(v641, v780)
        let v785 : unit = (fun () -> v784 (); v783) ()
        let v788 : string = $"{v660}"
        let v791 : unit = ()
        let v792 : (unit -> unit) = closure10(v641, v788)
        let v793 : unit = (fun () -> v792 (); v791) ()
        let v798 : string =
            if v1 then
                let v796 : string = "true"
                v796
            else
                let v797 : string = "false"
                v797
        let v799 : string = $"{v798}"
        let v802 : unit = ()
        let v803 : (unit -> unit) = closure10(v641, v799)
        let v804 : unit = (fun () -> v803 (); v802) ()
        let v807 : string = " }"
        let v808 : string = $"{v807}"
        let v811 : unit = ()
        let v812 : (unit -> unit) = closure10(v641, v808)
        let v813 : unit = (fun () -> v812 (); v811) ()
        let v816 : string = v641.l0
        let v817 : string = "networking.wait_for_port_access"
        let v818 : string = $"{v498} {v633} #{v639} %s{v817} / {v816}"
        let v821 : char list = []
        let v822 : (char list -> (char [])) = List.toArray
        let v823 : (char []) = v822 v821
        let v826 : string = v818.TrimStart v823 
        let v844 : char list = []
        let v845 : char list = '/' :: v844 
        let v848 : char list = ' ' :: v845 
        let v851 : (char list -> (char [])) = List.toArray
        let v852 : (char []) = v851 v848
        let v855 : string = v826.TrimEnd v852 
        let v873 : (string -> unit) = closure11()
        let v874 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v875 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v855 v875 
        let _v874 = () 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v876 : string = @"println!(""{}"", $0)"
        Fable.Core.RustInterop.emitRustExpr v855 v876 
        let _v874 = () 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v877 : string = v23.l0
        let v878 : bool = v877 = ""
        let v886 : string =
            if v878 then
                v855
            else
                let v879 : bool = v855 = ""
                if v879 then
                    let v880 : string = v23.l0
                    v880
                else
                    let v881 : string = v23.l0
                    let v882 : string = "\n"
                    let v883 : string = v881 + v882 
                    let v884 : string = v883 + v855 
                    v884
        let v887 : string = "&*$0"
        let v888 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v886 v887 
        let v889 : string = $"$0.chars()"
        let v890 : Mut<_> = Fable.Core.RustInterop.emitRustExpr v888 v889 
        let v891 : string = "v890"
        let v892 : _ = Fable.Core.RustInterop.emitRustExpr () v891 
        let v893 : string = "v892.collect::<Vec<_>>()"
        let v894 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v893 
        let v895 : string = "$0.chunks(15000).map(|x| x.into_iter().map(|x| x.clone()).collect::<Vec<_>>()).collect::<Vec<_>>()"
        let v896 : Vec<Vec<char>> = Fable.Core.RustInterop.emitRustExpr v894 v895 
        let v897 : string = "true; let _vec_map : Vec<_> = $0.into_iter().map(|x| { //"
        let v898 : bool = Fable.Core.RustInterop.emitRustExpr v896 v897 
        let v899 : string = "x"
        let v900 : Vec<char> = Fable.Core.RustInterop.emitRustExpr () v899 
        let v901 : string = "String::from_iter($0)"
        let v902 : std_string_String = Fable.Core.RustInterop.emitRustExpr v900 v901 
        let v903 : string = "true; $0 }).collect::<Vec<_>>()"
        let v904 : bool = Fable.Core.RustInterop.emitRustExpr v902 v903 
        let v905 : string = "_vec_map"
        let v906 : Vec<std_string_String> = Fable.Core.RustInterop.emitRustExpr () v905 
        let v907 : string = "$0.len()"
        let v908 : unativeint = Fable.Core.RustInterop.emitRustExpr v906 v907 
        let v909 : (unativeint -> int32) = int32
        let v910 : int32 = v909 v908
        let v911 : string = ""
        let v912 : bool = v855 <> v911 
        let v916 : bool =
            if v912 then
                let v915 : bool = v910 <= 1
                v915
            else
                false
        if v916 then
            v23.l0 <- v886
            ()
        else
            v23.l0 <- v911
            let v917 : string = "true; $0.into_iter().for_each(|x| { //"
            let v918 : bool = Fable.Core.RustInterop.emitRustExpr v906 v917 
            let v919 : string = "x"
            let v920 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v919 
            let v921 : string = $"near_sdk::log!(\"{{}}\", $0)"
            Fable.Core.RustInterop.emitRustExpr v920 v921 
            let v922 : string = $"true;"
            let v923 : bool = Fable.Core.RustInterop.emitRustExpr () v922 
            let v924 : string = "true; }}); { //"
            let v925 : bool = Fable.Core.RustInterop.emitRustExpr () v924 
            ()
        let _v874 = () 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        v873 v855
        let _v874 = () 
        #endif
#if FABLE_COMPILER_PYTHON
        v873 v855
        let _v874 = () 
        #endif
#else
        v873 v855
        let _v874 = () 
        #endif
        _v874 
        let v926 : (string -> unit) = v21.l0
        v926 v855
and method9 (v0 : int32 option, v1 : bool, v2 : string, v3 : int32, v4 : int64) : Async<int64> =
    let v5 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v6 : Async<int64> = null |> unbox<Async<int64>>
    let _v5 = v6 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v9 : Async<int64> = null |> unbox<Async<int64>>
    let _v5 = v9 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v12 : Async<int64> = null |> unbox<Async<int64>>
    let _v5 = v12 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v15 : Async<int64> = null |> unbox<Async<int64>>
    let _v5 = v15 
    #endif
#if FABLE_COMPILER_PYTHON
    let v18 : Async<int64> = null |> unbox<Async<int64>>
    let _v5 = v18 
    #endif
#else
    let v21 : Async<int64> option = None
    let mutable _v21 = v21 
    async {
    let v22 : US7 option = None
    let _v22 = ref v22 
    let v23 : US7 option ref = _v22 
    let v24 : (US7 option -> US7 option ref) = closure24(v23)
    let v25 : unit = ()
    let v26 : (unit -> unit) = closure25(v0, v24)
    let v27 : unit = (fun () -> v26 (); v25) ()
    let v30 : US7 option = _v22.Value 
    let v41 : US7 = US7_1
    let v42 : US7 = v30 |> Option.defaultValue v41 
    let v3756 : Async<bool> =
        match v42 with
        | US7_1 -> (* None *)
            let v46 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v47 : Async<bool> = null |> unbox<Async<bool>>
            let _v46 = v47 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v50 : Async<bool> = null |> unbox<Async<bool>>
            let _v46 = v50 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v53 : Async<bool> = null |> unbox<Async<bool>>
            let _v46 = v53 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v56 : Async<bool> = null |> unbox<Async<bool>>
            let _v46 = v56 
            #endif
#if FABLE_COMPILER_PYTHON
            let v59 : Async<bool> = null |> unbox<Async<bool>>
            let _v46 = v59 
            #endif
#else
            let v62 : Async<bool> option = None
            let mutable _v62 = v62 
            async {
            let v63 : Async<System.Threading.CancellationToken> = Async.CancellationToken
            let! v63 = v63 
            let v64 : System.Threading.CancellationToken = v63 
            let v65 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
            use v65 = v65 
            let v66 : System.Net.Sockets.TcpClient = v65 
            try
            let v67 : System.Threading.Tasks.ValueTask = v66.ConnectAsync (v2, v3, v64)
            let v68 : (unit -> System.Threading.Tasks.Task) = v67.AsTask
            let v69 : System.Threading.Tasks.Task = v68 ()
            let v70 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v71 : Async<unit> = null |> unbox<Async<unit>>
            let _v70 = v71 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v74 : Async<unit> = null |> unbox<Async<unit>>
            let _v70 = v74 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v77 : Async<unit> = null |> unbox<Async<unit>>
            let _v70 = v77 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v80 : Async<unit> = null |> unbox<Async<unit>>
            let _v70 = v80 
            #endif
#if FABLE_COMPILER_PYTHON
            let v83 : Async<unit> = null |> unbox<Async<unit>>
            let _v70 = v83 
            #endif
#else
            let v86 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
            let v87 : Async<unit> = v86 v69
            let _v70 = v87 
            #endif
            let v88 : Async<unit> = _v70 
            do! v88 
            return true 
            with ex ->
            let v93 : exn = ex
            let v94 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v95 : string = $"%A{v93}"
            let _v94 = v95 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v98 : string = $"%A{v93}"
            let _v94 = v98 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v101 : string = $"%A{v93}"
            let _v94 = v101 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v104 : string = $"%A{v93}"
            let _v94 = v104 
            #endif
#if FABLE_COMPILER_PYTHON
            let v107 : string = $"%A{v93}"
            let _v94 = v107 
            #endif
#else
            let v110 : string = $"{v93.GetType ()}: {v93.Message}"
            let _v94 = v110 
            #endif
            let v111 : string = _v94 
            let v116 : unit = ()
            let v117 : (unit -> unit) = closure6(v3, v111)
            let v118 : unit = (fun () -> v117 (); v116) ()
            return false 
            (*
            let v949 : bool = *)
            }
            |> fun x -> _v62 <- Some x
            let v950 : Async<bool> = match _v62 with Some x -> x | None -> failwith "async.new_async_unit / _v62=None"
            let _v46 = v950 
            #endif
            let v951 : Async<bool> = _v46 
            v951
        | US7_0(v956) -> (* Some *)
            let v957 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v958 : Async<bool> = null |> unbox<Async<bool>>
            let _v957 = v958 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v961 : Async<bool> = null |> unbox<Async<bool>>
            let _v957 = v961 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v964 : Async<bool> = null |> unbox<Async<bool>>
            let _v957 = v964 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v967 : Async<bool> = null |> unbox<Async<bool>>
            let _v957 = v967 
            #endif
#if FABLE_COMPILER_PYTHON
            let v970 : Async<bool> = null |> unbox<Async<bool>>
            let _v957 = v970 
            #endif
#else
            let v973 : Async<bool> option = None
            let mutable _v973 = v973 
            async {
            let v974 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v975 : Async<bool> = null |> unbox<Async<bool>>
            let _v974 = v975 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v978 : Async<bool> = null |> unbox<Async<bool>>
            let _v974 = v978 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v981 : Async<bool> = null |> unbox<Async<bool>>
            let _v974 = v981 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v984 : Async<bool> = null |> unbox<Async<bool>>
            let _v974 = v984 
            #endif
#if FABLE_COMPILER_PYTHON
            let v987 : Async<bool> = null |> unbox<Async<bool>>
            let _v974 = v987 
            #endif
#else
            let v990 : Async<bool> option = None
            let mutable _v990 = v990 
            async {
            let v991 : Async<System.Threading.CancellationToken> = Async.CancellationToken
            let! v991 = v991 
            let v992 : System.Threading.CancellationToken = v991 
            let v993 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
            use v993 = v993 
            let v994 : System.Net.Sockets.TcpClient = v993 
            try
            let v995 : System.Threading.Tasks.ValueTask = v994.ConnectAsync (v2, v3, v992)
            let v996 : (unit -> System.Threading.Tasks.Task) = v995.AsTask
            let v997 : System.Threading.Tasks.Task = v996 ()
            let v998 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v999 : Async<unit> = null |> unbox<Async<unit>>
            let _v998 = v999 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1002 : Async<unit> = null |> unbox<Async<unit>>
            let _v998 = v1002 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1005 : Async<unit> = null |> unbox<Async<unit>>
            let _v998 = v1005 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1008 : Async<unit> = null |> unbox<Async<unit>>
            let _v998 = v1008 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1011 : Async<unit> = null |> unbox<Async<unit>>
            let _v998 = v1011 
            #endif
#else
            let v1014 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
            let v1015 : Async<unit> = v1014 v997
            let _v998 = v1015 
            #endif
            let v1016 : Async<unit> = _v998 
            do! v1016 
            return true 
            with ex ->
            let v1021 : exn = ex
            let v1022 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1023 : string = $"%A{v1021}"
            let _v1022 = v1023 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1026 : string = $"%A{v1021}"
            let _v1022 = v1026 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1029 : string = $"%A{v1021}"
            let _v1022 = v1029 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1032 : string = $"%A{v1021}"
            let _v1022 = v1032 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1035 : string = $"%A{v1021}"
            let _v1022 = v1035 
            #endif
#else
            let v1038 : string = $"{v1021.GetType ()}: {v1021.Message}"
            let _v1022 = v1038 
            #endif
            let v1039 : string = _v1022 
            let v1044 : unit = ()
            let v1045 : (unit -> unit) = closure6(v3, v1039)
            let v1046 : unit = (fun () -> v1045 (); v1044) ()
            return false 
            (*
            let v1877 : bool = *)
            }
            |> fun x -> _v990 <- Some x
            let v1878 : Async<bool> = match _v990 with Some x -> x | None -> failwith "async.new_async_unit / _v990=None"
            let _v974 = v1878 
            #endif
            let v1879 : Async<bool> = _v974 
            let v1884 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1885 : Async<US4> = null |> unbox<Async<US4>>
            let _v1884 = v1885 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1888 : Async<US4> = null |> unbox<Async<US4>>
            let _v1884 = v1888 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1891 : Async<US4> = null |> unbox<Async<US4>>
            let _v1884 = v1891 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1894 : Async<US4> = null |> unbox<Async<US4>>
            let _v1884 = v1894 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1897 : Async<US4> = null |> unbox<Async<US4>>
            let _v1884 = v1897 
            #endif
#else
            let v1900 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1901 : Async<US4> = null |> unbox<Async<US4>>
            let _v1900 = v1901 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1904 : Async<US4> = null |> unbox<Async<US4>>
            let _v1900 = v1904 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1907 : Async<US4> = null |> unbox<Async<US4>>
            let _v1900 = v1907 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1910 : Async<US4> = null |> unbox<Async<US4>>
            let _v1900 = v1910 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1913 : Async<US4> = null |> unbox<Async<US4>>
            let _v1900 = v1913 
            #endif
#else
            let v1916 : Async<US4> option = None
            let mutable _v1916 = v1916 
            async {
            let v1917 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1918 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1917 = v1918 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1921 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1917 = v1921 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1924 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1917 = v1924 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1927 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1917 = v1927 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1930 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1917 = v1930 
            #endif
#else
            let v1933 : Async<Async<bool>> = Async.StartChild (v1879, v956)
            let _v1917 = v1933 
            #endif
            let v1934 : Async<Async<bool>> = _v1917 
            let! v1934 = v1934 
            let v1939 : Async<bool> = v1934 
            let v1940 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1941 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1940 = v1941 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1944 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1940 = v1944 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1947 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1940 = v1947 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1950 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1940 = v1950 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1953 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1940 = v1953 
            #endif
#else
            let v1956 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch
            let v1957 : Async<Choice<bool, exn>> = v1956 v1939
            let _v1940 = v1957 
            #endif
            let v1958 : Async<Choice<bool, exn>> = _v1940 
            let v1963 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1964 : Async<US5> = null |> unbox<Async<US5>>
            let _v1963 = v1964 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1967 : Async<US5> = null |> unbox<Async<US5>>
            let _v1963 = v1967 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1970 : Async<US5> = null |> unbox<Async<US5>>
            let _v1963 = v1970 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1973 : Async<US5> = null |> unbox<Async<US5>>
            let _v1963 = v1973 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1976 : Async<US5> = null |> unbox<Async<US5>>
            let _v1963 = v1976 
            #endif
#else
            let v1979 : Async<US5> option = None
            let mutable _v1979 = v1979 
            async {
            let! v1958 = v1958 
            let v1980 : Choice<bool, exn> = v1958 
            let v1981 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1982 : US5 = null |> unbox<US5>
            let _v1981 = v1982 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1985 : US5 = null |> unbox<US5>
            let _v1981 = v1985 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1988 : US5 = null |> unbox<US5>
            let _v1981 = v1988 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1991 : US5 = null |> unbox<US5>
            let _v1981 = v1991 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1994 : US5 = null |> unbox<US5>
            let _v1981 = v1994 
            #endif
#else
            let v1997 : (bool -> US5) = closure16()
            let v1998 : (exn -> US5) = closure17()
            let v1999 : US5 = match v1980 with Choice1Of2 x -> v1997 x | Choice2Of2 x -> v1998 x
            let _v1981 = v1999 
            #endif
            let v2000 : US5 = _v1981 
            return v2000 
            }
            |> fun x -> _v1979 <- Some x
            let v2005 : Async<US5> = match _v1979 with Some x -> x | None -> failwith "async.new_async_unit / _v1979=None"
            let _v1963 = v2005 
            #endif
            let v2006 : Async<US5> = _v1963 
            let v2011 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v2012 : Async<US6> = null |> unbox<Async<US6>>
            let _v2011 = v2012 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v2015 : Async<US6> = null |> unbox<Async<US6>>
            let _v2011 = v2015 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v2018 : Async<US6> = null |> unbox<Async<US6>>
            let _v2011 = v2018 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v2021 : Async<US6> = null |> unbox<Async<US6>>
            let _v2011 = v2021 
            #endif
#if FABLE_COMPILER_PYTHON
            let v2024 : Async<US6> = null |> unbox<Async<US6>>
            let _v2011 = v2024 
            #endif
#else
            let v2027 : Async<US6> option = None
            let mutable _v2027 = v2027 
            async {
            let! v2006 = v2006 
            let v2028 : US5 = v2006 
            let v2034 : US6 =
                match v2028 with
                | US5_0(v2029) -> (* C1of2 *)
                    US6_0(v2029)
                | US5_1(v2031) -> (* C2of2 *)
                    US6_1(v2031)
            return v2034 
            }
            |> fun x -> _v2027 <- Some x
            let v2035 : Async<US6> = match _v2027 with Some x -> x | None -> failwith "async.new_async_unit / _v2027=None"
            let _v2011 = v2035 
            #endif
            let v2036 : Async<US6> = _v2011 
            let v2041 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v2042 : Async<US4> = null |> unbox<Async<US4>>
            let _v2041 = v2042 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v2045 : Async<US4> = null |> unbox<Async<US4>>
            let _v2041 = v2045 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v2048 : Async<US4> = null |> unbox<Async<US4>>
            let _v2041 = v2048 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v2051 : Async<US4> = null |> unbox<Async<US4>>
            let _v2041 = v2051 
            #endif
#if FABLE_COMPILER_PYTHON
            let v2054 : Async<US4> = null |> unbox<Async<US4>>
            let _v2041 = v2054 
            #endif
#else
            let v2057 : Async<US4> option = None
            let mutable _v2057 = v2057 
            async {
            let! v2036 = v2036 
            let v2058 : US6 = v2036 
            let v3727 : US4 =
                match v2058 with
                | US6_1(v2061) -> (* Error *)
                    let v2062 : string = $"%A{v2061}"
                    let v2065 : string = "System.TimeoutException"
                    let v2066 : bool = v2062.Contains v2065 
                    if v2066 then
                        let v2069 : unit = ()
                        let v2070 : (unit -> unit) = closure18(v956)
                        let v2071 : unit = (fun () -> v2070 (); v2069) ()
                        US4_1
                    else
                        let v2869 : unit = ()
                        let v2870 : (unit -> unit) = closure19(v956, v2061)
                        let v2871 : unit = (fun () -> v2870 (); v2869) ()
                        US4_1
                | US6_0(v2059) -> (* Ok *)
                    US4_0(v2059)
            return v3727 
            }
            |> fun x -> _v2057 <- Some x
            let v3728 : Async<US4> = match _v2057 with Some x -> x | None -> failwith "async.new_async_unit / _v2057=None"
            let _v2041 = v3728 
            #endif
            let v3729 : Async<US4> = _v2041 
            return! v3729 
            }
            |> fun x -> _v1916 <- Some x
            let v3734 : Async<US4> = match _v1916 with Some x -> x | None -> failwith "async.new_async_unit / _v1916=None"
            let _v1900 = v3734 
            #endif
            let v3735 : Async<US4> = _v1900 
            let _v1884 = v3735 
            #endif
            let v3740 : Async<US4> = _v1884 
            let! v3740 = v3740 
            let v3745 : US4 = v3740 
            let v3748 : bool =
                match v3745 with
                | US4_1 -> (* None *)
                    false
                | US4_0(v3746) -> (* Some *)
                    v3746
            return v3748 
            }
            |> fun x -> _v973 <- Some x
            let v3749 : Async<bool> = match _v973 with Some x -> x | None -> failwith "async.new_async_unit / _v973=None"
            let _v957 = v3749 
            #endif
            let v3750 : Async<bool> = _v957 
            v3750
    let! v3756 = v3756 
    let v3757 : bool = v3756 
    let v3758 : bool = v3757 = v1
    if v3758 then
        return v4 
        (*
        ()
    else
        *) else
        let v3759 : int64 = v4 % 100L
        let v3760 : bool = v3759 = 0L
        if v3760 then
            let v3761 : unit = ()
            let v3762 : (unit -> unit) = closure26(v0, v1, v3, v4)
            let v3763 : unit = (fun () -> v3762 (); v3761) ()
            ()
        let v4687 : unit = ()
        
#if FABLE_COMPILER || WASM || CONTRACT
        
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
        let v4688 : Async<unit> = null |> unbox<Async<unit>>
        let _v4687 = v4688 
        #endif
#if FABLE_COMPILER_RUST && WASM
        let v4691 : Async<unit> = null |> unbox<Async<unit>>
        let _v4687 = v4691 
        #endif
#if FABLE_COMPILER_RUST && CONTRACT
        let v4694 : Async<unit> = null |> unbox<Async<unit>>
        let _v4687 = v4694 
        #endif
#if FABLE_COMPILER_TYPESCRIPT
        let v4697 : Async<unit> = null |> unbox<Async<unit>>
        let _v4687 = v4697 
        #endif
#if FABLE_COMPILER_PYTHON
        let v4700 : Async<unit> = null |> unbox<Async<unit>>
        let _v4687 = v4700 
        #endif
#else
        let v4703 : (int32 -> Async<unit>) = Async.Sleep
        let v4704 : Async<unit> = v4703 10
        let _v4687 = v4704 
        #endif
        let v4705 : Async<unit> = _v4687 
        do! v4705 
        let v4710 : int64 = v4 + 1L
        let v4711 : Async<int64> = method9(v0, v1, v2, v3, v4710)
        return! v4711 
        (*
        ()
    *)
    }
    |> fun x -> _v21 <- Some x
    let v4712 : Async<int64> = match _v21 with Some x -> x | None -> failwith "async.new_async_unit / _v21=None"
    let _v5 = v4712 
    #endif
    let v4713 : Async<int64> = _v5 
    v4713
and closure23 (v0 : int32 option, v1 : bool, v2 : string) (v3 : int32) : Async<int64> =
    let v4 : int64 = 0L
    method9(v0, v1, v2, v3, v4)
and closure22 (v0 : int32 option, v1 : bool) (v2 : string) : (int32 -> Async<int64>) =
    closure23(v0, v1, v2)
and closure21 (v0 : int32 option) (v1 : bool) : (string -> (int32 -> Async<int64>)) =
    closure22(v0, v1)
and closure20 () (v0 : int32 option) : (bool -> (string -> (int32 -> Async<int64>))) =
    closure21(v0)
and method10 (v0 : int32 option, v1 : string, v2 : int32) : Async<int32> =
    let v3 : unit = ()
    
#if FABLE_COMPILER || WASM || CONTRACT
    
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
    let v4 : Async<int32> = null |> unbox<Async<int32>>
    let _v3 = v4 
    #endif
#if FABLE_COMPILER_RUST && WASM
    let v7 : Async<int32> = null |> unbox<Async<int32>>
    let _v3 = v7 
    #endif
#if FABLE_COMPILER_RUST && CONTRACT
    let v10 : Async<int32> = null |> unbox<Async<int32>>
    let _v3 = v10 
    #endif
#if FABLE_COMPILER_TYPESCRIPT
    let v13 : Async<int32> = null |> unbox<Async<int32>>
    let _v3 = v13 
    #endif
#if FABLE_COMPILER_PYTHON
    let v16 : Async<int32> = null |> unbox<Async<int32>>
    let _v3 = v16 
    #endif
#else
    let v19 : Async<int32> option = None
    let mutable _v19 = v19 
    async {
    let v20 : US7 option = None
    let _v20 = ref v20 
    let v21 : US7 option ref = _v20 
    let v22 : (US7 option -> US7 option ref) = closure24(v21)
    let v23 : unit = ()
    let v24 : (unit -> unit) = closure25(v0, v22)
    let v25 : unit = (fun () -> v24 (); v23) ()
    let v28 : US7 option = _v20.Value 
    let v39 : US7 = US7_1
    let v40 : US7 = v28 |> Option.defaultValue v39 
    let v3754 : Async<bool> =
        match v40 with
        | US7_1 -> (* None *)
            let v44 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v45 : Async<bool> = null |> unbox<Async<bool>>
            let _v44 = v45 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v48 : Async<bool> = null |> unbox<Async<bool>>
            let _v44 = v48 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v51 : Async<bool> = null |> unbox<Async<bool>>
            let _v44 = v51 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v54 : Async<bool> = null |> unbox<Async<bool>>
            let _v44 = v54 
            #endif
#if FABLE_COMPILER_PYTHON
            let v57 : Async<bool> = null |> unbox<Async<bool>>
            let _v44 = v57 
            #endif
#else
            let v60 : Async<bool> option = None
            let mutable _v60 = v60 
            async {
            let v61 : Async<System.Threading.CancellationToken> = Async.CancellationToken
            let! v61 = v61 
            let v62 : System.Threading.CancellationToken = v61 
            let v63 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
            use v63 = v63 
            let v64 : System.Net.Sockets.TcpClient = v63 
            try
            let v65 : System.Threading.Tasks.ValueTask = v64.ConnectAsync (v1, v2, v62)
            let v66 : (unit -> System.Threading.Tasks.Task) = v65.AsTask
            let v67 : System.Threading.Tasks.Task = v66 ()
            let v68 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v69 : Async<unit> = null |> unbox<Async<unit>>
            let _v68 = v69 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v72 : Async<unit> = null |> unbox<Async<unit>>
            let _v68 = v72 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v75 : Async<unit> = null |> unbox<Async<unit>>
            let _v68 = v75 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v78 : Async<unit> = null |> unbox<Async<unit>>
            let _v68 = v78 
            #endif
#if FABLE_COMPILER_PYTHON
            let v81 : Async<unit> = null |> unbox<Async<unit>>
            let _v68 = v81 
            #endif
#else
            let v84 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
            let v85 : Async<unit> = v84 v67
            let _v68 = v85 
            #endif
            let v86 : Async<unit> = _v68 
            do! v86 
            return true 
            with ex ->
            let v91 : exn = ex
            let v92 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v93 : string = $"%A{v91}"
            let _v92 = v93 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v96 : string = $"%A{v91}"
            let _v92 = v96 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v99 : string = $"%A{v91}"
            let _v92 = v99 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v102 : string = $"%A{v91}"
            let _v92 = v102 
            #endif
#if FABLE_COMPILER_PYTHON
            let v105 : string = $"%A{v91}"
            let _v92 = v105 
            #endif
#else
            let v108 : string = $"{v91.GetType ()}: {v91.Message}"
            let _v92 = v108 
            #endif
            let v109 : string = _v92 
            let v114 : unit = ()
            let v115 : (unit -> unit) = closure6(v2, v109)
            let v116 : unit = (fun () -> v115 (); v114) ()
            return false 
            (*
            let v947 : bool = *)
            }
            |> fun x -> _v60 <- Some x
            let v948 : Async<bool> = match _v60 with Some x -> x | None -> failwith "async.new_async_unit / _v60=None"
            let _v44 = v948 
            #endif
            let v949 : Async<bool> = _v44 
            v949
        | US7_0(v954) -> (* Some *)
            let v955 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v956 : Async<bool> = null |> unbox<Async<bool>>
            let _v955 = v956 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v959 : Async<bool> = null |> unbox<Async<bool>>
            let _v955 = v959 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v962 : Async<bool> = null |> unbox<Async<bool>>
            let _v955 = v962 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v965 : Async<bool> = null |> unbox<Async<bool>>
            let _v955 = v965 
            #endif
#if FABLE_COMPILER_PYTHON
            let v968 : Async<bool> = null |> unbox<Async<bool>>
            let _v955 = v968 
            #endif
#else
            let v971 : Async<bool> option = None
            let mutable _v971 = v971 
            async {
            let v972 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v973 : Async<bool> = null |> unbox<Async<bool>>
            let _v972 = v973 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v976 : Async<bool> = null |> unbox<Async<bool>>
            let _v972 = v976 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v979 : Async<bool> = null |> unbox<Async<bool>>
            let _v972 = v979 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v982 : Async<bool> = null |> unbox<Async<bool>>
            let _v972 = v982 
            #endif
#if FABLE_COMPILER_PYTHON
            let v985 : Async<bool> = null |> unbox<Async<bool>>
            let _v972 = v985 
            #endif
#else
            let v988 : Async<bool> option = None
            let mutable _v988 = v988 
            async {
            let v989 : Async<System.Threading.CancellationToken> = Async.CancellationToken
            let! v989 = v989 
            let v990 : System.Threading.CancellationToken = v989 
            let v991 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
            use v991 = v991 
            let v992 : System.Net.Sockets.TcpClient = v991 
            try
            let v993 : System.Threading.Tasks.ValueTask = v992.ConnectAsync (v1, v2, v990)
            let v994 : (unit -> System.Threading.Tasks.Task) = v993.AsTask
            let v995 : System.Threading.Tasks.Task = v994 ()
            let v996 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v997 : Async<unit> = null |> unbox<Async<unit>>
            let _v996 = v997 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1000 : Async<unit> = null |> unbox<Async<unit>>
            let _v996 = v1000 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1003 : Async<unit> = null |> unbox<Async<unit>>
            let _v996 = v1003 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1006 : Async<unit> = null |> unbox<Async<unit>>
            let _v996 = v1006 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1009 : Async<unit> = null |> unbox<Async<unit>>
            let _v996 = v1009 
            #endif
#else
            let v1012 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
            let v1013 : Async<unit> = v1012 v995
            let _v996 = v1013 
            #endif
            let v1014 : Async<unit> = _v996 
            do! v1014 
            return true 
            with ex ->
            let v1019 : exn = ex
            let v1020 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1021 : string = $"%A{v1019}"
            let _v1020 = v1021 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1024 : string = $"%A{v1019}"
            let _v1020 = v1024 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1027 : string = $"%A{v1019}"
            let _v1020 = v1027 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1030 : string = $"%A{v1019}"
            let _v1020 = v1030 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1033 : string = $"%A{v1019}"
            let _v1020 = v1033 
            #endif
#else
            let v1036 : string = $"{v1019.GetType ()}: {v1019.Message}"
            let _v1020 = v1036 
            #endif
            let v1037 : string = _v1020 
            let v1042 : unit = ()
            let v1043 : (unit -> unit) = closure6(v2, v1037)
            let v1044 : unit = (fun () -> v1043 (); v1042) ()
            return false 
            (*
            let v1875 : bool = *)
            }
            |> fun x -> _v988 <- Some x
            let v1876 : Async<bool> = match _v988 with Some x -> x | None -> failwith "async.new_async_unit / _v988=None"
            let _v972 = v1876 
            #endif
            let v1877 : Async<bool> = _v972 
            let v1882 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1883 : Async<US4> = null |> unbox<Async<US4>>
            let _v1882 = v1883 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1886 : Async<US4> = null |> unbox<Async<US4>>
            let _v1882 = v1886 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1889 : Async<US4> = null |> unbox<Async<US4>>
            let _v1882 = v1889 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1892 : Async<US4> = null |> unbox<Async<US4>>
            let _v1882 = v1892 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1895 : Async<US4> = null |> unbox<Async<US4>>
            let _v1882 = v1895 
            #endif
#else
            let v1898 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1899 : Async<US4> = null |> unbox<Async<US4>>
            let _v1898 = v1899 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1902 : Async<US4> = null |> unbox<Async<US4>>
            let _v1898 = v1902 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1905 : Async<US4> = null |> unbox<Async<US4>>
            let _v1898 = v1905 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1908 : Async<US4> = null |> unbox<Async<US4>>
            let _v1898 = v1908 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1911 : Async<US4> = null |> unbox<Async<US4>>
            let _v1898 = v1911 
            #endif
#else
            let v1914 : Async<US4> option = None
            let mutable _v1914 = v1914 
            async {
            let v1915 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1916 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1915 = v1916 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1919 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1915 = v1919 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1922 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1915 = v1922 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1925 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1915 = v1925 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1928 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
            let _v1915 = v1928 
            #endif
#else
            let v1931 : Async<Async<bool>> = Async.StartChild (v1877, v954)
            let _v1915 = v1931 
            #endif
            let v1932 : Async<Async<bool>> = _v1915 
            let! v1932 = v1932 
            let v1937 : Async<bool> = v1932 
            let v1938 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1939 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1938 = v1939 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1942 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1938 = v1942 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1945 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1938 = v1945 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1948 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1938 = v1948 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1951 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
            let _v1938 = v1951 
            #endif
#else
            let v1954 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch
            let v1955 : Async<Choice<bool, exn>> = v1954 v1937
            let _v1938 = v1955 
            #endif
            let v1956 : Async<Choice<bool, exn>> = _v1938 
            let v1961 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1962 : Async<US5> = null |> unbox<Async<US5>>
            let _v1961 = v1962 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1965 : Async<US5> = null |> unbox<Async<US5>>
            let _v1961 = v1965 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1968 : Async<US5> = null |> unbox<Async<US5>>
            let _v1961 = v1968 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1971 : Async<US5> = null |> unbox<Async<US5>>
            let _v1961 = v1971 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1974 : Async<US5> = null |> unbox<Async<US5>>
            let _v1961 = v1974 
            #endif
#else
            let v1977 : Async<US5> option = None
            let mutable _v1977 = v1977 
            async {
            let! v1956 = v1956 
            let v1978 : Choice<bool, exn> = v1956 
            let v1979 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v1980 : US5 = null |> unbox<US5>
            let _v1979 = v1980 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v1983 : US5 = null |> unbox<US5>
            let _v1979 = v1983 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v1986 : US5 = null |> unbox<US5>
            let _v1979 = v1986 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v1989 : US5 = null |> unbox<US5>
            let _v1979 = v1989 
            #endif
#if FABLE_COMPILER_PYTHON
            let v1992 : US5 = null |> unbox<US5>
            let _v1979 = v1992 
            #endif
#else
            let v1995 : (bool -> US5) = closure16()
            let v1996 : (exn -> US5) = closure17()
            let v1997 : US5 = match v1978 with Choice1Of2 x -> v1995 x | Choice2Of2 x -> v1996 x
            let _v1979 = v1997 
            #endif
            let v1998 : US5 = _v1979 
            return v1998 
            }
            |> fun x -> _v1977 <- Some x
            let v2003 : Async<US5> = match _v1977 with Some x -> x | None -> failwith "async.new_async_unit / _v1977=None"
            let _v1961 = v2003 
            #endif
            let v2004 : Async<US5> = _v1961 
            let v2009 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v2010 : Async<US6> = null |> unbox<Async<US6>>
            let _v2009 = v2010 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v2013 : Async<US6> = null |> unbox<Async<US6>>
            let _v2009 = v2013 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v2016 : Async<US6> = null |> unbox<Async<US6>>
            let _v2009 = v2016 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v2019 : Async<US6> = null |> unbox<Async<US6>>
            let _v2009 = v2019 
            #endif
#if FABLE_COMPILER_PYTHON
            let v2022 : Async<US6> = null |> unbox<Async<US6>>
            let _v2009 = v2022 
            #endif
#else
            let v2025 : Async<US6> option = None
            let mutable _v2025 = v2025 
            async {
            let! v2004 = v2004 
            let v2026 : US5 = v2004 
            let v2032 : US6 =
                match v2026 with
                | US5_0(v2027) -> (* C1of2 *)
                    US6_0(v2027)
                | US5_1(v2029) -> (* C2of2 *)
                    US6_1(v2029)
            return v2032 
            }
            |> fun x -> _v2025 <- Some x
            let v2033 : Async<US6> = match _v2025 with Some x -> x | None -> failwith "async.new_async_unit / _v2025=None"
            let _v2009 = v2033 
            #endif
            let v2034 : Async<US6> = _v2009 
            let v2039 : unit = ()
            
#if FABLE_COMPILER || WASM || CONTRACT
            
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
            let v2040 : Async<US4> = null |> unbox<Async<US4>>
            let _v2039 = v2040 
            #endif
#if FABLE_COMPILER_RUST && WASM
            let v2043 : Async<US4> = null |> unbox<Async<US4>>
            let _v2039 = v2043 
            #endif
#if FABLE_COMPILER_RUST && CONTRACT
            let v2046 : Async<US4> = null |> unbox<Async<US4>>
            let _v2039 = v2046 
            #endif
#if FABLE_COMPILER_TYPESCRIPT
            let v2049 : Async<US4> = null |> unbox<Async<US4>>
            let _v2039 = v2049 
            #endif
#if FABLE_COMPILER_PYTHON
            let v2052 : Async<US4> = null |> unbox<Async<US4>>
            let _v2039 = v2052 
            #endif
#else
            let v2055 : Async<US4> option = None
            let mutable _v2055 = v2055 
            async {
            let! v2034 = v2034 
            let v2056 : US6 = v2034 
            let v3725 : US4 =
                match v2056 with
                | US6_1(v2059) -> (* Error *)
                    let v2060 : string = $"%A{v2059}"
                    let v2063 : string = "System.TimeoutException"
                    let v2064 : bool = v2060.Contains v2063 
                    if v2064 then
                        let v2067 : unit = ()
                        let v2068 : (unit -> unit) = closure18(v954)
                        let v2069 : unit = (fun () -> v2068 (); v2067) ()
                        US4_1
                    else
                        let v2867 : unit = ()
                        let v2868 : (unit -> unit) = closure19(v954, v2059)
                        let v2869 : unit = (fun () -> v2868 (); v2867) ()
                        US4_1
                | US6_0(v2057) -> (* Ok *)
                    US4_0(v2057)
            return v3725 
            }
            |> fun x -> _v2055 <- Some x
            let v3726 : Async<US4> = match _v2055 with Some x -> x | None -> failwith "async.new_async_unit / _v2055=None"
            let _v2039 = v3726 
            #endif
            let v3727 : Async<US4> = _v2039 
            return! v3727 
            }
            |> fun x -> _v1914 <- Some x
            let v3732 : Async<US4> = match _v1914 with Some x -> x | None -> failwith "async.new_async_unit / _v1914=None"
            let _v1898 = v3732 
            #endif
            let v3733 : Async<US4> = _v1898 
            let _v1882 = v3733 
            #endif
            let v3738 : Async<US4> = _v1882 
            let! v3738 = v3738 
            let v3743 : US4 = v3738 
            let v3746 : bool =
                match v3743 with
                | US4_1 -> (* None *)
                    false
                | US4_0(v3744) -> (* Some *)
                    v3744
            return v3746 
            }
            |> fun x -> _v971 <- Some x
            let v3747 : Async<bool> = match _v971 with Some x -> x | None -> failwith "async.new_async_unit / _v971=None"
            let _v955 = v3747 
            #endif
            let v3748 : Async<bool> = _v955 
            v3748
    let! v3754 = v3754 
    let v3755 : bool = v3754 
    let v3756 : bool = v3755 = false
    if v3756 then
        return v2 
        (*
        ()
    else
        *) else
        let v3757 : int32 = v2 + 1
        let v3758 : Async<int32> = method10(v0, v1, v3757)
        return! v3758 
        (*
        ()
    *)
    }
    |> fun x -> _v19 <- Some x
    let v3759 : Async<int32> = match _v19 with Some x -> x | None -> failwith "async.new_async_unit / _v19=None"
    let _v3 = v3759 
    #endif
    let v3760 : Async<int32> = _v3 
    v3760
and closure29 (v0 : int32 option, v1 : string) (v2 : int32) : Async<int32> =
    method10(v0, v1, v2)
and closure28 (v0 : int32 option) (v1 : string) : (int32 -> Async<int32>) =
    closure29(v0, v1)
and closure27 () (v0 : int32 option) : (string -> (int32 -> Async<int32>)) =
    closure28(v0)
let v0 : unit = ()
let v1 : (unit -> unit) = closure0()
let v2 : unit = (fun () -> v1 (); v0) ()
let v16 : (string -> (int32 -> Async<bool>)) = closure4()
let test_port_open x = v16 x
let v17 : (int32 -> (string -> (int32 -> Async<bool>))) = closure13()
let test_port_open_timeout x = v17 x
let v18 : (int32 option -> (bool -> (string -> (int32 -> Async<int64>)))) = closure20()
let wait_for_port_access x = v18 x
let v19 : (int32 option -> (string -> (int32 -> Async<int32>))) = closure27()
let get_available_port x = v19 x
()
00:00:00   debug #1 writeDibCode / output: Fs / path: DirTreeHtml.dib
00:00:00   debug #2 parseDibCode / output: Fs / file: DirTreeHtml.dib
00:00:00   debug #1 persistCodeProject / packages: [Argu; Falco.Markup; FSharp.Control.AsyncSeq; ... ] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: DirTreeHtml / hash:  / code.Length: 4638
00:00:00   debug #2 buildProject / fullPath: C:\home\git\polyglot\target\Builder\DirTreeHtml\DirTreeHtml.fsproj
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\DirTreeHtml\DirTreeHtml.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dir-tree-html\dist" --runtime linux-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\DirTreeHtml" } }
00:00:01 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 >   Determining projects to restore...
00:00:02 verbose #4 >   Restored C:\home\git\polyglot\target\Builder\DirTreeHtml\DirTreeHtml.fsproj (in 585 ms).
00:00:02 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\DirTreeHtml\DirTreeHtml.fsproj]
00:00:19 verbose #6 >   DirTreeHtml -> C:\home\git\polyglot\target\Builder\DirTreeHtml\bin\Release\net9.0\linux-x64\DirTreeHtml.dll
00:00:21 verbose #7 >   DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\
00:00:21   debug #8 runtime.execute_with_options_async / { exit_code = 0; output_length = 703 }
00:00:21   debug #9 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\DirTreeHtml\DirTreeHtml.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dir-tree-html\dist" --runtime win-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\DirTreeHtml" } }
00:00:21 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:22 verbose #11 >   Determining projects to restore...
00:00:23 verbose #12 >   Restored C:\home\git\polyglot\target\Builder\DirTreeHtml\DirTreeHtml.fsproj (in 511 ms).
00:00:23 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\DirTreeHtml\DirTreeHtml.fsproj]
00:00:39 verbose #14 >   DirTreeHtml -> C:\home\git\polyglot\target\Builder\DirTreeHtml\bin\Release\net9.0\win-x64\DirTreeHtml.dll
00:00:44 verbose #15 >   DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\
00:00:44   debug #16 runtime.execute_with_options_async / { exit_code = 0; output_length = 701 }
In [ ]:
{ pwsh ../lib/spiral/build.ps1 -sequential 1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #6 async.run_with_timeout_async / { timeout = 100 }
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02   debug #7 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path sm'.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:02 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "sm'.dib", "--retries", "3"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/lib/spiral/sm'.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/lib/spiral/sm'.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/sm'.dib" --output-path "c:/home/git/polyglot/lib/spiral/sm'.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:06 verbose #17 > >
00:00:06 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #20 > > │ # sm'                                                                        │
00:00:06 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #22 > >
00:00:11 verbose #23 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 verbose #24 > > //// test
00:00:11 verbose #25 > >
00:00:11 verbose #26 > > open testing
00:00:12 verbose #27 > 00:00:11   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:00:16 verbose #28 > >
00:00:16 verbose #29 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 verbose #30 > > open rust
00:00:16 verbose #31 > > open rust_operators
00:00:16 verbose #32 > > open real_sm'
00:00:17 verbose #33 > 00:00:16   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/02d349b710e8647c6c3dd92e8cc7f601579b036ee9051d19f9b6946fe1f6773b/main.spi
00:00:17 verbose #34 > >
00:00:17 verbose #35 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #36 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #37 > > │ ## rust                                                                      │
00:00:17 verbose #38 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #39 > >
00:00:17 verbose #40 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #41 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #42 > > │ ### std_string                                                               │
00:00:17 verbose #43 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #44 > >
00:00:17 verbose #45 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #46 > > //// real
00:00:17 verbose #47 > >
00:00:17 verbose #48 > > nominal std_string =
00:00:17 verbose #49 > >     `(
00:00:17 verbose #50 > >         backend_switch `(()) `({}) {
00:00:17 verbose #51 > >             Fsharp =
00:00:17 verbose #52 > >                 (fun () =>
00:00:17 verbose #53 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:17 verbose #54 > > Fable.Core.Emit(\"std::string::String\")>]]\n#endif\ntype std_string_String =
00:00:17 verbose #55 > > class end"
00:00:17 verbose #56 > >                 ) : () -> ()
00:00:17 verbose #57 > >         }
00:00:17 verbose #58 > >         $'' : $'std_string_String'
00:00:17 verbose #59 > >     )
00:00:17 verbose #60 > 00:00:16   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cb51079833f1e57cb87f42b8b6fc8ecc3a655bd0f7bd23cab67eec2fdc96b597/real_main.spir
00:00:17 verbose #61 > >
00:00:17 verbose #62 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #63 > > type std_string = real_sm'.std_string
00:00:17 verbose #64 > 00:00:16   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b1de9984bef97a81d33d7f8dbbc17bc48461e2ff5e3e0f4177f13e1f8eb08f5d/main.spi
00:00:18 verbose #65 > >
00:00:18 verbose #66 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #67 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #68 > > │ ### to_string                                                                │
00:00:18 verbose #69 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #70 > >
00:00:18 verbose #71 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #72 > > inl to_string forall t. (x : t) : std_string =
00:00:18 verbose #73 > >     !\($'$"!x.to_string()"')
00:00:18 verbose #74 > 00:00:17   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a417d55ca7517d7b9d28112c89681ea42d0fd7c7c279f880e4a542d2bc6ebd14/main.spi
00:00:18 verbose #75 > >
00:00:18 verbose #76 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #77 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #78 > > │ ### from_std_string                                                          │
00:00:18 verbose #79 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #80 > >
00:00:18 verbose #81 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #82 > > //// real
00:00:18 verbose #83 > >
00:00:18 verbose #84 > > inl from_std_string (str : std_string) : string =
00:00:18 verbose #85 > >     open rust
00:00:18 verbose #86 > >     rust.emit_expr `std_string `string str
00:00:18 verbose #87 > > ($'"fable_library_rust::String_::fromString($0)"' : string)
00:00:18 verbose #88 > 00:00:17   debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4972d5fe4833a6bdd00600a55a4a5acfaf862405ec43178a1852a2d462888044/real_main.spir
00:00:19 verbose #89 > >
00:00:19 verbose #90 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #91 > > inl from_std_string (str : std_string) : string =
00:00:19 verbose #92 > >     real real_sm'.from_std_string str
00:00:19 verbose #93 > 00:00:18   debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2765735ea3dbf5da32a315f016415a54b88b57d18a449246c5573e1a4ba7fe51/main.spi
00:00:19 verbose #94 > >
00:00:19 verbose #95 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #96 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #97 > > │ ## sm'                                                                       │
00:00:19 verbose #98 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #99 > >
00:00:19 verbose #100 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #101 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #102 > > │ ### symbol_to_string                                                         │
00:00:19 verbose #103 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #104 > >
00:00:19 verbose #105 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #106 > > //// real
00:00:19 verbose #107 > >
00:00:19 verbose #108 > > inl symbol_to_string forall t {symbol}. : string =
00:00:19 verbose #109 > >     // inl x = real_core.type_lit_to_lit `t
00:00:19 verbose #110 > >     // inl x = real_core.type_to_symbol `t
00:00:19 verbose #111 > >     // inl x = real_core.type_lit_to_lit `t
00:00:19 verbose #112 > >     // !!!!SymbolToString (`(`t))
00:00:19 verbose #113 > >     inl x = real_core.type_to_symbol `t
00:00:19 verbose #114 > >     !!!!SymbolToString (x)
00:00:19 verbose #115 > 00:00:18   debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b033f461fb56e3a0b50af6a43661108c148e9f7ea484454186a686cc0983461b/real_main.spir
00:00:20 verbose #116 > >
00:00:20 verbose #117 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #118 > > inl symbol_to_string forall t {symbol}. (x : t) : string =
00:00:20 verbose #119 > >     real symbol_to_string `t
00:00:20 verbose #120 > 00:00:19   debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e34279c79cbd35886e0da6ed11724c8fcded53426c04b97e163f5e9b233ab84d/main.spi
00:00:20 verbose #121 > >
00:00:20 verbose #122 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #123 > > //// test
00:00:20 verbose #124 > >
00:00:20 verbose #125 > > .test
00:00:20 verbose #126 > > |> symbol_to_string
00:00:20 verbose #127 > > |> _assert_eq "test"
00:00:21 verbose #128 > 00:00:20   debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b663245e4fa9e0aea244f7f8329a11033660e618797238980d1f480f5cf566b3/main.spi
00:00:22 verbose #129 > >
00:00:22 verbose #130 > > ╭─[ 1.28s - stdout ]───────────────────────────────────────────────────────────╮
00:00:22 verbose #131 > > │ __assert_eq / actual: "test" / expected: "test"                              │
00:00:22 verbose #132 > > │                                                                              │
00:00:22 verbose #133 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #134 > >
00:00:22 verbose #135 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #136 > > //// test
00:00:22 verbose #137 > > //// real
00:00:22 verbose #138 > >
00:00:22 verbose #139 > > open testing
00:00:22 verbose #140 > > inl x = .test
00:00:22 verbose #141 > > inl x = symbol_to_string `(`x)
00:00:22 verbose #142 > > _assert_eq `string "test" x
00:00:22 verbose #143 > 00:00:21   debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7530d9c3b53b67b3d87876e2c15490a34e164d7d043c7522cbea3df94a74a864/real_main.spir
00:00:22 verbose #144 > >
00:00:22 verbose #145 > > ╭─[ 424.98ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 verbose #146 > > │ __assert_eq / actual: "test" / expected: "test"                              │
00:00:22 verbose #147 > > │                                                                              │
00:00:22 verbose #148 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #149 > >
00:00:22 verbose #150 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 verbose #151 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 verbose #152 > > │ ### index                                                                    │
00:00:22 verbose #153 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #154 > >
00:00:22 verbose #155 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #156 > > inl index i (str : string) : char =
00:00:22 verbose #157 > >     sm.index str i
00:00:22 verbose #158 > 00:00:21   debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/61faa76023d35260fe7a5ae30616c9e5ddf99f98f42b4df2b372e59d690dc44c/main.spi
00:00:22 verbose #159 > >
00:00:22 verbose #160 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 verbose #161 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 verbose #162 > > │ ### length                                                                   │
00:00:22 verbose #163 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #164 > >
00:00:22 verbose #165 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #166 > > inl length forall dim {int}. (input : string) : dim =
00:00:22 verbose #167 > >     input |> sm.length
00:00:23 verbose #168 > 00:00:22   debug #16 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6478abaebd55a4a08f5dbd7f425f25737bc4d9c719a49dfbe5876a80168232de/main.spi
00:00:23 verbose #169 > >
00:00:23 verbose #170 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 verbose #171 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 verbose #172 > > │ ### to_char_array                                                            │
00:00:23 verbose #173 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #174 > >
00:00:23 verbose #175 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #176 > > inl to_char_array (str : string) : array_base char =
00:00:23 verbose #177 > >     am.init (str |> length) (fun i => str |> index i)
00:00:23 verbose #178 > >     |> fun (a x : _ int _) => x
00:00:23 verbose #179 > 00:00:22   debug #17 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/91e3029569fa6d54da911f67c586ddb3e99078180554aeb18467082a55b726db/main.spi
00:00:23 verbose #180 > >
00:00:23 verbose #181 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #182 > > //// test
00:00:23 verbose #183 > >
00:00:23 verbose #184 > > "abc"
00:00:23 verbose #185 > > |> to_char_array
00:00:23 verbose #186 > > |> _assert_eq' ;[[ 'a'; 'b'; 'c' ]]
00:00:24 verbose #187 > 00:00:23   debug #18 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9cb4139a892641fb0503875fd7c39babe62f5ecbb7ec502fc7fb2516ddf085e6/main.spi
00:00:25 verbose #188 > >
00:00:25 verbose #189 > > ╭─[ 1.58s - stdout ]───────────────────────────────────────────────────────────╮
00:00:25 verbose #190 > > │ __assert_eq' / actual: [|'a'; 'b'; 'c'|] / expected: [|'a'; 'b'; 'c'|]       │
00:00:25 verbose #191 > > │                                                                              │
00:00:25 verbose #192 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #193 > >
00:00:25 verbose #194 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #195 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #196 > > │ ### to_char_list                                                             │
00:00:25 verbose #197 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #198 > >
00:00:25 verbose #199 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 verbose #200 > > inl to_char_list (str : string) : list char =
00:00:25 verbose #201 > >     listm.init (str |> length) (fun (i : i64) => str |> index i)
00:00:25 verbose #202 > 00:00:24   debug #19 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9411c95760586a73dacf39a5e3a32d4f651713e0ff93850830faac3b6d250692/main.spi
00:00:25 verbose #203 > >
00:00:25 verbose #204 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 verbose #205 > > //// test
00:00:25 verbose #206 > >
00:00:25 verbose #207 > > "abc"
00:00:25 verbose #208 > > |> to_char_list
00:00:25 verbose #209 > > |> _assert_eq [[ 'a'; 'b'; 'c' ]]
00:00:26 verbose #210 > 00:00:25   debug #20 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c73c19e1476ee38b7edc0e718039162d5492aa20c46231d1e63140a88878aa6c/main.spi
00:00:26 verbose #211 > >
00:00:26 verbose #212 > > ╭─[ 734.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 verbose #213 > > │ __assert_eq / actual: UH0_1 ('a', UH0_1 ('b', UH0_1 ('c', UH0_0))) /         │
00:00:26 verbose #214 > > │ expected: UH0_1 ('a', UH0_1 ('b', UH0_1 ('c', UH0_0)))                       │
00:00:26 verbose #215 > > │                                                                              │
00:00:26 verbose #216 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #217 > >
00:00:26 verbose #218 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 verbose #219 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 verbose #220 > > │ ### is_empty                                                                 │
00:00:26 verbose #221 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #222 > >
00:00:26 verbose #223 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 verbose #224 > > inl is_empty (input : string) : bool =
00:00:26 verbose #225 > >     length input = 0i32
00:00:26 verbose #226 > 00:00:26   debug #21 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1a238959060bd5f6d2331bdf57302ae06637a3405b62770156172efb6eb25565/main.spi
00:00:27 verbose #227 > >
00:00:27 verbose #228 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 verbose #229 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 verbose #230 > > │ ### slice                                                                    │
00:00:27 verbose #231 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #232 > >
00:00:27 verbose #233 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 verbose #234 > > inl slice from to s : string =
00:00:27 verbose #235 > >     sm.slice s { from to }
00:00:27 verbose #236 > 00:00:26   debug #22 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/076f4794c122ece8a4e96a477ca0b5496368ee37d2a740d1e92f64d7bdff9a6f/main.spi
00:00:28 verbose #237 > >
00:00:28 verbose #238 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 verbose #239 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 verbose #240 > > │ ### format_debug                                                             │
00:00:28 verbose #241 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #242 > >
00:00:28 verbose #243 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 verbose #244 > > //// real
00:00:28 verbose #245 > >
00:00:28 verbose #246 > > inl format_debug forall t. (x : t) : string =
00:00:28 verbose #247 > >     backend_switch `string `({}) {
00:00:28 verbose #248 > >         Fsharp = (fun () => $'$"%A{!x}"' : string) : () -> string
00:00:28 verbose #249 > >         Python = (fun () => $'f"{!x}"' : string) : () -> string
00:00:28 verbose #250 > >     }
00:00:28 verbose #251 > 00:00:27   debug #23 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/183126f6e4160ceb34875abc6faa89e8cf4f06249c66d81e42ccd9aec60fda81/real_main.spir
00:00:28 verbose #252 > >
00:00:28 verbose #253 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 verbose #254 > > inl format_debug forall t. (x : t) : string =
00:00:28 verbose #255 > >     real format_debug `t x
00:00:28 verbose #256 > 00:00:27   debug #24 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7634825faab0a39f91e0d78b63293e020e0a9bee7e69cd91b8b358ff9ec8d253/main.spi
00:00:29 verbose #257 > >
00:00:29 verbose #258 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #259 > > //// test
00:00:29 verbose #260 > >
00:00:29 verbose #261 > > { c = "1"; a = "2"; b = "3" }
00:00:29 verbose #262 > > |> format_debug
00:00:29 verbose #263 > > |> _assert_eq "struct (\"1\", \"2\", \"3\")"
00:00:29 verbose #264 > 00:00:28   debug #25 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4d3ef329c31acfb8364e750a353e301915f951aa48b158635429ba6e258f7856/main.spi
00:00:29 verbose #265 > >
00:00:29 verbose #266 > > ╭─[ 584.93ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 verbose #267 > > │ __assert_eq / actual: "struct ("1", "2", "3")" / expected: "struct ("1",     │
00:00:29 verbose #268 > > │ "2", "3")"                                                                   │
00:00:29 verbose #269 > > │                                                                              │
00:00:29 verbose #270 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #271 > >
00:00:29 verbose #272 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 verbose #273 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 verbose #274 > > │ ### format_pretty                                                            │
00:00:29 verbose #275 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #276 > >
00:00:29 verbose #277 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #278 > > //// real
00:00:29 verbose #279 > >
00:00:29 verbose #280 > > inl format_pretty forall t. (x : t) : string =
00:00:29 verbose #281 > >     run_target_args `string `t (fun () => x) function
00:00:29 verbose #282 > >         | Rust _ => fun x =>
00:00:29 verbose #283 > >             open rust
00:00:29 verbose #284 > >             inl result = rust.emit_expr `t `std_string x
00:00:29 verbose #285 > > ($'"format\!(\\\"{:#?}\\\", $0)"' : string)
00:00:29 verbose #286 > >             from_std_string result
00:00:29 verbose #287 > >         | _ => fun _ => format_debug `t x
00:00:29 verbose #288 > 00:00:29   debug #26 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6a6edf07118685261d5cc73e21fc5098ced1d86dbf24aebf877241b5e5516947/real_main.spir
00:00:30 verbose #289 > >
00:00:30 verbose #290 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #291 > > inl format_pretty forall t. (x : t) : string =
00:00:30 verbose #292 > >     real real_sm'.format_pretty `t x
00:00:30 verbose #293 > 00:00:29   debug #27 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a38deee0d530f4f5d774a1cbcc856e5f71aa607ae5d79204de6b5689d0b1bbba/main.spi
00:00:30 verbose #294 > >
00:00:30 verbose #295 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 verbose #296 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 verbose #297 > > │ ### prim                                                                     │
00:00:30 verbose #298 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #299 > >
00:00:30 verbose #300 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #301 > > inl prim x = real
00:00:30 verbose #302 > >     match x with
00:00:30 verbose #303 > >     | (x : i8) | (x : i16) | (x : i32) | (x : i64) => "%d", x
00:00:30 verbose #304 > >     | (x : u8) | (x : u16) | (x : u32) | (x : u64) => "%u", x
00:00:30 verbose #305 > >     | (x : f32) | (x : f64) => "%f", x
00:00:30 verbose #306 > >     | (x : string) => "%s", x
00:00:30 verbose #307 > >     | (x : char) => "%c", x
00:00:30 verbose #308 > 00:00:30   debug #28 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e64d24c2e796a35bd4cffb3c960a46383cb00128273abc72aac037aa54e6f15b/main.spi
00:00:31 verbose #309 > >
00:00:31 verbose #310 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #311 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #312 > > │ ### printable                                                                │
00:00:31 verbose #313 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #314 > >
00:00:31 verbose #315 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #316 > > //// real
00:00:31 verbose #317 > >
00:00:31 verbose #318 > > prototype printable t : t -> ()
00:00:31 verbose #319 > 00:00:30   debug #29 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6bb3b758ebc86ceac2c9b402a6afa623abe0e2a4c608c9f93c453c9ec17bd0c4/real_main.spir
00:00:31 verbose #320 > >
00:00:31 verbose #321 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #322 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #323 > > │ ### real_format                                                              │
00:00:31 verbose #324 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #325 > >
00:00:31 verbose #326 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #327 > > //// real
00:00:31 verbose #328 > >
00:00:31 verbose #329 > > inl real_format forall t. (x : t) : string =
00:00:31 verbose #330 > >     inl result = mut `string (join "")
00:00:31 verbose #331 > >     inl rec write x =
00:00:31 verbose #332 > >         inl p ((a : string), b) =
00:00:31 verbose #333 > >             inl s : string =
00:00:31 verbose #334 > >                 backend_switch `string `({}) {
00:00:31 verbose #335 > >                     Fsharp =
00:00:31 verbose #336 > >                         (fun () =>
00:00:31 verbose #337 > >                             match b with
00:00:31 verbose #338 > >                             | (_ : f32) | (_ : f64) => $'$"%+.6f{!b}"' : string
00:00:31 verbose #339 > >                             | _ => $'$"{!b}"' : string
00:00:31 verbose #340 > >                         ) : () -> string
00:00:31 verbose #341 > >                     Python =
00:00:31 verbose #342 > >                         (fun () =>
00:00:31 verbose #343 > >                             match b with
00:00:31 verbose #344 > >                             | (_ : f32) | (_ : f64) => $'"{:.6f}".format(!b)' :
00:00:31 verbose #345 > > string
00:00:31 verbose #346 > >                             | _ => $'f"{!b}"' : string
00:00:31 verbose #347 > >                         ) : () -> string
00:00:31 verbose #348 > >                 }
00:00:31 verbose #349 > >             exec_unit ((fun () => result <- (+.) `string ((~*) `string result)
00:00:31 verbose #350 > > s) : () -> ())
00:00:31 verbose #351 > >
00:00:31 verbose #352 > >         match x with // According to Bing it shouldn't matter whether these are
00:00:31 verbose #353 > > %d or %lld in printf.
00:00:31 verbose #354 > >         | () => ()
00:00:31 verbose #355 > >         | (x : i8) | (x : i16) | (x : i32) | (x : i64) => p ("%d", x)
00:00:31 verbose #356 > >         | (x : u8) | (x : u16) | (x : u32) | (x : u64) => p ("%u", x)
00:00:31 verbose #357 > >         | (x : f32) | (x : f64) => p ("%f", x)
00:00:31 verbose #358 > >         | (x : string) => p ("%s", x)
00:00:31 verbose #359 > >         | (x : char) => p ("%c", x)
00:00:31 verbose #360 > >         | (x : bool) => p ("%s", if x then "true" else "false")
00:00:31 verbose #361 > >         | (a,b) => write a . write ", " . write b
00:00:31 verbose #362 > >         | {} as x =>
00:00:31 verbose #363 > >             write "{ "
00:00:31 verbose #364 > >             inl _result =
00:00:31 verbose #365 > >                 real_core.record_fold
00:00:31 verbose #366 > >                     fun { state = separator key value } =>
00:00:31 verbose #367 > >                         write separator
00:00:31 verbose #368 > >                         write (symbol_to_string `(`key)) . write " = " . write
00:00:31 verbose #369 > > value
00:00:31 verbose #370 > >                         "; "
00:00:31 verbose #371 > >                     () x
00:00:31 verbose #372 > >             write " }"
00:00:31 verbose #373 > >         | x when real_core.symbol_is x => write (symbol_to_string `(`x))
00:00:31 verbose #374 > >         | x when real_core.function_is x => write (x ())
00:00:31 verbose #375 > >         | x when real_core.union_is x =>
00:00:31 verbose #376 > >             if real_core.prototype_has `(`x) printable then printable `(`x) x
00:00:31 verbose #377 > >             else
00:00:31 verbose #378 > >                 write (format_debug `(`x) x)
00:00:31 verbose #379 > >                 // real_core.unbox x (fun (k, v) =>
00:00:31 verbose #380 > >                 //     write k
00:00:31 verbose #381 > >                 //     match v with
00:00:31 verbose #382 > >                 //     | () => ()
00:00:31 verbose #383 > >                 //     | _ => write "(" . write v . write ")"
00:00:31 verbose #384 > >                 //     )
00:00:31 verbose #385 > >         | x when real_core.nominal_is x =>
00:00:31 verbose #386 > >             if real_core.prototype_has `(`x) printable then printable `(`x) x
00:00:31 verbose #387 > >             // elif layout_is x then write *x // TODO: Deal with all the layout
00:00:31 verbose #388 > > type cases.
00:00:31 verbose #389 > >             else write (format_pretty `(`x) x)
00:00:31 verbose #390 > >         | x => write (format_debug `(`x) x)
00:00:31 verbose #391 > >     write x
00:00:31 verbose #392 > >     (~*) `string result
00:00:32 verbose #393 > 00:00:31   debug #30 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/34c75ae5781276e01f866bf6c0c36039dbb1529050644fdcc5ac99067daaf889/real_main.spir
00:00:32 verbose #394 > >
00:00:32 verbose #395 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #396 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #397 > > │ ### format                                                                   │
00:00:32 verbose #398 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #399 > >
00:00:32 verbose #400 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #401 > > inl format forall t. (x : t) : string =
00:00:32 verbose #402 > >     real real_format `t x
00:00:32 verbose #403 > 00:00:31   debug #31 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c1914d7b5152a11db6838198ed880db4c2c472b9615c2862b226885bda53b34a/main.spi
00:00:32 verbose #404 > >
00:00:32 verbose #405 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #406 > > //// test
00:00:32 verbose #407 > > ///! fsharp
00:00:32 verbose #408 > > ////! cuda
00:00:32 verbose #409 > > ////! rust
00:00:32 verbose #410 > > ////! typescript
00:00:32 verbose #411 > > ////! python
00:00:32 verbose #412 > >
00:00:32 verbose #413 > > ("1", "2", [["3"; "4"]], { b = "5"; c = "6"; a = fun () => "7" })
00:00:32 verbose #414 > > |> format
00:00:32 verbose #415 > > |> _assert_eq "1, 2, UH0_1 (\"3\", UH0_1 (\"4\", UH0_0)), { b = 5; c = 6; a = 7
00:00:32 verbose #416 > > }"
00:00:33 verbose #417 > 00:00:32   debug #32 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d2253d29760789a79869e9fca9c7b8066ad30f0c11ca52a756909e03aaaed822/main.spi
00:00:33 verbose #418 > >
00:00:33 verbose #419 > > ╭─[ 787.72ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 verbose #420 > > │ __assert_eq / actual: "1, 2, UH0_1 ("3", UH0_1 ("4", UH0_0)), { b = 5; c =   │
00:00:33 verbose #421 > > │ 6; a = 7 }" / expected: "1, 2, UH0_1 ("3", UH0_1 ("4", UH0_0)), { b = 5; c = │
00:00:33 verbose #422 > > │ 6; a = 7 }"                                                                  │
00:00:33 verbose #423 > > │                                                                              │
00:00:33 verbose #424 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #425 > >
00:00:33 verbose #426 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:33 verbose #427 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:33 verbose #428 > > │ ### concat_array_trailing                                                    │
00:00:33 verbose #429 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #430 > >
00:00:33 verbose #431 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #432 > > inl concat_array_trailing (separator : string) (input : a i32 string) =
00:00:33 verbose #433 > >     ("", input)
00:00:33 verbose #434 > >     ||> am.fold fun acc (x : string) =>
00:00:33 verbose #435 > >         $'!acc + !x + !separator + ""'
00:00:33 verbose #436 > 00:00:33   debug #33 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/95428cfda5c959dd3daf3fb3ac7e93a6f06e0a62544e1b49db7cd43ddb78c321/main.spi
00:00:34 verbose #437 > >
00:00:34 verbose #438 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #439 > > //// test
00:00:34 verbose #440 > > ///! typescript
00:00:34 verbose #441 > >
00:00:34 verbose #442 > > ;[[
00:00:34 verbose #443 > >     "1"
00:00:34 verbose #444 > >     "2"
00:00:34 verbose #445 > >     "3"
00:00:34 verbose #446 > > ]]
00:00:34 verbose #447 > > |> fun x =>
00:00:34 verbose #448 > >     inl code = (a x : _ i32 _) |> concat_array_trailing "\n"
00:00:34 verbose #449 > >     code
00:00:34 verbose #450 > >     |> _assert_eq "1\n2\n3\n"
00:00:34 verbose #451 > 00:00:33   debug #34 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b976f8be6f7f049a0303387daa13e400c01ccf44f18ec111645ad3b17e3f002e/main.spi
00:00:37 verbose #452 > >
00:00:37 verbose #453 > > ╭─[ 3.15s - return value ]─────────────────────────────────────────────────────╮
00:00:37 verbose #454 > > │ __assert_eq / actual: 1                                                      │
00:00:37 verbose #455 > > │ 2                                                                            │
00:00:37 verbose #456 > > │ 3                                                                            │
00:00:37 verbose #457 > > │  / expected: 1                                                               │
00:00:37 verbose #458 > > │ 2                                                                            │
00:00:37 verbose #459 > > │ 3                                                                            │
00:00:37 verbose #460 > > │                                                                              │
00:00:37 verbose #461 > > │                                                                              │
00:00:37 verbose #462 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #463 > >
00:00:37 verbose #464 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #465 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #466 > > │ ### concat_list_trailing                                                     │
00:00:37 verbose #467 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #468 > >
00:00:37 verbose #469 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #470 > > inl concat_list_trailing separator input =
00:00:37 verbose #471 > >     ("", input)
00:00:37 verbose #472 > >     ||> listm.fold fun acc (x : string) =>
00:00:37 verbose #473 > >         $'!acc + !x + !separator + ""'
00:00:37 verbose #474 > 00:00:36   debug #35 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8b19a6698275339bc74a6966b699b1892778c4d4c183aff8c1b7ce9f732de6d5/main.spi
00:00:37 verbose #475 > >
00:00:37 verbose #476 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #477 > > //// test
00:00:37 verbose #478 > > ///! rust
00:00:37 verbose #479 > >
00:00:37 verbose #480 > > [[
00:00:37 verbose #481 > >     "1"
00:00:37 verbose #482 > >     "2"
00:00:37 verbose #483 > >     "3"
00:00:37 verbose #484 > > ]]
00:00:37 verbose #485 > > |> fun x =>
00:00:37 verbose #486 > >     inl code = (x : _) |> concat_list_trailing "\n"
00:00:37 verbose #487 > >     code
00:00:37 verbose #488 > >     |> _assert_eq "1\n2\n3\n"
00:00:38 verbose #489 > 00:00:37   debug #36 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/926cd5f78959826875266103d3d40276726bfdc5cc2842738e55a8fba00dc408/main.spi
00:00:39 verbose #490 > 00:00:38   debug #37 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:00:40 verbose #491 > 00:00:40   debug #38 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c844fae774b58532d1e30a525797cc4b77e8ad7cd9c9faf3a932cff40b4c9291/main.spi
00:00:41 verbose #492 > 00:00:40   debug #39 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/213c97e1fe4aa83b30cd37e197b886c3cbdd87b7e051860c48de7aff3bb9409b/main.spi
00:00:43 verbose #493 > 00:00:42   debug #40 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e620c0cf7d3963d81626b161638f1d070a720e36efff172b9f792128f82044b7/main.spi
00:00:44 verbose #494 > >
00:00:44 verbose #495 > > ╭─[ 6.24s - return value ]─────────────────────────────────────────────────────╮
00:00:44 verbose #496 > > │ __assert_eq / actual: "1                                                     │
00:00:44 verbose #497 > > │ 2                                                                            │
00:00:44 verbose #498 > > │ 3                                                                            │
00:00:44 verbose #499 > > │ " / expected: "1                                                             │
00:00:44 verbose #500 > > │ 2                                                                            │
00:00:44 verbose #501 > > │ 3                                                                            │
00:00:44 verbose #502 > > │ "                                                                            │
00:00:44 verbose #503 > > │                                                                              │
00:00:44 verbose #504 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:44 verbose #505 > >
00:00:44 verbose #506 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:44 verbose #507 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:44 verbose #508 > > │ ### concat_list_heap_trailing                                                │
00:00:44 verbose #509 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:44 verbose #510 > >
00:00:44 verbose #511 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:44 verbose #512 > > inl concat_list_heap_trailing separator input =
00:00:44 verbose #513 > >     inl separator = join separator
00:00:44 verbose #514 > >     ("", input)
00:00:44 verbose #515 > >     ||> listm.fold fun acc (x : string) =>
00:00:44 verbose #516 > >         $'$"{!acc}{!x}{!separator}"'
00:00:44 verbose #517 > 00:00:43   debug #41 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e2162776c2f9d47a0eda3c6006ab313ab23ba06f6a7e81cea613fcb87e78559e/main.spi
00:00:44 verbose #518 > 00:00:43   debug #42 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ae589ee6e08206330989e9ee0bd4e1623b68366e5213e791039d6c198355c5fa/main.spi
00:00:44 verbose #519 > >
00:00:44 verbose #520 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:44 verbose #521 > > //// test
00:00:44 verbose #522 > > ///! rust
00:00:44 verbose #523 > >
00:00:44 verbose #524 > > [[
00:00:44 verbose #525 > >     "1"
00:00:44 verbose #526 > >     "2"
00:00:44 verbose #527 > >     "3"
00:00:44 verbose #528 > > ]]
00:00:44 verbose #529 > > |> fun x =>
00:00:44 verbose #530 > >     inl code = (x : _) |> concat_list_heap_trailing "\n"
00:00:44 verbose #531 > >     code
00:00:44 verbose #532 > >     |> _assert_eq "1\n2\n3\n"
00:00:44 verbose #533 > 00:00:43   debug #43 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d1592277c1098af17df9e6d0c7bd55fa35039ad325b0677628680beb60707fbd/main.spi
00:00:47 verbose #534 > 00:00:46   debug #44 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8bc794fbbc8b976dabd31082e0ceb678fe30f86ff468608964b28ad794c464b1/main.spi
00:00:49 verbose #535 > 00:00:48   debug #45 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/863fbdeef63f32ddcfe51efaead85098d211312e46d68a50147b433e897cc324/main.spi
00:00:50 verbose #536 > >
00:00:50 verbose #537 > > ╭─[ 5.97s - return value ]─────────────────────────────────────────────────────╮
00:00:50 verbose #538 > > │ __assert_eq / actual: "1                                                     │
00:00:50 verbose #539 > > │ 2                                                                            │
00:00:50 verbose #540 > > │ 3                                                                            │
00:00:50 verbose #541 > > │ " / expected: "1                                                             │
00:00:50 verbose #542 > > │ 2                                                                            │
00:00:50 verbose #543 > > │ 3                                                                            │
00:00:50 verbose #544 > > │ "                                                                            │
00:00:50 verbose #545 > > │                                                                              │
00:00:50 verbose #546 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:50 verbose #547 > >
00:00:50 verbose #548 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:50 verbose #549 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:50 verbose #550 > > │ ### ellipsis                                                                 │
00:00:50 verbose #551 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:50 verbose #552 > >
00:00:50 verbose #553 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:50 verbose #554 > > inl ellipsis (max : i32) (s : string) =
00:00:50 verbose #555 > >     if sm.length s <= max
00:00:50 verbose #556 > >     then s
00:00:50 verbose #557 > >     else s |> slice 0 (max - 1) |> fun x => $'!x + "..."'
00:00:50 verbose #558 > 00:00:49   debug #46 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ff256911ce965c3ce936a8f94fa6ef8d2577d522211964b38dbe15dace9955d8/main.spi
00:00:51 verbose #559 > >
00:00:51 verbose #560 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:51 verbose #561 > > //// test
00:00:51 verbose #562 > >
00:00:51 verbose #563 > > "12345"
00:00:51 verbose #564 > > |> ellipsis 2
00:00:51 verbose #565 > > |> _assert_eq "12..."
00:00:51 verbose #566 > >
00:00:51 verbose #567 > > "12345"
00:00:51 verbose #568 > > |> ellipsis 4
00:00:51 verbose #569 > > |> _assert_eq "1234..."
00:00:51 verbose #570 > 00:00:50   debug #47 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/82e9757e45bd3f836c689514036ee5c5ec2ca43f9a80bdc41df7eec407028080/main.spi
00:00:51 verbose #571 > >
00:00:51 verbose #572 > > ╭─[ 550.94ms - stdout ]────────────────────────────────────────────────────────╮
00:00:51 verbose #573 > > │ __assert_eq / actual: "12..." / expected: "12..."                            │
00:00:51 verbose #574 > > │ __assert_eq / actual: "1234..." / expected: "1234..."                        │
00:00:51 verbose #575 > > │                                                                              │
00:00:51 verbose #576 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:51 verbose #577 > >
00:00:51 verbose #578 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:51 verbose #579 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:51 verbose #580 > > │ ## fsharp                                                                    │
00:00:51 verbose #581 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:51 verbose #582 > >
00:00:51 verbose #583 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:51 verbose #584 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:51 verbose #585 > > │ ### ends_with                                                                │
00:00:51 verbose #586 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:51 verbose #587 > >
00:00:51 verbose #588 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:51 verbose #589 > > inl ends_with (value : string) (s : string) : bool =
00:00:51 verbose #590 > >     $'!s.EndsWith !value '
00:00:51 verbose #591 > 00:00:50   debug #48 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dabe7bc3cec4770351670905dae87021e7c897c1ea05f37a3e69ca416b4efb20/main.spi
00:00:52 verbose #592 > >
00:00:52 verbose #593 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:52 verbose #594 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:52 verbose #595 > > │ ### last_index_of                                                            │
00:00:52 verbose #596 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:52 verbose #597 > >
00:00:52 verbose #598 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:52 verbose #599 > > inl last_index_of (search : string) (s : string) : i32 =
00:00:52 verbose #600 > >     $'!s.LastIndexOf !search '
00:00:52 verbose #601 > 00:00:51   debug #49 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/85d876ee1e3789970a05061c7e6829ba1b80e2ec754f078d9cad5ff735f5c594/main.spi
00:00:52 verbose #602 > 00:00:51   debug #50 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/86214ebe0bb69a4f20380c7f063964e9a6f2b4a6a75e0bfaf580084be7712919/main.spi
00:00:52 verbose #603 > >
00:00:52 verbose #604 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:52 verbose #605 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:52 verbose #606 > > │ ### index_of                                                                 │
00:00:52 verbose #607 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:52 verbose #608 > >
00:00:52 verbose #609 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:52 verbose #610 > > inl index_of (search : string) (s : string) : i32 =
00:00:52 verbose #611 > >     $'!s.IndexOf !search '
00:00:52 verbose #612 > 00:00:51   debug #51 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/396c9f20682207f2dc577d0d16ea2cb5738b42700741271caa0b8e34a2431fec/main.spi
00:00:52 verbose #613 > >
00:00:52 verbose #614 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:52 verbose #615 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:52 verbose #616 > > │ ### replicate                                                                │
00:00:52 verbose #617 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:52 verbose #618 > >
00:00:52 verbose #619 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:52 verbose #620 > > inl replicate (n : i32) (s : string) : string =
00:00:52 verbose #621 > >     backend_switch {
00:00:52 verbose #622 > >         Fsharp = fun () => s |> $'String.replicate' n : string
00:00:52 verbose #623 > >         Python = fun () => $'!s * !n ' : string
00:00:52 verbose #624 > >     }
00:00:53 verbose #625 > 00:00:52   debug #52 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/05a03defc59d5bbe4af07a47669ab8c1fe6517487c61cfcc20217a284fe1b2e7/main.spi
00:00:53 verbose #626 > 00:00:52   debug #53 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/16d47fb3cdb019840d522dd79905ed53cf5bf2084bcd65c0888ed994b63bbee6/main.spi
00:00:53 verbose #627 > >
00:00:53 verbose #628 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:53 verbose #629 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:53 verbose #630 > > │ ### obj_to_string                                                            │
00:00:53 verbose #631 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:53 verbose #632 > >
00:00:53 verbose #633 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:53 verbose #634 > > inl obj_to_string x : string =
00:00:53 verbose #635 > >     backend_switch {
00:00:53 verbose #636 > >         Fsharp = fun () => x |> $'_.ToString()' : string
00:00:53 verbose #637 > >         Python = fun () => $'str(!x)' : string
00:00:53 verbose #638 > >     }
00:00:53 verbose #639 > 00:00:52   debug #54 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4fc992d6f0ee27ce63e84b52ccbaf29d72b1bc9151876ceff9f5fe339e40378b/main.spi
00:00:54 verbose #640 > >
00:00:54 verbose #641 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:54 verbose #642 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:54 verbose #643 > > │ ### pad_left                                                                 │
00:00:54 verbose #644 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #645 > >
00:00:54 verbose #646 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:54 verbose #647 > > inl pad_left (total_width : i32) (padding_char : char) (s : string) : string =
00:00:54 verbose #648 > >     backend_switch {
00:00:54 verbose #649 > >         Fsharp = fun () => $'!s.PadLeft (!total_width, !padding_char)' : string
00:00:54 verbose #650 > >         Python = fun () =>
00:00:54 verbose #651 > >             inl padding = padding_char |> obj_to_string |> replicate
00:00:54 verbose #652 > > (total_width - length s)
00:00:54 verbose #653 > >             padding +. s
00:00:54 verbose #654 > >     }
00:00:54 verbose #655 > 00:00:53   debug #55 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0c61cc97bf4a3909e88426bf95d2089be4f913ad115e29ac0cfdea8ffac7bdbc/main.spi
00:00:54 verbose #656 > >
00:00:54 verbose #657 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:54 verbose #658 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:54 verbose #659 > > │ ### pad_right                                                                │
00:00:54 verbose #660 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #661 > >
00:00:54 verbose #662 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:54 verbose #663 > > inl pad_right (total_width : i32) (padding_char : char) (s : string) : string =
00:00:54 verbose #664 > >     $'!s.PadRight (!total_width, !padding_char)'
00:00:54 verbose #665 > 00:00:53   debug #56 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bdc4fd118f9d6e1e36100258df8944ce0aa1c2d08e7601b0c0f10fc017329f51/main.spi
00:00:55 verbose #666 > >
00:00:55 verbose #667 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:55 verbose #668 > > //// test
00:00:55 verbose #669 > >
00:00:55 verbose #670 > > "123"
00:00:55 verbose #671 > > |> pad_right 6 ' '
00:00:55 verbose #672 > > |> _assert_eq "123   "
00:00:55 verbose #673 > 00:00:54   debug #57 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fb6aefa4a63c267a1b505e344b191bc94d28068f959fd0b958e73a492c765324/main.spi
00:00:55 verbose #674 > >
00:00:55 verbose #675 > > ╭─[ 860.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:55 verbose #676 > > │ __assert_eq / actual: "123   " / expected: "123   "                          │
00:00:55 verbose #677 > > │                                                                              │
00:00:55 verbose #678 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:55 verbose #679 > >
00:00:55 verbose #680 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:55 verbose #681 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:55 verbose #682 > > │ ### starts_with                                                              │
00:00:55 verbose #683 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:55 verbose #684 > >
00:00:55 verbose #685 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:55 verbose #686 > > inl starts_with (value : string) (s : string) : bool =
00:00:55 verbose #687 > >     backend_switch {
00:00:55 verbose #688 > >         Fsharp = fun () => $'!s.StartsWith !value ' : bool
00:00:55 verbose #689 > >         Python = fun () => $'!s.startswith(!value)' : bool
00:00:55 verbose #690 > >     }
00:00:56 verbose #691 > 00:00:55   debug #58 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8f18f94b197f8ad6564a0537182a0e1296ee3b1a3ec2d4807b5e2ed14f28aa83/main.spi
00:00:56 verbose #692 > >
00:00:56 verbose #693 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:56 verbose #694 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:56 verbose #695 > > │ ### is_white_space                                                           │
00:00:56 verbose #696 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:56 verbose #697 > >
00:00:56 verbose #698 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:56 verbose #699 > > inl is_white_space (c : char) : bool =
00:00:56 verbose #700 > >     c |> $'System.Char.IsWhiteSpace'
00:00:56 verbose #701 > 00:00:55   debug #59 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe3e2d1c4fca974f502e2957e9c2284e458fcd017cac417319228d62eea549ba/main.spi
00:00:56 verbose #702 > 00:00:55   debug #60 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e45de17a565cc4bcf506766be44c1a79f15ae26529392a83dd3f8010aac86bd2/main.spi
00:00:56 verbose #703 > >
00:00:56 verbose #704 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:56 verbose #705 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:56 verbose #706 > > │ ### substring                                                                │
00:00:56 verbose #707 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:56 verbose #708 > >
00:00:56 verbose #709 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:56 verbose #710 > > inl substring (start : i32) (len : i32) (str : string) : string =
00:00:56 verbose #711 > >     $'!str.Substring (!start, !len)'
00:00:57 verbose #712 > 00:00:56   debug #61 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d69bacae36574845479bbd2ad0b29ebe7bafde13c5322fcff2696558f294c5fe/main.spi
00:00:57 verbose #713 > >
00:00:57 verbose #714 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:57 verbose #715 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:57 verbose #716 > > │ ### to_lower                                                                 │
00:00:57 verbose #717 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:57 verbose #718 > >
00:00:57 verbose #719 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:57 verbose #720 > > inl to_lower (input : string) : string =
00:00:57 verbose #721 > >     backend_switch {
00:00:57 verbose #722 > >         Fsharp = fun () => $'!input.ToLower' () : string
00:00:57 verbose #723 > >         Python = fun () => $'!input.lower()' : string
00:00:57 verbose #724 > >     }
00:00:57 verbose #725 > 00:00:56   debug #62 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf37159fc22896a099786a0a69c6f09fa304467557912a78b3e50452b9d5b230/main.spi
00:00:57 verbose #726 > >
00:00:57 verbose #727 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:57 verbose #728 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:57 verbose #729 > > │ ### to_upper                                                                 │
00:00:57 verbose #730 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:57 verbose #731 > >
00:00:57 verbose #732 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:57 verbose #733 > > inl to_upper (input : string) : string =
00:00:57 verbose #734 > >     $'!input.ToUpper' ()
00:00:58 verbose #735 > 00:00:57   debug #63 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/15f0ff95ad9a375fa2ce3d2d28ff45667ad1fb6e0c3ad3d8f4aa5a87ce3d0aa6/main.spi
00:00:58 verbose #736 > >
00:00:58 verbose #737 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:58 verbose #738 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:58 verbose #739 > > │ ### char_to_upper                                                            │
00:00:58 verbose #740 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:58 verbose #741 > >
00:00:58 verbose #742 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:58 verbose #743 > > inl char_to_upper (input : char) : char =
00:00:58 verbose #744 > >     $'System.Char.ToUpper !input '
00:00:58 verbose #745 > 00:00:57   debug #64 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/52701323e6c21efc4d716a60624bca848873f89ae6566e56966d53c09c60e8fa/main.spi
00:00:59 verbose #746 > >
00:00:59 verbose #747 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:59 verbose #748 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:59 verbose #749 > > │ ### string_builder                                                           │
00:00:59 verbose #750 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:59 verbose #751 > >
00:00:59 verbose #752 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:59 verbose #753 > > nominal string_builder = $'System.Text.StringBuilder'
00:00:59 verbose #754 > >
00:00:59 verbose #755 > > inl string_builder (initial : string) : string_builder =
00:00:59 verbose #756 > >     initial |> $'`string_builder '
00:00:59 verbose #757 > 00:00:58   debug #65 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a85d6bc1084dd6ba62de04a1a48da05207cbacd5df2eb6763d5f806bc9bc9722/main.spi
00:00:59 verbose #758 > >
00:00:59 verbose #759 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:59 verbose #760 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:59 verbose #761 > > │ ### builder_append                                                           │
00:00:59 verbose #762 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:59 verbose #763 > >
00:00:59 verbose #764 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:59 verbose #765 > > inl builder_append (item : string) (sb : string_builder) : string_builder =
00:00:59 verbose #766 > >     ($'!sb.Append' item : string_builder) |> ignore
00:00:59 verbose #767 > >     sb
00:00:59 verbose #768 > 00:00:58   debug #66 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/376040156da9967c530a87b68f8fd3dfecfcc0e88b9deb1aabfbf9c4f21b1fd6/main.spi
00:00:59 verbose #769 > 00:00:58   debug #67 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/af9600153cc44b1d55e324af3e0d00d78ab53124bb1cb322dc6d2e6366e51938/main.spi
00:00:59 verbose #770 > >
00:00:59 verbose #771 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:59 verbose #772 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:59 verbose #773 > > │ ### builder_replace                                                          │
00:00:59 verbose #774 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:59 verbose #775 > >
00:00:59 verbose #776 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:59 verbose #777 > > inl builder_replace (old : string) (new : string) (sb : string_builder) :
00:00:59 verbose #778 > > string_builder =
00:00:59 verbose #779 > >     ($'!sb.Replace (!old, !new)' : string_builder) |> ignore
00:00:59 verbose #780 > >     sb
00:01:00 verbose #781 > 00:00:59   debug #68 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/65c05ddd137b804d84b79c5c50943a488fed9f2a4566d30044f042aebdf63fc7/main.spi
00:01:00 verbose #782 > >
00:01:00 verbose #783 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:00 verbose #784 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:00 verbose #785 > > │ ### builder_insert                                                           │
00:01:00 verbose #786 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:00 verbose #787 > >
00:01:00 verbose #788 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:00 verbose #789 > > inl builder_insert (n : i32) (s : string) (sb : string_builder) : string_builder
00:01:00 verbose #790 > > =
00:01:00 verbose #791 > >     ($'!sb.Insert (!n, !s)' : string_builder) |> ignore
00:01:00 verbose #792 > >     sb
00:01:00 verbose #793 > 00:00:59   debug #69 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6f6f7edcc90728ec0477b511bc6f90d3c0eb8648c99dc76b98aea36d2b63ed4d/main.spi
00:01:00 verbose #794 > >
00:01:00 verbose #795 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:00 verbose #796 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:00 verbose #797 > > │ ### builder_clear                                                            │
00:01:00 verbose #798 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:00 verbose #799 > >
00:01:00 verbose #800 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:00 verbose #801 > > inl builder_clear (sb : string_builder) : string_builder =
00:01:00 verbose #802 > >     ($'!sb.Clear' () : string_builder) |> ignore
00:01:00 verbose #803 > >     sb
00:01:01 verbose #804 > 00:01:00   debug #70 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6db0a09db06af8bdc1ec99e0308b7b65a09ea001b18e250f102401a7b7f0402d/main.spi
00:01:01 verbose #805 > >
00:01:01 verbose #806 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:01 verbose #807 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:01 verbose #808 > > │ ### trim                                                                     │
00:01:01 verbose #809 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:01 verbose #810 > >
00:01:01 verbose #811 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:01 verbose #812 > > inl trim (input : string) : string =
00:01:01 verbose #813 > >     $'!input.Trim' ()
00:01:01 verbose #814 > 00:01:00   debug #71 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e478ac13113b1766b807480fb0972005aa774c6cddf35f81cdcbedea3edaafbd/main.spi
00:01:02 verbose #815 > >
00:01:02 verbose #816 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:02 verbose #817 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:02 verbose #818 > > │ ### concat                                                                   │
00:01:02 verbose #819 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:02 verbose #820 > >
00:01:02 verbose #821 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:02 verbose #822 > > inl concat (a : string) (b : seq.seq' string) : string =
00:01:02 verbose #823 > >     backend_switch {
00:01:02 verbose #824 > >         Fsharp = fun () =>
00:01:02 verbose #825 > >             b |> $'String.concat' a : string
00:01:02 verbose #826 > >         Python = fun () =>
00:01:02 verbose #827 > >             $'!a.join(!b)' : string
00:01:02 verbose #828 > >     }
00:01:02 verbose #829 > 00:01:01   debug #72 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/753e55dba4c2933dd299020fd3eeae02e785be8de601770b5ea5dcd51e238828/main.spi
00:01:02 verbose #830 > 00:01:01   debug #73 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6bc705e29a0e6dc27bb216d6fd8366d4250db84c29da55a76354a8d185428dd9/main.spi
00:01:02 verbose #831 > >
00:01:02 verbose #832 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:02 verbose #833 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:02 verbose #834 > > │ ### trim_end                                                                 │
00:01:02 verbose #835 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:02 verbose #836 > >
00:01:02 verbose #837 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:02 verbose #838 > > inl trim_end (trim_chars : list char) (input : string) : string =
00:01:02 verbose #839 > >     inl trim_chars = trim_chars |> listm'.box
00:01:02 verbose #840 > >     backend_switch {
00:01:02 verbose #841 > >         Fsharp = fun () =>
00:01:02 verbose #842 > >             inl trim_chars = trim_chars |> listm'.to_array'
00:01:02 verbose #843 > >             $'!input.TrimEnd !trim_chars ' : string
00:01:02 verbose #844 > >         Python = fun () =>
00:01:02 verbose #845 > >             inl trim_chars = trim_chars |> listm'.map obj_to_string |>
00:01:02 verbose #846 > > seq.of_list' |> concat ""
00:01:02 verbose #847 > >             $'!input.rstrip(!trim_chars)' : string
00:01:02 verbose #848 > >     }
00:01:02 verbose #849 > 00:01:01   debug #74 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e85996f1e496ca666b4dee0f0ac40c5057cedf1bbee1339929c49e085631ca7d/main.spi
00:01:02 verbose #850 > 00:01:01   debug #75 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c2c29b82d3ca6759bcba0bca25d4ec27ef86629ba897c76fe2eb1d2c544db74b/main.spi
00:01:02 verbose #851 > >
00:01:02 verbose #852 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:02 verbose #853 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:02 verbose #854 > > │ ### trim_start                                                               │
00:01:02 verbose #855 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:02 verbose #856 > >
00:01:02 verbose #857 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:02 verbose #858 > > inl trim_start (trim_chars : list char) (input : string) : string =
00:01:02 verbose #859 > >     inl trim_chars = trim_chars |> listm'.box
00:01:02 verbose #860 > >     backend_switch {
00:01:02 verbose #861 > >         Fsharp = fun () =>
00:01:02 verbose #862 > >             inl trim_chars = trim_chars |> listm'.to_array'
00:01:02 verbose #863 > >             $'!input.TrimStart !trim_chars ' : string
00:01:02 verbose #864 > >         Python = fun () =>
00:01:02 verbose #865 > >             inl trim_chars = trim_chars |> listm'.map obj_to_string |>
00:01:02 verbose #866 > > seq.of_list' |> concat ""
00:01:02 verbose #867 > >             $'!input.lstrip(!trim_chars)' : string
00:01:02 verbose #868 > >     }
00:01:03 verbose #869 > 00:01:02   debug #76 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/187ee863961a7be03a4aa317713217e98e73672ce84bb39d6600703fee2d9f4f/main.spi
00:01:03 verbose #870 > >
00:01:03 verbose #871 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:03 verbose #872 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:03 verbose #873 > > │ ### length'                                                                  │
00:01:03 verbose #874 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:03 verbose #875 > >
00:01:03 verbose #876 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:03 verbose #877 > > inl length' forall dim. (input : string) : dim =
00:01:03 verbose #878 > >     input |> $'String.length'
00:01:03 verbose #879 > 00:01:02   debug #77 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b239c8be8db2c6f0cc81e1bcaa11ff152c08df1293ac1f498b9cbb070aaad671/main.spi
00:01:03 verbose #880 > 00:01:02   debug #78 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d9e7d74e9e88a3dc13aa05f74d053acaf02777a67dd47bc59fb667f32762d4c9/main.spi
00:01:03 verbose #881 > >
00:01:03 verbose #882 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:03 verbose #883 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:03 verbose #884 > > │ ### to_string any                                                            │
00:01:03 verbose #885 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:03 verbose #886 > >
00:01:03 verbose #887 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:03 verbose #888 > > instance to_string any =
00:01:03 verbose #889 > >     obj_to_string
00:01:04 verbose #890 > 00:01:03   debug #79 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f6e2e8e2b5af4b1bf4dd6d74847f975a3f2cd47489632a07b19db0ab523befe8/main.spi
00:01:04 verbose #891 > >
00:01:04 verbose #892 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:04 verbose #893 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:04 verbose #894 > > │ ### replace                                                                  │
00:01:04 verbose #895 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:04 verbose #896 > >
00:01:04 verbose #897 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:04 verbose #898 > > inl replace (old_value : string) (new_value : string) (s : string) : string =
00:01:04 verbose #899 > >     $'!s.Replace (!old_value, !new_value)'
00:01:04 verbose #900 > 00:01:03   debug #80 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76773483e7ddd82ae3eb62b55dc7e062943f7610daf7254cb7145d2ecdfb2151/main.spi
00:01:04 verbose #901 > 00:01:03   debug #81 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/081b8930b637ad47d038d99d17833d038ecfeddeaccdc4fdef7ef9178ec24efa/main.spi
00:01:05 verbose #902 > >
00:01:05 verbose #903 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:05 verbose #904 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:05 verbose #905 > > │ ### split                                                                    │
00:01:05 verbose #906 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:05 verbose #907 > >
00:01:05 verbose #908 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:05 verbose #909 > > inl split (separator : string) (str : string) : array_base string =
00:01:05 verbose #910 > >     backend_switch {
00:01:05 verbose #911 > >         Fsharp = fun () => $'!str.Split !separator ' : array_base string
00:01:05 verbose #912 > >         Python = fun () => $'!str.split(!separator)' : array_base string
00:01:05 verbose #913 > >     }
00:01:05 verbose #914 > 00:01:04   debug #82 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4987d2fcb88b03ae8b54fcaa0adeb3ece1da2ba64d5be81b2e36cc55417e82d3/main.spi
00:01:05 verbose #915 > 00:01:04   debug #83 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/830da730cfd456a8a37e32e5ae6268571ce3e4f803403ade076322fe7de47e43/main.spi
00:01:05 verbose #916 > >
00:01:05 verbose #917 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:05 verbose #918 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:05 verbose #919 > > │ ### split_string                                                             │
00:01:05 verbose #920 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:05 verbose #921 > >
00:01:05 verbose #922 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:05 verbose #923 > > inl split_string (separator : array_base string) (str : string) : array_base
00:01:05 verbose #924 > > string =
00:01:05 verbose #925 > >     run_target_args (fun () => str, separator) function
00:01:05 verbose #926 > >         | Fsharp (Native) => fun str, separator => $'!str.Split (!separator,
00:01:05 verbose #927 > > System.StringSplitOptions.None)'
00:01:05 verbose #928 > >         | _ => fun str, separator => str |> split ((a separator : _ int _) |>
00:01:05 verbose #929 > > seq.of_array |> concat (join ""))
00:01:05 verbose #930 > 00:01:04   debug #84 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd6c0c970e3d3b1c6264a06105d9193905ee7c1b71f2cd7372bdbffb8f0ae5b2/main.spi
00:01:05 verbose #931 > 00:01:04   debug #85 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b622c69944992deb26f22b0346dd9b043bb9e35cb2563c6def1bfa4ad36c6033/main.spi
00:01:05 verbose #932 > >
00:01:05 verbose #933 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:05 verbose #934 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:05 verbose #935 > > │ ### join'                                                                    │
00:01:05 verbose #936 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:05 verbose #937 > >
00:01:05 verbose #938 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:05 verbose #939 > > inl join' (concat : string) (s : a int string) : string =
00:01:05 verbose #940 > >     $'System.String.Join (!concat, !s)'
00:01:06 verbose #941 > 00:01:05   debug #86 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cbd2ad4db14f69dbe119e89e9e753131d8a54b52376027582c77b480cbaa8aac/main.spi
00:01:06 verbose #942 > 00:01:05   debug #87 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f66e787d1f8e228b3ed8629d16bf587db86219ec99307915b565fc94a156dff8/main.spi
00:01:06 verbose #943 > >
00:01:06 verbose #944 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:06 verbose #945 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:06 verbose #946 > > │ ### encoding                                                                 │
00:01:06 verbose #947 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:06 verbose #948 > >
00:01:06 verbose #949 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:06 verbose #950 > > nominal encoding = $'System.Text.Encoding'
00:01:06 verbose #951 > 00:01:05   debug #88 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0c5213dc2b4d250c8a90df4623a975344fa7bd75c6b3a393bdf77e47288cdaf6/main.spi
00:01:06 verbose #952 > 00:01:05   debug #89 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cbea67a937e35cc9978621c5cb5e0b0fd6973ee97aa33584735b5793ac925c9d/main.spi
00:01:06 verbose #953 > >
00:01:06 verbose #954 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:06 verbose #955 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:06 verbose #956 > > │ ### encoding_utf8                                                            │
00:01:06 verbose #957 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:06 verbose #958 > >
00:01:06 verbose #959 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:06 verbose #960 > > inl encoding_utf8 () : encoding =
00:01:06 verbose #961 > >     $'`encoding.UTF8'
00:01:07 verbose #962 > 00:01:06   debug #90 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/116f6d742a60d6aeae8a11776839fb8d3facbcb58a549ce6266308f97df189a8/main.spi
00:01:07 verbose #963 > >
00:01:07 verbose #964 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:07 verbose #965 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:07 verbose #966 > > │ ### utf8_get_bytes                                                           │
00:01:07 verbose #967 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:07 verbose #968 > >
00:01:07 verbose #969 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:07 verbose #970 > > inl utf8_get_bytes (s : string) : a i32 u8 =
00:01:07 verbose #971 > >     s |> (encoding_utf8 () |> $'_.GetBytes')
00:01:07 verbose #972 > 00:01:06   debug #91 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/88a8b39ef365538e545d5bd2cc53bfcbb9466137ce28bfcd2a8237eb8d23d942/main.spi
00:01:07 verbose #973 > 00:01:06   debug #92 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/552a254c247fa4560712decddb8c8a64bde51a56462baba5a78f82e9587bff1c/main.spi
00:01:07 verbose #974 > >
00:01:07 verbose #975 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:07 verbose #976 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:07 verbose #977 > > │ ### byte_to_string                                                           │
00:01:07 verbose #978 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:07 verbose #979 > >
00:01:07 verbose #980 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:07 verbose #981 > > inl byte_to_string (format : string) (x : u8) : string =
00:01:07 verbose #982 > >     $'!x.ToString' format
00:01:07 verbose #983 > 00:01:07   debug #93 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2574718b554a12361533a842ccad48c96e2eb49231929ced65444c2b65680c54/main.spi
00:01:08 verbose #984 > >
00:01:08 verbose #985 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #986 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #987 > > │ ## rust                                                                      │
00:01:08 verbose #988 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #989 > >
00:01:08 verbose #990 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #991 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #992 > > │ ### str                                                                      │
00:01:08 verbose #993 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #994 > >
00:01:08 verbose #995 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #996 > > nominal str =
00:01:08 verbose #997 > >     `(
00:01:08 verbose #998 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:08 verbose #999 > > Fable.Core.Emit(\"str\")>]]\n#endif\ntype Str = class end"
00:01:08 verbose #1000 > >         $'' : $'Str'
00:01:08 verbose #1001 > >     )
00:01:08 verbose #1002 > 00:01:07   debug #94 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/34f49cd7ece48e874fe73507b9e40cf8941dcf7eda872a967b216b86ebb2b391/main.spi
00:01:08 verbose #1003 > >
00:01:08 verbose #1004 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #1005 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #1006 > > │ ### chars                                                                    │
00:01:08 verbose #1007 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #1008 > >
00:01:08 verbose #1009 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1010 > > inl chars (x : rust.ref str) : rust.mut' (into_iterator char) =
00:01:08 verbose #1011 > >     !\\(x, $'$"$0.chars()"')
00:01:08 verbose #1012 > 00:01:07   debug #95 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac259d17f30b51afd021901fe657544f5f8627d68097753a9d094ddce3ece5d0/main.spi
00:01:08 verbose #1013 > 00:01:08   debug #96 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/53106f755896f94620c44a90b91f8ee7bb03c962ae4ca2dfea15bd9111dead47/main.spi
00:01:09 verbose #1014 > >
00:01:09 verbose #1015 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:09 verbose #1016 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:09 verbose #1017 > > │ ### char_is_alphanumeric                                                     │
00:01:09 verbose #1018 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:09 verbose #1019 > >
00:01:09 verbose #1020 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #1021 > > inl char_is_alphanumeric (x : char) : bool =
00:01:09 verbose #1022 > >     !\\(x, $'$"$0.is_alphanumeric()"')
00:01:09 verbose #1023 > 00:01:08   debug #97 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/39077c74c614cf011c5ffbc8dfc75fac91fa3a7960665a9479ec656de21231ce/main.spi
00:01:09 verbose #1024 > 00:01:08   debug #98 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8b3a2d17518d719276c8c03fb4ef6ed17b3d05baa38b1561a8f67c67df5a8d5e/main.spi
00:01:09 verbose #1025 > >
00:01:09 verbose #1026 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:09 verbose #1027 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:09 verbose #1028 > > │ ### byte_slice                                                               │
00:01:09 verbose #1029 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:09 verbose #1030 > >
00:01:09 verbose #1031 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #1032 > > inl byte_slice (s : string) : rust.ref (am'.slice u8) =
00:01:09 verbose #1033 > >     !\($'"b\\\"" + !s + "\\\""')
00:01:09 verbose #1034 > 00:01:09   debug #99 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e8d62d30d19954577ffac61ea03ffb14dcd61a82cad683d9ae6729ba4afa39dd/main.spi
00:01:10 verbose #1035 > >
00:01:10 verbose #1036 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:10 verbose #1037 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:10 verbose #1038 > > │ ### display                                                                  │
00:01:10 verbose #1039 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:10 verbose #1040 > >
00:01:10 verbose #1041 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:10 verbose #1042 > > nominal display t =
00:01:10 verbose #1043 > >     `(
00:01:10 verbose #1044 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:10 verbose #1045 > > Fable.Core.Emit(\"std::fmt::Display<$0>\")>]]\n#endif\ntype std_fmt_Display<'T>
00:01:10 verbose #1046 > > = class end"
00:01:10 verbose #1047 > >         $'' : $'std_fmt_Display<`t>'
00:01:10 verbose #1048 > >     )
00:01:10 verbose #1049 > 00:01:09   debug #100 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f9deadfada8920a4a7db8d077004024bc62c775befea03388df3d2fd6be11705/main.spi
00:01:10 verbose #1050 > >
00:01:10 verbose #1051 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:10 verbose #1052 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:10 verbose #1053 > > │ ### base64_decode_error                                                      │
00:01:10 verbose #1054 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:10 verbose #1055 > >
00:01:10 verbose #1056 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:10 verbose #1057 > > nominal base64_decode_error =
00:01:10 verbose #1058 > >     `(
00:01:10 verbose #1059 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:10 verbose #1060 > > Fable.Core.Emit(\"base64::DecodeError\")>]]\n#endif\ntype base64_DecodeError =
00:01:10 verbose #1061 > > class end"
00:01:10 verbose #1062 > >         $'' : $'base64_DecodeError'
00:01:10 verbose #1063 > >     )
00:01:10 verbose #1064 > 00:01:09   debug #101 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f0f69699114ed31b8301fb8bce3f0d729138601ce344892d6375014e711b964/main.spi
00:01:10 verbose #1065 > >
00:01:10 verbose #1066 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:10 verbose #1067 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:10 verbose #1068 > > │ ### borsh_io_error                                                           │
00:01:10 verbose #1069 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:10 verbose #1070 > >
00:01:10 verbose #1071 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:10 verbose #1072 > > nominal borsh_io_error =
00:01:10 verbose #1073 > >     `(
00:01:10 verbose #1074 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:10 verbose #1075 > > Fable.Core.Emit(\"borsh::io::Error\")>]]\n#endif\ntype borsh_io_Error = class
00:01:10 verbose #1076 > > end"
00:01:10 verbose #1077 > >         $'' : $'borsh_io_Error'
00:01:10 verbose #1078 > >     )
00:01:11 verbose #1079 > 00:01:10   debug #102 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd4659a9978e98428731e11b80bcf2b701c1206344a759c5de9d2be0ed314e82/main.spi
00:01:11 verbose #1080 > 00:01:10   debug #103 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8d5848a66b579f5d9ff3a6ffbb68e0ef1d2822220d6c4fb6a2341f27652b05f8/main.spi
00:01:11 verbose #1081 > >
00:01:11 verbose #1082 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:11 verbose #1083 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:11 verbose #1084 > > │ ### utf8_error                                                               │
00:01:11 verbose #1085 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:11 verbose #1086 > >
00:01:11 verbose #1087 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:11 verbose #1088 > > nominal utf8_error =
00:01:11 verbose #1089 > >     `(
00:01:11 verbose #1090 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:11 verbose #1091 > > Fable.Core.Emit(\"std::str::Utf8Error\")>]]\n#endif\ntype std_str_Utf8Error =
00:01:11 verbose #1092 > > class end"
00:01:11 verbose #1093 > >         $'' : $'std_str_Utf8Error'
00:01:11 verbose #1094 > >     )
00:01:11 verbose #1095 > 00:01:10   debug #104 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cce6bcedc4cc3a413a924ff55b8dc03a7baf73944484f843fbb7ed262c7e7392/main.spi
00:01:12 verbose #1096 > >
00:01:12 verbose #1097 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:12 verbose #1098 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:12 verbose #1099 > > │ ### from_utf8_error                                                          │
00:01:12 verbose #1100 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:12 verbose #1101 > >
00:01:12 verbose #1102 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:12 verbose #1103 > > nominal from_utf8_error =
00:01:12 verbose #1104 > >     `(
00:01:12 verbose #1105 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:12 verbose #1106 > > Fable.Core.Emit(\"std::string::FromUtf8Error\")>]]\n#endif\ntype
00:01:12 verbose #1107 > > std_string_FromUtf8Error = class end"
00:01:12 verbose #1108 > >         $'' : $'std_string_FromUtf8Error'
00:01:12 verbose #1109 > >     )
00:01:12 verbose #1110 > 00:01:11   debug #105 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f7e9f312e51c94dea39afafce8c9dc8318c68893d33c70bf5a0547876ec67f84/main.spi
00:01:12 verbose #1111 > >
00:01:12 verbose #1112 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:12 verbose #1113 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:12 verbose #1114 > > │ ### json_value                                                               │
00:01:12 verbose #1115 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:12 verbose #1116 > >
00:01:12 verbose #1117 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:12 verbose #1118 > > nominal json_value =
00:01:12 verbose #1119 > >     `(
00:01:12 verbose #1120 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:12 verbose #1121 > > Fable.Core.Emit(\"serde_json::Value\")>]]\n#endif\ntype serde_json_Value = class
00:01:12 verbose #1122 > > end"
00:01:12 verbose #1123 > >         $'' : $'serde_json_Value'
00:01:12 verbose #1124 > >     )
00:01:12 verbose #1125 > 00:01:12   debug #106 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/60a2cdec7c4ce474765fab4871f9c54d62da1e0b1683c498c3b44499ec92079d/main.spi
00:01:13 verbose #1126 > >
00:01:13 verbose #1127 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:13 verbose #1128 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:13 verbose #1129 > > │ ### json_error                                                               │
00:01:13 verbose #1130 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:13 verbose #1131 > >
00:01:13 verbose #1132 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:13 verbose #1133 > > nominal json_error =
00:01:13 verbose #1134 > >     `(
00:01:13 verbose #1135 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:13 verbose #1136 > > Fable.Core.Emit(\"serde_json::Error\")>]]\n#endif\ntype serde_json_Error = class
00:01:13 verbose #1137 > > end"
00:01:13 verbose #1138 > >         $'' : $'serde_json_Error'
00:01:13 verbose #1139 > >     )
00:01:13 verbose #1140 > 00:01:12   debug #107 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0d5091985ca274be1ca85661830f5e9e0e807b2895263a32f68708b9c0a4b021/main.spi
00:01:13 verbose #1141 > >
00:01:13 verbose #1142 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:13 verbose #1143 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:13 verbose #1144 > > │ ### serde_wasm_bindgen_error                                                 │
00:01:13 verbose #1145 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:13 verbose #1146 > >
00:01:13 verbose #1147 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:13 verbose #1148 > > nominal serde_wasm_bindgen_error =
00:01:13 verbose #1149 > >     `(
00:01:13 verbose #1150 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:13 verbose #1151 > > Fable.Core.Emit(\"serde_wasm_bindgen::Error\")>]]\n#endif\ntype
00:01:13 verbose #1152 > > serde_wasm_bindgen_Error = class end"
00:01:13 verbose #1153 > >         $'' : $'serde_wasm_bindgen_Error'
00:01:13 verbose #1154 > >     )
00:01:13 verbose #1155 > 00:01:13   debug #108 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd8569b3c8b35e38e4e777b78158ff8d9b9f6be49da29bf62da8ffd5b69685a2/main.spi
00:01:14 verbose #1156 > >
00:01:14 verbose #1157 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:14 verbose #1158 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:14 verbose #1159 > > │ ### js_string                                                                │
00:01:14 verbose #1160 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:14 verbose #1161 > >
00:01:14 verbose #1162 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:14 verbose #1163 > > nominal js_string =
00:01:14 verbose #1164 > >     `(
00:01:14 verbose #1165 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:14 verbose #1166 > > Fable.Core.Emit(\"js_sys::JsString\")>]]\n#endif\ntype js_sys_JsString = class
00:01:14 verbose #1167 > > end"
00:01:14 verbose #1168 > >         $'' : $'js_sys_JsString'
00:01:14 verbose #1169 > >     )
00:01:14 verbose #1170 > 00:01:13   debug #109 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3983cf4c9df2a6ecc53516d71fcd35087ceba11b69f4cca41653441e551691f6/main.spi
00:01:14 verbose #1171 > >
00:01:14 verbose #1172 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:14 verbose #1173 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:14 verbose #1174 > > │ ### os_str                                                                   │
00:01:14 verbose #1175 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:14 verbose #1176 > >
00:01:14 verbose #1177 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:14 verbose #1178 > > nominal os_str =
00:01:14 verbose #1179 > >     `(
00:01:14 verbose #1180 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:14 verbose #1181 > > Fable.Core.Emit(\"std::ffi::OsStr\")>]]\n#endif\ntype std_ffi_OsStr = class end"
00:01:14 verbose #1182 > >         $'' : $'std_ffi_OsStr'
00:01:14 verbose #1183 > >     )
00:01:15 verbose #1184 > 00:01:14   debug #110 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ff64cf488978184306f377550841693723e6376473326e33ca218dbe4630ce65/main.spi
00:01:15 verbose #1185 > >
00:01:15 verbose #1186 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:15 verbose #1187 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:15 verbose #1188 > > │ ### os_string                                                                │
00:01:15 verbose #1189 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:15 verbose #1190 > >
00:01:15 verbose #1191 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:15 verbose #1192 > > nominal os_string =
00:01:15 verbose #1193 > >     `(
00:01:15 verbose #1194 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:15 verbose #1195 > > Fable.Core.Emit(\"std::ffi::OsString\")>]]\n#endif\ntype std_ffi_OsString =
00:01:15 verbose #1196 > > class end"
00:01:15 verbose #1197 > >         $'' : $'std_ffi_OsString'
00:01:15 verbose #1198 > >     )
00:01:15 verbose #1199 > 00:01:14   debug #111 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8258df1287ed689223899d45d307bf8c6632f3f08b3d709a1fd7bcc1170d856e/main.spi
00:01:15 verbose #1200 > >
00:01:15 verbose #1201 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:15 verbose #1202 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:15 verbose #1203 > > │ ### raw_string_literal                                                       │
00:01:15 verbose #1204 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:15 verbose #1205 > >
00:01:15 verbose #1206 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:15 verbose #1207 > > inl raw_string_literal (s : string) : rust.ref str =
00:01:15 verbose #1208 > >     !\($'"r#\\"" + !s + "\\"#"')
00:01:15 verbose #1209 > 00:01:14   debug #112 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6ae02cfa4b3f05907f9b308772f4a12378935b48c624abc8ad72bb6e32fdbc48/main.spi
00:01:16 verbose #1210 > >
00:01:16 verbose #1211 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:16 verbose #1212 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:16 verbose #1213 > > │ ### raw_string_literal_static                                                │
00:01:16 verbose #1214 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:16 verbose #1215 > >
00:01:16 verbose #1216 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:16 verbose #1217 > > inl raw_string_literal_static (s : string) : rust.static_ref str =
00:01:16 verbose #1218 > >     !\($'"r#\\"" + !s + "\\"#"')
00:01:16 verbose #1219 > 00:01:15   debug #113 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/893b18beddf121e71d5107194de12ace885da8790eb9de0433e43e2e3d8f2d69/main.spi
00:01:16 verbose #1220 > >
00:01:16 verbose #1221 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:16 verbose #1222 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:16 verbose #1223 > > │ ### (~#)                                                                     │
00:01:16 verbose #1224 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:16 verbose #1225 > >
00:01:16 verbose #1226 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:16 verbose #1227 > > inl (~#) s =
00:01:16 verbose #1228 > >     s |> raw_string_literal
00:01:16 verbose #1229 > 00:01:15   debug #114 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7ce8b3435d6011ba88db54bd8e49eee7c938e8174d60e0f952bed7169a5239c5/main.spi
00:01:16 verbose #1230 > 00:01:15   debug #115 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f510953176101d2feb4bbb14ac3b270823fbee918065a0a78c42a8ac11a39caa/main.spi
00:01:16 verbose #1231 > >
00:01:16 verbose #1232 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:16 verbose #1233 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:16 verbose #1234 > > │ ### (~##)                                                                    │
00:01:16 verbose #1235 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:16 verbose #1236 > >
00:01:16 verbose #1237 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:16 verbose #1238 > > inl (~##) s =
00:01:16 verbose #1239 > >     s |> raw_string_literal_static
00:01:17 verbose #1240 > 00:01:16   debug #116 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/97e9c368acbe2573562d74606d3235b769f5a41be94662ae729c20d28ad3dade/main.spi
00:01:17 verbose #1241 > >
00:01:17 verbose #1242 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:17 verbose #1243 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:17 verbose #1244 > > │ ### include_str                                                              │
00:01:17 verbose #1245 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:17 verbose #1246 > >
00:01:17 verbose #1247 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:17 verbose #1248 > > inl include_str (path : string) : rust.ref str =
00:01:17 verbose #1249 > >     !\($'"include_str\!(\\\"" + !path + "\\\")"')
00:01:17 verbose #1250 > 00:01:16   debug #117 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32c7c79aa952d3f17b276928d6489fc9d1b48b8945e9c9b56b1dbb62ded61187/main.spi
00:01:17 verbose #1251 > >
00:01:17 verbose #1252 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:17 verbose #1253 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:17 verbose #1254 > > │ ### as_str                                                                   │
00:01:17 verbose #1255 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:17 verbose #1256 > >
00:01:17 verbose #1257 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:17 verbose #1258 > > inl as_str (s : string) : rust.ref str =
00:01:17 verbose #1259 > >     // !\\(s, $'"fable_library_rust::String_::LrcStr::as_str(&$0)"')
00:01:17 verbose #1260 > >     !\\(s, $'"&*$0"')
00:01:18 verbose #1261 > 00:01:17   debug #118 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d41c59b341a9a3d003aeca2b9d774a372811b9c313f2043cd331279eab83bc8b/main.spi
00:01:18 verbose #1262 > >
00:01:18 verbose #1263 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:18 verbose #1264 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:18 verbose #1265 > > │ ### from_iter                                                                │
00:01:18 verbose #1266 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #1267 > >
00:01:18 verbose #1268 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:18 verbose #1269 > > inl from_iter forall (t : * -> *). (s : t char) : std_string =
00:01:18 verbose #1270 > >     !\\(s, $'"String::from_iter($0)"')
00:01:18 verbose #1271 > 00:01:17   debug #119 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/85d5934560a66b151e40250de2ce043cce48dbf955b5c89d4116414427777c90/main.spi
00:01:18 verbose #1272 > >
00:01:18 verbose #1273 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:18 verbose #1274 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:18 verbose #1275 > > │ ### ref_to_std_string                                                        │
00:01:18 verbose #1276 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #1277 > >
00:01:18 verbose #1278 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:18 verbose #1279 > > inl ref_to_std_string (str : rust.ref str) : std_string =
00:01:18 verbose #1280 > >     !\\(str, $'"String::from($0)"')
00:01:19 verbose #1281 > 00:01:18   debug #120 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/544de52f6ce473e2aa1f4bc65d41f4e62027daa0b6243006e220f2c086abacb9/main.spi
00:01:19 verbose #1282 > >
00:01:19 verbose #1283 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:19 verbose #1284 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:19 verbose #1285 > > │ ### cow_to_std_string                                                        │
00:01:19 verbose #1286 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:19 verbose #1287 > >
00:01:19 verbose #1288 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:19 verbose #1289 > > inl cow_to_std_string (str : rust.cow str) : std_string =
00:01:19 verbose #1290 > >     !\\(str, $'"String::from($0)"')
00:01:19 verbose #1291 > 00:01:18   debug #121 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/676f5d10b2486edfe294e4b3712153faf3910321e6b477bd2e37a42241e7559d/main.spi
00:01:19 verbose #1292 > >
00:01:19 verbose #1293 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:19 verbose #1294 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:19 verbose #1295 > > │ ### to_std_string                                                            │
00:01:19 verbose #1296 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:19 verbose #1297 > >
00:01:19 verbose #1298 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:19 verbose #1299 > > inl to_std_string (s : string) : std_string =
00:01:19 verbose #1300 > >     s |> as_str |> ref_to_std_string
00:01:20 verbose #1301 > 00:01:19   debug #122 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a79c38aae9795a2ceb141e3d3ef345d9aa517676ffe13ade2c61c8054bb41fba/main.spi
00:01:20 verbose #1302 > >
00:01:20 verbose #1303 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:20 verbose #1304 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:20 verbose #1305 > > │ ### as_str_std                                                               │
00:01:20 verbose #1306 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1307 > >
00:01:20 verbose #1308 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:20 verbose #1309 > > inl as_str_std (s : std_string) : rust.ref str =
00:01:20 verbose #1310 > >     !\\(s, $'"$0.as_str()"')
00:01:20 verbose #1311 > 00:01:19   debug #123 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ba4e91c6a7ef7e9449e3b2d06e5ae367d62b281f5087656488cd3be714851618/main.spi
00:01:20 verbose #1312 > >
00:01:20 verbose #1313 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:20 verbose #1314 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:20 verbose #1315 > > │ ### into_boxed_str                                                           │
00:01:20 verbose #1316 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1317 > >
00:01:20 verbose #1318 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:20 verbose #1319 > > inl into_boxed_str (s : std_string) : rust.box str =
00:01:20 verbose #1320 > >     !\\(s, $'"$0.into_boxed_str()"')
00:01:20 verbose #1321 > 00:01:20   debug #124 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/084841cdff4b3d5de281f2b8fa321e444ad42cd43c29b1f13de13ba7e33b335d/main.spi
00:01:21 verbose #1322 > 00:01:20   debug #125 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3940bbab087432d6a811dae8dec349283a98f7caa087250c31f5ea668db1fcef/main.spi
00:01:21 verbose #1323 > >
00:01:21 verbose #1324 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:21 verbose #1325 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:21 verbose #1326 > > │ ### os_string_as_ref                                                         │
00:01:21 verbose #1327 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:21 verbose #1328 > >
00:01:21 verbose #1329 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:21 verbose #1330 > > inl os_string_as_ref (s : os_string) : rust.ref os_str =
00:01:21 verbose #1331 > >     !\\(s, $'"$0.as_ref()"')
00:01:21 verbose #1332 > 00:01:20   debug #126 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9cc3af0bb1cb1789e684e46de10aa13e73a769ddf3a0db18eee03684d7f83782/main.spi
00:01:21 verbose #1333 > >
00:01:21 verbose #1334 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:21 verbose #1335 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:21 verbose #1336 > > │ ### to_os_string                                                             │
00:01:21 verbose #1337 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:21 verbose #1338 > >
00:01:21 verbose #1339 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:21 verbose #1340 > > inl to_os_string (s : rust.ref os_str) : os_string =
00:01:21 verbose #1341 > >     !\\(s, $'"$0.to_os_string()"')
00:01:21 verbose #1342 > 00:01:20   debug #127 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f6b3dbc91e4100b6e447d95a8d45fddcf2efbb89fa575692adf4ee3e7f94fb24/main.spi
00:01:22 verbose #1343 > >
00:01:22 verbose #1344 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:22 verbose #1345 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:22 verbose #1346 > > │ ### os_to_str                                                                │
00:01:22 verbose #1347 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:22 verbose #1348 > >
00:01:22 verbose #1349 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:22 verbose #1350 > > inl os_to_str (s : os_string) : optionm'.option' (rust.ref str) =
00:01:22 verbose #1351 > >     !\\(s, $'"$0.to_str()"')
00:01:22 verbose #1352 > 00:01:21   debug #128 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c8317bea728bc813ac9a6ba0de496bf1514f4fcfb8edf44d17ae5b2a54ae36a6/main.spi
00:01:22 verbose #1353 > >
00:01:22 verbose #1354 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:22 verbose #1355 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:22 verbose #1356 > > │ ### from_os_str_ref                                                          │
00:01:22 verbose #1357 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:22 verbose #1358 > >
00:01:22 verbose #1359 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:22 verbose #1360 > > inl from_os_str_ref s =
00:01:22 verbose #1361 > >     s
00:01:22 verbose #1362 > >     |> to_os_string
00:01:22 verbose #1363 > >     |> os_to_str
00:01:22 verbose #1364 > >     |> optionm'.unwrap
00:01:22 verbose #1365 > >     |> ref_to_std_string
00:01:22 verbose #1366 > >     |> from_std_string
00:01:22 verbose #1367 > 00:01:21   debug #129 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/afb69eaddc5a14cbf10d3726be57950790bbf14d7133f3d241df56c86219b54d/main.spi
00:01:22 verbose #1368 > >
00:01:22 verbose #1369 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:22 verbose #1370 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:22 verbose #1371 > > │ ### format_custom'                                                           │
00:01:22 verbose #1372 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:22 verbose #1373 > >
00:01:22 verbose #1374 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:22 verbose #1375 > > inl format_custom' (f : string) x : std_string =
00:01:22 verbose #1376 > >     run_target function
00:01:22 verbose #1377 > >         | Rust _ => fun () =>
00:01:22 verbose #1378 > >             !\\(x, $'"format\!(\\\"" + !f + "\\\", $0)"')
00:01:22 verbose #1379 > >         | _ => fun () => null ()
00:01:23 verbose #1380 > 00:01:22   debug #130 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/449792321188ddde6bb5a93b3f4edce58ec53865472bab8f2351b5ab68c4562c/main.spi
00:01:23 verbose #1381 > >
00:01:23 verbose #1382 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:23 verbose #1383 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:23 verbose #1384 > > │ ### format_debug'                                                            │
00:01:23 verbose #1385 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:23 verbose #1386 > >
00:01:23 verbose #1387 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:23 verbose #1388 > > inl format_debug' x : std_string =
00:01:23 verbose #1389 > >     run_target function
00:01:23 verbose #1390 > >         | Rust _ => fun () =>
00:01:23 verbose #1391 > >             !\\(x, $'"format\!(\\\"{:?}\\\", $0)"')
00:01:23 verbose #1392 > >         | _ => fun () => null ()
00:01:23 verbose #1393 > 00:01:22   debug #131 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d984ad668c706cbb4c714342859c890c030a4f9b22d1f277c4f8a49c3c124afa/main.spi
00:01:24 verbose #1394 > >
00:01:24 verbose #1395 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:24 verbose #1396 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:24 verbose #1397 > > │ ### format'                                                                  │
00:01:24 verbose #1398 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:24 verbose #1399 > >
00:01:24 verbose #1400 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:24 verbose #1401 > > inl format' x : std_string =
00:01:24 verbose #1402 > >     run_target_args (fun () => x) function
00:01:24 verbose #1403 > >         | Rust _ => fun x =>
00:01:24 verbose #1404 > >             !\\(x, $'"format\!(\\\"{}\\\", $0)"')
00:01:24 verbose #1405 > >         | _ => fun _ => null ()
00:01:24 verbose #1406 > 00:01:23   debug #132 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/05eb6a51379ea8c34025ed6e847f72638949dfa697a82fd13624fbb50477f1b8/main.spi
00:01:24 verbose #1407 > 00:01:23   debug #133 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bf9a1f03f7868f9ae72d4f94d8876650e0c69984deda8ab8cfcb07ccd8d233f1/main.spi
00:01:24 verbose #1408 > >
00:01:24 verbose #1409 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:24 verbose #1410 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:24 verbose #1411 > > │ ### format_hex'                                                              │
00:01:24 verbose #1412 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:24 verbose #1413 > >
00:01:24 verbose #1414 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:24 verbose #1415 > > inl format_hex' x : std_string =
00:01:24 verbose #1416 > >     !\\(x, $'"format\!(\\\"{:02x}\\\", $0)"')
00:01:24 verbose #1417 > 00:01:23   debug #134 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8cb24ae338fdc5edc4d8b49a71107458db1161e78e6e9147ee715ebd8fc482b1/main.spi
00:01:25 verbose #1418 > >
00:01:25 verbose #1419 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:25 verbose #1420 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:25 verbose #1421 > > │ ### format''                                                                 │
00:01:25 verbose #1422 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 verbose #1423 > >
00:01:25 verbose #1424 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:25 verbose #1425 > > inl format'' (format : string) : std_string =
00:01:25 verbose #1426 > >     !\($'@@$"format\!(" + !format + ")"')
00:01:25 verbose #1427 > 00:01:24   debug #135 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/31f1fdad91af28651c125bdbb74810058b1c49d391d56a7b7d8c3e99d3885f79/main.spi
00:01:25 verbose #1428 > >
00:01:25 verbose #1429 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:25 verbose #1430 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:25 verbose #1431 > > │ ### regex                                                                    │
00:01:25 verbose #1432 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 verbose #1433 > >
00:01:25 verbose #1434 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:25 verbose #1435 > > nominal regex =
00:01:25 verbose #1436 > >     `(
00:01:25 verbose #1437 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:25 verbose #1438 > > Fable.Core.Emit(\"regex::Regex\")>]]\n#endif\ntype regex_Regex = class end"
00:01:25 verbose #1439 > >         $'' : $'regex_Regex'
00:01:25 verbose #1440 > >     )
00:01:25 verbose #1441 > 00:01:24   debug #136 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e67f1695f49f99b176d30bebd4cbfef0d3aec79682ef75989860f502793c2904/main.spi
00:01:25 verbose #1442 > >
00:01:25 verbose #1443 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:25 verbose #1444 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:25 verbose #1445 > > │ ### regex_error                                                              │
00:01:25 verbose #1446 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 verbose #1447 > >
00:01:25 verbose #1448 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:25 verbose #1449 > > nominal regex_error =
00:01:25 verbose #1450 > >     `(
00:01:25 verbose #1451 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:25 verbose #1452 > > Fable.Core.Emit(\"regex::Error\")>]]\n#endif\ntype regex_Error = class end"
00:01:25 verbose #1453 > >         $'' : $'regex_Error'
00:01:25 verbose #1454 > >     )
00:01:26 verbose #1455 > 00:01:25   debug #137 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d57e5c8c670002251b6a957e4ad64e8246924752ebe8bec0d5b10f072eed8acd/main.spi
00:01:26 verbose #1456 > >
00:01:26 verbose #1457 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:26 verbose #1458 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:26 verbose #1459 > > │ ### new_regex                                                                │
00:01:26 verbose #1460 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:26 verbose #1461 > >
00:01:26 verbose #1462 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:26 verbose #1463 > > inl new_regex (pattern : string) : resultm.result' regex regex_error =
00:01:26 verbose #1464 > >     !\\(pattern, $'$"regex::Regex::new(&$0)"')
00:01:26 verbose #1465 > 00:01:25   debug #138 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f5b7b97494ea82b1144b006390c42a7519f78f2cdee62b6224818ad31283178a/main.spi
00:01:27 verbose #1466 > >
00:01:27 verbose #1467 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:27 verbose #1468 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:27 verbose #1469 > > │ ### captures                                                                 │
00:01:27 verbose #1470 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:27 verbose #1471 > >
00:01:27 verbose #1472 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:27 verbose #1473 > > nominal regex_captures t =
00:01:27 verbose #1474 > >     `(
00:01:27 verbose #1475 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:27 verbose #1476 > > Fable.Core.Emit(\"regex::Captures<$0>\")>]]\n#endif\ntype regex_Captures<'T> =
00:01:27 verbose #1477 > > class end"
00:01:27 verbose #1478 > >         $'' : $'regex_Captures<`t>'
00:01:27 verbose #1479 > >     )
00:01:27 verbose #1480 > 00:01:26   debug #139 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/489615e9759ad6e8445a89c25a976a9845cd886cc3f2cb3791a1a0c51eeb5224/main.spi
00:01:27 verbose #1481 > >
00:01:27 verbose #1482 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:27 verbose #1483 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:27 verbose #1484 > > │ ### regex_capture_matches                                                    │
00:01:27 verbose #1485 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:27 verbose #1486 > >
00:01:27 verbose #1487 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:27 verbose #1488 > > nominal regex_capture_matches =
00:01:27 verbose #1489 > >     `(
00:01:27 verbose #1490 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:27 verbose #1491 > > Fable.Core.Emit(\"regex::CaptureMatches\")>]]\n#endif\ntype regex_CaptureMatches
00:01:27 verbose #1492 > > = class end"
00:01:27 verbose #1493 > >         $'' : $'regex_CaptureMatches'
00:01:27 verbose #1494 > >     )
00:01:27 verbose #1495 > 00:01:26   debug #140 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd000bfdbaf4a3057746a69dcdb1d24de669661ad1d7021ef0edda64c2eec497/main.spi
00:01:27 verbose #1496 > 00:01:27   debug #141 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/26fc0976dd8d4abf9d185378c8047c469f0f3a1362ff20fa4f76866bfb32dddb/main.spi
00:01:28 verbose #1497 > >
00:01:28 verbose #1498 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:28 verbose #1499 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:28 verbose #1500 > > │ ### regex_capture_names                                                      │
00:01:28 verbose #1501 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 verbose #1502 > >
00:01:28 verbose #1503 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:28 verbose #1504 > > nominal regex_capture_names =
00:01:28 verbose #1505 > >     `(
00:01:28 verbose #1506 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:28 verbose #1507 > > Fable.Core.Emit(\"regex::CaptureNames\")>]]\n#endif\ntype regex_CaptureNames =
00:01:28 verbose #1508 > > class end"
00:01:28 verbose #1509 > >         $'' : $'regex_CaptureNames'
00:01:28 verbose #1510 > >     )
00:01:28 verbose #1511 > >
00:01:28 verbose #1512 > > inl regex_capture_names (regex : regex) : regex_capture_names =
00:01:28 verbose #1513 > >     !\\(regex, $'$"$0.capture_names()"')
00:01:28 verbose #1514 > 00:01:27   debug #142 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c573f61651036af0f8fc3ea1bac0cc5909c2b8c6c33c8ab5153a82313adc0aac/main.spi
00:01:28 verbose #1515 > >
00:01:28 verbose #1516 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:28 verbose #1517 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:28 verbose #1518 > > │ ### match'                                                                   │
00:01:28 verbose #1519 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 verbose #1520 > >
00:01:28 verbose #1521 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:28 verbose #1522 > > nominal match' =
00:01:28 verbose #1523 > >     `(
00:01:28 verbose #1524 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:28 verbose #1525 > > Fable.Core.Emit(\"regex::Match\")>]]\n#endif\ntype regex_Match = class end"
00:01:28 verbose #1526 > >         $'' : $'regex_Match'
00:01:28 verbose #1527 > >     )
00:01:28 verbose #1528 > 00:01:27   debug #143 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b99ca695369ea216e8f80ec84b3aeb76e9d64f228e82270d573b8fcf699e51be/main.spi
00:01:29 verbose #1529 > >
00:01:29 verbose #1530 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:29 verbose #1531 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:29 verbose #1532 > > │ ### regex_captures_iter                                                      │
00:01:29 verbose #1533 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:29 verbose #1534 > >
00:01:29 verbose #1535 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:29 verbose #1536 > > inl regex_captures_iter (s : rust.static_ref (rust.mut' std_string)) (regex :
00:01:29 verbose #1537 > > regex) : regex_capture_matches =
00:01:29 verbose #1538 > >     !\($'$"!regex.captures_iter(!s)"')
00:01:29 verbose #1539 > 00:01:28   debug #144 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1f2f4aac3fcd3d5b8220fdb2b5f057667a2c9c7d46d7e18ce43340474e9e6468/main.spi
00:01:29 verbose #1540 > >
00:01:29 verbose #1541 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:29 verbose #1542 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:29 verbose #1543 > > │ ### regex_captures                                                           │
00:01:29 verbose #1544 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:29 verbose #1545 > >
00:01:29 verbose #1546 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:29 verbose #1547 > > inl regex_captures (s : string) (regex : regex) : am'.vec (mapm.hash_map string
00:01:29 verbose #1548 > > string) =
00:01:29 verbose #1549 > >     // inl s = join s
00:01:29 verbose #1550 > >     // !\\(regex, $'$"$0.captures_iter(&*!s).map(|caps|
00:01:29 verbose #1551 > > $0.capture_names().map(|x| x.and_then(|n| Some((n,
00:01:29 verbose #1552 > > caps.name(n)?.as_str())))).flatten().collect()).collect()"')
00:01:29 verbose #1553 > >
00:01:29 verbose #1554 > >     inl s = s |> to_std_string
00:01:29 verbose #1555 > >     fun () =>
00:01:29 verbose #1556 > >         inl matches =
00:01:29 verbose #1557 > >             inl s = s |> rust.new_box |> rust.box_leak
00:01:29 verbose #1558 > >             regex |> regex_captures_iter s
00:01:29 verbose #1559 > >
00:01:29 verbose #1560 > >         (!\($'"true; let _regex_captures : Vec<_> = !matches.map(|x| { //"') :
00:01:29 verbose #1561 > > bool) |> ignore
00:01:29 verbose #1562 > >
00:01:29 verbose #1563 > >         inl fn (match' : rust.static_ref (rust.mut' (regex_captures
00:01:29 verbose #1564 > > rust.static_lifetime))) : mapm.hash_map string string =
00:01:29 verbose #1565 > >
00:01:29 verbose #1566 > >             inl names = regex |> regex_capture_names
00:01:29 verbose #1567 > >
00:01:29 verbose #1568 > >             (!\($'"true; let _regex_captures : std::collections::HashMap<_, _> =
00:01:29 verbose #1569 > > !names.map(|x| { //"') : bool) |> ignore
00:01:29 verbose #1570 > >
00:01:29 verbose #1571 > >             inl fn (n : string) : pair string string =
00:01:29 verbose #1572 > >                 inl n' = n |> rust.clone
00:01:29 verbose #1573 > >
00:01:29 verbose #1574 > >                 new_pair n' !\\(n, $'$"!match'.name(&$0).map(|x|
00:01:29 verbose #1575 > > x.as_str()).unwrap_or(\\\"\\\").to_string().into()"')
00:01:29 verbose #1576 > >
00:01:29 verbose #1577 > >             (!\\(fn !\($'"x.unwrap_or(\\\"\\\").to_string().into()"'), $'"true;
00:01:29 verbose #1578 > > $0 }).map(|x| std::sync::Arc::try_unwrap(x).unwrap_or_else(|x|
00:01:29 verbose #1579 > > (*x).clone())).collect()"') : bool) |> ignore
00:01:29 verbose #1580 > >
00:01:29 verbose #1581 > >             !\($'"_regex_captures"')
00:01:29 verbose #1582 > >
00:01:29 verbose #1583 > >         inl x =
00:01:29 verbose #1584 > >             !\($'$"x"')
00:01:29 verbose #1585 > >             |> rust.new_box
00:01:29 verbose #1586 > >             |> rust.box_leak
00:01:29 verbose #1587 > >
00:01:29 verbose #1588 > >         (!\\(fn x, $'"true; $0 }).collect::<Vec<_>>()"') : bool) |> ignore
00:01:29 verbose #1589 > >
00:01:29 verbose #1590 > >         !\($'"_regex_captures"')
00:01:29 verbose #1591 > >
00:01:29 verbose #1592 > >     |> rust.capture_move
00:01:29 verbose #1593 > 00:01:28   debug #145 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b7fc6da5229ebaef9459a7247398eada3155e7f0801f27893fdf2fddcc888882/main.spi
00:01:30 verbose #1594 > >
00:01:30 verbose #1595 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:30 verbose #1596 > > //// test
00:01:30 verbose #1597 > > ///! rust -d regex
00:01:30 verbose #1598 > >
00:01:30 verbose #1599 > > "fable-library-ts\\.(?<a>[[\\d.]]+)$"
00:01:30 verbose #1600 > > |> new_regex
00:01:30 verbose #1601 > > |> resultm.unwrap'
00:01:30 verbose #1602 > > |> regex_captures "fable_modules/fable-library-ts.4.17.0"
00:01:30 verbose #1603 > > |> am'.vec_map (mapm.to_vec >> am'.vec_sort_by_key id)
00:01:30 verbose #1604 > > |> sm'.format_debug
00:01:30 verbose #1605 > > |> _assert_eq (
00:01:30 verbose #1606 > >     ;[[
00:01:30 verbose #1607 > >         ;[[ "", ""; "a", "4.17.0" ]]
00:01:30 verbose #1608 > >         |> am'.to_vec
00:01:30 verbose #1609 > >     ]]
00:01:30 verbose #1610 > >     |> am'.to_vec
00:01:30 verbose #1611 > >     |> sm'.format_debug
00:01:30 verbose #1612 > > )
00:01:30 verbose #1613 > 00:01:29   debug #146 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/86160b979d5decc7f832a47c1aa14072a924ea1b591508bdb7eb7d4581a0be5e/main.spi
00:01:37 verbose #1614 > >
00:01:37 verbose #1615 > > ╭─[ 7.05s - return value ]─────────────────────────────────────────────────────╮
00:01:37 verbose #1616 > > │ __assert_eq / actual: "[[("", ""), ("a", "4.17.0")]]" / expected: "[[("",    │
00:01:37 verbose #1617 > > │ ""), ("a", "4.17.0")]]"                                                      │
00:01:37 verbose #1618 > > │                                                                              │
00:01:37 verbose #1619 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #1620 > >
00:01:37 verbose #1621 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:37 verbose #1622 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:37 verbose #1623 > > │ ### replace_regex'                                                           │
00:01:37 verbose #1624 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #1625 > >
00:01:37 verbose #1626 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:37 verbose #1627 > > inl replace_regex' (pattern : string) (replacement : a i32 string) (s : string)
00:01:37 verbose #1628 > > : string =
00:01:37 verbose #1629 > >     run_target_args (fun () => s, pattern, replacement) function
00:01:37 verbose #1630 > >         | Rust (Native) => fun s, pattern, replacement =>
00:01:37 verbose #1631 > >             inl regex = pattern |> new_regex |> resultm.unwrap'
00:01:37 verbose #1632 > >             !\\((regex, #s, replacement), $'$"$0.replace_all($1, &*$2)"')
00:01:37 verbose #1633 > >             |> cow_to_std_string
00:01:37 verbose #1634 > >             |> from_std_string
00:01:37 verbose #1635 > >         | _ => fun _ => null ()
00:01:37 verbose #1636 > 00:01:36   debug #147 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/01cadb85bb3a9d619c3bdeaf933352553060a2f1c3fcb640167ec9159224f0dd/main.spi
00:01:37 verbose #1637 > >
00:01:37 verbose #1638 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:37 verbose #1639 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:37 verbose #1640 > > │ ### serialize                                                                │
00:01:37 verbose #1641 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #1642 > >
00:01:37 verbose #1643 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:37 verbose #1644 > > inl serialize forall t. (x : t) : resultm.result' std_string json_error =
00:01:37 verbose #1645 > >     !\($'"serde_json::to_string(&!x)"')
00:01:37 verbose #1646 > 00:01:36   debug #148 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1e460b6d4ec3aba4de30bcaa9d0a13fe8616fd0baa82d29ea74af7ba64324770/main.spi
00:01:38 verbose #1647 > >
00:01:38 verbose #1648 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:38 verbose #1649 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:38 verbose #1650 > > │ ### deserialize                                                              │
00:01:38 verbose #1651 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:38 verbose #1652 > >
00:01:38 verbose #1653 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:38 verbose #1654 > > inl deserialize forall t. (json : string) : resultm.result' t std_string =
00:01:38 verbose #1655 > >     inl json = join json
00:01:38 verbose #1656 > >     inl json = json |> as_str
00:01:38 verbose #1657 > >     !\($'"serde_json::from_str(&!json)"')
00:01:38 verbose #1658 > >     |> resultm.map_error' fun (x : json_error) => x |> format'
00:01:38 verbose #1659 > 00:01:37   debug #149 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4984fe0ac427b533d7558b1efe3a843bad16de107a106b3a0431e377d780f52f/main.spi
00:01:38 verbose #1660 > >
00:01:38 verbose #1661 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:38 verbose #1662 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:38 verbose #1663 > > │ ### borsh_deserialize                                                        │
00:01:38 verbose #1664 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:38 verbose #1665 > >
00:01:38 verbose #1666 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:38 verbose #1667 > > inl borsh_deserialize forall t. (data : array_base u8) : resultm.result' t
00:01:38 verbose #1668 > > std_string =
00:01:38 verbose #1669 > >     inl data = data |> am'.as_slice
00:01:38 verbose #1670 > >     (!\($'"true; let mut !data = !data"') : bool) |> ignore
00:01:38 verbose #1671 > >     inl result = !\($'"borsh::BorshDeserialize::deserialize(&mut !data)"')
00:01:38 verbose #1672 > >     result
00:01:38 verbose #1673 > >     |> resultm.map_error' fun (x : borsh_io_error) => x |> format'
00:01:38 verbose #1674 > 00:01:37   debug #150 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/083f3780dd1341ca9cf07ce334c9fd20ac643866e5056d7a1a9e0d274265241d/main.spi
00:01:39 verbose #1675 > >
00:01:39 verbose #1676 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:39 verbose #1677 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:39 verbose #1678 > > │ ### deserialize_vec                                                          │
00:01:39 verbose #1679 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:39 verbose #1680 > >
00:01:39 verbose #1681 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:39 verbose #1682 > > inl deserialize_vec (value : json_value) : resultm.result' (am'.vec u8)
00:01:39 verbose #1683 > > std_string =
00:01:39 verbose #1684 > >     inl value = join value
00:01:39 verbose #1685 > >     !\($'"serde_json::from_value(!value)"')
00:01:39 verbose #1686 > >     |> resultm.map_error' fun (x : json_error) => x |> format'
00:01:39 verbose #1687 > 00:01:38   debug #151 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fcca2a3fc1b54102848fb304f9afebc8ae6ba8286ba23d120512b1cb9e7af244/main.spi
00:01:39 verbose #1688 > >
00:01:39 verbose #1689 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:39 verbose #1690 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:39 verbose #1691 > > │ ### encode_uri_component                                                     │
00:01:39 verbose #1692 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:39 verbose #1693 > >
00:01:39 verbose #1694 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:39 verbose #1695 > > inl encode_uri_component (s : std_string) : js_string =
00:01:39 verbose #1696 > >     !\($'"js_sys::encode_uri_component(&!s)"')
00:01:39 verbose #1697 > 00:01:38   debug #152 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/518f54bb68605370c2fa6a97860bf62559806c60cc9df1b7f8f2e3e27abce17c/main.spi
00:01:39 verbose #1698 > >
00:01:39 verbose #1699 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:39 verbose #1700 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:39 verbose #1701 > > │ ### strip_prefix                                                             │
00:01:39 verbose #1702 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:39 verbose #1703 > >
00:01:39 verbose #1704 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:39 verbose #1705 > > inl strip_prefix (prefix : char) (s : std_string) : optionm'.option' (rust.ref
00:01:39 verbose #1706 > > str) =
00:01:39 verbose #1707 > >     inl s = join s
00:01:39 verbose #1708 > >     !\($'"!s.strip_prefix(!prefix)"')
00:01:40 verbose #1709 > 00:01:39   debug #153 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c061068edabe305c3fc11366380bc61c9852ee49a0a9cd02b85e7889f6feaea5/main.spi
00:01:40 verbose #1710 > >
00:01:40 verbose #1711 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:40 verbose #1712 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:40 verbose #1713 > > │ ### str_from_utf8                                                            │
00:01:40 verbose #1714 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:40 verbose #1715 > >
00:01:40 verbose #1716 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:40 verbose #1717 > > inl str_from_utf8 (bytes : rust.ref (am'.slice u8)) : resultm.result' (rust.ref
00:01:40 verbose #1718 > > str) utf8_error =
00:01:40 verbose #1719 > >     !\\(bytes, $'"std::str::from_utf8($0)"')
00:01:40 verbose #1720 > 00:01:39   debug #154 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bfa9dfdc88d486e78dc20125b55af31b0045b884281213261973d9ada6336e61/main.spi
00:01:40 verbose #1721 > >
00:01:40 verbose #1722 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:40 verbose #1723 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:40 verbose #1724 > > │ ### string_from_utf8                                                         │
00:01:40 verbose #1725 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:40 verbose #1726 > >
00:01:40 verbose #1727 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:40 verbose #1728 > > inl string_from_utf8 (bytes : am'.vec u8) : resultm.result' std_string
00:01:40 verbose #1729 > > from_utf8_error =
00:01:40 verbose #1730 > >     inl bytes = join bytes
00:01:40 verbose #1731 > >     !\\(bytes, $'"std::string::String::from_utf8($0)"')
00:01:41 verbose #1732 > 00:01:40   debug #155 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bc53c78139ed3a46d3f8610b53f58f873a1627184d0364e810040c6545eff442/main.spi
00:01:41 verbose #1733 > >
00:01:41 verbose #1734 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:41 verbose #1735 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:41 verbose #1736 > > │ ### base64_decode                                                            │
00:01:41 verbose #1737 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:41 verbose #1738 > >
00:01:41 verbose #1739 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:41 verbose #1740 > > inl base64_decode (s : std_string) : result std_string std_string =
00:01:41 verbose #1741 > >     fun () =>
00:01:41 verbose #1742 > >         inl s = join s
00:01:41 verbose #1743 > >         inl bytes : resultm.result' (am'.vec u8) base64_decode_error =
00:01:41 verbose #1744 > >
00:01:41 verbose #1745 > > !\($'"base64::Engine::decode(&base64::engine::general_purpose::STANDARD, !s)"')
00:01:41 verbose #1746 > >         bytes
00:01:41 verbose #1747 > >         |> resultm.map_error' format'
00:01:41 verbose #1748 > >         |> resultm.try'
00:01:41 verbose #1749 > >         |> string_from_utf8
00:01:41 verbose #1750 > >         |> resultm.map_error' format'
00:01:41 verbose #1751 > >     |> fun x =>
00:01:41 verbose #1752 > >         join x ()
00:01:41 verbose #1753 > >         |> resultm.unbox
00:01:41 verbose #1754 > 00:01:40   debug #156 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/25053ed5bb51d472838b79f41eb93c60e8cb7703a4c751b559f3154f412b8f2c/main.spi
00:01:41 verbose #1755 > >
00:01:41 verbose #1756 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:41 verbose #1757 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:41 verbose #1758 > > │ ### encoding'                                                                │
00:01:41 verbose #1759 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:41 verbose #1760 > >
00:01:41 verbose #1761 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:41 verbose #1762 > > nominal encoding' =
00:01:41 verbose #1763 > >     `(
00:01:41 verbose #1764 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:41 verbose #1765 > > Fable.Core.Emit(\"encoding_rs::Encoding\")>]]\n#endif\ntype encoding_rs_Encoding
00:01:41 verbose #1766 > > = class end"
00:01:41 verbose #1767 > >         $'' : $'encoding_rs_Encoding'
00:01:41 verbose #1768 > >     )
00:01:42 verbose #1769 > 00:01:41   debug #157 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a005e51c906ac405dedb3b1e8527ab87df9b8d98e9d6e81b41b29892c5d0fbec/main.spi
00:01:42 verbose #1770 > >
00:01:42 verbose #1771 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:42 verbose #1772 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:42 verbose #1773 > > │ ### encoding_utf8'                                                           │
00:01:42 verbose #1774 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:42 verbose #1775 > >
00:01:42 verbose #1776 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:42 verbose #1777 > > inl encoding_utf8' () : rust.ref encoding' =
00:01:42 verbose #1778 > >     !\($'"encoding_rs::UTF_8"')
00:01:42 verbose #1779 > 00:01:41   debug #158 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6fb60f3d7f6bab10e085aff49177870977a5f459c9864463b84905ebe4bba846/main.spi
00:01:42 verbose #1780 > >
00:01:42 verbose #1781 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:42 verbose #1782 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:42 verbose #1783 > > │ ### encoding_1252                                                            │
00:01:42 verbose #1784 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:42 verbose #1785 > >
00:01:42 verbose #1786 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:42 verbose #1787 > > inl encoding_1252' () : rust.ref encoding' =
00:01:42 verbose #1788 > >     !\($'"encoding_rs::WINDOWS_1252"')
00:01:43 verbose #1789 > 00:01:42   debug #159 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/591308b72829368eb6968119a14577eef8184271a4c9efc5ec9ed64879a90922/main.spi
00:01:43 verbose #1790 > >
00:01:43 verbose #1791 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:43 verbose #1792 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:43 verbose #1793 > > │ ### encoding_encode                                                          │
00:01:43 verbose #1794 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:43 verbose #1795 > >
00:01:43 verbose #1796 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:43 verbose #1797 > > inl encoding_encode' (encoding : rust.ref encoding') (text : string) : rust.cow
00:01:43 verbose #1798 > > (am'.slice u8) =
00:01:43 verbose #1799 > >     !\\((encoding, text), $'"$0.encode(&*$1).0"')
00:01:43 verbose #1800 > 00:01:42   debug #160 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/01f4b6d2b89da8fe9d1f8105cfa420aada853fd59650dfb342ed98334f62c79a/main.spi
00:01:43 verbose #1801 > >
00:01:43 verbose #1802 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:43 verbose #1803 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:43 verbose #1804 > > │ ### utf8_decode                                                              │
00:01:43 verbose #1805 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:43 verbose #1806 > >
00:01:43 verbose #1807 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:43 verbose #1808 > > inl utf8_decode (data : am'.vec u8) : resultm.result' std_string (rust.cow str)
00:01:43 verbose #1809 > > =
00:01:43 verbose #1810 > >     !\($'$"encoding::Encoding::decode(encoding::all::UTF_8, &!data,
00:01:43 verbose #1811 > > encoding::DecoderTrap::Replace)"')
00:01:44 verbose #1812 > 00:01:43   debug #161 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/26428686b4ae164d6a71b0d81b0a9dc732310beb03b962d83c6fc3f6aeb1aed6/main.spi
00:01:44 verbose #1813 > >
00:01:44 verbose #1814 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:44 verbose #1815 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:44 verbose #1816 > > │ ### windows                                                                  │
00:01:44 verbose #1817 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #1818 > >
00:01:44 verbose #1819 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #1820 > > nominal windows t =
00:01:44 verbose #1821 > >     `(
00:01:44 verbose #1822 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:44 verbose #1823 > > Fable.Core.Emit(\"std::slice::Windows<$0>\")>]]\n#endif\ntype
00:01:44 verbose #1824 > > std_slice_Windows<'T> = class end"
00:01:44 verbose #1825 > >         $'' : $'std_slice_Windows<`t>'
00:01:44 verbose #1826 > >     )
00:01:44 verbose #1827 > >
00:01:44 verbose #1828 > > inl windows (len : unativeint) (source : am'.vec u8) : windows u8 =
00:01:44 verbose #1829 > >     inl source = source |> rust.new_box |> rust.box_leak
00:01:44 verbose #1830 > >     // inl source' = source |> rust.clone
00:01:44 verbose #1831 > >     inl result = !\\(len, $'"<[[_]]>::windows(!source, $0)"')
00:01:44 verbose #1832 > >     // source |> rust.drop
00:01:44 verbose #1833 > >     result
00:01:44 verbose #1834 > 00:01:43   debug #162 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e6a374ea6134ba6fead6a62b59bf95ab3e1136b89a55c06e737e15362e175b1a/main.spi
00:01:44 verbose #1835 > >
00:01:44 verbose #1836 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:44 verbose #1837 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:44 verbose #1838 > > │ ### any                                                                      │
00:01:44 verbose #1839 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #1840 > >
00:01:44 verbose #1841 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #1842 > > inl any forall t. (fn : string -> bool) (source : windows t) : bool =
00:01:44 verbose #1843 > >     (!\($'"true; let mut !source = !source"') : bool) |> ignore
00:01:44 verbose #1844 > >     inl fn' x =
00:01:44 verbose #1845 > >         x
00:01:44 verbose #1846 > >         |> str_from_utf8
00:01:44 verbose #1847 > >         |> resultm.unwrap_or' #""
00:01:44 verbose #1848 > >         |> ref_to_std_string
00:01:44 verbose #1849 > >         |> from_std_string
00:01:44 verbose #1850 > >         |> fn
00:01:44 verbose #1851 > >     !\\(fn', $'"!source.any(move |x| $0(x))"')
00:01:45 verbose #1852 > 00:01:44   debug #163 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d7fdc2db63f26abf816902da9b4b582a13239cb483770abe5ce3c48c942cbd3f/main.spi
00:01:45 verbose #1853 > >
00:01:45 verbose #1854 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:45 verbose #1855 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:45 verbose #1856 > > │ ### slice_contains                                                           │
00:01:45 verbose #1857 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:45 verbose #1858 > >
00:01:45 verbose #1859 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:45 verbose #1860 > > inl slice_contains (text : string) (source : am'.vec u8) : bool =
00:01:45 verbose #1861 > >     fun () =>
00:01:45 verbose #1862 > >         inl source = join source
00:01:45 verbose #1863 > >         source
00:01:45 verbose #1864 > >         |> windows (text |> length |> (fun x => x : i32) |> convert)
00:01:45 verbose #1865 > >         |> any ((=.) text)
00:01:45 verbose #1866 > >     |> fun x => join x ()
00:01:45 verbose #1867 > 00:01:44   debug #164 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf2444c8bc670a624089e921dfec2c7a6a0712deece30050f3a6b6e941ae13a0/main.spi
00:01:46 verbose #1868 > >
00:01:46 verbose #1869 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:46 verbose #1870 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:46 verbose #1871 > > │ ### as_bytes                                                                 │
00:01:46 verbose #1872 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:46 verbose #1873 > >
00:01:46 verbose #1874 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:46 verbose #1875 > > inl as_bytes (text : string) : rust.ref (am'.slice u8) =
00:01:46 verbose #1876 > >     inl text = join text
00:01:46 verbose #1877 > >     !\($'"!text.as_bytes()"')
00:01:46 verbose #1878 > 00:01:45   debug #165 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2b1d41528b940aadb8049b7b730e5dacde12f66bfb39de68a13fd488c10994ff/main.spi
00:01:46 verbose #1879 > >
00:01:46 verbose #1880 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:46 verbose #1881 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:46 verbose #1882 > > │ ### into_bytes                                                               │
00:01:46 verbose #1883 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:46 verbose #1884 > >
00:01:46 verbose #1885 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:46 verbose #1886 > > inl into_bytes (x : std_string) : am'.vec u8 =
00:01:46 verbose #1887 > >     !\\(x, $'$"$0.into_bytes()"')
00:01:46 verbose #1888 > 00:01:45   debug #166 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9c0abdc811579ee246588b005341ef8134d9c1b6eb8cde3d3582b7b9f8b6cdde/main.spi
00:01:46 verbose #1889 > >
00:01:46 verbose #1890 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:46 verbose #1891 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:46 verbose #1892 > > │ ## python                                                                    │
00:01:46 verbose #1893 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:46 verbose #1894 > >
00:01:46 verbose #1895 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:46 verbose #1896 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:46 verbose #1897 > > │ ### encode_utf8                                                              │
00:01:46 verbose #1898 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:46 verbose #1899 > >
00:01:46 verbose #1900 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:46 verbose #1901 > > inl encode_utf8 (s : string) : string =
00:01:46 verbose #1902 > >     inl encoding = "utf-8"
00:01:46 verbose #1903 > >     backend_switch {
00:01:46 verbose #1904 > >         Fsharp = fun () =>
00:01:46 verbose #1905 > >             open python_operators
00:01:46 verbose #1906 > >             !\\((s, encoding), $'"$0.encode($1)"') : string
00:01:46 verbose #1907 > >         Python = fun () =>
00:01:46 verbose #1908 > >             $'!s.encode(!encoding)' : string
00:01:46 verbose #1909 > >     }
00:01:47 verbose #1910 > 00:01:46   debug #167 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0138bf6fec530002ad4996dae05d86263f9d9262bee041ddbd5f961ca41151e1/main.spi
00:01:47 verbose #1911 > >
00:01:47 verbose #1912 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:47 verbose #1913 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:47 verbose #1914 > > │ ## sm'                                                                       │
00:01:47 verbose #1915 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:47 verbose #1916 > >
00:01:47 verbose #1917 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:47 verbose #1918 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:47 verbose #1919 > > │ ### contains                                                                 │
00:01:47 verbose #1920 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:47 verbose #1921 > >
00:01:47 verbose #1922 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:47 verbose #1923 > > inl contains (value : string) (s : string) : bool =
00:01:47 verbose #1924 > >     backend_switch {
00:01:47 verbose #1925 > >         Fsharp = fun () => $'!s.Contains !value ' : bool
00:01:47 verbose #1926 > >         Python = fun () => $'!value in !s ' : bool
00:01:47 verbose #1927 > >     }
00:01:47 verbose #1928 > 00:01:46   debug #168 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6e607d28d37a2a930b30223d9d89111bd5821b7ff4fbda30506545f775cb771f/main.spi
00:01:48 verbose #1929 > >
00:01:48 verbose #1930 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:48 verbose #1931 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:48 verbose #1932 > > │ ### to_string result t u                                                     │
00:01:48 verbose #1933 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:48 verbose #1934 > >
00:01:48 verbose #1935 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:48 verbose #1936 > > instance to_string result t u = fun x =>
00:01:48 verbose #1937 > >     real
00:01:48 verbose #1938 > >         open rust
00:01:48 verbose #1939 > >         typecase (t * u) with
00:01:48 verbose #1940 > >         | string * string =>
00:01:48 verbose #1941 > >             match x with
00:01:48 verbose #1942 > >             | Ok x => x
00:01:48 verbose #1943 > >             | Error x => $'"sm\'.to_string result / Error: " + !x + ""' : string
00:01:48 verbose #1944 > >         | std_string * std_string =>
00:01:48 verbose #1945 > >             match x with
00:01:48 verbose #1946 > >             | Ok x => from_std_string x
00:01:48 verbose #1947 > >             | Error x => $'"sm\'.to_string result / Error: " + string !x + ""' :
00:01:48 verbose #1948 > > string
00:01:48 verbose #1949 > >         | _ => obj_to_string `u x
00:01:48 verbose #1950 > 00:01:47   debug #169 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7c87c48e1a472751f0e12e5a3b982108f550f3560f39ad547583c6d7967e719a/main.spi
00:01:48 verbose #1951 > >
00:01:48 verbose #1952 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:48 verbose #1953 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:48 verbose #1954 > > │ ### format_exception                                                         │
00:01:48 verbose #1955 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:48 verbose #1956 > >
00:01:48 verbose #1957 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:48 verbose #1958 > > inl format_exception (ex : exn) : string =
00:01:48 verbose #1959 > >     run_target function
00:01:48 verbose #1960 > >         | Fsharp (Native) => fun () => $'$"{!ex.GetType ()}: {!ex.Message}"'
00:01:48 verbose #1961 > >         | _ => fun () => ex |> format_debug
00:01:48 verbose #1962 > 00:01:47   debug #170 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/20dda932542af53f0182904b85de4a8e6c5729a81371cebfd8993758021d9655/main.spi
00:01:48 verbose #1963 > >
00:01:48 verbose #1964 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:48 verbose #1965 > > //// test
00:01:48 verbose #1966 > > ///! fsharp
00:01:48 verbose #1967 > > ///! rust
00:01:48 verbose #1968 > > ///! typescript
00:01:48 verbose #1969 > > ///! python
00:01:48 verbose #1970 > >
00:01:48 verbose #1971 > > fun () => failwith "test"
00:01:48 verbose #1972 > > |> _throws
00:01:48 verbose #1973 > > |> optionm.value
00:01:48 verbose #1974 > > |> sm'.format_exception
00:01:48 verbose #1975 > > |> _assert_eq (run_target function
00:01:48 verbose #1976 > >     | Fsharp _ => fun () => "System.Exception: test"
00:01:48 verbose #1977 > >     | Rust _ => fun () => "Exception { message: \"test\" }"
00:01:48 verbose #1978 > >     | TypeScript _ => fun () => "Error: test"
00:01:48 verbose #1979 > >     | Python _ => fun () => "test"
00:01:48 verbose #1980 > >     | _ => fun () => null ()
00:01:48 verbose #1981 > > )
00:01:49 verbose #1982 > 00:01:48   debug #171 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/679187219f4ccc27520038e9192063db47c90d01e997b4bc8c4ddf4151d5ecc5/main.spi
00:01:52 verbose #1983 > 00:01:51   debug #172 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2e8a08556e5aa805df9c22a8fb9d6e01a09e1d08d833680b2d6dc1b1eb2d6792/main.spi
00:01:55 verbose #1984 > >
00:01:55 verbose #1985 > > ╭─[ 6.71s - return value ]─────────────────────────────────────────────────────╮
00:01:55 verbose #1986 > > │ .rs output:                                                                  │
00:01:55 verbose #1987 > > │ __assert_eq / actual: "Exception { message: "test" }" / expected: "Exception │
00:01:55 verbose #1988 > > │ { message: "test" }"                                                         │
00:01:55 verbose #1989 > > │                                                                              │
00:01:55 verbose #1990 > > │ .ts output:                                                                  │
00:01:55 verbose #1991 > > │ __assert_eq / actual: Error: test / expected: Error: test                    │
00:01:55 verbose #1992 > > │                                                                              │
00:01:55 verbose #1993 > > │ .py output:                                                                  │
00:01:55 verbose #1994 > > │ __assert_eq / actual: test / expected: test                                  │
00:01:55 verbose #1995 > > │                                                                              │
00:01:55 verbose #1996 > > │                                                                              │
00:01:55 verbose #1997 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #1998 > >
00:01:55 verbose #1999 > > ╭─[ 6.71s - stdout ]───────────────────────────────────────────────────────────╮
00:01:55 verbose #2000 > > │ .fsx output:                                                                 │
00:01:55 verbose #2001 > > │ __assert_eq / actual: "System.Exception: test" / expected:                   │
00:01:55 verbose #2002 > > │ "System.Exception: test"                                                     │
00:01:55 verbose #2003 > > │                                                                              │
00:01:55 verbose #2004 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #2005 > >
00:01:55 verbose #2006 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:55 verbose #2007 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:55 verbose #2008 > > │ ### range                                                                    │
00:01:55 verbose #2009 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #2010 > >
00:01:55 verbose #2011 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:55 verbose #2012 > > inl range forall t. (start : am'.range t) (end : am'.range t) s =
00:01:55 verbose #2013 > >     inl start, end =
00:01:55 verbose #2014 > >         match start, end with
00:01:55 verbose #2015 > >         | Start start, End fn =>
00:01:55 verbose #2016 > >             start, s |> length' |> fn
00:01:55 verbose #2017 > >         | End start_fn, End end_fn =>
00:01:55 verbose #2018 > >             inl len = s |> length'
00:01:55 verbose #2019 > >             start_fn len, end_fn len
00:01:55 verbose #2020 > >     s |> slice (start |> i32) (end |> i32)
00:01:55 verbose #2021 > 00:01:55   debug #173 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5fec8fd8677ed190f987e3c20489e8d839f9b388dc793b7541c7452526b860c0/main.spi
00:01:56 verbose #2022 > >
00:01:56 verbose #2023 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:56 verbose #2024 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:56 verbose #2025 > > │ ### concat_list                                                              │
00:01:56 verbose #2026 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:56 verbose #2027 > >
00:01:56 verbose #2028 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:56 verbose #2029 > > inl concat_list s list =
00:01:56 verbose #2030 > >     list
00:01:56 verbose #2031 > >     |> listm'.box
00:01:56 verbose #2032 > >     |> seq.of_list'
00:01:56 verbose #2033 > >     |> concat s
00:01:56 verbose #2034 > 00:01:55   debug #174 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1982647c80d7c49bd42d905671c079e46f63e598affe61a4d56b555b1df353be/main.spi
00:01:56 verbose #2035 > >
00:01:56 verbose #2036 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:56 verbose #2037 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:56 verbose #2038 > > │ ### ellipsis_end                                                             │
00:01:56 verbose #2039 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:56 verbose #2040 > >
00:01:56 verbose #2041 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:56 verbose #2042 > > let ellipsis_end (max : i64) (s : string) =
00:01:56 verbose #2043 > >     inl len = sm.length s
00:01:56 verbose #2044 > >     if len <= max
00:01:56 verbose #2045 > >     then s
00:01:56 verbose #2046 > >     else
00:01:56 verbose #2047 > >         inl half = f64 max / 2
00:01:56 verbose #2048 > >         inl start_half = half |> math.ceil |> i64
00:01:56 verbose #2049 > >         inl end_half = half |> math.floor |> i64
00:01:56 verbose #2050 > >         inl start = s |> slice 0 (start_half - 1)
00:01:56 verbose #2051 > >         inl end = s |> slice (len - end_half) (len - 1)
00:01:56 verbose #2052 > >         (a ;[[start; "..."; end]] : _ i32 _)
00:01:56 verbose #2053 > >         |> seq.of_array
00:01:56 verbose #2054 > >         |> concat ""
00:01:57 verbose #2055 > 00:01:56   debug #175 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f49f616cb11b370ddea6a4e4c601aee663816de3012c81af50f48b403d27c07c/main.spi
00:01:57 verbose #2056 > >
00:01:57 verbose #2057 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:57 verbose #2058 > > //// test
00:01:57 verbose #2059 > >
00:01:57 verbose #2060 > > "12345"
00:01:57 verbose #2061 > > |> ellipsis_end 2
00:01:57 verbose #2062 > > |> _assert_eq "1...5"
00:01:57 verbose #2063 > >
00:01:57 verbose #2064 > > "12345"
00:01:57 verbose #2065 > > |> ellipsis_end 3
00:01:57 verbose #2066 > > |> _assert_eq "12...5"
00:01:57 verbose #2067 > >
00:01:57 verbose #2068 > > "1234567"
00:01:57 verbose #2069 > > |> ellipsis_end 4
00:01:57 verbose #2070 > > |> _assert_eq "12...67"
00:01:57 verbose #2071 > 00:01:56   debug #176 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa313eed2daf282a8949c9edcf3c967a1eb4c292b2133a141d33c410f6be0550/main.spi
00:01:58 verbose #2072 > >
00:01:58 verbose #2073 > > ╭─[ 852.79ms - stdout ]────────────────────────────────────────────────────────╮
00:01:58 verbose #2074 > > │ __assert_eq / actual: "1...5" / expected: "1...5"                            │
00:01:58 verbose #2075 > > │ __assert_eq / actual: "12...5" / expected: "12...5"                          │
00:01:58 verbose #2076 > > │ __assert_eq / actual: "12...67" / expected: "12...67"                        │
00:01:58 verbose #2077 > > │                                                                              │
00:01:58 verbose #2078 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:58 verbose #2079 > >
00:01:58 verbose #2080 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:58 verbose #2081 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:58 verbose #2082 > > │ ### format_ellipsis                                                          │
00:01:58 verbose #2083 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:58 verbose #2084 > >
00:01:58 verbose #2085 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:58 verbose #2086 > > inl format_ellipsis s =
00:01:58 verbose #2087 > >     s
00:01:58 verbose #2088 > >     |> format_debug
00:01:58 verbose #2089 > >     |> ellipsis_end 400
00:01:58 verbose #2090 > 00:01:57   debug #177 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b598e8af00c44729d2b5741916e257a258bdce714f5185cc9f44b963bf7f0069/main.spi
00:01:58 verbose #2091 > >
00:01:58 verbose #2092 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:58 verbose #2093 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:58 verbose #2094 > > │ ### replace_regex                                                            │
00:01:58 verbose #2095 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:58 verbose #2096 > >
00:01:58 verbose #2097 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:58 verbose #2098 > > inl replace_regex (pattern : string) (replacement : string) (s : string) :
00:01:58 verbose #2099 > > string =
00:01:58 verbose #2100 > >     run_target_args (fun () => s, pattern, replacement) function
00:01:58 verbose #2101 > >         | Fsharp (Native) => fun s, pattern, replacement =>
00:01:58 verbose #2102 > >             $'System.Text.RegularExpressions.Regex.Replace (!s, !pattern,
00:01:58 verbose #2103 > > !replacement)'
00:01:58 verbose #2104 > >         | Rust (Native) => fun s, pattern, replacement =>
00:01:58 verbose #2105 > >             inl regex = pattern |> new_regex |> resultm.unwrap'
00:01:58 verbose #2106 > >             inl s = join s
00:01:58 verbose #2107 > >             !\\((regex, s, replacement), $'$"$0.replace_all(&*$1, &*$2)"')
00:01:58 verbose #2108 > >             |> cow_to_std_string
00:01:58 verbose #2109 > >             |> from_std_string
00:01:58 verbose #2110 > >         | _ => fun _ => null ()
00:01:59 verbose #2111 > 00:01:58   debug #178 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dd86009b0bba7e5245b39ffc342bb083a191bff7cd926356ead9b79227ef4e58/main.spi
00:01:59 verbose #2112 > >
00:01:59 verbose #2113 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:59 verbose #2114 > > //// test
00:01:59 verbose #2115 > > ///! fsharp
00:01:59 verbose #2116 > > ///! rust -d regex
00:01:59 verbose #2117 > >
00:01:59 verbose #2118 > > " 123"
00:01:59 verbose #2119 > > |> replace_regex "\\s\\w2" ""
00:01:59 verbose #2120 > > |> _assert_eq "3"
00:01:59 verbose #2121 > 00:01:58   debug #179 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/030a246f3b0fba4eefa0250dafa02bc50c870d789c50ee8b168959818104575e/main.spi
00:02:05 verbose #2122 > >
00:02:05 verbose #2123 > > ╭─[ 6.37s - return value ]─────────────────────────────────────────────────────╮
00:02:05 verbose #2124 > > │ .rs output (rust -d regex):                                                  │
00:02:05 verbose #2125 > > │ __assert_eq / actual: "3" / expected: "3"                                    │
00:02:05 verbose #2126 > > │                                                                              │
00:02:05 verbose #2127 > > │                                                                              │
00:02:05 verbose #2128 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:05 verbose #2129 > >
00:02:05 verbose #2130 > > ╭─[ 6.37s - stdout ]───────────────────────────────────────────────────────────╮
00:02:05 verbose #2131 > > │ .fsx output:                                                                 │
00:02:05 verbose #2132 > > │ __assert_eq / actual: "3" / expected: "3"                                    │
00:02:05 verbose #2133 > > │                                                                              │
00:02:05 verbose #2134 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:05 verbose #2135 > >
00:02:05 verbose #2136 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:05 verbose #2137 > > //// test
00:02:05 verbose #2138 > > ///! rust -d regex
00:02:05 verbose #2139 > >
00:02:05 verbose #2140 > > "    let main args =\n        ()\n"
00:02:05 verbose #2141 > > |> replace_regex $'@@"(?P<a> *)(?P<b>let\\s+main\\s+.*?\\s*=)"'
00:02:05 verbose #2142 > > "$a[[<EntryPoint>]]\n$a$b"
00:02:05 verbose #2143 > > |> _assert_eq "    [[<EntryPoint>]]\n    let main args =\n        ()\n"
00:02:06 verbose #2144 > 00:02:05   debug #180 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/391fff14162b80d6cf4a305fda0ca7369425a012b996200748afd90833ab8598/main.spi
00:02:11 verbose #2145 > >
00:02:11 verbose #2146 > > ╭─[ 6.11s - return value ]─────────────────────────────────────────────────────╮
00:02:11 verbose #2147 > > │ __assert_eq / actual: "    [<EntryPoint>]                                    │
00:02:11 verbose #2148 > > │     let main args =                                                          │
00:02:11 verbose #2149 > > │         ()                                                                   │
00:02:11 verbose #2150 > > │ " / expected: "    [<EntryPoint>]                                            │
00:02:11 verbose #2151 > > │     let main args =                                                          │
00:02:11 verbose #2152 > > │         ()                                                                   │
00:02:11 verbose #2153 > > │ "                                                                            │
00:02:11 verbose #2154 > > │                                                                              │
00:02:11 verbose #2155 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:11 verbose #2156 > >
00:02:11 verbose #2157 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:11 verbose #2158 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:11 verbose #2159 > > │ ## main                                                                      │
00:02:11 verbose #2160 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:11 verbose #2161 > >
00:02:11 verbose #2162 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:11 verbose #2163 > > inl main () =
00:02:11 verbose #2164 > >     $'let contains x = !contains x' : ()
00:02:11 verbose #2165 > >     $'let ends_with x = !ends_with x' : ()
00:02:11 verbose #2166 > >     $'let pad_left x = !pad_left x' : ()
00:02:11 verbose #2167 > >     $'let pad_right x = !pad_right x' : ()
00:02:11 verbose #2168 > >     $'let replace x = !replace x' : ()
00:02:11 verbose #2169 > >     $'let replace_regex x = !replace_regex x' : ()
00:02:11 verbose #2170 > >     inl slice (a : i32) (b : i32) c = slice a b c
00:02:11 verbose #2171 > >     $'let slice x = !slice x' : ()
00:02:11 verbose #2172 > >     $'let split x = !split x' : ()
00:02:11 verbose #2173 > >     $'let split_string x = !split_string x' : ()
00:02:11 verbose #2174 > >     $'let starts_with x = !starts_with x' : ()
00:02:11 verbose #2175 > >     $'let substring x = !substring x' : ()
00:02:11 verbose #2176 > >     $'let to_lower x = !to_lower x' : ()
00:02:11 verbose #2177 > >     $'let to_upper x = !to_upper x' : ()
00:02:11 verbose #2178 > >     $'let trim x = !trim x' : ()
00:02:11 verbose #2179 > >     inl trim_end x = (a x : _ int _) |> am'.to_list' |> listm'.unbox |> trim_end
00:02:11 verbose #2180 > >     $'let trim_end x = !trim_end x' : ()
00:02:11 verbose #2181 > >     inl trim_start x = (a x : _ int _) |> am'.to_list' |> listm'.unbox |>
00:02:11 verbose #2182 > > trim_start
00:02:11 verbose #2183 > >     $'let trim_start x = !trim_start x' : ()
00:02:11 verbose #2184 > >     $'let ellipsis x = !ellipsis x' : ()
00:02:11 verbose #2185 > >     $'let ellipsis_end x = !ellipsis_end x' : ()
00:02:11 verbose #2186 > >     $'let format_exception x = !format_exception x' : ()
00:02:11 verbose #2187 > >     $'let concat_array_trailing x = !concat_array_trailing x' : ()
00:02:11 verbose #2188 > >     inl concat a (b : seq.seq' string) = concat a b
00:02:11 verbose #2189 > >     $'let concat x = !concat x' : ()
00:02:11 verbose #2190 > >     $'let join\' x = !join' x' : ()
00:02:11 verbose #2191 > >     $'let to_char_array x = !to_char_array x' : ()
00:02:12 verbose #2192 > 00:02:11   debug #181 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5bd2d2a750454a5b30593095e5c2aeeaaedc702044f8d2cfd480a05986391d50/main.spi
00:02:12 verbose #2193 > >
00:02:12 verbose #2194 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:12 verbose #2195 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:12 verbose #2196 > > │ ## rust                                                                      │
00:02:12 verbose #2197 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:12 verbose #2198 > >
00:02:12 verbose #2199 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:12 verbose #2200 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:12 verbose #2201 > > │ ### to_string std_string                                                     │
00:02:12 verbose #2202 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:12 verbose #2203 > >
00:02:12 verbose #2204 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:12 verbose #2205 > > open rust
00:02:12 verbose #2206 > > instance to_string std_string = from_std_string
00:02:13 verbose #2207 > 00:02:12   debug #182 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/41afcb95b0ab4d920cb3e4e4865af43bc6e6da591632b6825fa77baca35238fe/main.spi
00:02:13 verbose #2208 > 00:02:11 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 96280 }
00:02:13 verbose #2209 > 00:02:11   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:02:13 verbose #2210 >     "nbconvert",
00:02:13 verbose #2211 >     "c:/home/git/polyglot/lib/spiral/sm'.dib.ipynb",
00:02:13 verbose #2212 >     "--to",
00:02:13 verbose #2213 >     "html",
00:02:13 verbose #2214 >     "--HTMLExporter.theme=dark",
00:02:13 verbose #2215 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/sm'.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:17 verbose #2216 > 00:02:14 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/sm'.dib.ipynb to html
00:02:17 verbose #2217 > 00:02:14 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:17 verbose #2218 > 00:02:14 verbose #7 !   validate(nb)
00:02:21 verbose #2219 > 00:02:19 verbose #8 ! [NbConvertApp] Writing 577720 bytes to c:\home\git\polyglot\lib\spiral\sm'.dib.html
00:02:21 verbose #2220 > 00:02:20   debug #183 Supervisor.supervisor_server.BuildFile / file: c:/home/git/dice/lib/dice.spi
00:02:22 verbose #2221 > 00:02:19 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 637 }
00:02:22 verbose #2222 > 00:02:19   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 637 }
00:02:22 verbose #2223 > 00:02:19   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:02:22 verbose #2224 >     "-c",
00:02:22 verbose #2225 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/sm''.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:02:22 verbose #2226 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/sm''.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:24 verbose #2227 > 00:02:21 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:02:24 verbose #2228 > 00:02:21   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:02:25 verbose #2229 > 00:02:22   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 96976 }
00:02:25   debug #2230 runtime.execute_with_options_async / { exit_code = 0; output_length = 103653 }
00:02:25   debug #4 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path sm'.dib --retries 3
00:02:25   debug #2231 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path rust/rust.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:02:25 verbose #2232 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "rust/rust.dib", "--retries", "3"])) }
00:02:25 verbose #2233 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:02:25 verbose #2234 >     "repl",
00:02:25 verbose #2235 >     "--exit-after-run",
00:02:25 verbose #2236 >     "--run",
00:02:25 verbose #2237 >     "c:/home/git/polyglot/lib/spiral/rust/rust.dib",
00:02:25 verbose #2238 >     "--output-path",
00:02:25 verbose #2239 >     "c:/home/git/polyglot/lib/spiral/rust/rust.dib.ipynb",
00:02:25 verbose #2240 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/rust/rust.dib" --output-path "c:/home/git/polyglot/lib/spiral/rust/rust.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:02:29 verbose #2241 > >
00:02:29 verbose #2242 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:29 verbose #2243 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:29 verbose #2244 > > │ # rust                                                                       │
00:02:29 verbose #2245 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:35 verbose #2246 > >
00:02:35 verbose #2247 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:35 verbose #2248 > > //// test
00:02:35 verbose #2249 > >
00:02:35 verbose #2250 > > open testing
00:02:36 verbose #2251 > 00:02:35   debug #184 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:02:37 verbose #2252 > >
00:02:37 verbose #2253 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:37 verbose #2254 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:37 verbose #2255 > > │ ## rust                                                                      │
00:02:37 verbose #2256 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:37 verbose #2257 > >
00:02:37 verbose #2258 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:37 verbose #2259 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:37 verbose #2260 > > │ ### any                                                                      │
00:02:37 verbose #2261 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:37 verbose #2262 > >
00:02:37 verbose #2263 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:37 verbose #2264 > > nominal any =
00:02:37 verbose #2265 > >     `(
00:02:37 verbose #2266 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:37 verbose #2267 > > Fable.Core.Emit(\"core::any::Any\")>]]\n#endif\ntype core_any_Any = class end"
00:02:37 verbose #2268 > >         $'' : $'core_any_Any'
00:02:37 verbose #2269 > >     )
00:02:37 verbose #2270 > 00:02:36   debug #185 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/89d0819ea9ec1e6d59d903e15f8db8d23ce0b5138b80a1be06aac7e51f31c6d5/main.spi
00:02:37 verbose #2271 > >
00:02:37 verbose #2272 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:37 verbose #2273 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:37 verbose #2274 > > │ ### try                                                                      │
00:02:37 verbose #2275 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:37 verbose #2276 > >
00:02:37 verbose #2277 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:37 verbose #2278 > > nominal try t =
00:02:37 verbose #2279 > >     `(
00:02:37 verbose #2280 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:37 verbose #2281 > > Fable.Core.Emit(\"_\")>]]\n#endif\ntype core_ops_Try<'T> = class end"
00:02:37 verbose #2282 > >         $'' : $'core_ops_Try<`t>'
00:02:37 verbose #2283 > >     )
00:02:37 verbose #2284 > 00:02:36   debug #186 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/004efb92b41e0c851981c2a915f8467b7e64a69eff14781d46006573576a7c0c/main.spi
00:02:38 verbose #2285 > >
00:02:38 verbose #2286 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:38 verbose #2287 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:38 verbose #2288 > > │ ### cow                                                                      │
00:02:38 verbose #2289 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:38 verbose #2290 > >
00:02:38 verbose #2291 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:38 verbose #2292 > > nominal cow t =
00:02:38 verbose #2293 > >     `(
00:02:38 verbose #2294 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:38 verbose #2295 > > Fable.Core.Emit(\"std::borrow::Cow<$0>\")>]]\n#endif\ntype std_borrow_Cow<'T> =
00:02:38 verbose #2296 > > class end"
00:02:38 verbose #2297 > >         $'' : $'std_borrow_Cow<`t>'
00:02:38 verbose #2298 > >     )
00:02:38 verbose #2299 > 00:02:37   debug #187 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3132a5062f23954f50aa3668b85a3be8a0f17ff19b9e144568ae0948a73f17f4/main.spi
00:02:38 verbose #2300 > >
00:02:38 verbose #2301 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:38 verbose #2302 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:38 verbose #2303 > > │ ### ref_cell                                                                 │
00:02:38 verbose #2304 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:38 verbose #2305 > >
00:02:38 verbose #2306 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:38 verbose #2307 > > nominal ref_cell t =
00:02:38 verbose #2308 > >     `(
00:02:38 verbose #2309 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:38 verbose #2310 > > Fable.Core.Emit(\"std::cell::RefCell<$0>\")>]]\n#endif\ntype
00:02:38 verbose #2311 > > std_cell_RefCell<'T> = class end"
00:02:38 verbose #2312 > >         $'' : $'std_cell_RefCell<`t>'
00:02:38 verbose #2313 > >     )
00:02:38 verbose #2314 > 00:02:38   debug #188 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bcb236c0affd321b2a10f551e7531464bb33b94701f1b4f53d8a50335589ec10/main.spi
00:02:39 verbose #2315 > >
00:02:39 verbose #2316 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:39 verbose #2317 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #2318 > > │ ### rc                                                                       │
00:02:39 verbose #2319 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #2320 > >
00:02:39 verbose #2321 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:39 verbose #2322 > > nominal rc t =
00:02:39 verbose #2323 > >     `(
00:02:39 verbose #2324 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:39 verbose #2325 > > Fable.Core.Emit(\"std::rc::Rc<$0>\")>]]\n#endif\ntype std_rc_Rc<'T> = class end"
00:02:39 verbose #2326 > >         $'' : $'std_rc_Rc<`t>'
00:02:39 verbose #2327 > >     )
00:02:39 verbose #2328 > 00:02:38   debug #189 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8beb0908bdf7e61a99fcd622d2b946d0dbd58e6923f78d7963cecae42227e46/main.spi
00:02:39 verbose #2329 > >
00:02:39 verbose #2330 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:39 verbose #2331 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #2332 > > │ ### lifetime_ref                                                             │
00:02:39 verbose #2333 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #2334 > >
00:02:39 verbose #2335 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:39 verbose #2336 > > nominal lifetime_ref (t : * -> *) u =
00:02:39 verbose #2337 > >     `(
00:02:39 verbose #2338 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:39 verbose #2339 > > Fable.Core.Emit(\"$0\")>]]\n#endif\ntype LifetimeRef<'T> = class end"
00:02:39 verbose #2340 > >         $'' : $'LifetimeRef<`(t u)>'
00:02:39 verbose #2341 > >     )
00:02:40 verbose #2342 > 00:02:39   debug #190 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d9d79564f301211e2e27dda8f12b09a24e0c347a768942bfb0266ba8d23e005c/main.spi
00:02:40 verbose #2343 > >
00:02:40 verbose #2344 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:40 verbose #2345 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:40 verbose #2346 > > │ ### lifetime_join                                                            │
00:02:40 verbose #2347 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:40 verbose #2348 > >
00:02:40 verbose #2349 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:40 verbose #2350 > > nominal lifetime_join t u =
00:02:40 verbose #2351 > >     `(
00:02:40 verbose #2352 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"$0 +
00:02:40 verbose #2353 > > $1\")>]]\n#endif\ntype LifetimeJoin<'T, 'U> = class end"
00:02:40 verbose #2354 > >         $'' : $'LifetimeJoin<`t, `u>'
00:02:40 verbose #2355 > >     )
00:02:40 verbose #2356 > 00:02:39   debug #191 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d1ab57fbd78cff02d3b9cfb43dceaea9a5fc5a716211ede6ce82aafd6af5de2d/main.spi
00:02:41 verbose #2357 > >
00:02:41 verbose #2358 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:41 verbose #2359 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:41 verbose #2360 > > │ ### lifetime                                                                 │
00:02:41 verbose #2361 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:41 verbose #2362 > >
00:02:41 verbose #2363 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:41 verbose #2364 > > nominal lifetime t u =
00:02:41 verbose #2365 > >     `(
00:02:41 verbose #2366 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"$0
00:02:41 verbose #2367 > > $1\")>]]\n#endif\ntype Lifetime<'T, 'U> = class end"
00:02:41 verbose #2368 > >         $'' : $'Lifetime<`t, `u>'
00:02:41 verbose #2369 > >     )
00:02:41 verbose #2370 > 00:02:40   debug #192 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e47dd73a90a32bcb54884ff919615a5833323b3cb1e78f06db22f60671b12a8c/main.spi
00:02:41 verbose #2371 > >
00:02:41 verbose #2372 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:41 verbose #2373 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:41 verbose #2374 > > │ ### static_lifetime                                                          │
00:02:41 verbose #2375 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:41 verbose #2376 > >
00:02:41 verbose #2377 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:41 verbose #2378 > > nominal static_lifetime =
00:02:41 verbose #2379 > >     `(
00:02:41 verbose #2380 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:41 verbose #2381 > > Fable.Core.Emit(\"'static\")>]]\n#endif\ntype StaticLifetime = class end"
00:02:41 verbose #2382 > >         $'' : $'StaticLifetime'
00:02:41 verbose #2383 > >     )
00:02:41 verbose #2384 > 00:02:40   debug #193 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c4922a5325c5b000c59a3ca4a425e68ae5a76f86ad7135f247d5562e87da5bb1/main.spi
00:02:41 verbose #2385 > >
00:02:41 verbose #2386 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:41 verbose #2387 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:41 verbose #2388 > > │ ### ref                                                                      │
00:02:41 verbose #2389 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:41 verbose #2390 > >
00:02:41 verbose #2391 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:41 verbose #2392 > > nominal ref t =
00:02:41 verbose #2393 > >     `(
00:02:41 verbose #2394 > >         backend_switch `(()) `({}) {
00:02:41 verbose #2395 > >             Fsharp =
00:02:41 verbose #2396 > >                 (fun () =>
00:02:41 verbose #2397 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:41 verbose #2398 > > Fable.Core.Emit(\"&$0\")>]]\n#endif\ntype Ref<'T> = class end"
00:02:41 verbose #2399 > >                 ) : () -> ()
00:02:41 verbose #2400 > >         }
00:02:41 verbose #2401 > >         $'' : $'Ref<`t>'
00:02:41 verbose #2402 > >     )
00:02:42 verbose #2403 > 00:02:41   debug #194 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dbaf2eaf0f46bf19fe4bbb9898c652c2bb3a04bf70c4cb522d110724accb4122/main.spi
00:02:42 verbose #2404 > >
00:02:42 verbose #2405 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:42 verbose #2406 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:42 verbose #2407 > > │ ### static_ref                                                               │
00:02:42 verbose #2408 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:42 verbose #2409 > >
00:02:42 verbose #2410 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:42 verbose #2411 > > nominal static_ref t = ref (lifetime static_lifetime t)
00:02:42 verbose #2412 > 00:02:41   debug #195 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/83a0b47c39562ee273172de92b8ac6106dc8fb753b4a3de7107422ebc1787938/main.spi
00:02:42 verbose #2413 > >
00:02:42 verbose #2414 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:42 verbose #2415 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:42 verbose #2416 > > │ ### weak_rc                                                                  │
00:02:42 verbose #2417 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:42 verbose #2418 > >
00:02:42 verbose #2419 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:42 verbose #2420 > > nominal weak_rc t =
00:02:42 verbose #2421 > >     `(
00:02:42 verbose #2422 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:42 verbose #2423 > > Fable.Core.Emit(\"std::rc::Weak<$0>\")>]]\n#endif\ntype std_rc_Weak<'T> = class
00:02:42 verbose #2424 > > end"
00:02:42 verbose #2425 > >         $'' : $'std_rc_Weak<`t>'
00:02:42 verbose #2426 > >     )
00:02:43 verbose #2427 > 00:02:42   debug #196 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1dacc665c1e5ee9bf15a020b333c874d1304bcf85a5cf17da376f50a953805ba/main.spi
00:02:43 verbose #2428 > >
00:02:43 verbose #2429 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:43 verbose #2430 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:43 verbose #2431 > > │ ### box                                                                      │
00:02:43 verbose #2432 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:43 verbose #2433 > >
00:02:43 verbose #2434 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:43 verbose #2435 > > nominal box t =
00:02:43 verbose #2436 > >     `(
00:02:43 verbose #2437 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:43 verbose #2438 > > Fable.Core.Emit(\"Box<$0>\")>]]\n#endif\ntype Box<'T> = class end"
00:02:43 verbose #2439 > >         $'' : $'Box<`t>'
00:02:43 verbose #2440 > >     )
00:02:43 verbose #2441 > 00:02:42   debug #197 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0d7a9159e795d76dc42f8ba6906fad78a98b85aa9ebb59f43918cf820c07f339/main.spi
00:02:43 verbose #2442 > >
00:02:43 verbose #2443 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:43 verbose #2444 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:43 verbose #2445 > > │ ### mut_cell                                                                 │
00:02:43 verbose #2446 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:43 verbose #2447 > >
00:02:43 verbose #2448 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:43 verbose #2449 > > nominal mut_cell t =
00:02:43 verbose #2450 > >     `(
00:02:43 verbose #2451 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:43 verbose #2452 > > Fable.Core.Emit(\"MutCell<$0>\")>]]\n#endif\ntype MutCell<'T> = class end"
00:02:43 verbose #2453 > >         $'' : $'MutCell<`t>'
00:02:43 verbose #2454 > >     )
00:02:44 verbose #2455 > 00:02:43   debug #198 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d0bd8c133577dc135f5ec4283dcfaf5aa3696a858d82a3800c450e2a4a1e605d/main.spi
00:02:44 verbose #2456 > >
00:02:44 verbose #2457 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:44 verbose #2458 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:44 verbose #2459 > > │ ### pin                                                                      │
00:02:44 verbose #2460 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:44 verbose #2461 > >
00:02:44 verbose #2462 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:44 verbose #2463 > > nominal pin t =
00:02:44 verbose #2464 > >     `(
00:02:44 verbose #2465 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:44 verbose #2466 > > Fable.Core.Emit(\"std::pin::Pin<$0>\")>]]\n#endif\ntype std_pin_Pin<'T> = class
00:02:44 verbose #2467 > > end"
00:02:44 verbose #2468 > >         $'' : $'std_pin_Pin<`t>'
00:02:44 verbose #2469 > >     )
00:02:44 verbose #2470 > 00:02:43   debug #199 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5a727803675cf5588a451699bd151c3d4cd5d838a1ff55d4cfbfde34e50215a6/main.spi
00:02:44 verbose #2471 > >
00:02:44 verbose #2472 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:44 verbose #2473 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:44 verbose #2474 > > │ ### dyn'                                                                     │
00:02:44 verbose #2475 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:44 verbose #2476 > >
00:02:44 verbose #2477 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:44 verbose #2478 > > nominal dyn' t =
00:02:44 verbose #2479 > >     `(
00:02:44 verbose #2480 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"dyn
00:02:44 verbose #2481 > > $0\")>]]\n#endif\ntype Dyn<'T> = class end"
00:02:44 verbose #2482 > >         $'' : $'Dyn<`t>'
00:02:44 verbose #2483 > >     )
00:02:45 verbose #2484 > 00:02:44   debug #200 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d47c80e4c2280aad542b8d87a5352ccae8033d14dd9666e5b2d72f9920b36893/main.spi
00:02:45 verbose #2485 > >
00:02:45 verbose #2486 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:45 verbose #2487 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:45 verbose #2488 > > │ ### fn'                                                                      │
00:02:45 verbose #2489 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:45 verbose #2490 > >
00:02:45 verbose #2491 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:45 verbose #2492 > > nominal fn' t =
00:02:45 verbose #2493 > >     `(
00:02:45 verbose #2494 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"Fn()
00:02:45 verbose #2495 > > -> $0\")>]]\n#endif\ntype Fn<'T> = class end"
00:02:45 verbose #2496 > >         $'' : $'Fn<`t>'
00:02:45 verbose #2497 > >     )
00:02:45 verbose #2498 > 00:02:44   debug #201 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8fef277ece319cfd51f58103b8ef87132c778a142fa96bf8a4c89ea0f283ec64/main.spi
00:02:45 verbose #2499 > >
00:02:45 verbose #2500 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:45 verbose #2501 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:45 verbose #2502 > > │ ### action_fn                                                                │
00:02:45 verbose #2503 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:45 verbose #2504 > >
00:02:45 verbose #2505 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:45 verbose #2506 > > nominal action_fn t =
00:02:45 verbose #2507 > >     `(
00:02:45 verbose #2508 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:45 verbose #2509 > > Fable.Core.Emit(\"Fn($0)\")>]]\n#endif\ntype ActionFn<'T> = class end"
00:02:45 verbose #2510 > >         $'' : $'ActionFn<`t>'
00:02:45 verbose #2511 > >     )
00:02:46 verbose #2512 > 00:02:45   debug #202 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3e56ae656f29419f4606d1e4874982fd19403ac5b7749dbd0fe4d1c71f3512b2/main.spi
00:02:46 verbose #2513 > >
00:02:46 verbose #2514 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:46 verbose #2515 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:46 verbose #2516 > > │ ### action_fn2                                                               │
00:02:46 verbose #2517 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:46 verbose #2518 > >
00:02:46 verbose #2519 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:46 verbose #2520 > > nominal action_fn2 t u =
00:02:46 verbose #2521 > >     `(
00:02:46 verbose #2522 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:46 verbose #2523 > > Fable.Core.Emit(\"Fn($0, $1)\")>]]\n#endif\ntype ActionFn2<'T, 'U> = class end"
00:02:46 verbose #2524 > >         $'' : $'ActionFn2<`t, `u>'
00:02:46 verbose #2525 > >     )
00:02:46 verbose #2526 > 00:02:45   debug #203 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c4cc6c9cdfe9b7cac393241ccb2aee36472918f54cfbfd72a70db08a70b24375/main.spi
00:02:46 verbose #2527 > >
00:02:46 verbose #2528 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:46 verbose #2529 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:46 verbose #2530 > > │ ### fn_once                                                                  │
00:02:46 verbose #2531 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:46 verbose #2532 > >
00:02:46 verbose #2533 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:46 verbose #2534 > > nominal fn_once t =
00:02:46 verbose #2535 > >     `(
00:02:46 verbose #2536 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:46 verbose #2537 > > Fable.Core.Emit(\"FnOnce() -> $0\")>]]\n#endif\ntype FnOnce<'T> = class end"
00:02:46 verbose #2538 > >         $'' : $'FnOnce<`t>'
00:02:46 verbose #2539 > >     )
00:02:46 verbose #2540 > 00:02:46   debug #204 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5a5b890ecc0ef97f8223b2b6c280939a2beb35e0041262846d0f54d61ab6dfe5/main.spi
00:02:47 verbose #2541 > >
00:02:47 verbose #2542 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:47 verbose #2543 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:47 verbose #2544 > > │ ### fn_unit                                                                  │
00:02:47 verbose #2545 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:47 verbose #2546 > >
00:02:47 verbose #2547 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:47 verbose #2548 > > nominal fn_unit =
00:02:47 verbose #2549 > >     `(
00:02:47 verbose #2550 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:47 verbose #2551 > > Fable.Core.Emit(\"Fn()\")>]]\n#endif\ntype FnUnit = class end"
00:02:47 verbose #2552 > >         $'' : $'FnUnit'
00:02:47 verbose #2553 > >     )
00:02:47 verbose #2554 > 00:02:46   debug #205 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7588293f139a2464a930bdab131722ef3f712776f98c3a9ebf29264f948e43f9/main.spi
00:02:47 verbose #2555 > >
00:02:47 verbose #2556 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:47 verbose #2557 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:47 verbose #2558 > > │ ### func0                                                                    │
00:02:47 verbose #2559 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:47 verbose #2560 > >
00:02:47 verbose #2561 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:47 verbose #2562 > > nominal func0 t =
00:02:47 verbose #2563 > >     `(
00:02:47 verbose #2564 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:47 verbose #2565 > > Fable.Core.Emit(\"Func0<$0>\")>]]\n#endif\ntype Func0<'T> = class end"
00:02:47 verbose #2566 > >         $'' : $'Func0<`t>'
00:02:47 verbose #2567 > >     )
00:02:47 verbose #2568 > 00:02:47   debug #206 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fce8f9de56e561d2dc66fbd7d0aa68b0573c9bb4c4e6605b9baf766174edc196/main.spi
00:02:48 verbose #2569 > >
00:02:48 verbose #2570 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:48 verbose #2571 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:48 verbose #2572 > > │ ### func1                                                                    │
00:02:48 verbose #2573 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:48 verbose #2574 > >
00:02:48 verbose #2575 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:48 verbose #2576 > > nominal func1 t u =
00:02:48 verbose #2577 > >     `(
00:02:48 verbose #2578 > >         typecase t with
00:02:48 verbose #2579 > >         | () => `func0 `u
00:02:48 verbose #2580 > >         | _ =>
00:02:48 verbose #2581 > >             global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:48 verbose #2582 > > Fable.Core.Emit(\"Func1<$0, $1>\")>]]\n#endif\ntype Func0<'T, 'U> = class end"
00:02:48 verbose #2583 > >             $'' : $'Func0<`t, `u>'
00:02:48 verbose #2584 > >     )
00:02:48 verbose #2585 > 00:02:47   debug #207 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d840144e35ab9c14dfa10d811b461540aaa494858359d4a129623913d778e366/main.spi
00:02:48 verbose #2586 > >
00:02:48 verbose #2587 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:48 verbose #2588 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:48 verbose #2589 > > │ ### impl                                                                     │
00:02:48 verbose #2590 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:48 verbose #2591 > >
00:02:48 verbose #2592 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:48 verbose #2593 > > nominal impl t =
00:02:48 verbose #2594 > >     `(
00:02:48 verbose #2595 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"impl
00:02:48 verbose #2596 > > $0\")>]]\n#endif\ntype Impl<'T> = class end"
00:02:48 verbose #2597 > >         $'' : $'Impl<`t>'
00:02:48 verbose #2598 > >     )
00:02:48 verbose #2599 > 00:02:47   debug #208 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c7f597e684e492b219fe976c8ff391aa1f864c4d8d12af10c75259a70346847f/main.spi
00:02:49 verbose #2600 > >
00:02:49 verbose #2601 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:49 verbose #2602 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:49 verbose #2603 > > │ ### mut'                                                                     │
00:02:49 verbose #2604 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:49 verbose #2605 > >
00:02:49 verbose #2606 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:49 verbose #2607 > > nominal mut' t =
00:02:49 verbose #2608 > >     `(
00:02:49 verbose #2609 > >         backend_switch `(()) `({}) {
00:02:49 verbose #2610 > >             Fsharp =
00:02:49 verbose #2611 > >                 (fun () =>
00:02:49 verbose #2612 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:49 verbose #2613 > > Fable.Core.Emit(\"mut $0\")>]]\n#endif\ntype Mut<'T> = class end"
00:02:49 verbose #2614 > >                 ) : () -> ()
00:02:49 verbose #2615 > >         }
00:02:49 verbose #2616 > >         $'' : $'Mut<`t>'
00:02:49 verbose #2617 > >     )
00:02:49 verbose #2618 > 00:02:48   debug #209 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4ced3f6562e280893f647503de3ff75737d9c45ce1c60f5de3a735310da0ddec/main.spi
00:02:49 verbose #2619 > >
00:02:49 verbose #2620 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:49 verbose #2621 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:49 verbose #2622 > > │ ### send                                                                     │
00:02:49 verbose #2623 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:49 verbose #2624 > >
00:02:49 verbose #2625 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:49 verbose #2626 > > nominal send t =
00:02:49 verbose #2627 > >     `(
00:02:49 verbose #2628 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:49 verbose #2629 > > Fable.Core.Emit(\"Send\")>]]\n#endif\ntype Send<'T> = class end"
00:02:49 verbose #2630 > >         $'' : lifetime_join t $'Send<`t>'
00:02:49 verbose #2631 > >     )
00:02:49 verbose #2632 > 00:02:48   debug #210 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc893c4c5950b009e24cc57a328a6fb0ba0c8c4bb99f0251033d16dd76b869ef/main.spi
00:02:50 verbose #2633 > >
00:02:50 verbose #2634 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:50 verbose #2635 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:50 verbose #2636 > > │ ### emit_expr                                                                │
00:02:50 verbose #2637 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:50 verbose #2638 > >
00:02:50 verbose #2639 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:50 verbose #2640 > > inl emit_expr forall a t. (args : a) (code : string) : t =
00:02:50 verbose #2641 > >     $'Fable.Core.RustInterop.emitRustExpr !args !code '
00:02:50 verbose #2642 > 00:02:49   debug #211 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e504ec9856297496cfad6b7c10abea38374e1cc76391fa0abfb1909c631afdbb/main.spi
00:02:50 verbose #2643 > >
00:02:50 verbose #2644 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:50 verbose #2645 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:50 verbose #2646 > > │ ### (~!\\)                                                                   │
00:02:50 verbose #2647 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:50 verbose #2648 > >
00:02:50 verbose #2649 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:50 verbose #2650 > > inl (~!\) forall t. (code : string) : t =
00:02:50 verbose #2651 > >     emit_expr () code
00:02:50 verbose #2652 > 00:02:49   debug #212 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/597252c8b3198b25b18b85b46c799ab8b8e71996eaf1564a556cd7d182ffc0b9/main.spi
00:02:51 verbose #2653 > >
00:02:51 verbose #2654 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:51 verbose #2655 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:51 verbose #2656 > > │ ### (~!\\\\)                                                                 │
00:02:51 verbose #2657 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:51 verbose #2658 > >
00:02:51 verbose #2659 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #2660 > > inl (~!\\) forall t u. ((args : t), (code : string)) : u =
00:02:51 verbose #2661 > >     emit_expr args code
00:02:51 verbose #2662 > 00:02:50   debug #213 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/38abbc249bf472d01af2b7c39ff7b670c6633a710da128331f2a3ab4842fcf1d/main.spi
00:02:51 verbose #2663 > >
00:02:51 verbose #2664 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:51 verbose #2665 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:51 verbose #2666 > > │ ### ptr                                                                      │
00:02:51 verbose #2667 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:51 verbose #2668 > >
00:02:51 verbose #2669 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #2670 > > nominal ptr t =
00:02:51 verbose #2671 > >     `(
00:02:51 verbose #2672 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:51 verbose #2673 > > Fable.Core.Emit(\"*const $0\")>]]\n#endif\ntype Ptr<'T> = class end"
00:02:51 verbose #2674 > >         $'' : $'Ptr<`t>'
00:02:51 verbose #2675 > >     )
00:02:51 verbose #2676 > 00:02:51   debug #214 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/203212e7fe76e40375cad3253de4c6ee5657834319d9269cf53f83077e6f866d/main.spi
00:02:52 verbose #2677 > >
00:02:52 verbose #2678 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:52 verbose #2679 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:52 verbose #2680 > > │ ### ptr_read                                                                 │
00:02:52 verbose #2681 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:52 verbose #2682 > >
00:02:52 verbose #2683 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:52 verbose #2684 > > inl ptr_read forall t. (x : ptr t) : t =
00:02:52 verbose #2685 > >     !\\(x, $'"std::ptr::read($0)"')
00:02:52 verbose #2686 > 00:02:51   debug #215 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/37bbdfd981cfff9f4f9c76a90aceaa0d7e5d097b452fc6e6c6871ba88b3bd07f/main.spi
00:02:52 verbose #2687 > >
00:02:52 verbose #2688 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:52 verbose #2689 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:52 verbose #2690 > > │ ### u128                                                                     │
00:02:52 verbose #2691 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:52 verbose #2692 > >
00:02:52 verbose #2693 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:52 verbose #2694 > > nominal u128 =
00:02:52 verbose #2695 > >     `(
00:02:52 verbose #2696 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:52 verbose #2697 > > Fable.Core.Emit(\"u128\")>]]\n#endif\ntype u128 = class end"
00:02:52 verbose #2698 > >         $'' : $'u128'
00:02:52 verbose #2699 > >     )
00:02:53 verbose #2700 > 00:02:52   debug #216 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1b783dc10c184259877aabb2b7381f78cffc1db82bf2e4d243a0d7f6cadd25e/main.spi
00:02:53 verbose #2701 > >
00:02:53 verbose #2702 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:53 verbose #2703 > > inl u128 forall t. (x : t) : u128 =
00:02:53 verbose #2704 > >     !\\(x, $'"$0 as u128"')
00:02:53 verbose #2705 > 00:02:52   debug #217 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aff21f0388a309d0190b3336ab945f2e40e9e6bdb9d945bdba580fbbe8b5a0b1/main.spi
00:02:54 verbose #2706 > >
00:02:54 verbose #2707 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:54 verbose #2708 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:54 verbose #2709 > > │ ### f64                                                                      │
00:02:54 verbose #2710 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:54 verbose #2711 > >
00:02:54 verbose #2712 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:54 verbose #2713 > > inl f64 forall t. (x : t) : f64 =
00:02:54 verbose #2714 > >     !\\(x, $'"$0 as f64"')
00:02:54 verbose #2715 > 00:02:53   debug #218 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/94035034d50e266d8ef9b3c65948c61e07dd1d34c687ba08944f04ab783675d8/main.spi
00:02:54 verbose #2716 > >
00:02:54 verbose #2717 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:54 verbose #2718 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:54 verbose #2719 > > │ ### unwrap_0                                                                 │
00:02:54 verbose #2720 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:54 verbose #2721 > >
00:02:54 verbose #2722 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:54 verbose #2723 > > inl unwrap_0 forall (t : * -> *) u. (x : t u) : u =
00:02:54 verbose #2724 > >     !\\(x, $'"$0.0"')
00:02:55 verbose #2725 > 00:02:54   debug #219 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0bb8b277e2ef7fc4fd95cb34cd43f791453c93dd5e259f3fb60493d9ceb56383/main.spi
00:02:55 verbose #2726 > >
00:02:55 verbose #2727 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:55 verbose #2728 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:55 verbose #2729 > > │ ### unwrap_0_ref                                                             │
00:02:55 verbose #2730 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:55 verbose #2731 > >
00:02:55 verbose #2732 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:55 verbose #2733 > > inl unwrap_0_ref forall (t : * -> *) u. (x : ref (t u)) : ref u =
00:02:55 verbose #2734 > >     !\\(x, $'"&$0.0"')
00:02:55 verbose #2735 > 00:02:54   debug #220 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a9f2a4aa7aa7afab3837ace56ecf0463bd124396dce67be93466f240c0288f52/main.spi
00:02:55 verbose #2736 > >
00:02:55 verbose #2737 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:55 verbose #2738 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:55 verbose #2739 > > │ ### emit                                                                     │
00:02:55 verbose #2740 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:55 verbose #2741 > >
00:02:55 verbose #2742 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:55 verbose #2743 > > inl emit forall t. (x : t) : t =
00:02:55 verbose #2744 > >     !\\(x, $'"$0"')
00:02:56 verbose #2745 > 00:02:55   debug #221 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6d0b338b04debec8407426fd47efd312d014fe7067c3f4351d229ec0af6f6dc2/main.spi
00:02:56 verbose #2746 > >
00:02:56 verbose #2747 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:56 verbose #2748 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:56 verbose #2749 > > │ ### emit'                                                                    │
00:02:56 verbose #2750 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:56 verbose #2751 > >
00:02:56 verbose #2752 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:56 verbose #2753 > > inl emit' forall t. (x : t) : t =
00:02:56 verbose #2754 > >     !\\(x, $'"let !x = $0"')
00:02:56 verbose #2755 > >     x
00:02:56 verbose #2756 > 00:02:55   debug #222 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f5bcb78a95a6e7014a828c44f0cde822ac3971947bc5ecadf7b1e233207abf2e/main.spi
00:02:56 verbose #2757 > >
00:02:56 verbose #2758 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:56 verbose #2759 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:56 verbose #2760 > > │ ### clone                                                                    │
00:02:56 verbose #2761 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:56 verbose #2762 > >
00:02:56 verbose #2763 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:56 verbose #2764 > > inl clone forall t. (x : t) : t =
00:02:56 verbose #2765 > >     !\\(x, $'"$0.clone()"')
00:02:57 verbose #2766 > 00:02:56   debug #223 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c07d8ac81320c3e771b5d299e93eed43816391f6077b9230abc2da1fc9e02b91/main.spi
00:02:57 verbose #2767 > >
00:02:57 verbose #2768 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:57 verbose #2769 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:57 verbose #2770 > > │ ### dbg                                                                      │
00:02:57 verbose #2771 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:57 verbose #2772 > >
00:02:57 verbose #2773 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:57 verbose #2774 > > inl dbg forall t. (x : t) : t =
00:02:57 verbose #2775 > >     !\\(x, $'"dbg\!($0)"')
00:02:57 verbose #2776 > 00:02:56   debug #224 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7214de082fd97f6f738d097ec54a4b1c7f4f9d472ccd6aea772f736009418282/main.spi
00:02:57 verbose #2777 > >
00:02:57 verbose #2778 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:57 verbose #2779 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:57 verbose #2780 > > │ ### new_box                                                                  │
00:02:57 verbose #2781 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:57 verbose #2782 > >
00:02:57 verbose #2783 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:57 verbose #2784 > > inl new_box forall t. (x : t) : box t =
00:02:57 verbose #2785 > >     !\\(x, $'"Box::new($0)"')
00:02:58 verbose #2786 > 00:02:57   debug #225 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7374a1a77fb19a2ffa7113352c468dc71751e9f817acef879d2080c27b15f1de/main.spi
00:02:58 verbose #2787 > >
00:02:58 verbose #2788 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:58 verbose #2789 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:58 verbose #2790 > > │ ### new_rc                                                                   │
00:02:58 verbose #2791 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:58 verbose #2792 > >
00:02:58 verbose #2793 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:58 verbose #2794 > > inl new_rc forall t. (x : t) : rc t =
00:02:58 verbose #2795 > >     !\\(x, $'"std::rc::Rc::new($0)"')
00:02:58 verbose #2796 > 00:02:57   debug #226 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/46f8fd53e69feef6f2bb76904c2b3ed125f92236816d637ef1792368354e66ed/main.spi
00:02:58 verbose #2797 > >
00:02:58 verbose #2798 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:58 verbose #2799 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:58 verbose #2800 > > │ ### rc_clone                                                                 │
00:02:58 verbose #2801 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:58 verbose #2802 > >
00:02:58 verbose #2803 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:58 verbose #2804 > > inl rc_clone forall t. (x : rc t) : rc t =
00:02:58 verbose #2805 > >     !\\(x, $'"std::rc::Rc::clone(&$0)"')
00:02:59 verbose #2806 > 00:02:58   debug #227 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c7bd545f06a6d741e2432351bc3a22059071253cdef729b87e494e5bdf0d81a0/main.spi
00:02:59 verbose #2807 > >
00:02:59 verbose #2808 > > ── markdown ────────────────────────────────────────────────────────────────────
00:02:59 verbose #2809 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:59 verbose #2810 > > │ ### rc_unwrap_or_clone                                                       │
00:02:59 verbose #2811 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:59 verbose #2812 > >
00:02:59 verbose #2813 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:59 verbose #2814 > > inl rc_unwrap_or_clone forall t. (x : rc t) : t =
00:02:59 verbose #2815 > >     !\\(x, $'"std::rc::Rc::unwrap_or_clone($0)"')
00:02:59 verbose #2816 > 00:02:58   debug #228 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f0d1f77db0f88ec2512e2f24a81ca0bc09a7befa6004e9d95a4b04db42141758/main.spi
00:03:00 verbose #2817 > >
00:03:00 verbose #2818 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:00 verbose #2819 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:00 verbose #2820 > > │ ### rc_downgrade                                                             │
00:03:00 verbose #2821 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:00 verbose #2822 > >
00:03:00 verbose #2823 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:00 verbose #2824 > > inl rc_downgrade forall t. (x : rc t) : weak_rc t =
00:03:00 verbose #2825 > >     !\\(x, $'"std::rc::Rc::downgrade(&$0)"')
00:03:00 verbose #2826 > 00:02:59   debug #229 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1752b335e6af683effb37ad220be8d2da9a2b4ae5fd091345a8c6e9b1bdbb59c/main.spi
00:03:00 verbose #2827 > >
00:03:00 verbose #2828 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:00 verbose #2829 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:00 verbose #2830 > > │ ### new_ref_cell                                                             │
00:03:00 verbose #2831 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:00 verbose #2832 > >
00:03:00 verbose #2833 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:00 verbose #2834 > > inl new_ref_cell forall t. (x : t) : ref_cell t =
00:03:00 verbose #2835 > >     !\\(x, $'"std::cell::RefCell::new($0)"')
00:03:00 verbose #2836 > 00:02:59   debug #230 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1049b79dd1c04c7d24ff8f217a74201e6d1c1f268d3d06f0c76bd6652089f0eb/main.spi
00:03:01 verbose #2837 > >
00:03:01 verbose #2838 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:01 verbose #2839 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:01 verbose #2840 > > │ ### ref_cell_borrow                                                          │
00:03:01 verbose #2841 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:01 verbose #2842 > >
00:03:01 verbose #2843 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:01 verbose #2844 > > inl ref_cell_borrow forall t. (x : rc (ref_cell t)) : t =
00:03:01 verbose #2845 > >     !\\(x, $'"*std::cell::RefCell::borrow(&std::rc::Rc::clone(&$0))"')
00:03:01 verbose #2846 > 00:03:00   debug #231 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b4b7ee544378e675014354a5b3d5f9a3c81788f2d00876a7e62ba2a88d0d9482/main.spi
00:03:01 verbose #2847 > >
00:03:01 verbose #2848 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:01 verbose #2849 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:01 verbose #2850 > > │ ### ref_cell_borrow_mut                                                      │
00:03:01 verbose #2851 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:01 verbose #2852 > >
00:03:01 verbose #2853 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:01 verbose #2854 > > inl ref_cell_borrow_mut forall t. (x : rc (ref_cell t)) : mut' t =
00:03:01 verbose #2855 > >     !\\(x, $'"*std::cell::RefCell::borrow_mut(&std::rc::Rc::clone(&$0))"')
00:03:01 verbose #2856 > 00:03:01   debug #232 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4c07137ef23b537ad0b10e9c0bb8a0eab10bb0044677318d576f9c711a3b8a4f/main.spi
00:03:02 verbose #2857 > >
00:03:02 verbose #2858 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:02 verbose #2859 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:02 verbose #2860 > > │ ### to_mut                                                                   │
00:03:02 verbose #2861 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:02 verbose #2862 > >
00:03:02 verbose #2863 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:02 verbose #2864 > > inl to_mut forall t. (x : t) : () =
00:03:02 verbose #2865 > >     (!\($'"true; // 1"') : bool) |> ignore
00:03:02 verbose #2866 > >     !\($'"let mut !x = !x"') : ()
00:03:02 verbose #2867 > >     // (!\($'"true; !x"') : bool) |> ignore
00:03:02 verbose #2868 > >     // !\($'"!x"')
00:03:02 verbose #2869 > >     // inl result = !\($'"!x"') : mut' t
00:03:02 verbose #2870 > >     // !\($'"!result"')
00:03:02 verbose #2871 > >     // inl result = !\($'"*/ // a"') : mut' t
00:03:02 verbose #2872 > >     // inl result = !\($'"!x"') : mut' t
00:03:02 verbose #2873 > >     // result |> fun x => $'!x |> unbox // b'
00:03:02 verbose #2874 > 00:03:01   debug #233 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ebf4458472e01b9edc03c931a3030de5cc1fb98205dfbeb17699ff041aa62767/main.spi
00:03:02 verbose #2875 > >
00:03:02 verbose #2876 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:02 verbose #2877 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:02 verbose #2878 > > │ ### ref_map                                                                  │
00:03:02 verbose #2879 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:02 verbose #2880 > >
00:03:02 verbose #2881 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:02 verbose #2882 > > inl ref_map forall t u. (fn : t -> u) (x : ref t) : ref u =
00:03:02 verbose #2883 > >     !\($'"!fn(!x)"')
00:03:02 verbose #2884 > 00:03:01   debug #234 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b96d33155130c1bda6748a5da99545bb29bfa2856c14eaecd244968b109cc459/main.spi
00:03:03 verbose #2885 > >
00:03:03 verbose #2886 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:03 verbose #2887 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:03 verbose #2888 > > │ ### ref_eval                                                                 │
00:03:03 verbose #2889 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:03 verbose #2890 > >
00:03:03 verbose #2891 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:03 verbose #2892 > > inl ref_eval forall t u. (fn : t -> u) (ref : ref t) : u =
00:03:03 verbose #2893 > >     !\\(fn, $'"$0(!ref.clone())"')
00:03:03 verbose #2894 > 00:03:02   debug #235 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bc963b01de9a699a1226ce830172b7e85713d550a9365204285c5f0c1b3b7367/main.spi
00:03:03 verbose #2895 > >
00:03:03 verbose #2896 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:03 verbose #2897 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:03 verbose #2898 > > │ ### cow_as_ref                                                               │
00:03:03 verbose #2899 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:03 verbose #2900 > >
00:03:03 verbose #2901 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:03 verbose #2902 > > inl cow_as_ref forall t. (s : cow t) : ref t =
00:03:03 verbose #2903 > >     !\\(s, $'"$0.as_ref()"')
00:03:03 verbose #2904 > 00:03:02   debug #236 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b5fad3de775127f9c1d2ff9d55974f04b629755d70f84048bd6fcf814dacf519/main.spi
00:03:04 verbose #2905 > >
00:03:04 verbose #2906 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:04 verbose #2907 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:04 verbose #2908 > > │ ### from_mut                                                                 │
00:03:04 verbose #2909 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:04 verbose #2910 > >
00:03:04 verbose #2911 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:04 verbose #2912 > > inl from_mut forall t. (x : mut' t) : t =
00:03:04 verbose #2913 > >     !\($'"!x"')
00:03:04 verbose #2914 > 00:03:03   debug #237 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/30fafdeec2b5638dee1d426b2cc38813548336a1c797b6138950beff87b0e709/main.spi
00:03:04 verbose #2915 > >
00:03:04 verbose #2916 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:04 verbose #2917 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:04 verbose #2918 > > │ ### box_fn                                                                   │
00:03:04 verbose #2919 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:04 verbose #2920 > >
00:03:04 verbose #2921 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:04 verbose #2922 > > inl box_fn forall t. (x : () -> ()) : box t =
00:03:04 verbose #2923 > >     inl x = join x
00:03:04 verbose #2924 > >     !\($'"Box::new(move || !x())"')
00:03:04 verbose #2925 > 00:03:03   debug #238 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8b0336fd20dd7eba453c9a6b1a3593f448a43aa3201f2e954115393471945694/main.spi
00:03:04 verbose #2926 > >
00:03:04 verbose #2927 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:04 verbose #2928 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:04 verbose #2929 > > │ ### box_pin                                                                  │
00:03:04 verbose #2930 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:04 verbose #2931 > >
00:03:04 verbose #2932 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:04 verbose #2933 > > inl box_pin forall t. (x : t) : pin (box t) =
00:03:04 verbose #2934 > >     !\\(x, $'"Box::pin($0)"')
00:03:05 verbose #2935 > 00:03:04   debug #239 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0f0d7305c9034968d2e4e4fc32043e63b99ef49b0fe8e117e383d5c4e2cc445d/main.spi
00:03:05 verbose #2936 > >
00:03:05 verbose #2937 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:05 verbose #2938 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:05 verbose #2939 > > │ ### to_ref                                                                   │
00:03:05 verbose #2940 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:05 verbose #2941 > >
00:03:05 verbose #2942 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:05 verbose #2943 > > inl to_ref forall t. (x : t) : ref t =
00:03:05 verbose #2944 > >     !\\(x, $'"&$0"')
00:03:05 verbose #2945 > 00:03:04   debug #240 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d1ab6c09bf6caba888d62b7172fd4f591d099dc96a672279e1883708c9ee0c06/main.spi
00:03:05 verbose #2946 > >
00:03:05 verbose #2947 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:05 verbose #2948 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:05 verbose #2949 > > │ ### to_ref_mut                                                               │
00:03:05 verbose #2950 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:05 verbose #2951 > >
00:03:05 verbose #2952 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:05 verbose #2953 > > inl to_ref_mut forall t. (x : t) : ref (mut' t) =
00:03:05 verbose #2954 > >     !\\(x, $'"&mut $0"')
00:03:06 verbose #2955 > 00:03:05   debug #241 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dce3340f70a0cecc5a89c2f3aa8d407991fd237f7c502c03f37f2b5c6ab0cd58/main.spi
00:03:06 verbose #2956 > >
00:03:06 verbose #2957 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:06 verbose #2958 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:06 verbose #2959 > > │ ### deref                                                                    │
00:03:06 verbose #2960 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:06 verbose #2961 > >
00:03:06 verbose #2962 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:06 verbose #2963 > > inl deref forall t. (ref : ref t) : t =
00:03:06 verbose #2964 > >     !\\(ref, $'"*$0"')
00:03:06 verbose #2965 > 00:03:05   debug #242 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f32c3f9fd0efc3b35bdc2d42079c09db94448c09e87401b68e75f04b4a8eaec5/main.spi
00:03:07 verbose #2966 > >
00:03:07 verbose #2967 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:07 verbose #2968 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:07 verbose #2969 > > │ ### from_ref                                                                 │
00:03:07 verbose #2970 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:07 verbose #2971 > >
00:03:07 verbose #2972 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:07 verbose #2973 > > inl from_ref forall t. (ref : ref t) : t =
00:03:07 verbose #2974 > >     !\($'"!ref"')
00:03:07 verbose #2975 > 00:03:06   debug #243 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7a4cbf00d8e3bccc00531d58234d85bfe53d7d8a268e809672e1e35bd029ddd8/main.spi
00:03:07 verbose #2976 > >
00:03:07 verbose #2977 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:07 verbose #2978 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:07 verbose #2979 > > │ ### into                                                                     │
00:03:07 verbose #2980 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:07 verbose #2981 > >
00:03:07 verbose #2982 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:07 verbose #2983 > > inl into forall t u. (x : t) : u =
00:03:07 verbose #2984 > >     !\($'"!x.into()"')
00:03:07 verbose #2985 > 00:03:06   debug #244 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4568bac837b8936c0dc8f6a33951b831377b27a674dbf2a6dc274cfa6acbc892/main.spi
00:03:08 verbose #2986 > >
00:03:08 verbose #2987 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:08 verbose #2988 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:08 verbose #2989 > > │ ### ops_deref                                                                │
00:03:08 verbose #2990 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #2991 > >
00:03:08 verbose #2992 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:08 verbose #2993 > > inl ops_deref forall t. (ref : t) : t =
00:03:08 verbose #2994 > >     !\\(ref, $'"core::ops::Deref::deref(&$0)"')
00:03:08 verbose #2995 > 00:03:07   debug #245 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e37f78dc46ed5ae8239adf332ba48adef1ac25b51e512550035550d647247d8b/main.spi
00:03:08 verbose #2996 > >
00:03:08 verbose #2997 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:08 verbose #2998 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:08 verbose #2999 > > │ ### func0_eval                                                               │
00:03:08 verbose #3000 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #3001 > >
00:03:08 verbose #3002 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:08 verbose #3003 > > inl func0_eval forall t. (x : func0 t) : t =
00:03:08 verbose #3004 > >     !\\(x, $'"$0()"')
00:03:08 verbose #3005 > 00:03:07   debug #246 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c93e86c0f5277e406668521ca46c316642d14e69d982c5fe0422ce63040eb1b1/main.spi
00:03:09 verbose #3006 > >
00:03:09 verbose #3007 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:09 verbose #3008 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:09 verbose #3009 > > │ ### func0_move                                                               │
00:03:09 verbose #3010 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:09 verbose #3011 > >
00:03:09 verbose #3012 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:09 verbose #3013 > > inl func0_move forall t. (fn : func0 t) : t =
00:03:09 verbose #3014 > >     inl fn = join fn
00:03:09 verbose #3015 > >     !\($'"(move || !fn())()"')
00:03:09 verbose #3016 > 00:03:08   debug #247 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/48b7946340202f253133f8ff8b516ddaf813a5518c21a42bd173424b74405953/main.spi
00:03:09 verbose #3017 > >
00:03:09 verbose #3018 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:09 verbose #3019 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:09 verbose #3020 > > │ ### move                                                                     │
00:03:09 verbose #3021 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:09 verbose #3022 > >
00:03:09 verbose #3023 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:09 verbose #3024 > > inl move forall t. (fn : () -> t) : func0 t =
00:03:09 verbose #3025 > >     !\\(fn, $'"Func0::new(move || $0())"')
00:03:09 verbose #3026 > 00:03:08   debug #248 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1ac85bef2648ec4350735f191c38232a7d8409876ca89feadfbaa6eddaf5d1c/main.spi
00:03:09 verbose #3027 > >
00:03:09 verbose #3028 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:09 verbose #3029 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:09 verbose #3030 > > │ ### to_static_ref_unbox                                                      │
00:03:09 verbose #3031 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:09 verbose #3032 > >
00:03:09 verbose #3033 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:09 verbose #3034 > > inl to_static_ref_unbox forall t. (x : ref t) : static_ref t =
00:03:09 verbose #3035 > >     x |> unbox
00:03:10 verbose #3036 > 00:03:09   debug #249 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c5c14f8f388bc3670f2fa61b6de2d2df56b5f04d9a337db2a83f598277f39e59/main.spi
00:03:10 verbose #3037 > >
00:03:10 verbose #3038 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:10 verbose #3039 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:10 verbose #3040 > > │ ### from_static_ref_unbox                                                    │
00:03:10 verbose #3041 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:10 verbose #3042 > >
00:03:10 verbose #3043 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:10 verbose #3044 > > inl from_static_ref_unbox forall t. (x : static_ref t) : ref t =
00:03:10 verbose #3045 > >     x |> unbox
00:03:10 verbose #3046 > 00:03:09   debug #250 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b36e05da98aeb809b2f84e9fe4298da5b8b7f4fc9ba25de326afd7121926a9ae/main.spi
00:03:10 verbose #3047 > >
00:03:10 verbose #3048 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:10 verbose #3049 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:10 verbose #3050 > > │ ### box_leak                                                                 │
00:03:10 verbose #3051 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:10 verbose #3052 > >
00:03:10 verbose #3053 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:10 verbose #3054 > > inl box_leak forall t. (x : box t) : static_ref (mut' t) =
00:03:10 verbose #3055 > >     !\\(x, $'"Box::leak($0)"')
00:03:11 verbose #3056 > 00:03:10   debug #251 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac92fee55b1d4b1a249152343f42bfd99f5a774774f8060e6093e3cf721ef348/main.spi
00:03:11 verbose #3057 > >
00:03:11 verbose #3058 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:11 verbose #3059 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:11 verbose #3060 > > │ ### drop                                                                     │
00:03:11 verbose #3061 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:11 verbose #3062 > >
00:03:11 verbose #3063 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:11 verbose #3064 > > inl drop forall t. (x : t) : () =
00:03:11 verbose #3065 > >     (!\\(x, $'"true; drop($0)"') : bool) |> ignore
00:03:11 verbose #3066 > 00:03:10   debug #252 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2deddc232a835bf2aca7d18f90e299657131c8614f039652badd9286c48b96e9/main.spi
00:03:11 verbose #3067 > >
00:03:11 verbose #3068 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:11 verbose #3069 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:11 verbose #3070 > > │ ### break                                                                    │
00:03:11 verbose #3071 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:11 verbose #3072 > >
00:03:11 verbose #3073 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:11 verbose #3074 > > inl break () : () =
00:03:11 verbose #3075 > >     (!\($'"true; break"') : bool) |> ignore
00:03:11 verbose #3076 > 00:03:11   debug #253 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bcce56e4ec8b1dd8c2d38e8642025b5ff2ef2089d8490cf678b1c398510127e6/main.spi
00:03:12 verbose #3077 > >
00:03:12 verbose #3078 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:12 verbose #3079 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:12 verbose #3080 > > │ ### fix_closure'                                                             │
00:03:12 verbose #3081 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:12 verbose #3082 > >
00:03:12 verbose #3083 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #3084 > > inl fix_closure' (depth : u8 * u8) x =
00:03:12 verbose #3085 > >     inl rec loop text (acc : string) n : string =
00:03:12 verbose #3086 > >         if n <= 0
00:03:12 verbose #3087 > >         then acc
00:03:12 verbose #3088 > >         else loop text (acc +. text) (n - 1)
00:03:12 verbose #3089 > >     inl a = depth |> fst |> loop "}" ""
00:03:12 verbose #3090 > >     inl b = depth |> snd |> loop "{" ""
00:03:12 verbose #3091 > >     $'"true; !x " + !a + "); " + !b + " // rust.fix_closure\'"' : string
00:03:12 verbose #3092 > 00:03:11   debug #254 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/edc5d0c9a782ec4c257bd6c3ab0a6e7dcf4f315bfebaf1474e9b6b63884aa99b/main.spi
00:03:12 verbose #3093 > >
00:03:12 verbose #3094 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #3095 > > //// test
00:03:12 verbose #3096 > >
00:03:12 verbose #3097 > > fix_closure' (3, 2) 0i32
00:03:12 verbose #3098 > > |> _assert_eq "true; 0 }}}); {{ // rust.fix_closure'"
00:03:12 verbose #3099 > 00:03:11   debug #255 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ce16871a9445f7fde4619cb8b646e0dc1b6139b9903d6dd833e2a279c477b0b3/main.spi
00:03:14 verbose #3100 > >
00:03:14 verbose #3101 > > ╭─[ 1.90s - stdout ]───────────────────────────────────────────────────────────╮
00:03:14 verbose #3102 > > │ __assert_eq / actual: "true; 0 }}}); {{ // rust.fix_closure'" / expected:    │
00:03:14 verbose #3103 > > │ "true; 0 }}}); {{ // rust.fix_closure'"                                      │
00:03:14 verbose #3104 > > │                                                                              │
00:03:14 verbose #3105 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:14 verbose #3106 > >
00:03:14 verbose #3107 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:14 verbose #3108 > > //// test
00:03:14 verbose #3109 > >
00:03:14 verbose #3110 > > fix_closure' (0, 0) ()
00:03:14 verbose #3111 > > |> _assert_eq "true; () );  // rust.fix_closure\'"
00:03:14 verbose #3112 > 00:03:13   debug #256 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/edf0894d74fa53a3ffc327b46d3d80b876a3f6412a43d7aed9e1fde806e4370c/main.spi
00:03:15 verbose #3113 > >
00:03:15 verbose #3114 > > ╭─[ 678.87ms - stdout ]────────────────────────────────────────────────────────╮
00:03:15 verbose #3115 > > │ __assert_eq / actual: "true; () );  // rust.fix_closure'" / expected: "true; │
00:03:15 verbose #3116 > > │ () );  // rust.fix_closure'"                                                 │
00:03:15 verbose #3117 > > │                                                                              │
00:03:15 verbose #3118 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #3119 > >
00:03:15 verbose #3120 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:15 verbose #3121 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:15 verbose #3122 > > │ ### fix_closure                                                              │
00:03:15 verbose #3123 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #3124 > >
00:03:15 verbose #3125 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:15 verbose #3126 > > inl fix_closure depth x =
00:03:15 verbose #3127 > >     inl code = fix_closure' depth x
00:03:15 verbose #3128 > >     (!\code : bool) |> ignore
00:03:15 verbose #3129 > 00:03:14   debug #257 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2389e9fad3750107182822f217ffb9bf15186ac9c8f0ea4f0ce2269c06d02e7d/main.spi
00:03:15 verbose #3130 > >
00:03:15 verbose #3131 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:15 verbose #3132 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:15 verbose #3133 > > │ ### loop                                                                     │
00:03:15 verbose #3134 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #3135 > >
00:03:15 verbose #3136 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:15 verbose #3137 > > inl loop (depth : i32) (fn : () -> ()) : () =
00:03:15 verbose #3138 > >     (!\($'"true; loop { // rust.loop"') : bool) |> ignore
00:03:15 verbose #3139 > >     fn ()
00:03:15 verbose #3140 > >
00:03:15 verbose #3141 > >     listm.init depth id
00:03:15 verbose #3142 > >     |> listm.iter fun n =>
00:03:15 verbose #3143 > >         (!\($'"true; } // rust.loop"') : bool) |> ignore
00:03:15 verbose #3144 > >
00:03:15 verbose #3145 > >     (!\($'"true; } // rust.loop"') : bool) |> ignore
00:03:15 verbose #3146 > >
00:03:15 verbose #3147 > >     listm.init depth id
00:03:15 verbose #3148 > >     |> listm.iter fun n =>
00:03:15 verbose #3149 > >         (!\($'"true; { // rust.loop"') : bool) |> ignore
00:03:15 verbose #3150 > 00:03:15   debug #258 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4edc37168d656bde7fa96dbd1fed227484429a7d90a8a9b09116dafc17c94f92/main.spi
00:03:16 verbose #3151 > >
00:03:16 verbose #3152 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:16 verbose #3153 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:16 verbose #3154 > > │ ### capture                                                                  │
00:03:16 verbose #3155 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:16 verbose #3156 > >
00:03:16 verbose #3157 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:16 verbose #3158 > > inl capture forall t. (fn : () -> t) : t =
00:03:16 verbose #3159 > >     (!\($'"true; let _capture = (|| { //"') : bool) |> ignore
00:03:16 verbose #3160 > >     (!\\(fn (), $'"true; $0 })()"') : bool) |> ignore
00:03:16 verbose #3161 > >     !\($'"_capture"')
00:03:16 verbose #3162 > 00:03:15   debug #259 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/44af81f2f7910c758763ab551f32a0594215efc6e3bf7fb0f46b4bee33b3c5ba/main.spi
00:03:16 verbose #3163 > >
00:03:16 verbose #3164 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:16 verbose #3165 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:16 verbose #3166 > > │ ### capture_move                                                             │
00:03:16 verbose #3167 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:16 verbose #3168 > >
00:03:16 verbose #3169 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:16 verbose #3170 > > inl capture_move forall t. (fn : () -> t) : t =
00:03:16 verbose #3171 > >     (!\($'"true; let _capture_move = (move || { //"') : bool) |> ignore
00:03:16 verbose #3172 > >     (!\\(fn (), $'"true; $0 })()"') : bool) |> ignore
00:03:16 verbose #3173 > >     !\($'"_capture_move"')
00:03:16 verbose #3174 > 00:03:16   debug #260 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0ffefb90e3ca1b3ffce245b2f70f777c92efb0850ab24c987aadaf0671b32e10/main.spi
00:03:17 verbose #3175 > >
00:03:17 verbose #3176 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:17 verbose #3177 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:17 verbose #3178 > > │ ### type_emit                                                                │
00:03:17 verbose #3179 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:17 verbose #3180 > >
00:03:17 verbose #3181 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:17 verbose #3182 > > nominal type_emit t =
00:03:17 verbose #3183 > >     `(
00:03:17 verbose #3184 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"*/ $0
00:03:17 verbose #3185 > > /*\")>]]\n#endif\ntype TypeEmit<'T> = class end"
00:03:17 verbose #3186 > >         $'' : $'TypeEmit<`t>'
00:03:17 verbose #3187 > >     )
00:03:17 verbose #3188 > 00:03:16   debug #261 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/823afe5d8347bed6f8a89d9c6953683eca9134dfdd29e74f827b69c947273dba/main.spi
00:03:17 verbose #3189 > >
00:03:17 verbose #3190 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:17 verbose #3191 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:17 verbose #3192 > > │ ### partial_eq_wrapper                                                       │
00:03:17 verbose #3193 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:17 verbose #3194 > >
00:03:17 verbose #3195 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:17 verbose #3196 > > nominal partial_eq_wrapper t =
00:03:17 verbose #3197 > >     `(
00:03:17 verbose #3198 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:17 verbose #3199 > > Fable.Core.Emit(\"PartialEqWrapper<$0>\")>]]\n#endif\ntype PartialEqWrapper<'T>
00:03:17 verbose #3200 > > = class end"
00:03:17 verbose #3201 > >         $'' : $'PartialEqWrapper<`t>'
00:03:17 verbose #3202 > >     )
00:03:17 verbose #3203 > 00:03:16   debug #262 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/88920edadfabb6aa01ab857ad38d4930173edc8af341d453928c956f8513c59b/main.spi
00:03:18 verbose #3204 > >
00:03:18 verbose #3205 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:18 verbose #3206 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:18 verbose #3207 > > │ ### new_partial_eq_wrapper                                                   │
00:03:18 verbose #3208 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:18 verbose #3209 > >
00:03:18 verbose #3210 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:18 verbose #3211 > > inl new_partial_eq_wrapper forall t.
00:03:18 verbose #3212 > >     (eq_fn : ref (partial_eq_wrapper t) -> ref (partial_eq_wrapper t) -> bool)
00:03:18 verbose #3213 > >     (x : t)
00:03:18 verbose #3214 > >     : partial_eq_wrapper t
00:03:18 verbose #3215 > >     =
00:03:18 verbose #3216 > >     inl struct () =
00:03:18 verbose #3217 > >         !\($'"} //"') : ()
00:03:18 verbose #3218 > >
00:03:18 verbose #3219 > >         !\($'"#[[derive( //"') : ()
00:03:18 verbose #3220 > >         !\($'"  Debug, //"') : ()
00:03:18 verbose #3221 > >         !\($'"  Clone, //"') : ()
00:03:18 verbose #3222 > >         !\($'")]] //"') : ()
00:03:18 verbose #3223 > >         !\($'"pub struct PartialEqWrapper<T>(T); /*"') : ()
00:03:18 verbose #3224 > >
00:03:18 verbose #3225 > >         !\($'"*/ impl PartialEq for PartialEqWrapper< /*"') : ()
00:03:18 verbose #3226 > >         (null () : type_emit t) |> ignore
00:03:18 verbose #3227 > >         !\($'"*/ > { //"') : ()
00:03:18 verbose #3228 > >
00:03:18 verbose #3229 > >         !\($'"fn eq(&self, other: &Self) -> bool { //"') : ()
00:03:18 verbose #3230 > >
00:03:18 verbose #3231 > >         inl self : ref (partial_eq_wrapper t) = !\($'$"self"')
00:03:18 verbose #3232 > >         inl other : ref (partial_eq_wrapper t) = !\($'$"other"')
00:03:18 verbose #3233 > >
00:03:18 verbose #3234 > >         self
00:03:18 verbose #3235 > >         |> eq_fn other
00:03:18 verbose #3236 > >         |> fun x => !\($'$"!x //"')
00:03:18 verbose #3237 > >
00:03:18 verbose #3238 > >         !\($'"} } } fn _main() { { { //"') : ()
00:03:18 verbose #3239 > >
00:03:18 verbose #3240 > >     $'let _!struct = true' : ()
00:03:18 verbose #3241 > >
00:03:18 verbose #3242 > >     !\\(x, $'"PartialEqWrapper($0)"')
00:03:18 verbose #3243 > 00:03:17   debug #263 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/54dcc3d4202e10304338b4a5c4d5d6d1bb471b3d72a46cd08055e3bc7bc246c7/main.spi
00:03:18 verbose #3244 > >
00:03:18 verbose #3245 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:18 verbose #3246 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:18 verbose #3247 > > │ ### clone_wrapper                                                            │
00:03:18 verbose #3248 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:18 verbose #3249 > >
00:03:18 verbose #3250 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:18 verbose #3251 > > nominal clone_wrapper t =
00:03:18 verbose #3252 > >     `(
00:03:18 verbose #3253 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:18 verbose #3254 > > Fable.Core.Emit(\"CloneWrapper<$0>\")>]]\n#endif\ntype CloneWrapper<'T> = class
00:03:18 verbose #3255 > > end"
00:03:18 verbose #3256 > >         $'' : $'CloneWrapper<`t>'
00:03:18 verbose #3257 > >     )
00:03:18 verbose #3258 > 00:03:17   debug #264 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b78817bf917e422b0fe3e4c438129640ef0f61a0aa5d41de6d6e66bc901c995c/main.spi
00:03:18 verbose #3259 > >
00:03:18 verbose #3260 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:18 verbose #3261 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:18 verbose #3262 > > │ ### new_clone_wrapper                                                        │
00:03:18 verbose #3263 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:18 verbose #3264 > >
00:03:18 verbose #3265 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:18 verbose #3266 > > inl new_clone_wrapper forall t.
00:03:18 verbose #3267 > >     (clone_fn : ref (clone_wrapper t) -> ref (clone_wrapper t))
00:03:18 verbose #3268 > >     (x : t)
00:03:18 verbose #3269 > >     : clone_wrapper t
00:03:18 verbose #3270 > >     =
00:03:18 verbose #3271 > >     inl struct () =
00:03:18 verbose #3272 > >         !\($'"} //"') : ()
00:03:18 verbose #3273 > >
00:03:18 verbose #3274 > >         !\($'"#[[derive( //"') : ()
00:03:18 verbose #3275 > >         !\($'"  Debug, //"') : ()
00:03:18 verbose #3276 > >         !\($'")]] //"') : ()
00:03:18 verbose #3277 > >         !\($'"pub struct CloneWrapper<T>(T); /*"') : ()
00:03:18 verbose #3278 > >
00:03:18 verbose #3279 > >         !\($'"*/ impl Clone for CloneWrapper< /*"') : ()
00:03:18 verbose #3280 > >         (null () : type_emit t) |> ignore
00:03:18 verbose #3281 > >         !\($'"*/ > { //"') : ()
00:03:18 verbose #3282 > >
00:03:18 verbose #3283 > >         !\($'"fn clone(&self) -> Self { //"') : ()
00:03:18 verbose #3284 > >
00:03:18 verbose #3285 > >         inl self : ref (clone_wrapper t) = !\($'$"self"')
00:03:18 verbose #3286 > >
00:03:18 verbose #3287 > >         self
00:03:18 verbose #3288 > >         |> clone_fn
00:03:18 verbose #3289 > >         |> fun x => !\($'$"!x.clone() //"')
00:03:18 verbose #3290 > >
00:03:18 verbose #3291 > >         !\($'"} } } fn _main() { { { //"') : ()
00:03:18 verbose #3292 > >
00:03:18 verbose #3293 > >     $'let _!struct = true' : ()
00:03:18 verbose #3294 > >
00:03:18 verbose #3295 > >     !\\(x, $'"CloneWrapper($0)"')
00:03:19 verbose #3296 > 00:03:18   debug #265 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/492edc19636ef7c328a472f51c87dcc2708d7486da687905ca283b88a82ea164/main.spi
00:03:19 verbose #3297 > >
00:03:19 verbose #3298 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:19 verbose #3299 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:19 verbose #3300 > > │ ### concat                                                                   │
00:03:19 verbose #3301 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:19 verbose #3302 > >
00:03:19 verbose #3303 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:19 verbose #3304 > > inl concat forall (t : * -> *) u. (x : t (t u)) : t u =
00:03:19 verbose #3305 > >     !\($'$"!x.concat()"')
00:03:19 verbose #3306 > 00:03:18   debug #266 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/731d9f18dd9854a07f6b0e580ade6cad39da72ba9d166d44373dcd9d6da87689/main.spi
00:03:20 verbose #3307 > 00:00:54 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 46994 }
00:03:20 verbose #3308 > 00:00:54   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:03:20 verbose #3309 >     "nbconvert",
00:03:20 verbose #3310 >     "c:/home/git/polyglot/lib/spiral/rust/rust.dib.ipynb",
00:03:20 verbose #3311 >     "--to",
00:03:20 verbose #3312 >     "html",
00:03:20 verbose #3313 >     "--HTMLExporter.theme=dark",
00:03:20 verbose #3314 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/rust/rust.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:03:23 verbose #3315 > 00:00:58 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/rust/rust.dib.ipynb to html
00:03:23 verbose #3316 > 00:00:58 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:03:23 verbose #3317 > 00:00:58 verbose #7 !   validate(nb)
00:03:27 verbose #3318 > 00:01:02 verbose #8 ! [NbConvertApp] Writing 424857 bytes to c:\home\git\polyglot\lib\spiral\rust\rust.dib.html
00:03:27 verbose #3319 > 00:01:02 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 649 }
00:03:27 verbose #3320 > 00:01:02   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 649 }
00:03:27 verbose #3321 > 00:01:02   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:03:27 verbose #3322 >     "-c",
00:03:27 verbose #3323 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/rust.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:03:27 verbose #3324 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/rust.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:03:29 verbose #3325 > 00:01:04 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:03:29 verbose #3326 > 00:01:04   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:03:30 verbose #3327 > 00:01:05   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 47702 }
00:03:30   debug #3328 runtime.execute_with_options_async / { exit_code = 0; output_length = 52373 }
00:03:30   debug #5 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path rust/rust.dib --retries 3
00:03:30   debug #3329 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path rust/testing.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:03:30 verbose #3330 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "rust/testing.dib", "--retries", "3"])) }
00:03:30 verbose #3331 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:03:30 verbose #3332 >     "repl",
00:03:30 verbose #3333 >     "--exit-after-run",
00:03:30 verbose #3334 >     "--run",
00:03:30 verbose #3335 >     "c:/home/git/polyglot/lib/spiral/rust/testing.dib",
00:03:30 verbose #3336 >     "--output-path",
00:03:30 verbose #3337 >     "c:/home/git/polyglot/lib/spiral/rust/testing.dib.ipynb",
00:03:30 verbose #3338 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/rust/testing.dib" --output-path "c:/home/git/polyglot/lib/spiral/rust/testing.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:03:34 verbose #3339 > >
00:03:34 verbose #3340 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:34 verbose #3341 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:34 verbose #3342 > > │ # rust/testing                                                               │
00:03:34 verbose #3343 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:41 verbose #3344 > >
00:03:41 verbose #3345 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:41 verbose #3346 > > open rust.rust_operators
00:03:42 verbose #3347 > 00:03:41   debug #267 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/40daf77a2acec5ac15e1cf56631d4105f4f565759117828320eb559038e65549/main.spi
00:03:43 verbose #3348 > >
00:03:43 verbose #3349 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:43 verbose #3350 > > //// test
00:03:43 verbose #3351 > >
00:03:43 verbose #3352 > > open testing
00:03:43 verbose #3353 > 00:03:43   debug #268 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc76f360fd664f6988ee1c6bc1dc43132802e524aab226e74a21329193e410ca/main.spi
00:03:44 verbose #3354 > >
00:03:44 verbose #3355 > > ── markdown ────────────────────────────────────────────────────────────────────
00:03:44 verbose #3356 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:44 verbose #3357 > > │ ### run_tests'                                                               │
00:03:44 verbose #3358 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:44 verbose #3359 > >
00:03:44 verbose #3360 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:44 verbose #3361 > > inl run_tests' tests =
00:03:44 verbose #3362 > >     (!\($'"true; () //"') : bool) |> ignore
00:03:44 verbose #3363 > >
00:03:44 verbose #3364 > >     inl fields = reflection.get_record_fields tests
00:03:44 verbose #3365 > >
00:03:44 verbose #3366 > >     fields
00:03:44 verbose #3367 > >     |> listm.iter fun name, (fn : string -> ()) =>
00:03:44 verbose #3368 > >         !\($'"} /* /*"')
00:03:44 verbose #3369 > >         (!\($'$"*/ #[[test]] fn " + !name + "() { //"') : bool) |> ignore
00:03:44 verbose #3370 > >         fn name
00:03:44 verbose #3371 > >
00:03:44 verbose #3372 > >     fields
00:03:44 verbose #3373 > >     |> listm.iter fun _ =>
00:03:44 verbose #3374 > >         !\($'"{ //"') : ()
00:03:44 verbose #3375 > 00:03:43   debug #269 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/105ed1301241e214476cd187b06f043286375fece65e991edf9ef1372cc6ec3e/main.spi
00:03:44 verbose #3376 > >
00:03:44 verbose #3377 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:44 verbose #3378 > > //// test
00:03:44 verbose #3379 > >
00:03:44 verbose #3380 > > inl run test =
00:03:44 verbose #3381 > >     if env.get_environment_variable "TEST" = "1"
00:03:44 verbose #3382 > >     then ()
00:03:44 verbose #3383 > >     else
00:03:44 verbose #3384 > >         runtime.execution_options fun x => { x with
00:03:44 verbose #3385 > >             command = "cargo test -- --show-output"
00:03:44 verbose #3386 > >             working_directory = file_system.get_source_directory () |> Some |>
00:03:44 verbose #3387 > > optionm'.box
00:03:44 verbose #3388 > >             environment_variables = ;[[ "TEST", "1" ]]
00:03:44 verbose #3389 > >         }
00:03:44 verbose #3390 > >         |> runtime.execute_with_options
00:03:44 verbose #3391 > >         |> fun exit_code, result =>
00:03:44 verbose #3392 > >             exit_code |> _assert_eq 0i32
00:03:44 verbose #3393 > >             result |> _assert_string_contains "test result: ok. 1 passed; 0
00:03:44 verbose #3394 > > failed; 0 ignored;"
00:03:44 verbose #3395 > >
00:03:44 verbose #3396 > >     $'let tests () = !test ()' : ()
00:03:44 verbose #3397 > 00:03:44   debug #270 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8d3216deb51683b2f9433aabfb2a89569e055470c190d4e2a2629db3e123abc9/main.spi
00:03:45 verbose #3398 > >
00:03:45 verbose #3399 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:45 verbose #3400 > > //// test
00:03:45 verbose #3401 > > ///! rust -d encoding_rs encoding_rs_io
00:03:45 verbose #3402 > >
00:03:45 verbose #3403 > > fun () =>
00:03:45 verbose #3404 > >     run_tests' {
00:03:45 verbose #3405 > >         a = _assert_eq "a"
00:03:45 verbose #3406 > >     }
00:03:45 verbose #3407 > > |> run
00:03:45 verbose #3408 > 00:03:44   debug #271 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/519ef15ae5497d3e42f05d15b1c02e95f922fd837d58ac2ec80351a25c9e0ef2/main.spi
00:04:02 verbose #3409 > >
00:04:02 verbose #3410 > > ╭─[ 17.69s - return value ]────────────────────────────────────────────────────╮
00:04:02 verbose #3411 > > │ 00:00:00   debug #1 runtime.execute_with_options / { file_name =       │
00:04:02 verbose #3412 > > │ cargo; arguments = [                                                         │
00:04:02 verbose #3413 > > │     "test",                                                                  │
00:04:02 verbose #3414 > > │     "--",                                                                    │
00:04:02 verbose #3415 > > │     "--show-output",                                                         │
00:04:02 verbose #3416 > > │ ]; options = { command = cargo test -- --show-output; cancellation_token =   │
00:04:02 verbose #3417 > > │ None; environment_variables = Array(MutCell([("TEST", "1")])); on_line =     │
00:04:02 verbose #3418 > > │ None; stdin = None; trace = true; working_directory = Some(                  │
00:04:02 verbose #3419 > > │                                                                              │
00:04:02 verbose #3420 > > │ "c:\home\git\polyglot\target\spiral_builder\spiral_builder\packages\Rust\47e │
00:04:02 verbose #3421 > > │ 737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d519715",              │
00:04:02 verbose #3422 > > │ ) } }                                                                        │
00:04:02 verbose #3423 > > │ 00:00:01 verbose #2 !    Compiling                                     │
00:04:02 verbose #3424 > > │ spiral_builder_47e737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d519 │
00:04:02 verbose #3425 > > │ 715 v0.0.1                                                                   │
00:04:02 verbose #3426 > > │ (C:\home\git\polyglot\target\spiral_builder\spiral_builder\packages\Rust\47e │
00:04:02 verbose #3427 > > │ 737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d519715)               │
00:04:02 verbose #3428 > > │ 00:00:04 verbose #3 !     Finished `test` profile [unoptimized +       │
00:04:02 verbose #3429 > > │ debuginfo] target(s) in 4.08s                                                │
00:04:02 verbose #3430 > > │ 00:00:04 verbose #4 !      Running unittests spiral_builder.rs         │
00:04:02 verbose #3431 > > │ (c:\home\git\polyglot\target\spiral_builder\spiral_builder\target\debug\deps │
00:04:02 verbose #3432 > > │ \spiral_builder_47e737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d51 │
00:04:02 verbose #3433 > > │ 9715-526a137f91421a91.exe)                                                   │
00:04:02 verbose #3434 > > │ 00:00:04 verbose #5 >                                                  │
00:04:02 verbose #3435 > > │ 00:00:04 verbose #6 > running 1 test                                   │
00:04:02 verbose #3436 > > │ 00:00:04 verbose #7 > test module_4ca134c8::Spiral_builder::a ... ok   │
00:04:02 verbose #3437 > > │ 00:00:04 verbose #8 >                                                  │
00:04:02 verbose #3438 > > │ 00:00:04 verbose #9 > successes:                                       │
00:04:02 verbose #3439 > > │ 00:00:04 verbose #10 >                                                 │
00:04:02 verbose #3440 > > │ 00:00:04 verbose #11 > ---- module_4ca134c8::Spiral_builder::a stdout  │
00:04:02 verbose #3441 > > │ ----                                                                         │
00:04:02 verbose #3442 > > │ 00:00:04 verbose90mverbose #13 >                                │
00:04:02 verbose #3443 > > │ 00:00:04 verbose #14 >                                                 │
00:04:02 verbose #3444 > > │ 00:00:04 verbose #15 > successes:                                      │
00:04:02 verbose #3445 > > │ 00:00:04 verbose #16 >     module_4ca134c8::Spiral_builder::a          │
00:04:02 verbose #3446 > > │ 00:00:04 verbose #17 >                                                 │
00:04:02 verbose #3447 > > │ 00:00:04 verbose #18 > test result: ok. 1 passed; 0 failed; 0 ignored; │
00:04:02 verbose #3448 > > │ 0 measured; 0 filtered out; finished in 0.00s                                │
00:04:02 verbose #3449 > > │ 00:00:04 verbose #19 >                                                 │
00:04:02 verbose #3450 > > │ 00:00:04 verbose #20 runtime.execute_with_options / result / {         │
00:04:02 verbose #3451 > > │ exit_code = 0; std_trace_length = 879 }                                      │
00:04:02 verbose #3452 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:04:02 verbose #3453 > > │ __assert_string_contains / actual: "test result: ok. 1 passed; 0 failed; 0   │
00:04:02 verbose #3454 > > │ ignored;" / expected: "   Compiling                                      │
00:04:02 verbose #3455 > > │ spiral_builder_47e737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d519 │
00:04:02 verbose #3456 > > │ 715 v0.0.1                                                                   │
00:04:02 verbose #3457 > > │ (C:\home\git\polyglot\target\spiral_builder\spiral_builder\packages\Rust\47e │
00:04:02 verbose #3458 > > │ 737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d519715)             │
00:04:02 verbose #3459 > > │     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.08s[ │
00:04:02 verbose #3460 > > │ 0m                                                                           │
00:04:02 verbose #3461 > > │      Running unittests spiral_builder.rs                                 │
00:04:02 verbose #3462 > > │ (c:\home\git\polyglot\target\spiral_builder\spiral_builder\target\debug\deps │
00:04:02 verbose #3463 > > │ \spiral_builder_47e737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d51 │
00:04:02 verbose #3464 > > │ 9715-526a137f91421a91.exe)                                                 │
00:04:02 verbose #3465 > > │                                                                              │
00:04:02 verbose #3466 > > │ running 1 test                                                               │
00:04:02 verbose #3467 > > │ test module_4ca134c8::Spiral_builder::a ... ok                               │
00:04:02 verbose #3468 > > │                                                                              │
00:04:02 verbose #3469 > > │ successes:                                                                   │
00:04:02 verbose #3470 > > │                                                                              │
00:04:02 verbose #3471 > > │ ---- module_4ca134c8::Spiral_builder::a stdout ----                          │
00:04:02 verbose #3472 > > │ __assert_eq / actual: "a" / expected: "a"                                    │
00:04:02 verbose #3473 > > │                                                                              │
00:04:02 verbose #3474 > > │                                                                              │
00:04:02 verbose #3475 > > │ successes:                                                                   │
00:04:02 verbose #3476 > > │     module_4ca134c8::Spiral_builder::a                                       │
00:04:02 verbose #3477 > > │                                                                              │
00:04:02 verbose #3478 > > │ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;  │
00:04:02 verbose #3479 > > │ finished in 0.00s                                                            │
00:04:02 verbose #3480 > > │ "                                                                            │
00:04:02 verbose #3481 > > │                                                                              │
00:04:02 verbose #3482 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:02 verbose #3483 > >
00:04:02 verbose #3484 > > ── markdown ────────────────────────────────────────────────────────────────────
00:04:02 verbose #3485 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:02 verbose #3486 > > │ ### run_tests                                                                │
00:04:02 verbose #3487 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:02 verbose #3488 > >
00:04:02 verbose #3489 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:02 verbose #3490 > > inl run_tests tests : () =
00:04:02 verbose #3491 > >     real
00:04:02 verbose #3492 > >         inl tests =
00:04:02 verbose #3493 > >             real_core.record_map
00:04:02 verbose #3494 > >                 fun { key value } =>
00:04:02 verbose #3495 > >                     (fun _ => value ()) : string -> ()
00:04:02 verbose #3496 > >                 tests
00:04:02 verbose #3497 > >         run_tests' `(`tests) tests
00:04:03 verbose #3498 > 00:04:02   debug #272 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d0233319c5c52c57de4303bc91b8b7500a4376a3ccb70bf5a946069dcf0af37e/main.spi
00:04:03 verbose #3499 > >
00:04:03 verbose #3500 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:03 verbose #3501 > > //// test
00:04:03 verbose #3502 > > ///! rust -d encoding_rs encoding_rs_io
00:04:03 verbose #3503 > >
00:04:03 verbose #3504 > > fun () =>
00:04:03 verbose #3505 > >     run_tests {
00:04:03 verbose #3506 > >         a = fun () => "a" |> _assert_eq "a"
00:04:03 verbose #3507 > >     }
00:04:03 verbose #3508 > > |> run
00:04:03 verbose #3509 > 00:04:02   debug #273 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/760cad3ee30b78c4db7733ae3fb1ebc2f197fc0a7c6ac133a6328b0a228a4145/main.spi
00:04:15 verbose #3510 > >
00:04:15 verbose #3511 > > ╭─[ 12.04s - return value ]────────────────────────────────────────────────────╮
00:04:15 verbose #3512 > > │ 00:00:00   debug #1 runtime.execute_with_options / { file_name =       │
00:04:15 verbose #3513 > > │ cargo; arguments = [                                                         │
00:04:15 verbose #3514 > > │     "test",                                                                  │
00:04:15 verbose #3515 > > │     "--",                                                                    │
00:04:15 verbose #3516 > > │     "--show-output",                                                         │
00:04:15 verbose #3517 > > │ ]; options = { command = cargo test -- --show-output; cancellation_token =   │
00:04:15 verbose #3518 > > │ None; environment_variables = Array(MutCell([("TEST", "1")])); on_line =     │
00:04:15 verbose #3519 > > │ None; stdin = None; trace = true; working_directory = Some(                  │
00:04:15 verbose #3520 > > │                                                                              │
00:04:15 verbose #3521 > > │ "c:\home\git\polyglot\target\spiral_builder\spiral_builder\packages\Rust\47e │
00:04:15 verbose #3522 > > │ 737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d519715",              │
00:04:15 verbose #3523 > > │ ) } }                                                                        │
00:04:15 verbose #3524 > > │ 00:00:01 verbose #2 !     Finished `test` profile [unoptimized +       │
00:04:15 verbose #3525 > > │ debuginfo] target(s) in 1.11s                                                │
00:04:15 verbose #3526 > > │ 00:00:01 verbose #3 !      Running unittests spiral_builder.rs         │
00:04:15 verbose #3527 > > │ (c:\home\git\polyglot\target\spiral_builder\spiral_builder\target\debug\deps │
00:04:15 verbose #3528 > > │ \spiral_builder_47e737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d51 │
00:04:15 verbose #3529 > > │ 9715-526a137f91421a91.exe)                                                   │
00:04:15 verbose #3530 > > │ 00:00:01 verbose #4 >                                                  │
00:04:15 verbose #3531 > > │ 00:00:01 verbose #5 > running 1 test                                   │
00:04:15 verbose #3532 > > │ 00:00:01 verbose #6 > test module_4ca134c8::Spiral_builder::a ... ok   │
00:04:15 verbose #3533 > > │ 00:00:01 verbose #7 >                                                  │
00:04:15 verbose #3534 > > │ 00:00:01 verbose #8 > successes:                                       │
00:04:15 verbose #3535 > > │ 00:00:01 verbose #9 >                                                  │
00:04:15 verbose #3536 > > │ 00:00:01 verbose #10 > ---- module_4ca134c8::Spiral_builder::a stdout  │
00:04:15 verbose #3537 > > │ ----                                                                         │
00:04:15 verbose #3538 > > │ 00:00:01 verbose #11 > __assert_eq / actual: "a" / expected: "a"       │
00:04:15 verbose #3539 > > │ 00:00:01 verbose #12 >                                                 │
00:04:15 verbose #3540 > > │ 00:00:01 verbose #13 >                                                 │
00:04:15 verbose #3541 > > │ 00:00:01 verbose #14 > successes:                                      │
00:04:15 verbose #3542 > > │ 00:00:01 verbose #15 >     module_4ca134c8::Spiral_builder::a          │
00:04:15 verbose #3543 > > │ 00:00:01 verbose #16 >                                                 │
00:04:15 verbose #3544 > > │ 00:00:01 verbose #17 > test result: ok. 1 passed; 0 failed; 0 ignored; │
00:04:15 verbose #3545 > > │ 0 measured; 0 filtered out; finished in 0.00s                                │
00:04:15 verbose #3546 > > │ 00:00:01 verbose #18 >                                                 │
00:04:15 verbose #3547 > > │ 00:00:01 verbose #19 runtime.execute_with_options / result / {         │
00:04:15 verbose #3548 > > │ exit_code = 0; std_trace_length = 630 }                                      │
00:04:15 verbose #3549 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:04:15 verbose #3550 > > │ __assert_string_contains / actual: "test result: ok. 1 passed; 0 failed; 0   │
00:04:15 verbose #3551 > > │ ignored;" / expected: "    Finished `test` profile [unoptimized +        │
00:04:15 verbose #3552 > > │ debuginfo] target(s) in 1.11s                                              │
00:04:15 verbose #3553 > > │      Running unittests spiral_builder.rs                                 │
00:04:15 verbose #3554 > > │ (c:\home\git\polyglot\target\spiral_builder\spiral_builder\target\debug\deps │
00:04:15 verbose #3555 > > │ \spiral_builder_47e737f6163ff97344b85813be44cd8c0646572f72936f38ca43b9061d51 │
00:04:15 verbose #3556 > > │ 9715-526a137f91421a91.exe)                                                 │
00:04:15 verbose #3557 > > │                                                                              │
00:04:15 verbose #3558 > > │ running 1 test                                                               │
00:04:15 verbose #3559 > > │ test module_4ca134c8::Spiral_builder::a ... ok                               │
00:04:15 verbose #3560 > > │                                                                              │
00:04:15 verbose #3561 > > │ successes:                                                                   │
00:04:15 verbose #3562 > > │                                                                              │
00:04:15 verbose #3563 > > │ ---- module_4ca134c8::Spiral_builder::a stdout ----                          │
00:04:15 verbose #3564 > > │ __assert_eq / actual: "a" / expected: "a"                                    │
00:04:15 verbose #3565 > > │                                                                              │
00:04:15 verbose #3566 > > │                                                                              │
00:04:15 verbose #3567 > > │ successes:                                                                   │
00:04:15 verbose #3568 > > │     module_4ca134c8::Spiral_builder::a                                       │
00:04:15 verbose #3569 > > │                                                                              │
00:04:15 verbose #3570 > > │ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;  │
00:04:15 verbose #3571 > > │ finished in 0.00s                                                            │
00:04:15 verbose #3572 > > │ "                                                                            │
00:04:15 verbose #3573 > > │                                                                              │
00:04:15 verbose #3574 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:15 verbose #3575 > >
00:04:15 verbose #3576 > > ── markdown ────────────────────────────────────────────────────────────────────
00:04:15 verbose #3577 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:15 verbose #3578 > > │ ### run_tests_log                                                            │
00:04:15 verbose #3579 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:15 verbose #3580 > >
00:04:15 verbose #3581 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:15 verbose #3582 > > inl run_tests_log tests : () =
00:04:15 verbose #3583 > >     real
00:04:15 verbose #3584 > >         inl tests =
00:04:15 verbose #3585 > >             real_core.record_map
00:04:15 verbose #3586 > >                 fun { key value } =>
00:04:15 verbose #3587 > >                     (fun _ => value false) : () -> ()
00:04:15 verbose #3588 > >                 tests
00:04:15 verbose #3589 > >         run_tests `(`tests) tests
00:04:15 verbose #3590 > 00:04:14   debug #274 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/30c05f8c2a7fc8641826089745bc4b1abd2b831b83e6d0322edac5731881c9c1/main.spi
00:04:15 verbose #3591 > >
00:04:15 verbose #3592 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:15 verbose #3593 > > //// test
00:04:15 verbose #3594 > > ///! rust -d encoding_rs encoding_rs_io
00:04:15 verbose #3595 > >
00:04:15 verbose #3596 > > fun () =>
00:04:15 verbose #3597 > >     run_tests_log {
00:04:15 verbose #3598 > >         a = _assert_eq false
00:04:15 verbose #3599 > >     }
00:04:15 verbose #3600 > > |> run
00:04:16 verbose #3601 > 00:04:15   debug #275 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/794bbbe88050f04ff25890a9d8fc47319876fdd8b1bdeb3877ce5b7597fd7802/main.spi
00:04:37 verbose #3602 > >
00:04:37 verbose #3603 > > ╭─[ 21.42s - return value ]────────────────────────────────────────────────────╮
00:04:37 verbose #3604 > > │ 00:00:00   debug #1 runtime.execute_with_options / { file_name =       │
00:04:37 verbose #3605 > > │ cargo; arguments = [                                                         │
00:04:37 verbose #3606 > > │     "test",                                                                  │
00:04:37 verbose #3607 > > │     "--",                                                                    │
00:04:37 verbose #3608 > > │     "--show-output",                                                         │
00:04:37 verbose #3609 > > │ ]; options = { command = cargo test -- --show-output; cancellation_token =   │
00:04:37 verbose #3610 > > │ None; environment_variables = Array(MutCell([("TEST", "1")])); on_line =     │
00:04:37 verbose #3611 > > │ None; stdin = None; trace = true; working_directory = Some(                  │
00:04:37 verbose #3612 > > │                                                                              │
00:04:37 verbose #3613 > > │ "c:\home\git\polyglot\target\spiral_builder\spiral_builder\packages\Rust\28c │
00:04:37 verbose #3614 > > │ 66e77d211a80bbdc723b8e1fc10c6e1d61363e49d27e964482b7cea358e6f",              │
00:04:37 verbose #3615 > > │ ) } }                                                                        │
00:04:37 verbose #3616 > > │ 00:00:01 verbose #2 !    Compiling                                     │
00:04:37 verbose #3617 > > │ spiral_builder_28c66e77d211a80bbdc723b8e1fc10c6e1d61363e49d27e964482b7cea358 │
00:04:37 verbose #3618 > > │ e6f v0.0.1                                                                   │
00:04:37 verbose #3619 > > │ (C:\home\git\polyglot\target\spiral_builder\spiral_builder\packages\Rust\28c │
00:04:37 verbose #3620 > > │ 66e77d211a80bbdc723b8e1fc10c6e1d61363e49d27e964482b7cea358e6f)               │
00:04:37 verbose #3621 > > │ 00:00:06 verbose #3 !     Finished `test` profile [unoptimized +       │
00:04:37 verbose #3622 > > │ debuginfo] target(s) in 6.11s                                                │
00:04:37 verbose #3623 > > │ 00:00:06 verbose #4 !      Running unittests spiral_builder.rs         │
00:04:37 verbose #3624 > > │ (c:\home\git\polyglot\target\spiral_builder\spiral_builder\target\debug\deps │
00:04:37 verbose #3625 > > │ \spiral_builder_28c66e77d211a80bbdc723b8e1fc10c6e1d61363e49d27e964482b7cea35 │
00:04:37 verbose #3626 > > │ 8e6f-721bd10b05d945d2.exe)                                                   │
00:04:37 verbose #3627 > > │ 00:00:06 verbose #5 >                                                  │
00:04:37 verbose #3628 > > │ 00:00:06 verbose #6 > running 1 test                                   │
00:04:37 verbose #3629 > > │ 00:00:06 verbose #7 > test module_45ce1de3::Spiral_builder::a ... ok   │
00:04:37 verbose #3630 > > │ 00:00:06 verbose #8 >                                                  │
00:04:37 verbose #3631 > > │ 00:00:06 verbose #9 > successes:                                       │
00:04:37 verbose #3632 > > │ 00:00:06 verbose #10 >                                                 │
00:04:37 verbose #3633 > > │ 00:00:06 verbose #11 > ---- module_45ce1de3::Spiral_builder::a stdout  │
00:04:37 verbose #3634 > > │ ----                                                                         │
00:04:37 verbose #3635 > > │ 00:00:06 verbose90mverbose #13 >                                    │
00:04:37 verbose #3636 > > │ 00:00:06 verbose #14 >                                                 │
00:04:37 verbose #3637 > > │ 00:00:06 verbose #15 > successes:                                      │
00:04:37 verbose #3638 > > │ 00:00:06 verbose #16 >     module_45ce1de3::Spiral_builder::a          │
00:04:37 verbose #3639 > > │ 00:00:06 verbose #17 >                                                 │
00:04:37 verbose #3640 > > │ 00:00:06 verbose #18 > test result: ok. 1 passed; 0 failed; 0 ignored; │
00:04:37 verbose #3641 > > │ 0 measured; 0 filtered out; finished in 0.00s                                │
00:04:37 verbose #3642 > > │ 00:00:06 verbose #19 >                                                 │
00:04:37 verbose #3643 > > │ 00:00:06 verbose #20 runtime.execute_with_options / result / {         │
00:04:37 verbose #3644 > > │ exit_code = 0; std_trace_length = 883 }                                      │
00:04:37 verbose #3645 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:04:37 verbose #3646 > > │ __assert_string_contains / actual: "test result: ok. 1 passed; 0 failed; 0   │
00:04:37 verbose #3647 > > │ ignored;" / expected: "   Compiling                                      │
00:04:37 verbose #3648 > > │ spiral_builder_28c66e77d211a80bbdc723b8e1fc10c6e1d61363e49d27e964482b7cea358 │
00:04:37 verbose #3649 > > │ e6f v0.0.1                                                                   │
00:04:37 verbose #3650 > > │ (C:\home\git\polyglot\target\spiral_builder\spiral_builder\packages\Rust\28c │
00:04:37 verbose #3651 > > │ 66e77d211a80bbdc723b8e1fc10c6e1d61363e49d27e964482b7cea358e6f)             │
00:04:37 verbose #3652 > > │     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.11s[ │
00:04:37 verbose #3653 > > │ 0m                                                                           │
00:04:37 verbose #3654 > > │      Running unittests spiral_builder.rs                                 │
00:04:37 verbose #3655 > > │ (c:\home\git\polyglot\target\spiral_builder\spiral_builder\target\debug\deps │
00:04:37 verbose #3656 > > │ \spiral_builder_28c66e77d211a80bbdc723b8e1fc10c6e1d61363e49d27e964482b7cea35 │
00:04:37 verbose #3657 > > │ 8e6f-721bd10b05d945d2.exe)                                                 │
00:04:37 verbose #3658 > > │                                                                              │
00:04:37 verbose #3659 > > │ running 1 test                                                               │
00:04:37 verbose #3660 > > │ test module_45ce1de3::Spiral_builder::a ... ok                               │
00:04:37 verbose #3661 > > │                                                                              │
00:04:37 verbose #3662 > > │ successes:                                                                   │
00:04:37 verbose #3663 > > │                                                                              │
00:04:37 verbose #3664 > > │ ---- module_45ce1de3::Spiral_builder::a stdout ----                          │
00:04:37 verbose #3665 > > │ __assert_eq / actual: false / expected: false                                │
00:04:37 verbose #3666 > > │                                                                              │
00:04:37 verbose #3667 > > │                                                                              │
00:04:37 verbose #3668 > > │ successes:                                                                   │
00:04:37 verbose #3669 > > │     module_45ce1de3::Spiral_builder::a                                       │
00:04:37 verbose #3670 > > │                                                                              │
00:04:37 verbose #3671 > > │ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;  │
00:04:37 verbose #3672 > > │ finished in 0.00s                                                            │
00:04:37 verbose #3673 > > │ "                                                                            │
00:04:37 verbose #3674 > > │                                                                              │
00:04:37 verbose #3675 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:37 verbose #3676 > 00:01:07 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 21193 }
00:04:37 verbose #3677 > 00:01:07   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:04:37 verbose #3678 >     "nbconvert",
00:04:37 verbose #3679 >     "c:/home/git/polyglot/lib/spiral/rust/testing.dib.ipynb",
00:04:37 verbose #3680 >     "--to",
00:04:37 verbose #3681 >     "html",
00:04:37 verbose #3682 >     "--HTMLExporter.theme=dark",
00:04:37 verbose #3683 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/rust/testing.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:04:41 verbose #3684 > 00:01:11 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/rust/testing.dib.ipynb to html
00:04:41 verbose #3685 > 00:01:11 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:04:41 verbose #3686 > 00:01:11 verbose #7 !   validate(nb)
00:04:43 verbose #3687 > 00:01:13 verbose #8 ! [NbConvertApp] Writing 297667 bytes to c:\home\git\polyglot\lib\spiral\rust\testing.dib.html
00:04:44 verbose #3688 > 00:01:13 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 655 }
00:04:44 verbose #3689 > 00:01:13   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 655 }
00:04:44 verbose #3690 > 00:01:13   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:04:44 verbose #3691 >     "-c",
00:04:44 verbose #3692 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/testing.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:04:44 verbose #3693 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/testing.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:04:45 verbose #3694 > 00:01:15 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:04:45 verbose #3695 > 00:01:15   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:04:46 verbose #3696 > 00:01:16   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 21907 }
00:04:46   debug #3697 runtime.execute_with_options_async / { exit_code = 0; output_length = 25295 }
00:04:46   debug #6 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path rust/testing.dib --retries 3
00:04:46   debug #3698 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path rust/near.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:04:46 verbose #3699 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "rust/near.dib", "--retries", "3"])) }
00:04:46 verbose #3700 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:04:46 verbose #3701 >     "repl",
00:04:46 verbose #3702 >     "--exit-after-run",
00:04:46 verbose #3703 >     "--run",
00:04:46 verbose #3704 >     "c:/home/git/polyglot/lib/spiral/rust/near.dib",
00:04:46 verbose #3705 >     "--output-path",
00:04:46 verbose #3706 >     "c:/home/git/polyglot/lib/spiral/rust/near.dib.ipynb",
00:04:46 verbose #3707 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/rust/near.dib" --output-path "c:/home/git/polyglot/lib/spiral/rust/near.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:04:50 verbose #3708 > >
00:04:50 verbose #3709 > > ── markdown ────────────────────────────────────────────────────────────────────
00:04:50 verbose #3710 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:50 verbose #3711 > > │ # near                                                                       │
00:04:50 verbose #3712 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:57 verbose #3713 > >
00:04:57 verbose #3714 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:57 verbose #3715 > > open rust
00:04:57 verbose #3716 > > open rust.rust_operators
00:04:59 verbose #3717 > 00:04:58   debug #276 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8266c97ee08f99dd628d38d34dfdec325b2e42739e161f0fc981fa7038e52f8e/main.spi
00:05:00 verbose #3718 > >
00:05:00 verbose #3719 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:00 verbose #3720 > > //// test
00:05:00 verbose #3721 > >
00:05:00 verbose #3722 > > open testing
00:05:00 verbose #3723 > 00:04:59   debug #277 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a3a626ef4bf9b0298d493c0dd1473daff6ca9f38ef5fc9c1e506770f76e69687/main.spi
00:05:01 verbose #3724 > >
00:05:01 verbose #3725 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:01 verbose #3726 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:01 verbose #3727 > > │ ## near                                                                      │
00:05:01 verbose #3728 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:01 verbose #3729 > >
00:05:01 verbose #3730 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:01 verbose #3731 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:01 verbose #3732 > > │ ### vector                                                                   │
00:05:01 verbose #3733 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:01 verbose #3734 > >
00:05:01 verbose #3735 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:01 verbose #3736 > > nominal vector t =
00:05:01 verbose #3737 > >     `(
00:05:01 verbose #3738 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:01 verbose #3739 > > Fable.Core.Emit(\"near_sdk::store::vec::Vector<$0>\")>]]\n#endif\ntype
00:05:01 verbose #3740 > > near_sdk_store_vec_Vector<'T> = class end"
00:05:01 verbose #3741 > >         $'' : $'near_sdk_store_vec_Vector<`t>'
00:05:01 verbose #3742 > >     )
00:05:01 verbose #3743 > 00:05:00   debug #278 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1de1eb4772d6f8e4b24ae2fb71e94ab3e2a9c2de0f24ba1a197bd2ae88540c89/main.spi
00:05:01 verbose #3744 > >
00:05:01 verbose #3745 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:01 verbose #3746 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:01 verbose #3747 > > │ ### lookup_map                                                               │
00:05:01 verbose #3748 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:01 verbose #3749 > >
00:05:01 verbose #3750 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:01 verbose #3751 > > nominal lookup_map k v =
00:05:01 verbose #3752 > >     `(
00:05:01 verbose #3753 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:01 verbose #3754 > > Fable.Core.Emit(\"near_sdk::store::LookupMap<$0, $1>\")>]]\n#endif\ntype
00:05:01 verbose #3755 > > near_sdk_store_LookupMap<'K, 'V> = class end"
00:05:01 verbose #3756 > >         $'' : $'near_sdk_store_LookupMap<`k, `v>'
00:05:01 verbose #3757 > >     )
00:05:02 verbose #3758 > 00:05:01   debug #279 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0473848df3a95f73a512ef8bfd6aa514a90ea4f045c68b57aea2297af16642f4/main.spi
00:05:02 verbose #3759 > >
00:05:02 verbose #3760 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:02 verbose #3761 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:02 verbose #3762 > > │ ### account_id                                                               │
00:05:02 verbose #3763 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:02 verbose #3764 > >
00:05:02 verbose #3765 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:02 verbose #3766 > > nominal account_id =
00:05:02 verbose #3767 > >     `(
00:05:02 verbose #3768 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:02 verbose #3769 > > Fable.Core.Emit(\"near_sdk::AccountId\")>]]\n#endif\ntype near_sdk_AccountId =
00:05:02 verbose #3770 > > class end"
00:05:02 verbose #3771 > >         $'' : $'near_sdk_AccountId'
00:05:02 verbose #3772 > >     )
00:05:02 verbose #3773 > 00:05:01   debug #280 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fd70b0a38b9131cb6bac3ebe2f8f21418afae5e947546de15356a699891aba41/main.spi
00:05:02 verbose #3774 > >
00:05:02 verbose #3775 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:02 verbose #3776 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:02 verbose #3777 > > │ ### new_lookup_map                                                           │
00:05:02 verbose #3778 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:02 verbose #3779 > >
00:05:02 verbose #3780 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:02 verbose #3781 > > inl new_lookup_map prefix =
00:05:02 verbose #3782 > >     !\($'"near_sdk::store::LookupMap::new(!prefix)"')
00:05:03 verbose #3783 > 00:05:02   debug #281 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ece41d8a4ea24edd0d9bcf7aed9fd5b58ee41107304f4b3a5aa894451c610aaf/main.spi
00:05:03 verbose #3784 > >
00:05:03 verbose #3785 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:03 verbose #3786 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:03 verbose #3787 > > │ ### new_vector                                                               │
00:05:03 verbose #3788 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:03 verbose #3789 > >
00:05:03 verbose #3790 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:03 verbose #3791 > > inl new_vector prefix =
00:05:03 verbose #3792 > >     !\($'"near_sdk::store::vec::Vector::new(!prefix)"')
00:05:03 verbose #3793 > 00:05:02   debug #282 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4aaf50a577c3084c829a02840a70deb93323f93567de745de0dd74e3829e61c2/main.spi
00:05:04 verbose #3794 > >
00:05:04 verbose #3795 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:04 verbose #3796 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:04 verbose #3797 > > │ ### log                                                                      │
00:05:04 verbose #3798 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:04 verbose #3799 > >
00:05:04 verbose #3800 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:04 verbose #3801 > > inl log text : () =
00:05:04 verbose #3802 > >     !\\(text, $'$"near_sdk::log\!(\\\"{{}}\\\", $0)"')
00:05:04 verbose #3803 > 00:05:03   debug #283 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8640171c831c56c3389549cac84d2e6d862cb8fd2db5a1d3888323feff69d079/main.spi
00:05:04 verbose #3804 > >
00:05:04 verbose #3805 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:04 verbose #3806 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:04 verbose #3807 > > │ ### panic_str                                                                │
00:05:04 verbose #3808 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:04 verbose #3809 > >
00:05:04 verbose #3810 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:04 verbose #3811 > > inl panic_str (text : string) : () =
00:05:04 verbose #3812 > >     (!\\(text, $'$"true; near_sdk::env::panic_str(&*$0); //"') : bool) |> ignore
00:05:05 verbose #3813 > 00:05:04   debug #284 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d7c35e1747a9d19fb8b1217e79c5c0e8f908966b0e1c60e6b66a9a6a8ee1982/main.spi
00:05:05 verbose #3814 > >
00:05:05 verbose #3815 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:05 verbose #3816 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:05 verbose #3817 > > │ ### lookup_get                                                               │
00:05:05 verbose #3818 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:05 verbose #3819 > >
00:05:05 verbose #3820 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:05 verbose #3821 > > inl lookup_get forall k v.
00:05:05 verbose #3822 > >     (key : k)
00:05:05 verbose #3823 > >     (map : rust.ref (rust.mut' (lookup_map k v)))
00:05:05 verbose #3824 > >     : optionm'.option' (rust.ref v)
00:05:05 verbose #3825 > >     =
00:05:05 verbose #3826 > >     !\\(key, $'$"!map.get(&$0)"')
00:05:05 verbose #3827 > 00:05:04   debug #285 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/743a42767dda7940edaabb2260d806df4504755665e9cbc750b3828f15ed2d77/main.spi
00:05:06 verbose #3828 > >
00:05:06 verbose #3829 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:06 verbose #3830 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:06 verbose #3831 > > │ ### lookup_insert                                                            │
00:05:06 verbose #3832 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:06 verbose #3833 > >
00:05:06 verbose #3834 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:06 verbose #3835 > > inl lookup_insert forall k v.
00:05:06 verbose #3836 > >     (key : k)
00:05:06 verbose #3837 > >     (value : v)
00:05:06 verbose #3838 > >     (map : rust.ref (rust.mut' (lookup_map k v)))
00:05:06 verbose #3839 > >     : ()
00:05:06 verbose #3840 > >     =
00:05:06 verbose #3841 > >     (!\\((key, value), $'$"true; !map.insert(&$0, $1); //"') : bool) |> ignore
00:05:06 verbose #3842 > 00:05:05   debug #286 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/998211c829ee2d67e49ca6bb870333d80a432429f8bdb56bbac7995e4474e04c/main.spi
00:05:06 verbose #3843 > >
00:05:06 verbose #3844 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:06 verbose #3845 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:06 verbose #3846 > > │ ### near_token                                                               │
00:05:06 verbose #3847 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:06 verbose #3848 > >
00:05:06 verbose #3849 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:06 verbose #3850 > > nominal near_token =
00:05:06 verbose #3851 > >     `(
00:05:06 verbose #3852 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:06 verbose #3853 > > Fable.Core.Emit(\"near_token::NearToken\")>]]\n#endif\ntype near_token_NearToken
00:05:06 verbose #3854 > > = class end"
00:05:06 verbose #3855 > >         $'' : $'near_token_NearToken'
00:05:06 verbose #3856 > >     )
00:05:06 verbose #3857 > 00:05:06   debug #287 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/87adc26169d9f43aed050ebd6bbc978464fa8a88ff9c9cc4cfcb382054e4e019/main.spi
00:05:07 verbose #3858 > >
00:05:07 verbose #3859 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:07 verbose #3860 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:07 verbose #3861 > > │ ### near_token_sdk                                                           │
00:05:07 verbose #3862 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:07 verbose #3863 > >
00:05:07 verbose #3864 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:07 verbose #3865 > > nominal near_token_sdk =
00:05:07 verbose #3866 > >     `(
00:05:07 verbose #3867 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:07 verbose #3868 > > Fable.Core.Emit(\"near_sdk::NearToken\")>]]\n#endif\ntype near_sdk_NearToken =
00:05:07 verbose #3869 > > class end"
00:05:07 verbose #3870 > >         $'' : $'near_sdk_NearToken'
00:05:07 verbose #3871 > >     )
00:05:07 verbose #3872 > 00:05:06   debug #288 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bf504e29e34f634cb32ef3b6487fb0038e33d9e3545180dad09e79aabe35625f/main.spi
00:05:07 verbose #3873 > >
00:05:07 verbose #3874 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:07 verbose #3875 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:07 verbose #3876 > > │ ### random_seed                                                              │
00:05:07 verbose #3877 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:07 verbose #3878 > >
00:05:07 verbose #3879 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:07 verbose #3880 > > inl random_seed () : am'.vec u8 =
00:05:07 verbose #3881 > >     !\($'$"near_sdk::env::random_seed()"')
00:05:07 verbose #3882 > 00:05:07   debug #289 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/904697b9e7c3b7673d205a769fb03069a8ab80d52f92145069114fb1274e9caf/main.spi
00:05:08 verbose #3883 > >
00:05:08 verbose #3884 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:08 verbose #3885 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:08 verbose #3886 > > │ ### block_timestamp                                                          │
00:05:08 verbose #3887 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:08 verbose #3888 > >
00:05:08 verbose #3889 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:08 verbose #3890 > > inl block_timestamp () : u64 =
00:05:08 verbose #3891 > >     !\($'$"near_sdk::env::block_timestamp()"')
00:05:08 verbose #3892 > 00:05:07   debug #290 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/133a72422fb35b3c73a68ca3420e5326a3167b0f33366837458b3c3376860620/main.spi
00:05:08 verbose #3893 > >
00:05:08 verbose #3894 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:08 verbose #3895 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:08 verbose #3896 > > │ ### block_height                                                             │
00:05:08 verbose #3897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:08 verbose #3898 > >
00:05:08 verbose #3899 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:08 verbose #3900 > > inl block_height () : u64 =
00:05:08 verbose #3901 > >     !\($'$"near_sdk::env::block_height()"')
00:05:09 verbose #3902 > 00:05:08   debug #291 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ccd5db6d58332b79091ed5e7684ac0676446840abe6202deaa9ef1327b382fe1/main.spi
00:05:09 verbose #3903 > >
00:05:09 verbose #3904 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:09 verbose #3905 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:09 verbose #3906 > > │ ### epoch_height                                                             │
00:05:09 verbose #3907 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:09 verbose #3908 > >
00:05:09 verbose #3909 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:09 verbose #3910 > > inl epoch_height () : u64 =
00:05:09 verbose #3911 > >     !\($'$"near_sdk::env::epoch_height()"')
00:05:09 verbose #3912 > 00:05:08   debug #292 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aa1826e79a928e3d7f16656d026aa1a393877f0479dbc3a9d5ca09e5f81d70ac/main.spi
00:05:09 verbose #3913 > >
00:05:09 verbose #3914 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:09 verbose #3915 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:09 verbose #3916 > > │ ### account_balance                                                          │
00:05:09 verbose #3917 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:09 verbose #3918 > >
00:05:10 verbose #3919 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:10 verbose #3920 > > inl account_balance () : near_token =
00:05:10 verbose #3921 > >     !\($'$"near_sdk::env::account_balance()"')
00:05:10 verbose #3922 > 00:05:09   debug #293 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3c0a8db6eb0f73dc65cf38e23e448fd1d40876bed5c7bab5d9436327733c2bb3/main.spi
00:05:10 verbose #3923 > >
00:05:10 verbose #3924 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:10 verbose #3925 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:10 verbose #3926 > > │ ### signer_account_id                                                        │
00:05:10 verbose #3927 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:10 verbose #3928 > >
00:05:10 verbose #3929 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:10 verbose #3930 > > inl signer_account_id () : account_id =
00:05:10 verbose #3931 > >     !\($'$"near_sdk::env::signer_account_id()"')
00:05:10 verbose #3932 > 00:05:09   debug #294 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b0ab4dece1db4a07d442e72e2cc7e447a19b3401584f69bb28c89c4c4c2252b1/main.spi
00:05:11 verbose #3933 > >
00:05:11 verbose #3934 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:11 verbose #3935 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:11 verbose #3936 > > │ ### as_yoctonear                                                             │
00:05:11 verbose #3937 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:11 verbose #3938 > >
00:05:11 verbose #3939 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:11 verbose #3940 > > inl as_yoctonear forall t. (gas : t) : rust.u128 =
00:05:11 verbose #3941 > >     !\\(gas, $'"$0.as_yoctonear()"')
00:05:11 verbose #3942 > 00:05:10   debug #295 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe8f48eeef8124d2f70ef2dc65f8a04d366d81c61e3b3922af4405f1e83db13d/main.spi
00:05:11 verbose #3943 > >
00:05:11 verbose #3944 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:11 verbose #3945 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:11 verbose #3946 > > │ ### near_price_in_usd                                                        │
00:05:11 verbose #3947 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:11 verbose #3948 > >
00:05:11 verbose #3949 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:11 verbose #3950 > > inl near_price_in_usd () =
00:05:11 verbose #3951 > >     6.68f64
00:05:11 verbose #3952 > 00:05:10   debug #296 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f94d2a45145f02e2cfa7e7e66ceddabc75605a46779ffbdeed53d147b1361b27/main.spi
00:05:11 verbose #3953 > >
00:05:11 verbose #3954 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:11 verbose #3955 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:11 verbose #3956 > > │ ### gas_to_usd                                                               │
00:05:11 verbose #3957 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:11 verbose #3958 > >
00:05:11 verbose #3959 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:11 verbose #3960 > > inl gas_to_usd (gas : u64) =
00:05:11 verbose #3961 > >     (gas |> f64) / 10_000_000_000_000_000 * near_price_in_usd ()
00:05:12 verbose #3962 > 00:05:11   debug #297 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f32260bc927ad77a57c98115ad528d1fa1c7bf66dbb25c441c0f22adf976747a/main.spi
00:05:12 verbose #3963 > >
00:05:12 verbose #3964 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:12 verbose #3965 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:12 verbose #3966 > > │ ### tokens_to_usd                                                            │
00:05:12 verbose #3967 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:12 verbose #3968 > >
00:05:12 verbose #3969 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:12 verbose #3970 > > inl tokens_to_usd (tokens : rust.u128) =
00:05:12 verbose #3971 > >     (tokens |> rust.f64) / 1_000_000_000_000_000_000_000_000 * near_price_in_usd
00:05:12 verbose #3972 > > ()
00:05:12 verbose #3973 > 00:05:11   debug #298 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/864b851e36cadf9150bb1756d9ba91e63d6635fada8da3557e251ad351f39089/main.spi
00:05:13 verbose #3974 > 00:00:26 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 12148 }
00:05:13 verbose #3975 > 00:00:26   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:05:13 verbose #3976 >     "nbconvert",
00:05:13 verbose #3977 >     "c:/home/git/polyglot/lib/spiral/rust/near.dib.ipynb",
00:05:13 verbose #3978 >     "--to",
00:05:13 verbose #3979 >     "html",
00:05:13 verbose #3980 >     "--HTMLExporter.theme=dark",
00:05:13 verbose #3981 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/rust/near.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:05:17 verbose #3982 > 00:00:30 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/rust/near.dib.ipynb to html
00:05:17 verbose #3983 > 00:00:30 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:05:17 verbose #3984 > 00:00:30 verbose #7 !   validate(nb)
00:05:19 verbose #3985 > 00:00:32 verbose #8 ! [NbConvertApp] Writing 306194 bytes to c:\home\git\polyglot\lib\spiral\rust\near.dib.html
00:05:19 verbose #3986 > 00:00:32 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 649 }
00:05:19 verbose #3987 > 00:00:32   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 649 }
00:05:19 verbose #3988 > 00:00:32   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:05:19 verbose #3989 >     "-c",
00:05:19 verbose #3990 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/near.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:05:19 verbose #3991 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/near.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:05:21 verbose #3992 > 00:00:34 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:05:21 verbose #3993 > 00:00:34   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:05:22 verbose #3994 > 00:00:36   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 12856 }
00:05:22   debug #3995 runtime.execute_with_options_async / { exit_code = 0; output_length = 16047 }
00:05:22   debug #7 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path rust/near.dib --retries 3
00:05:22   debug #3996 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path rust/near_workspaces.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:05:23 verbose #3997 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "rust/near_workspaces.dib", "--retries", "3"])) }
00:05:23 verbose #3998 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:05:23 verbose #3999 >     "repl",
00:05:23 verbose #4000 >     "--exit-after-run",
00:05:23 verbose #4001 >     "--run",
00:05:23 verbose #4002 >     "c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib",
00:05:23 verbose #4003 >     "--output-path",
00:05:23 verbose #4004 >     "c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib.ipynb",
00:05:23 verbose #4005 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib" --output-path "c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:05:26 verbose #4006 > >
00:05:26 verbose #4007 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:26 verbose #4008 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:26 verbose #4009 > > │ # near_workspaces                                                            │
00:05:26 verbose #4010 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:34 verbose #4011 > >
00:05:34 verbose #4012 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:34 verbose #4013 > > open rust
00:05:34 verbose #4014 > > open rust.rust_operators
00:05:35 verbose #4015 > 00:05:34   debug #299 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8266c97ee08f99dd628d38d34dfdec325b2e42739e161f0fc981fa7038e52f8e/main.spi
00:05:36 verbose #4016 > >
00:05:36 verbose #4017 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:36 verbose #4018 > > //// test
00:05:36 verbose #4019 > >
00:05:36 verbose #4020 > > open testing
00:05:37 verbose #4021 > 00:05:36   debug #300 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a3a626ef4bf9b0298d493c0dd1473daff6ca9f38ef5fc9c1e506770f76e69687/main.spi
00:05:37 verbose #4022 > >
00:05:37 verbose #4023 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:37 verbose #4024 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:37 verbose #4025 > > │ ## near                                                                      │
00:05:37 verbose #4026 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:37 verbose #4027 > >
00:05:37 verbose #4028 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:37 verbose #4029 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:37 verbose #4030 > > │ ### near_token_workspaces                                                    │
00:05:37 verbose #4031 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:37 verbose #4032 > >
00:05:37 verbose #4033 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:37 verbose #4034 > > nominal near_token_workspaces =
00:05:37 verbose #4035 > >     `(
00:05:37 verbose #4036 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:37 verbose #4037 > > Fable.Core.Emit(\"near_workspaces::types::NearToken\")>]]\n#endif\ntype
00:05:37 verbose #4038 > > near_workspaces_types_NearToken = class end"
00:05:37 verbose #4039 > >         $'' : $'near_workspaces_types_NearToken'
00:05:37 verbose #4040 > >     )
00:05:37 verbose #4041 > 00:05:36   debug #301 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a4a332bdeea41610f8e67abddabba318f44135f8b4b7a923ffa311659ec58431/main.spi
00:05:37 verbose #4042 > >
00:05:37 verbose #4043 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:37 verbose #4044 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:37 verbose #4045 > > │ ### gas                                                                      │
00:05:37 verbose #4046 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:37 verbose #4047 > >
00:05:37 verbose #4048 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:37 verbose #4049 > > nominal gas =
00:05:37 verbose #4050 > >     `(
00:05:37 verbose #4051 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:37 verbose #4052 > > Fable.Core.Emit(\"near_workspaces::types::Gas\")>]]\n#endif\ntype
00:05:37 verbose #4053 > > near_workspaces_types_Gas = class end"
00:05:37 verbose #4054 > >         $'' : $'near_workspaces_types_Gas'
00:05:37 verbose #4055 > >     )
00:05:37 verbose #4056 > 00:05:37   debug #302 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/48e9f1253388bea09b65b4440d4232a7fa9af23f3be8ec90231d292e1c9c198b/main.spi
00:05:38 verbose #4057 > >
00:05:38 verbose #4058 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:38 verbose #4059 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:38 verbose #4060 > > │ ### near_workspaces_error                                                    │
00:05:38 verbose #4061 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:38 verbose #4062 > >
00:05:38 verbose #4063 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:38 verbose #4064 > > nominal near_workspaces_error =
00:05:38 verbose #4065 > >     `(
00:05:38 verbose #4066 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:38 verbose #4067 > > Fable.Core.Emit(\"near_workspaces::error::Error\")>]]\n#endif\ntype
00:05:38 verbose #4068 > > near_workspaces_error_Error = class end"
00:05:38 verbose #4069 > >         $'' : $'near_workspaces_error_Error'
00:05:38 verbose #4070 > >     )
00:05:38 verbose #4071 > 00:05:37   debug #303 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/80ef4ae3b6f508c2aa6173b6b9c9c4b19f5c45c049cf8568652b0e1337d509fa/main.spi
00:05:38 verbose #4072 > >
00:05:38 verbose #4073 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:38 verbose #4074 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:38 verbose #4075 > > │ ### sandbox                                                                  │
00:05:38 verbose #4076 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:38 verbose #4077 > >
00:05:38 verbose #4078 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:38 verbose #4079 > > nominal sandbox =
00:05:38 verbose #4080 > >     `(
00:05:38 verbose #4081 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:38 verbose #4082 > > Fable.Core.Emit(\"near_workspaces::network::Sandbox\")>]]\n#endif\ntype
00:05:38 verbose #4083 > > near_workspaces_network_Sandbox = class end"
00:05:38 verbose #4084 > >         $'' : $'near_workspaces_network_Sandbox'
00:05:38 verbose #4085 > >     )
00:05:38 verbose #4086 > 00:05:37   debug #304 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a2e16fc7b880673d89cb7d121890a0fd56e2941212cdc7be5178d6e644f52655/main.spi
00:05:39 verbose #4087 > >
00:05:39 verbose #4088 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:39 verbose #4089 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:39 verbose #4090 > > │ ### worker                                                                   │
00:05:39 verbose #4091 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:39 verbose #4092 > >
00:05:39 verbose #4093 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:39 verbose #4094 > > nominal worker t =
00:05:39 verbose #4095 > >     `(
00:05:39 verbose #4096 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:39 verbose #4097 > > Fable.Core.Emit(\"near_workspaces::Worker<$0>\")>]]\n#endif\ntype
00:05:39 verbose #4098 > > near_workspaces_Worker<'T> = class end"
00:05:39 verbose #4099 > >         $'' : $'near_workspaces_Worker<`t>'
00:05:39 verbose #4100 > >     )
00:05:39 verbose #4101 > 00:05:38   debug #305 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8613a9562c163ec7ac5d759b2cee4c07d1649a10a47e166481a80b8a57e32f7/main.spi
00:05:39 verbose #4102 > >
00:05:39 verbose #4103 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:39 verbose #4104 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:39 verbose #4105 > > │ ### contract                                                                 │
00:05:39 verbose #4106 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:39 verbose #4107 > >
00:05:39 verbose #4108 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:39 verbose #4109 > > nominal contract =
00:05:39 verbose #4110 > >     `(
00:05:39 verbose #4111 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:39 verbose #4112 > > Fable.Core.Emit(\"near_workspaces::Contract\")>]]\n#endif\ntype
00:05:39 verbose #4113 > > near_workspaces_Contract = class end"
00:05:39 verbose #4114 > >         $'' : $'near_workspaces_Contract'
00:05:39 verbose #4115 > >     )
00:05:39 verbose #4116 > 00:05:38   debug #306 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ee4a144eff80ffafbdd88b7ac3a9cce88327134129ae7d492fe88116de200a36/main.spi
00:05:39 verbose #4117 > >
00:05:39 verbose #4118 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:39 verbose #4119 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:39 verbose #4120 > > │ ### call_transaction                                                         │
00:05:39 verbose #4121 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:39 verbose #4122 > >
00:05:39 verbose #4123 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:39 verbose #4124 > > nominal call_transaction =
00:05:39 verbose #4125 > >     `(
00:05:39 verbose #4126 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:39 verbose #4127 > > Fable.Core.Emit(\"near_workspaces::operations::CallTransaction\")>]]\n#endif\nty
00:05:39 verbose #4128 > > pe near_workspaces_operations_CallTransaction = class end"
00:05:39 verbose #4129 > >         $'' : $'near_workspaces_operations_CallTransaction'
00:05:39 verbose #4130 > >     )
00:05:40 verbose #4131 > 00:05:39   debug #307 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/eadbc08362cd332026ed6472a96740623d4b349d2a75c465e9bfb14fd8a8978d/main.spi
00:05:40 verbose #4132 > >
00:05:40 verbose #4133 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:40 verbose #4134 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:40 verbose #4135 > > │ ### execution_final_result                                                   │
00:05:40 verbose #4136 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:40 verbose #4137 > >
00:05:40 verbose #4138 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:40 verbose #4139 > > nominal execution_final_result =
00:05:40 verbose #4140 > >     `(
00:05:40 verbose #4141 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:40 verbose #4142 > > Fable.Core.Emit(\"near_workspaces::result::ExecutionFinalResult\")>]]\n#endif\nt
00:05:40 verbose #4143 > > ype near_workspaces_result_ExecutionFinalResult = class end"
00:05:40 verbose #4144 > >         $'' : $'near_workspaces_result_ExecutionFinalResult'
00:05:40 verbose #4145 > >     )
00:05:40 verbose #4146 > 00:05:39   debug #308 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e6ad89c204a2e3f1c2943b00b3104ab6a8263eb1967b2bc2b0bc7577b28809f6/main.spi
00:05:40 verbose #4147 > >
00:05:40 verbose #4148 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:40 verbose #4149 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:40 verbose #4150 > > │ ### execution_result                                                         │
00:05:40 verbose #4151 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:40 verbose #4152 > >
00:05:40 verbose #4153 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:40 verbose #4154 > > nominal execution_result t =
00:05:40 verbose #4155 > >     `(
00:05:40 verbose #4156 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:40 verbose #4157 > > Fable.Core.Emit(\"near_workspaces::result::ExecutionResult<$0>\")>]]\n#endif\nty
00:05:40 verbose #4158 > > pe near_workspaces_result_ExecutionResult<'T> = class end"
00:05:40 verbose #4159 > >         $'' : $'near_workspaces_result_ExecutionResult<`t>'
00:05:40 verbose #4160 > >     )
00:05:41 verbose #4161 > 00:05:40   debug #309 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8325db069108fb48de770c6c4275a89eeb6c7ddfe18341497d2dad2b5d2db72b/main.spi
00:05:41 verbose #4162 > >
00:05:41 verbose #4163 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:41 verbose #4164 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:41 verbose #4165 > > │ ### execution_success                                                        │
00:05:41 verbose #4166 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:41 verbose #4167 > >
00:05:41 verbose #4168 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:41 verbose #4169 > > nominal execution_success =
00:05:41 verbose #4170 > >     `(
00:05:41 verbose #4171 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:41 verbose #4172 > > Fable.Core.Emit(\"near_workspaces::result::ExecutionSuccess\")>]]\n#endif\ntype
00:05:41 verbose #4173 > > near_workspaces_result_ExecutionSuccess = class end"
00:05:41 verbose #4174 > >         $'' : $'near_workspaces_result_ExecutionSuccess'
00:05:41 verbose #4175 > >     )
00:05:41 verbose #4176 > 00:05:40   debug #310 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3063a31ff7830a84131992d42169435791395fe637e1d96fc1ef7dc4e133717b/main.spi
00:05:41 verbose #4177 > >
00:05:41 verbose #4178 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:41 verbose #4179 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:41 verbose #4180 > > │ ### execution_failure                                                        │
00:05:41 verbose #4181 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:41 verbose #4182 > >
00:05:41 verbose #4183 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:41 verbose #4184 > > nominal execution_failure =
00:05:41 verbose #4185 > >     `(
00:05:41 verbose #4186 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:41 verbose #4187 > > Fable.Core.Emit(\"near_workspaces::result::ExecutionFailure\")>]]\n#endif\ntype
00:05:41 verbose #4188 > > near_workspaces_result_ExecutionFailure = class end"
00:05:41 verbose #4189 > >         $'' : $'near_workspaces_result_ExecutionFailure'
00:05:41 verbose #4190 > >     )
00:05:42 verbose #4191 > 00:05:41   debug #311 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6c307e93023aea5efa803ba7becfb388622fe504592b136f31cd63f104aa1e99/main.spi
00:05:42 verbose #4192 > >
00:05:42 verbose #4193 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:42 verbose #4194 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:42 verbose #4195 > > │ ### execution_outcome                                                        │
00:05:42 verbose #4196 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:42 verbose #4197 > >
00:05:42 verbose #4198 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:42 verbose #4199 > > nominal execution_outcome =
00:05:42 verbose #4200 > >     `(
00:05:42 verbose #4201 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:42 verbose #4202 > > Fable.Core.Emit(\"near_workspaces::result::ExecutionOutcome\")>]]\n#endif\ntype
00:05:42 verbose #4203 > > near_workspaces_result_ExecutionOutcome = class end"
00:05:42 verbose #4204 > >         $'' : $'near_workspaces_result_ExecutionOutcome'
00:05:42 verbose #4205 > >     )
00:05:42 verbose #4206 > 00:05:41   debug #312 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f43e816363b2657098cb719ad993b36ad50504ecd9a73d87f224dd5b5f27b4ae/main.spi
00:05:42 verbose #4207 > >
00:05:42 verbose #4208 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:42 verbose #4209 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:42 verbose #4210 > > │ ### sandbox_worker                                                           │
00:05:42 verbose #4211 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:42 verbose #4212 > >
00:05:42 verbose #4213 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:42 verbose #4214 > > inl sandbox_worker () : resultm.result' (worker sandbox) near_workspaces_error =
00:05:42 verbose #4215 > >     !\($'"near_workspaces::sandbox().await"')
00:05:43 verbose #4216 > 00:05:42   debug #313 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f188cdaf339d959328fc063ede22b0a0cee671798acb236d6f9e80e3a37e6cad/main.spi
00:05:43 verbose #4217 > >
00:05:43 verbose #4218 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:43 verbose #4219 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:43 verbose #4220 > > │ ### dev_deploy                                                               │
00:05:43 verbose #4221 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:43 verbose #4222 > >
00:05:43 verbose #4223 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:43 verbose #4224 > > inl dev_deploy
00:05:43 verbose #4225 > >     (wasm : am'.vec u8)
00:05:43 verbose #4226 > >     (worker : worker sandbox)
00:05:43 verbose #4227 > >     : async.future_pin (resultm.result' contract near_workspaces_error)
00:05:43 verbose #4228 > >     =
00:05:43 verbose #4229 > >     !\\((worker, wasm), $'"Box::pin($0.dev_deploy(&$1))"')
00:05:43 verbose #4230 > 00:05:42   debug #314 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3db3f276ef338bd068577e75b9a1ef0b0cee9121bdaf84f1dd6bfb5323c2469b/main.spi
00:05:43 verbose #4231 > >
00:05:43 verbose #4232 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:43 verbose #4233 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:43 verbose #4234 > > │ ### call                                                                     │
00:05:43 verbose #4235 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:43 verbose #4236 > >
00:05:43 verbose #4237 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:43 verbose #4238 > > inl call (fn_name : string) (contract : contract) : call_transaction =
00:05:43 verbose #4239 > >     !\\((contract, fn_name), $'"$0.call(&*$1)"')
00:05:44 verbose #4240 > 00:05:43   debug #315 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/169665292461f44a597a3654234a5d9ca3b219dfa98e6b309a0ecf2619c83fa7/main.spi
00:05:44 verbose #4241 > >
00:05:44 verbose #4242 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:44 verbose #4243 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:44 verbose #4244 > > │ ### transact                                                                 │
00:05:44 verbose #4245 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:44 verbose #4246 > >
00:05:44 verbose #4247 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:44 verbose #4248 > > inl transact
00:05:44 verbose #4249 > >     (call : call_transaction)
00:05:44 verbose #4250 > >     : async.future_pin (resultm.result' execution_final_result
00:05:44 verbose #4251 > > near_workspaces_error)
00:05:44 verbose #4252 > >     =
00:05:44 verbose #4253 > >     !\($'"Box::pin(!call.transact())"')
00:05:44 verbose #4254 > 00:05:43   debug #316 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/02aa4c629216d18d9ec236e84be2c9078dc3002d4d6a38731001e8bcccf877dc/main.spi
00:05:44 verbose #4255 > >
00:05:44 verbose #4256 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:44 verbose #4257 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:44 verbose #4258 > > │ ### logs                                                                     │
00:05:44 verbose #4259 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:44 verbose #4260 > >
00:05:44 verbose #4261 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:44 verbose #4262 > > inl logs (result : execution_final_result) : am'.vec (rust.ref sm'.str) =
00:05:44 verbose #4263 > >     !\($'"!result.logs()"')
00:05:44 verbose #4264 > 00:05:44   debug #317 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a52b4b63ceb0f1557ddacc861a08a44ffc3399bad1548e5d2551634515e81039/main.spi
00:05:45 verbose #4265 > >
00:05:45 verbose #4266 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:45 verbose #4267 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:45 verbose #4268 > > │ ### into_result                                                              │
00:05:45 verbose #4269 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:45 verbose #4270 > >
00:05:45 verbose #4271 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:45 verbose #4272 > > inl into_result
00:05:45 verbose #4273 > >     (result : execution_final_result)
00:05:45 verbose #4274 > >     : resultm.result' execution_success execution_failure
00:05:45 verbose #4275 > >     =
00:05:45 verbose #4276 > >     !\\(result, $'"$0.into_result()"')
00:05:45 verbose #4277 > 00:05:44   debug #318 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/df078aeadd3dbae1cd78441037da4789038d10f4de56d5b4b1f21bad14bf7cff/main.spi
00:05:45 verbose #4278 > >
00:05:45 verbose #4279 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:45 verbose #4280 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:45 verbose #4281 > > │ ### receipt_failures                                                         │
00:05:45 verbose #4282 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:45 verbose #4283 > >
00:05:45 verbose #4284 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:45 verbose #4285 > > inl receipt_failures (result : execution_final_result) : am'.vec (rust.ref
00:05:45 verbose #4286 > > execution_outcome) =
00:05:45 verbose #4287 > >     inl result = join result
00:05:45 verbose #4288 > >     !\($'"!result.receipt_failures()"')
00:05:45 verbose #4289 > 00:05:44   debug #319 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/026dd06b14c41bf72f7fc71fec8a2a6ff1e0a9524e9666e56dfe13ac18591769/main.spi
00:05:46 verbose #4290 > >
00:05:46 verbose #4291 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:46 verbose #4292 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:46 verbose #4293 > > │ ### receipt_outcomes                                                         │
00:05:46 verbose #4294 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:46 verbose #4295 > >
00:05:46 verbose #4296 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:46 verbose #4297 > > inl receipt_outcomes (result : execution_final_result) : am'.vec
00:05:46 verbose #4298 > > execution_outcome =
00:05:46 verbose #4299 > >     inl result = join result
00:05:46 verbose #4300 > >     inl result : rust.ref (am'.slice execution_outcome) =
00:05:46 verbose #4301 > > !\($'"!result.receipt_outcomes()"')
00:05:46 verbose #4302 > >     result |> rust.into
00:05:46 verbose #4303 > 00:05:45   debug #320 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2a128426c00c3be993799dc86a508859067eea8c7e480db6839070994e8fce4a/main.spi
00:05:46 verbose #4304 > >
00:05:46 verbose #4305 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:46 verbose #4306 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:46 verbose #4307 > > │ ### json                                                                     │
00:05:46 verbose #4308 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:46 verbose #4309 > >
00:05:46 verbose #4310 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:46 verbose #4311 > > inl json (result : execution_final_result) : resultm.result' sm'.std_string
00:05:46 verbose #4312 > > near_workspaces_error =
00:05:46 verbose #4313 > >     !\\(result, $'"$0.json()"')
00:05:46 verbose #4314 > 00:05:45   debug #321 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f300c716dbde6277fce6b86a0b3afc861ddd89d9592d2f25494e15df3e7ddec4/main.spi
00:05:47 verbose #4315 > >
00:05:47 verbose #4316 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:47 verbose #4317 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:47 verbose #4318 > > │ ### borsh                                                                    │
00:05:47 verbose #4319 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:47 verbose #4320 > >
00:05:47 verbose #4321 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:47 verbose #4322 > > inl borsh (result : execution_final_result) : resultm.result' sm'.std_string
00:05:47 verbose #4323 > > near_workspaces_error =
00:05:47 verbose #4324 > >     !\\(result, $'"$0.borsh()"')
00:05:47 verbose #4325 > 00:05:46   debug #322 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7a81121ac09e5855178df84efc1d23f1f5e23301f0a4fd57fd3b09c0efec0d17/main.spi
00:05:47 verbose #4326 > >
00:05:47 verbose #4327 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:47 verbose #4328 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:47 verbose #4329 > > │ ### total_gas_burnt                                                          │
00:05:47 verbose #4330 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:47 verbose #4331 > >
00:05:47 verbose #4332 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:47 verbose #4333 > > inl total_gas_burnt (result : execution_final_result) : gas =
00:05:47 verbose #4334 > >     !\\(result, $'"$0.total_gas_burnt"')
00:05:47 verbose #4335 > 00:05:46   debug #323 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5f36f82f7c3ce0fb436774b93cd9f8df63a2cbe4063557471334a4a2b2dbc31b/main.spi
00:05:47 verbose #4336 > >
00:05:47 verbose #4337 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:47 verbose #4338 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:47 verbose #4339 > > │ ### as_gas                                                                   │
00:05:47 verbose #4340 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:47 verbose #4341 > >
00:05:47 verbose #4342 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:47 verbose #4343 > > inl as_gas (gas : gas) : u64 =
00:05:47 verbose #4344 > >     !\\(gas, $'"$0.as_gas()"')
00:05:48 verbose #4345 > 00:05:47   debug #324 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/db5ec98021f5b953dff420121dc92bb818ef37af11424a960878283f30a832ef/main.spi
00:05:48 verbose #4346 > >
00:05:48 verbose #4347 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:48 verbose #4348 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:48 verbose #4349 > > │ ### outcomes                                                                 │
00:05:48 verbose #4350 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:48 verbose #4351 > >
00:05:48 verbose #4352 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:48 verbose #4353 > > inl outcomes (result : execution_final_result) : am'.vec (rust.ref
00:05:48 verbose #4354 > > execution_outcome) =
00:05:48 verbose #4355 > >     inl result = result |> rust.emit
00:05:48 verbose #4356 > >     !\($'"!result.outcomes()"')
00:05:48 verbose #4357 > 00:05:47   debug #325 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cac7cd7f6fd5ad6f0cdfd9abb01f7a0966402f48cb3d21fd15daa5be875254c7/main.spi
00:05:48 verbose #4358 > >
00:05:48 verbose #4359 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:48 verbose #4360 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:48 verbose #4361 > > │ ### is_success                                                               │
00:05:48 verbose #4362 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:48 verbose #4363 > >
00:05:48 verbose #4364 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:48 verbose #4365 > > inl is_success (outcome : execution_outcome) : bool =
00:05:48 verbose #4366 > >     !\\(outcome, $'"$0.is_success()"')
00:05:49 verbose #4367 > 00:05:48   debug #326 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c46f01ccbef1c17532f886db32b047eaa06c52421e1db8443e194dad77ad8f13/main.spi
00:05:49 verbose #4368 > >
00:05:49 verbose #4369 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:49 verbose #4370 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:49 verbose #4371 > > │ ### gas_burnt                                                                │
00:05:49 verbose #4372 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:49 verbose #4373 > >
00:05:49 verbose #4374 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:49 verbose #4375 > > inl gas_burnt (outcome : execution_outcome) : gas =
00:05:49 verbose #4376 > >     !\\(outcome, $'"$0.gas_burnt"')
00:05:49 verbose #4377 > 00:05:48   debug #327 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8ada2536a7db50c742652dd141c888063c2771dd4b085b31b9dd6abb635cf095/main.spi
00:05:49 verbose #4378 > >
00:05:49 verbose #4379 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:49 verbose #4380 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:49 verbose #4381 > > │ ### tokens_burnt                                                             │
00:05:49 verbose #4382 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:49 verbose #4383 > >
00:05:49 verbose #4384 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:49 verbose #4385 > > inl tokens_burnt (outcome : execution_outcome) : near_token_workspaces =
00:05:49 verbose #4386 > >     !\\(outcome, $'"$0.tokens_burnt"')
00:05:50 verbose #4387 > 00:05:49   debug #328 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7b11f835e96b6d3b90c4ca1a79a4dfbaf29ead50a607166aaf9d35d92a49df36/main.spi
00:05:50 verbose #4388 > >
00:05:50 verbose #4389 > > ── markdown ────────────────────────────────────────────────────────────────────
00:05:50 verbose #4390 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:50 verbose #4391 > > │ ### print_usd                                                                │
00:05:50 verbose #4392 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:50 verbose #4393 > >
00:05:50 verbose #4394 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:50 verbose #4395 > > inl print_usd retry (result : execution_final_result) =
00:05:50 verbose #4396 > >     inl total_gas_burnt = result |> total_gas_burnt |> as_gas
00:05:50 verbose #4397 > >     inl total_gas_burnt_usd = total_gas_burnt |> near.gas_to_usd
00:05:50 verbose #4398 > >
00:05:50 verbose #4399 > >     trace Debug
00:05:50 verbose #4400 > >         fun () => "near_workspaces.print_usd"
00:05:50 verbose #4401 > >         fun () => { retry total_gas_burnt_usd total_gas_burnt }
00:05:50 verbose #4402 > >
00:05:50 verbose #4403 > >     result
00:05:50 verbose #4404 > >     |> outcomes
00:05:50 verbose #4405 > >     |> iter.into_iter
00:05:50 verbose #4406 > >     |> iter.cloned
00:05:50 verbose #4407 > >     |> iter.for_each fun outcome =>
00:05:50 verbose #4408 > >         inl is_success = outcome |> is_success
00:05:50 verbose #4409 > >
00:05:50 verbose #4410 > >         inl gas_burnt = outcome |> gas_burnt |> as_gas
00:05:50 verbose #4411 > >         inl gas_burnt_usd = gas_burnt |> near.gas_to_usd
00:05:50 verbose #4412 > >
00:05:50 verbose #4413 > >         inl tokens_burnt = outcome |> tokens_burnt |> near.as_yoctonear
00:05:50 verbose #4414 > >         inl tokens_burnt_usd = tokens_burnt |> near.tokens_to_usd
00:05:50 verbose #4415 > >
00:05:50 verbose #4416 > >         trace Debug
00:05:50 verbose #4417 > >             fun () => "near_workspaces.print_usd / outcome"
00:05:50 verbose #4418 > >             fun () => { is_success gas_burnt_usd tokens_burnt_usd gas_burnt
00:05:50 verbose #4419 > > tokens_burnt }
00:05:50 verbose #4420 > 00:05:49   debug #329 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cb80cdb57743902b87b96377eb5c6772ba3e566fb73dadb24586b386862b64d1/main.spi
00:05:50 verbose #4421 > 00:00:27 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 19003 }
00:05:50 verbose #4422 > 00:00:27   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:05:50 verbose #4423 >     "nbconvert",
00:05:50 verbose #4424 >     "c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib.ipynb",
00:05:50 verbose #4425 >     "--to",
00:05:50 verbose #4426 >     "html",
00:05:50 verbose #4427 >     "--HTMLExporter.theme=dark",
00:05:50 verbose #4428 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:05:54 verbose #4429 > 00:00:31 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib.ipynb to html
00:05:54 verbose #4430 > 00:00:31 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:05:54 verbose #4431 > 00:00:31 verbose #7 !   validate(nb)
00:05:56 verbose #4432 > 00:00:33 verbose #8 ! [NbConvertApp] Writing 326140 bytes to c:\home\git\polyglot\lib\spiral\rust\near_workspaces.dib.html
00:05:56 verbose #4433 > 00:00:33 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 671 }
00:05:56 verbose #4434 > 00:00:33   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 671 }
00:05:56 verbose #4435 > 00:00:33   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:05:56 verbose #4436 >     "-c",
00:05:56 verbose #4437 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:05:56 verbose #4438 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/rust/near_workspaces.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:05:58 verbose #4439 > 00:00:35 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:05:58 verbose #4440 > 00:00:35   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:05:58 verbose #4441 > 00:00:35   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 19733 }
00:05:58   debug #4442 runtime.execute_with_options_async / { exit_code = 0; output_length = 23305 }
00:05:58   debug #8 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path rust/near_workspaces.dib --retries 3
00:05:58   debug #4443 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path testing.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:05:58 verbose #4444 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "testing.dib", "--retries", "3"])) }
00:05:58 verbose #4445 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:05:58 verbose #4446 >     "repl",
00:05:58 verbose #4447 >     "--exit-after-run",
00:05:58 verbose #4448 >     "--run",
00:05:58 verbose #4449 >     "c:/home/git/polyglot/lib/spiral/testing.dib",
00:05:58 verbose #4450 >     "--output-path",
00:05:58 verbose #4451 >     "c:/home/git/polyglot/lib/spiral/testing.dib.ipynb",
00:05:58 verbose #4452 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/testing.dib" --output-path "c:/home/git/polyglot/lib/spiral/testing.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:06:02 verbose #4453 > >
00:06:02 verbose #4454 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:02 verbose #4455 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:02 verbose #4456 > > │ # testing                                                                    │
00:06:02 verbose #4457 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:02 verbose #4458 > >
00:06:02 verbose #4459 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:02 verbose #4460 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:02 verbose #4461 > > │ ## testing                                                                   │
00:06:02 verbose #4462 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:02 verbose #4463 > >
00:06:02 verbose #4464 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:02 verbose #4465 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:02 verbose #4466 > > │ ### testing_trace                                                            │
00:06:02 verbose #4467 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:08 verbose #4468 > >
00:06:08 verbose #4469 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:08 verbose #4470 > > union testing_trace =
00:06:08 verbose #4471 > >     | Console
00:06:08 verbose #4472 > >     | Trace
00:06:08 verbose #4473 > >     | TraceRaw
00:06:08 verbose #4474 > >     | Silent
00:06:09 verbose #4475 > 00:06:08   debug #330 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd031ce47be9199f940836c7bb2f3a3f8da66fe1eb0950bd3ad622437e0186ee/main.spi
00:06:10 verbose #4476 > >
00:06:10 verbose #4477 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:10 verbose #4478 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:10 verbose #4479 > > │ ### __expect                                                                 │
00:06:10 verbose #4480 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:10 verbose #4481 > >
00:06:10 verbose #4482 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:10 verbose #4483 > > inl rec __expect fn trace' name b a =
00:06:10 verbose #4484 > >     inl result = fn a b
00:06:10 verbose #4485 > >     inl result =
00:06:10 verbose #4486 > >         result || join result
00:06:10 verbose #4487 > >     inl get_raw_text () =
00:06:10 verbose #4488 > >         backend_switch {
00:06:10 verbose #4489 > >             Fsharp = fun () => $'$"{!name} / actual: %A{!a} / expected: %A{!b}"'
00:06:10 verbose #4490 > > : string
00:06:10 verbose #4491 > >             Python = fun () => $'f"{!name} / actual: {!a} / expected: {!b}"' :
00:06:10 verbose #4492 > > string
00:06:10 verbose #4493 > >         }
00:06:10 verbose #4494 > >     match trace' with
00:06:10 verbose #4495 > >     | Console =>
00:06:10 verbose #4496 > >         inl text = get_raw_text ()
00:06:10 verbose #4497 > >         text |> console.write_line
00:06:10 verbose #4498 > >         text
00:06:10 verbose #4499 > >     | Trace =>
00:06:10 verbose #4500 > >         trace Info (fun () => name) fun () => { actual = a; expected = b }
00:06:10 verbose #4501 > >         get_raw_text ()
00:06:10 verbose #4502 > >     | TraceRaw =>
00:06:10 verbose #4503 > >         inl text = get_raw_text ()
00:06:10 verbose #4504 > >         trace_raw Info fun () => text
00:06:10 verbose #4505 > >         text
00:06:10 verbose #4506 > >     | Silent => reflection.nameof { __expect }
00:06:10 verbose #4507 > >     |> assert result
00:06:10 verbose #4508 > 00:06:09   debug #331 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/92c84dd2a11071b6443c19592ff2e92b38fb0efbfdc9c755a1ea03c6cafd2a78/main.spi
00:06:10 verbose #4509 > >
00:06:10 verbose #4510 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:10 verbose #4511 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:10 verbose #4512 > > │ ### __assert_approx_eq                                                       │
00:06:10 verbose #4513 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:10 verbose #4514 > >
00:06:10 verbose #4515 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:10 verbose #4516 > > inl rec __assert_approx_eq trace e b a =
00:06:10 verbose #4517 > >     __expect
00:06:10 verbose #4518 > >         (fun a b => abs (b - a) < (e |> optionm.defaultWith 0.00000001))
00:06:10 verbose #4519 > >         trace
00:06:10 verbose #4520 > >         (reflection.nameof { __assert_approx_eq })
00:06:10 verbose #4521 > >         b
00:06:10 verbose #4522 > >         a
00:06:10 verbose #4523 > >
00:06:10 verbose #4524 > > inl _assert_approx_eq e b a =
00:06:10 verbose #4525 > >     __assert_approx_eq Console e b a
00:06:10 verbose #4526 > 00:06:09   debug #332 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/545675e8002d755958b5429890e7f54da150c30452656aad2e8252768a6ef2e9/main.spi
00:06:11 verbose #4527 > >
00:06:11 verbose #4528 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:11 verbose #4529 > > //// test
00:06:11 verbose #4530 > > ///! fsharp
00:06:11 verbose #4531 > > ///! cuda
00:06:11 verbose #4532 > > ///! rust
00:06:11 verbose #4533 > > ///! typescript
00:06:11 verbose #4534 > > ///! python
00:06:11 verbose #4535 > >
00:06:11 verbose #4536 > > 12.345f64
00:06:11 verbose #4537 > > |> _assert_approx_eq (Some 0.0001f64) 12.345f64
00:06:11 verbose #4538 > 00:06:10   debug #333 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1a92d6398607d8d75364062693c61d5a7d3ff52d0ef5440084b32d8ca7952819/main.spi
00:06:11 verbose #4539 > 00:06:10   debug #334 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc3b4e2f265902631ddd73339121bef29bfd86135cf1fd8aca6422d96bf02394/main.spi
00:06:20 verbose #4540 > >
00:06:20 verbose #4541 > > ╭─[ 9.42s - return value ]─────────────────────────────────────────────────────╮
00:06:20 verbose #4542 > > │ .py output (Cuda):                                                           │
00:06:20 verbose #4543 > > │ __assert_approx_eq / actual: 12.345 / expected: 12.345                       │
00:06:20 verbose #4544 > > │                                                                              │
00:06:20 verbose #4545 > > │ .rs output:                                                                  │
00:06:20 verbose #4546 > > │ __assert_approx_eq / actual: 12.345 / expected: 12.345                       │
00:06:20 verbose #4547 > > │                                                                              │
00:06:20 verbose #4548 > > │ .ts output:                                                                  │
00:06:20 verbose #4549 > > │ __assert_approx_eq / actual: 12.345 / expected: 12.345                       │
00:06:20 verbose #4550 > > │                                                                              │
00:06:20 verbose #4551 > > │ .py output:                                                                  │
00:06:20 verbose #4552 > > │ __assert_approx_eq / actual: 12.345 / expected: 12.345                       │
00:06:20 verbose #4553 > > │                                                                              │
00:06:20 verbose #4554 > > │                                                                              │
00:06:20 verbose #4555 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:20 verbose #4556 > >
00:06:20 verbose #4557 > > ╭─[ 9.43s - stdout ]───────────────────────────────────────────────────────────╮
00:06:20 verbose #4558 > > │ .fsx output:                                                                 │
00:06:20 verbose #4559 > > │ __assert_approx_eq / actual: 12.345 / expected: 12.345                       │
00:06:20 verbose #4560 > > │                                                                              │
00:06:20 verbose #4561 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:20 verbose #4562 > >
00:06:20 verbose #4563 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:20 verbose #4564 > > //// test
00:06:20 verbose #4565 > > //// print_code
00:06:20 verbose #4566 > >
00:06:20 verbose #4567 > > 1f64
00:06:20 verbose #4568 > > |> __assert_approx_eq Console (Some 3) 2
00:06:20 verbose #4569 > 00:06:19   debug #335 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4c7071cdbeda6bcd5ab7d77cd9f18aa43b017ca3457c030af83d20796c294dd4/main.spi
00:06:20 verbose #4570 > >
00:06:20 verbose #4571 > > ╭─[ 486.40ms - stdout ]────────────────────────────────────────────────────────╮
00:06:20 verbose #4572 > > │ let rec closure0 (v0 : string) () : unit =                                   │
00:06:20 verbose #4573 > > │     let v1 : (string -> unit) = System.Console.WriteLine                     │
00:06:20 verbose #4574 > > │     v1 v0                                                                    │
00:06:20 verbose #4575 > > │ and method0 () : unit =                                                      │
00:06:20 verbose #4576 > > │     let v0 : string = "__assert_approx_eq"                                   │
00:06:20 verbose #4577 > > │     let v1 : string = $"{v0} / actual: %A{1.0} / expected: %A{2.0}"          │
00:06:20 verbose #4578 > > │     let v4 : unit = ()                                                       │
00:06:20 verbose #4579 > > │     let v5 : (unit -> unit) = closure0(v1)                                   │
00:06:20 verbose #4580 > > │     let v6 : unit = (fun () -> v5 (); v4) ()                                 │
00:06:20 verbose #4581 > > │     ()                                                                       │
00:06:20 verbose #4582 > > │ method0()                                                                    │
00:06:20 verbose #4583 > > │                                                                              │
00:06:20 verbose #4584 > > │ __assert_approx_eq / actual: 1.0 / expected: 2.0                             │
00:06:20 verbose #4585 > > │                                                                              │
00:06:20 verbose #4586 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:20 verbose #4587 > >
00:06:20 verbose #4588 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:20 verbose #4589 > > //// test
00:06:20 verbose #4590 > > //// print_code
00:06:20 verbose #4591 > >
00:06:20 verbose #4592 > > (dyn 1f64)
00:06:20 verbose #4593 > > |> _assert_approx_eq (Some 3) 2
00:06:21 verbose #4594 > 00:06:20   debug #336 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1916a197bcb5a5b1c417f4db82eec778dc4126dbe5aa1992742d19af28d3fbe1/main.spi
00:06:21 verbose #4595 > >
00:06:21 verbose #4596 > > ╭─[ 693.50ms - stdout ]────────────────────────────────────────────────────────╮
00:06:21 verbose #4597 > > │ let rec method1 (v0 : bool) : bool =                                         │
00:06:21 verbose #4598 > > │     v0                                                                       │
00:06:21 verbose #4599 > > │ and closure0 (v0 : string) () : unit =                                       │
00:06:21 verbose #4600 > > │     let v1 : (string -> unit) = System.Console.WriteLine                     │
00:06:21 verbose #4601 > > │     v1 v0                                                                    │
00:06:21 verbose #4602 > > │ and method0 () : unit =                                                      │
00:06:21 verbose #4603 > > │     let v0 : float = 1.0                                                     │
00:06:21 verbose #4604 > > │     let v1 : float = 2.0 - v0                                                │
00:06:21 verbose #4605 > > │     let v2 : float =  -v1                                                    │
00:06:21 verbose #4606 > > │     let v3 : bool = v1 >= v2                                                 │
00:06:21 verbose #4607 > > │     let v4 : float =                                                         │
00:06:21 verbose #4608 > > │         if v3 then                                                           │
00:06:21 verbose #4609 > > │             v1                                                               │
00:06:21 verbose #4610 > > │         else                                                                 │
00:06:21 verbose #4611 > > │             v2                                                               │
00:06:21 verbose #4612 > > │     let v5 : bool = v4 < 3.0                                                 │
00:06:21 verbose #4613 > > │     let v7 : bool =                                                          │
00:06:21 verbose #4614 > > │         if v5 then                                                           │
00:06:21 verbose #4615 > > │             true                                                             │
00:06:21 verbose #4616 > > │         else                                                                 │
00:06:21 verbose #4617 > > │             method1(v5)                                                      │
00:06:21 verbose #4618 > > │     let v8 : string = "__assert_approx_eq"                                   │
00:06:21 verbose #4619 > > │     let v9 : string = $"{v8} / actual: %A{v0} / expected: %A{2.0}"           │
00:06:21 verbose #4620 > > │     let v12 : unit = ()                                                      │
00:06:21 verbose #4621 > > │     let v13 : (unit -> unit) = closure0(v9)                                  │
00:06:21 verbose #4622 > > │     let v14 : unit = (fun () -> v13 (); v12) ()                              │
00:06:21 verbose #4623 > > │     let v16 : bool = v7 = false                                              │
00:06:21 verbose #4624 > > │     if v16 then                                                              │
00:06:21 verbose #4625 > > │         failwith<unit> v9                                                    │
00:06:21 verbose #4626 > > │ method0()                                                                    │
00:06:21 verbose #4627 > > │                                                                              │
00:06:21 verbose #4628 > > │ __assert_approx_eq / actual: 1.0 / expected: 2.0                             │
00:06:21 verbose #4629 > > │                                                                              │
00:06:21 verbose #4630 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:21 verbose #4631 > >
00:06:21 verbose #4632 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:21 verbose #4633 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:21 verbose #4634 > > │ ### __assert_eq                                                              │
00:06:21 verbose #4635 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:21 verbose #4636 > >
00:06:21 verbose #4637 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:21 verbose #4638 > > inl rec __assert_eq trace b a =
00:06:21 verbose #4639 > >     __expect (=) trace (reflection.nameof { __assert_eq }) b a
00:06:21 verbose #4640 > >
00:06:21 verbose #4641 > > inl _assert_eq b a =
00:06:21 verbose #4642 > >     __assert_eq Console b a
00:06:21 verbose #4643 > 00:06:20   debug #337 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ea01eeb838d3ad7663d848f9e70388dbe4d50dc23b21246d22b63f9f946fd155/main.spi
00:06:22 verbose #4644 > >
00:06:22 verbose #4645 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:22 verbose #4646 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:22 verbose #4647 > > │ ### __assert_eq'                                                             │
00:06:22 verbose #4648 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:22 verbose #4649 > >
00:06:22 verbose #4650 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:22 verbose #4651 > > inl rec __assert_eq' trace b a =
00:06:22 verbose #4652 > >     __expect (=.) trace (reflection.nameof { __assert_eq' }) b a
00:06:22 verbose #4653 > >
00:06:22 verbose #4654 > > inl _assert_eq' b a =
00:06:22 verbose #4655 > >     __assert_eq' Console b a
00:06:22 verbose #4656 > 00:06:21   debug #338 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/578ec35b4c98304f0ddcb790da3da66ff085439c514d61cc154f4bea9cb8e750/main.spi
00:06:22 verbose #4657 > >
00:06:22 verbose #4658 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:22 verbose #4659 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:22 verbose #4660 > > │ ### __assert_ne                                                              │
00:06:22 verbose #4661 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:22 verbose #4662 > >
00:06:22 verbose #4663 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:22 verbose #4664 > > inl rec __assert_ne trace b a =
00:06:22 verbose #4665 > >     __expect (<>.) trace (reflection.nameof { __assert_ne }) b a
00:06:22 verbose #4666 > >
00:06:22 verbose #4667 > > inl _assert_ne b a =
00:06:22 verbose #4668 > >     __assert_ne Console b a
00:06:22 verbose #4669 > 00:06:21   debug #339 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9ed63d0d907f1fbc3e5b6c9fc2aab8b5b2cebcfca95db7e2faf58f75c6c491ab/main.spi
00:06:22 verbose #4670 > >
00:06:22 verbose #4671 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:22 verbose #4672 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:22 verbose #4673 > > │ ### __assert_gt                                                              │
00:06:22 verbose #4674 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:22 verbose #4675 > >
00:06:22 verbose #4676 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:22 verbose #4677 > > inl rec __assert_gt trace b a =
00:06:22 verbose #4678 > >     __expect (>) trace (reflection.nameof { __assert_gt }) b a
00:06:22 verbose #4679 > >
00:06:22 verbose #4680 > > inl _assert_gt b a =
00:06:22 verbose #4681 > >     __assert_gt Console b a
00:06:23 verbose #4682 > 00:06:22   debug #340 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/efcce450978b8d7ba2fd260de46b0cacae862939e8ddd5f25006da419352755a/main.spi
00:06:23 verbose #4683 > >
00:06:23 verbose #4684 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:23 verbose #4685 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:23 verbose #4686 > > │ ### __assert_ge                                                              │
00:06:23 verbose #4687 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:23 verbose #4688 > >
00:06:23 verbose #4689 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:23 verbose #4690 > > inl rec __assert_ge trace b a =
00:06:23 verbose #4691 > >     __expect (>=) trace (reflection.nameof { __assert_ge }) b a
00:06:23 verbose #4692 > >
00:06:23 verbose #4693 > > inl _assert_ge b a =
00:06:23 verbose #4694 > >     __assert_ge Console b a
00:06:23 verbose #4695 > 00:06:22   debug #341 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9af26a883a14ae0fa5c464b257068df8fc24b86c5a975ac8ce39332bf404c0db/main.spi
00:06:23 verbose #4696 > >
00:06:23 verbose #4697 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:23 verbose #4698 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:23 verbose #4699 > > │ ### __assert_lt                                                              │
00:06:23 verbose #4700 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:23 verbose #4701 > >
00:06:23 verbose #4702 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:23 verbose #4703 > > inl rec __assert_lt trace b a =
00:06:23 verbose #4704 > >     __expect (<) trace (reflection.nameof { __assert_lt }) b a
00:06:23 verbose #4705 > >
00:06:23 verbose #4706 > > inl _assert_lt b a =
00:06:23 verbose #4707 > >     __assert_lt Console b a
00:06:24 verbose #4708 > 00:06:23   debug #342 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ead7cfe3f86343a371eb76438f4d527cc996e7816182b7effb60c139ef705730/main.spi
00:06:24 verbose #4709 > >
00:06:24 verbose #4710 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:24 verbose #4711 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:24 verbose #4712 > > │ ### __assert_le                                                              │
00:06:24 verbose #4713 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:24 verbose #4714 > >
00:06:24 verbose #4715 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:24 verbose #4716 > > inl rec __assert_le trace b a =
00:06:24 verbose #4717 > >     __expect (<=) trace (reflection.nameof { __assert_le }) b a
00:06:24 verbose #4718 > >
00:06:24 verbose #4719 > > inl _assert_le b a =
00:06:24 verbose #4720 > >     __assert_le Console b a
00:06:24 verbose #4721 > 00:06:23   debug #343 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/21daf0447f21063ad2b755a517f0305a13c754541fc9652a497340e29dd2dc50/main.spi
00:06:24 verbose #4722 > >
00:06:24 verbose #4723 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:24 verbose #4724 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:24 verbose #4725 > > │ ### __assert_string_contains                                                 │
00:06:24 verbose #4726 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:24 verbose #4727 > >
00:06:24 verbose #4728 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:24 verbose #4729 > > inl rec __assert_string_contains trace b a =
00:06:24 verbose #4730 > >     __expect sm'.contains trace (reflection.nameof { __assert_string_contains })
00:06:24 verbose #4731 > > a b
00:06:24 verbose #4732 > >
00:06:24 verbose #4733 > > inl _assert_string_contains b a =
00:06:24 verbose #4734 > >     __assert_string_contains Console b a
00:06:25 verbose #4735 > 00:06:24   debug #344 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/04944b537bdf9463cbd202781c3f24aa034b7a7fb10dad6d186f4bc041681082/main.spi
00:06:25 verbose #4736 > >
00:06:25 verbose #4737 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:25 verbose #4738 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:25 verbose #4739 > > │ ### __assert_between                                                         │
00:06:25 verbose #4740 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:25 verbose #4741 > >
00:06:25 verbose #4742 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:25 verbose #4743 > > inl rec __assert_between trace a b actual =
00:06:25 verbose #4744 > >     inl assert_between actual (a, b) =
00:06:25 verbose #4745 > >         __assert_ge Silent a actual
00:06:25 verbose #4746 > >         __assert_le Silent b actual
00:06:25 verbose #4747 > >         true
00:06:25 verbose #4748 > >     __expect assert_between trace (reflection.nameof { __assert_between }) (a,
00:06:25 verbose #4749 > > b) actual
00:06:25 verbose #4750 > >
00:06:25 verbose #4751 > > inl _assert_between a b actual =
00:06:25 verbose #4752 > >     __assert_between Console a b actual
00:06:25 verbose #4753 > 00:06:24   debug #345 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/95716f8fd3df6006dd63a134104367c6e1430f66fea9b44e16d6035e7eb08df3/main.spi
00:06:25 verbose #4754 > >
00:06:25 verbose #4755 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:25 verbose #4756 > > inl rec _assert_fn fn list =
00:06:25 verbose #4757 > >     list
00:06:25 verbose #4758 > >     |> listm.rev
00:06:25 verbose #4759 > >     |> listm.map fun input, expected => join
00:06:25 verbose #4760 > >         input
00:06:25 verbose #4761 > >         |> fn
00:06:25 verbose #4762 > >         |> resultm.get
00:06:25 verbose #4763 > >         |> fun x =>
00:06:25 verbose #4764 > >             inl expected' = join expected
00:06:25 verbose #4765 > >             inl name = reflection.nameof { _assert_fn }
00:06:25 verbose #4766 > >             try
00:06:25 verbose #4767 > >                 fun () =>
00:06:25 verbose #4768 > >                     console.write_line ""
00:06:25 verbose #4769 > >                     trace Verbose
00:06:25 verbose #4770 > >                         fun () => name
00:06:25 verbose #4771 > >                         fun () => { input }
00:06:25 verbose #4772 > >                     x
00:06:25 verbose #4773 > >                     |> _assert_eq' expected'
00:06:25 verbose #4774 > >                     true
00:06:25 verbose #4775 > >                 fun ex =>
00:06:25 verbose #4776 > >                     trace Critical
00:06:25 verbose #4777 > >                         fun () =>
00:06:25 verbose #4778 > >                             $'$"{!name} / error"'
00:06:25 verbose #4779 > >                         fun () => { ex expected }
00:06:25 verbose #4780 > >                     Some false
00:06:25 verbose #4781 > >             |> optionm.value
00:06:25 verbose #4782 > >     |> listm'.filter not
00:06:25 verbose #4783 > >     |> function
00:06:25 verbose #4784 > >         | [[]] => ()
00:06:25 verbose #4785 > >         | x => failwith $'$"{!x}"'
00:06:25 verbose #4786 > 00:06:24   debug #346 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b224d586fb29d17e83d7f84412df688c0b2579dba4655b80acbeebe0e0ae8e54/main.spi
00:06:26 verbose #4787 > >
00:06:26 verbose #4788 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:26 verbose #4789 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:26 verbose #4790 > > │ ## fsharp                                                                    │
00:06:26 verbose #4791 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:26 verbose #4792 > >
00:06:26 verbose #4793 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:26 verbose #4794 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:26 verbose #4795 > > │ ### __assert_contains                                                        │
00:06:26 verbose #4796 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:26 verbose #4797 > >
00:06:26 verbose #4798 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:26 verbose #4799 > > inl rec __assert_contains forall t u. (trace : testing_trace) (b : t) (a : u) :
00:06:26 verbose #4800 > > () =
00:06:26 verbose #4801 > >     __expect
00:06:26 verbose #4802 > >         fun a b =>
00:06:26 verbose #4803 > >             a
00:06:26 verbose #4804 > >             |> $'List.ofSeq'
00:06:26 verbose #4805 > >             |> fun x => x : listm'.list' t
00:06:26 verbose #4806 > >             |> $'List.tryFind' ((=) b)
00:06:26 verbose #4807 > >             |> optionm'.unbox
00:06:26 verbose #4808 > >             |> fun (x : option t) => x <> None
00:06:26 verbose #4809 > >         trace
00:06:26 verbose #4810 > >         // TODO: forall nameof (Cannot dyn a forall into a runtime var.)
00:06:26 verbose #4811 > >         // Metavars that are not part of the enclosing function's signature are
00:06:26 verbose #4812 > > not allowed. They need to be values.
00:06:26 verbose #4813 > >         // Got: {__assert_contains : testing_trace -> _ -> _ -> ()} -> string
00:06:26 verbose #4814 > >         // (reflection.nameof { __assert_contains })
00:06:26 verbose #4815 > >         "__assert_contains"
00:06:26 verbose #4816 > >         b
00:06:26 verbose #4817 > >         a
00:06:26 verbose #4818 > >
00:06:26 verbose #4819 > > inl _assert_contains b a =
00:06:26 verbose #4820 > >     __assert_contains Console b a
00:06:26 verbose #4821 > 00:06:25   debug #347 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/daa24be859b95ca60db0f6650dc430955ab9232a7a7f576a901d4256d008c8fa/main.spi
00:06:26 verbose #4822 > >
00:06:26 verbose #4823 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:26 verbose #4824 > > //// test
00:06:26 verbose #4825 > >
00:06:26 verbose #4826 > > ;[[ "a"; "b"; "c" ]]
00:06:26 verbose #4827 > > |> _assert_contains "b"
00:06:26 verbose #4828 > 00:06:25   debug #348 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fb42d9e59ee0d3318cbd56cdd97ef371793db6f0af2aaad0488c2c80dd3e01ff/main.spi
00:06:27 verbose #4829 > >
00:06:27 verbose #4830 > > ╭─[ 1.21s - stdout ]───────────────────────────────────────────────────────────╮
00:06:27 verbose #4831 > > │ __assert_contains / actual: [|"a"; "b"; "c"|] / expected: "b"                │
00:06:27 verbose #4832 > > │                                                                              │
00:06:27 verbose #4833 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:27 verbose #4834 > >
00:06:27 verbose #4835 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:27 verbose #4836 > > //// test
00:06:27 verbose #4837 > >
00:06:27 verbose #4838 > > "abcd"
00:06:27 verbose #4839 > > |> _assert_contains 'b'
00:06:27 verbose #4840 > 00:06:27   debug #349 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dbea44fd0eaaf2b0a9944ce4ac4b7ceee75e939a33573064dc59d0967ddb11c2/main.spi
00:06:28 verbose #4841 > >
00:06:28 verbose #4842 > > ╭─[ 503.62ms - stdout ]────────────────────────────────────────────────────────╮
00:06:28 verbose #4843 > > │ __assert_contains / actual: "abcd" / expected: 'b'                           │
00:06:28 verbose #4844 > > │                                                                              │
00:06:28 verbose #4845 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:28 verbose #4846 > >
00:06:28 verbose #4847 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:28 verbose #4848 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:28 verbose #4849 > > │ ### _throws                                                                  │
00:06:28 verbose #4850 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:28 verbose #4851 > >
00:06:28 verbose #4852 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:28 verbose #4853 > > inl _throws (fn : () -> ()) : option exn =
00:06:28 verbose #4854 > >     inl none = None : option exn
00:06:28 verbose #4855 > >     inl some (s : exn) = Some s
00:06:28 verbose #4856 > >     $'try !fn (); !none with ex -> ex |> !some '
00:06:28 verbose #4857 > 00:06:27   debug #350 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a9ba070a9a19bf036dba60f1f616f73fcdc078c3ba706394e5a3c4aaac44440e/main.spi
00:06:28 verbose #4858 > >
00:06:28 verbose #4859 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:28 verbose #4860 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:28 verbose #4861 > > │ ### print_and_return                                                         │
00:06:28 verbose #4862 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:28 verbose #4863 > >
00:06:28 verbose #4864 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:28 verbose #4865 > > inl rec print_and_return x =
00:06:28 verbose #4866 > >     inl name = reflection.nameof { print_and_return }
00:06:28 verbose #4867 > >     $'printfn $"{!name} / x: {!x}"'
00:06:28 verbose #4868 > >     x
00:06:28 verbose #4869 > 00:06:28   debug #351 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7de7ee4c4eee4c8f5b4b5cdf2c4256add01e218d742965940fe564ff16734725/main.spi
00:06:29 verbose #4870 > 00:00:30 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 18981 }
00:06:29 verbose #4871 > 00:00:30   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:06:29 verbose #4872 >     "nbconvert",
00:06:29 verbose #4873 >     "c:/home/git/polyglot/lib/spiral/testing.dib.ipynb",
00:06:29 verbose #4874 >     "--to",
00:06:29 verbose #4875 >     "html",
00:06:29 verbose #4876 >     "--HTMLExporter.theme=dark",
00:06:29 verbose #4877 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/testing.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:06:32 verbose #4878 > 00:00:34 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/testing.dib.ipynb to html
00:06:32 verbose #4879 > 00:00:34 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:06:32 verbose #4880 > 00:00:34 verbose #7 !   validate(nb)
00:06:35 verbose #4881 > 00:06:34   debug #352 Supervisor.supervisor_server.BuildFile / file: c:/home/git/dice/contract/dice_contract.spi
00:06:35 verbose #4882 > 00:00:36 verbose #8 ! [NbConvertApp] Writing 318246 bytes to c:\home\git\polyglot\lib\spiral\testing.dib.html
00:06:35 verbose #4883 > 00:00:36 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 645 }
00:06:35 verbose #4884 > 00:00:36   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 645 }
00:06:35 verbose #4885 > 00:00:36   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:06:35 verbose #4886 >     "-c",
00:06:35 verbose #4887 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/testing.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:06:35 verbose #4888 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/testing.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:06:37 verbose #4889 > 00:00:38 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:06:37 verbose #4890 > 00:00:38   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:06:38 verbose #4891 > 00:00:39   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 19685 }
00:06:38   debug #4892 runtime.execute_with_options_async / { exit_code = 0; output_length = 23162 }
00:06:38   debug #9 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path testing.dib --retries 3
00:06:38   debug #4893 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path guid.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:06:38 verbose #4894 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "guid.dib", "--retries", "3"])) }
00:06:38 verbose #4895 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:06:38 verbose #4896 >     "repl",
00:06:38 verbose #4897 >     "--exit-after-run",
00:06:38 verbose #4898 >     "--run",
00:06:38 verbose #4899 >     "c:/home/git/polyglot/lib/spiral/guid.dib",
00:06:38 verbose #4900 >     "--output-path",
00:06:38 verbose #4901 >     "c:/home/git/polyglot/lib/spiral/guid.dib.ipynb",
00:06:38 verbose #4902 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/guid.dib" --output-path "c:/home/git/polyglot/lib/spiral/guid.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:06:41 verbose #4903 > >
00:06:41 verbose #4904 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:41 verbose #4905 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:41 verbose #4906 > > │ # guid                                                                       │
00:06:41 verbose #4907 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:48 verbose #4908 > >
00:06:48 verbose #4909 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:48 verbose #4910 > > //// test
00:06:48 verbose #4911 > >
00:06:48 verbose #4912 > > open testing
00:06:49 verbose #4913 > 00:06:48   debug #353 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:06:50 verbose #4914 > >
00:06:50 verbose #4915 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:50 verbose #4916 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:50 verbose #4917 > > │ ## guid                                                                      │
00:06:50 verbose #4918 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:50 verbose #4919 > >
00:06:50 verbose #4920 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:50 verbose #4921 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:50 verbose #4922 > > │ ### guid                                                                     │
00:06:50 verbose #4923 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:50 verbose #4924 > >
00:06:50 verbose #4925 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:50 verbose #4926 > > nominal guid_python =
00:06:50 verbose #4927 > >     `(
00:06:50 verbose #4928 > >         global "import uuid"
00:06:50 verbose #4929 > >         $'' : $'uuid.UUID'
00:06:50 verbose #4930 > >     )
00:06:50 verbose #4931 > > type guid_switch =
00:06:50 verbose #4932 > >     {
00:06:50 verbose #4933 > >         Fsharp : $'System.Guid'
00:06:50 verbose #4934 > >         Python : guid_python
00:06:50 verbose #4935 > >     }
00:06:50 verbose #4936 > > nominal guid = $'backend_switch `(guid_switch)'
00:06:50 verbose #4937 > 00:06:49   debug #354 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76f39c2d3bb155a3e49cc7814ea62906913b7ef6d73d63733323d3f176bbcd8e/main.spi
00:06:50 verbose #4938 > >
00:06:50 verbose #4939 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:50 verbose #4940 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:50 verbose #4941 > > │ ### new_guid                                                                 │
00:06:50 verbose #4942 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:50 verbose #4943 > >
00:06:50 verbose #4944 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:50 verbose #4945 > > inl new_guid (x : string) : guid =
00:06:50 verbose #4946 > >     x |> convert
00:06:50 verbose #4947 > 00:06:50   debug #355 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/01d0cb264dec434da1d6d41bde7f4bfcbd45b373e83a133a6851f76e8489b81c/main.spi
00:06:51 verbose #4948 > >
00:06:51 verbose #4949 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:51 verbose #4950 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:51 verbose #4951 > > │ ### new_raw_guid                                                             │
00:06:51 verbose #4952 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:51 verbose #4953 > >
00:06:51 verbose #4954 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:51 verbose #4955 > > inl new_raw_guid () : guid =
00:06:51 verbose #4956 > >     backend_switch {
00:06:51 verbose #4957 > >         Fsharp = fun () => $'System.Guid.NewGuid' () : guid
00:06:51 verbose #4958 > >         Python = fun () => $'uuid.uuid4()' : guid
00:06:51 verbose #4959 > >     }
00:06:51 verbose #4960 > 00:06:50   debug #356 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4581c26dc5a5bb3dffc1b00d3d164cbaa472cbdcaad2a170f0dc05fcb25973fa/main.spi
00:06:51 verbose #4961 > >
00:06:51 verbose #4962 > > ── markdown ────────────────────────────────────────────────────────────────────
00:06:51 verbose #4963 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:51 verbose #4964 > > │ ### hash_guid                                                                │
00:06:51 verbose #4965 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:51 verbose #4966 > >
00:06:51 verbose #4967 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:51 verbose #4968 > > type hash_guid = guid
00:06:51 verbose #4969 > >
00:06:51 verbose #4970 > > let hash_guid (~hash : string) : hash_guid =
00:06:51 verbose #4971 > >     run_target function
00:06:51 verbose #4972 > >         | Rust (Contract) => fun () => null ()
00:06:51 verbose #4973 > >         | _ => fun () =>
00:06:51 verbose #4974 > >             inl hash = hash |> sm'.pad_left 32i32 '0'
00:06:51 verbose #4975 > >             backend_switch {
00:06:51 verbose #4976 > >                 Fsharp = fun () =>
00:06:51 verbose #4977 > >                     $'`hash_guid
00:06:51 verbose #4978 > > $"{!hash.[[0..7]]}-{!hash.[[8..11]]}-{!hash.[[12..15]]}-{!hash.[[16..19]]}-{!has
00:06:51 verbose #4979 > > h.[[20..31]]}"' : hash_guid
00:06:51 verbose #4980 > >                 Python = fun () =>
00:06:51 verbose #4981 > > $'f"{!hash[[0:8]]}-{!hash[[8:12]]}-{!hash[[12:16]]}-{!hash[[16:20]]}-{!hash[[20:
00:06:51 verbose #4982 > > 32]]}"' : hash_guid
00:06:51 verbose #4983 > >             }
00:06:51 verbose #4984 > 00:06:50   debug #357 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/14de12f0a51462c69996aa1670a6623acbb48dbc08c6e23caf4f26b57897ed42/main.spi
00:06:52 verbose #4985 > >
00:06:52 verbose #4986 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:52 verbose #4987 > > //// test
00:06:52 verbose #4988 > > ///! fsharp
00:06:52 verbose #4989 > > ///! cuda
00:06:52 verbose #4990 > > ///! rust
00:06:52 verbose #4991 > > ///! typescript
00:06:52 verbose #4992 > > ///! python
00:06:52 verbose #4993 > >
00:06:52 verbose #4994 > > ""
00:06:52 verbose #4995 > > |> hash_guid
00:06:52 verbose #4996 > > |> _assert_eq' (new_guid "00000000-0000-0000-0000-000000000000")
00:06:52 verbose #4997 > >
00:06:52 verbose #4998 > > "123456789012345678901234567890123"
00:06:52 verbose #4999 > > |> hash_guid
00:06:52 verbose #5000 > > |> _assert_eq' (new_guid "12345678-9012-3456-7890-123456789012")
00:06:52 verbose #5001 > 00:06:51   debug #358 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2a624d9e41158d1eaf1cae26c62273d35a36788b40f4a6aaa020223dfd3e93b6/main.spi
00:06:52 verbose #5002 > 00:06:51   debug #359 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/029223bcab6fd474a1c6ded9d32f89c5c5ccb7725726d0dd4eb4f806d1ed0361/main.spi
00:07:03 verbose #5003 > >
00:07:03 verbose #5004 > > ╭─[ 11.14s - return value ]────────────────────────────────────────────────────╮
00:07:03 verbose #5005 > > │                                                                              │
00:07:03 verbose #5006 > > │ .py output (Cuda):                                                           │
00:07:03 verbose #5007 > > │ __assert_eq' / actual: 00000000-0000-0000-0000-000000000000 / expected:      │
00:07:03 verbose #5008 > > │ 00000000-0000-0000-0000-000000000000                                         │
00:07:03 verbose #5009 > > │ __assert_eq' / actual: 12345678-9012-3456-7890-123456789012 / expected:      │
00:07:03 verbose #5010 > > │ 12345678-9012-3456-7890-123456789012                                         │
00:07:03 verbose #5011 > > │                                                                              │
00:07:03 verbose #5012 > > │                                                                              │
00:07:03 verbose #5013 > > │ .rs output:                                                                  │
00:07:03 verbose #5014 > > │ __assert_eq' / actual: Guid(00000000-0000-0000-0000-000000000000) /          │
00:07:03 verbose #5015 > > │ expected: Guid(00000000-0000-0000-0000-000000000000)                         │
00:07:03 verbose #5016 > > │ __assert_eq' / actual: Guid(12345678-9012-3456-7890-123456789012) /          │
00:07:03 verbose #5017 > > │ expected: Guid(12345678-9012-3456-7890-123456789012)                         │
00:07:03 verbose #5018 > > │                                                                              │
00:07:03 verbose #5019 > > │                                                                              │
00:07:03 verbose #5020 > > │ .ts output:                                                                  │
00:07:03 verbose #5021 > > │ __assert_eq' / actual: 00000000-0000-0000-0000-000000000000 / expected:      │
00:07:03 verbose #5022 > > │ 00000000-0000-0000-0000-000000000000                                         │
00:07:03 verbose #5023 > > │ __assert_eq' / actual: 12345678-9012-3456-7890-123456789012 / expected:      │
00:07:03 verbose #5024 > > │ 12345678-9012-3456-7890-123456789012                                         │
00:07:03 verbose #5025 > > │                                                                              │
00:07:03 verbose #5026 > > │                                                                              │
00:07:03 verbose #5027 > > │ .py output:                                                                  │
00:07:03 verbose #5028 > > │ __assert_eq' / actual: 00000000-0000-0000-0000-000000000000 / expected:      │
00:07:03 verbose #5029 > > │ 00000000-0000-0000-0000-000000000000                                         │
00:07:03 verbose #5030 > > │ __assert_eq' / actual: 12345678-9012-3456-7890-123456789012 / expected:      │
00:07:03 verbose #5031 > > │ 12345678-9012-3456-7890-123456789012                                         │
00:07:03 verbose #5032 > > │                                                                              │
00:07:03 verbose #5033 > > │                                                                              │
00:07:03 verbose #5034 > > │                                                                              │
00:07:03 verbose #5035 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:03 verbose #5036 > >
00:07:03 verbose #5037 > > ╭─[ 11.15s - stdout ]──────────────────────────────────────────────────────────╮
00:07:03 verbose #5038 > > │ .fsx output:                                                                 │
00:07:03 verbose #5039 > > │ __assert_eq' / actual: 00000000-0000-0000-0000-000000000000 / expected:      │
00:07:03 verbose #5040 > > │ 00000000-0000-0000-0000-000000000000                                         │
00:07:03 verbose #5041 > > │ __assert_eq' / actual: 12345678-9012-3456-7890-123456789012 / expected:      │
00:07:03 verbose #5042 > > │ 12345678-9012-3456-7890-123456789012                                         │
00:07:03 verbose #5043 > > │                                                                              │
00:07:03 verbose #5044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:03 verbose #5045 > >
00:07:03 verbose #5046 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:03 verbose #5047 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:03 verbose #5048 > > │ ## main                                                                      │
00:07:03 verbose #5049 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:03 verbose #5050 > >
00:07:03 verbose #5051 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:03 verbose #5052 > > inl main () =
00:07:03 verbose #5053 > >     $'let new_guid x = !new_guid x' : ()
00:07:03 verbose #5054 > >     $'let hash_guid x = !hash_guid x' : ()
00:07:03 verbose #5055 > >     $'let new_raw_guid x = !new_raw_guid x' : ()
00:07:03 verbose #5056 > 00:07:02   debug #360 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/50e870ed3113fa38d48999c67f0885e6d6f6e39278589a7e78ac83294059b436/main.spi
00:07:04 verbose #5057 > 00:00:25 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 7553 }
00:07:04 verbose #5058 > 00:00:25   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:07:04 verbose #5059 >     "nbconvert",
00:07:04 verbose #5060 >     "c:/home/git/polyglot/lib/spiral/guid.dib.ipynb",
00:07:04 verbose #5061 >     "--to",
00:07:04 verbose #5062 >     "html",
00:07:04 verbose #5063 >     "--HTMLExporter.theme=dark",
00:07:04 verbose #5064 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/guid.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:07:07 verbose #5065 > 00:00:29 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/guid.dib.ipynb to html
00:07:07 verbose #5066 > 00:00:29 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:07:07 verbose #5067 > 00:00:29 verbose #7 !   validate(nb)
00:07:09 verbose #5068 > 00:00:31 verbose #8 ! [NbConvertApp] Writing 284653 bytes to c:\home\git\polyglot\lib\spiral\guid.dib.html
00:07:09 verbose #5069 > 00:00:31 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 639 }
00:07:09 verbose #5070 > 00:00:31   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 639 }
00:07:09 verbose #5071 > 00:00:31   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:07:09 verbose #5072 >     "-c",
00:07:09 verbose #5073 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/guid.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:07:09 verbose #5074 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/guid.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:07:11 verbose #5075 > 00:00:33 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:07:11 verbose #5076 > 00:00:33   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:07:12 verbose #5077 > 00:00:34   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 8251 }
00:07:12   debug #5078 runtime.execute_with_options_async / { exit_code = 0; output_length = 11201 }
00:07:12   debug #10 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path guid.dib --retries 3
00:07:12   debug #5079 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path async.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:07:12 verbose #5080 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "async.dib", "--retries", "3"])) }
00:07:12 verbose #5081 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:07:12 verbose #5082 >     "repl",
00:07:12 verbose #5083 >     "--exit-after-run",
00:07:12 verbose #5084 >     "--run",
00:07:12 verbose #5085 >     "c:/home/git/polyglot/lib/spiral/async.dib",
00:07:12 verbose #5086 >     "--output-path",
00:07:12 verbose #5087 >     "c:/home/git/polyglot/lib/spiral/async.dib.ipynb",
00:07:12 verbose #5088 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/async.dib" --output-path "c:/home/git/polyglot/lib/spiral/async.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:07:17 verbose #5089 > >
00:07:17 verbose #5090 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:17 verbose #5091 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:17 verbose #5092 > > │ # async                                                                      │
00:07:17 verbose #5093 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:25 verbose #5094 > >
00:07:25 verbose #5095 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:25 verbose #5096 > > //// test
00:07:25 verbose #5097 > >
00:07:25 verbose #5098 > > open testing
00:07:26 verbose #5099 > 00:07:25   debug #361 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:07:27 verbose #5100 > >
00:07:27 verbose #5101 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:27 verbose #5102 > > open rust
00:07:27 verbose #5103 > > open rust_operators
00:07:27 verbose #5104 > 00:07:26   debug #362 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/99d3bf64d597281af4b0797a894e23c32802a4d97ba91164826ac21a270d370b/main.spi
00:07:28 verbose #5105 > >
00:07:28 verbose #5106 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:28 verbose #5107 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:28 verbose #5108 > > │ ## rust                                                                      │
00:07:28 verbose #5109 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:28 verbose #5110 > >
00:07:28 verbose #5111 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:28 verbose #5112 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:28 verbose #5113 > > │ ### future                                                                   │
00:07:28 verbose #5114 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:28 verbose #5115 > >
00:07:28 verbose #5116 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:28 verbose #5117 > > nominal future t =
00:07:28 verbose #5118 > >     `(
00:07:28 verbose #5119 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:28 verbose #5120 > > Fable.Core.Emit(\"std::future::Future<Output = $0>\")>]]\n#endif\ntype
00:07:28 verbose #5121 > > std_future_Future<'T> = class end"
00:07:28 verbose #5122 > >         $'' : $'std_future_Future<`t>'
00:07:28 verbose #5123 > >     )
00:07:28 verbose #5124 > 00:07:27   debug #363 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f5e8afc44eacb2c784de51e56574af62ce18271eae341164d4a53c7ea6e5ede/main.spi
00:07:28 verbose #5125 > >
00:07:28 verbose #5126 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:28 verbose #5127 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:28 verbose #5128 > > │ ### future_pin                                                               │
00:07:28 verbose #5129 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:28 verbose #5130 > >
00:07:28 verbose #5131 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:28 verbose #5132 > > type future_pin t = rust.pin (rust.box (rust.dyn' (future t)))
00:07:28 verbose #5133 > 00:07:27   debug #364 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/abbdb87c07dba5bf75a7b3938b3b0c68e0f916b188f7a8dfaabfa40757a93d79/main.spi
00:07:28 verbose #5134 > >
00:07:28 verbose #5135 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:28 verbose #5136 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:28 verbose #5137 > > │ ### future_pin_send                                                          │
00:07:28 verbose #5138 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:28 verbose #5139 > >
00:07:28 verbose #5140 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:28 verbose #5141 > > type future_pin_send t = rust.pin (rust.box (rust.send (rust.dyn' (future t))))
00:07:29 verbose #5142 > 00:07:28   debug #365 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e581cea090484d20882cb9ce6ab3c42c975b42f3e6612c3f1951bb4a45cb4e9f/main.spi
00:07:29 verbose #5143 > >
00:07:29 verbose #5144 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:29 verbose #5145 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:29 verbose #5146 > > │ ### block_on                                                                 │
00:07:29 verbose #5147 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:29 verbose #5148 > >
00:07:29 verbose #5149 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:29 verbose #5150 > > inl block_on forall t. (fn : future_pin t) : t =
00:07:29 verbose #5151 > >     inl runtime : infer =
00:07:29 verbose #5152 > >
00:07:29 verbose #5153 > > !\($'$"tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap()
00:07:29 verbose #5154 > > "')
00:07:29 verbose #5155 > >     !\\(fn, $'"!runtime.handle().block_on($0)"')
00:07:29 verbose #5156 > 00:07:28   debug #366 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/da58e3341ba27cbc7ad6108bbfa5dae4fed5f675fbc8d63feba2f38ba7e9c6f6/main.spi
00:07:29 verbose #5157 > >
00:07:29 verbose #5158 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:29 verbose #5159 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:29 verbose #5160 > > │ ### block_on'                                                                │
00:07:29 verbose #5161 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:29 verbose #5162 > >
00:07:29 verbose #5163 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:29 verbose #5164 > > inl block_on' forall t. (fn : future_pin t) : t =
00:07:29 verbose #5165 > >     !\\(fn, $'"futures_lite::future::block_on($0)"')
00:07:30 verbose #5166 > 00:07:29   debug #367 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/86eb8edffccdac446111c637f8f03af56e4d12c74e9b66aa99dac6cd280d7661/main.spi
00:07:30 verbose #5167 > >
00:07:30 verbose #5168 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:30 verbose #5169 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:30 verbose #5170 > > │ ### block_on''                                                               │
00:07:30 verbose #5171 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:30 verbose #5172 > >
00:07:30 verbose #5173 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:30 verbose #5174 > > inl block_on'' forall t. (fn : future_pin t) : t =
00:07:30 verbose #5175 > >     !\\(fn, $'"futures::executor::block_on($0)"')
00:07:30 verbose #5176 > 00:07:29   debug #368 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/eb9acac4f686c57cd4d45a837283470ec265f6fa791756e43a22a69d20684eb3/main.spi
00:07:30 verbose #5177 > >
00:07:30 verbose #5178 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:30 verbose #5179 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:30 verbose #5180 > > │ ### block_on'''                                                              │
00:07:30 verbose #5181 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:30 verbose #5182 > >
00:07:30 verbose #5183 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:30 verbose #5184 > > inl block_on''' forall t. (fn : future_pin t) : t =
00:07:30 verbose #5185 > >     !\\(fn, $'"async_std::task::block_on($0)"')
00:07:31 verbose #5186 > 00:07:30   debug #369 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b703ae0a2b2cda0dfe884740816a06cdf410fa146ea8785ababa3e14003b32eb/main.spi
00:07:31 verbose #5187 > >
00:07:31 verbose #5188 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:31 verbose #5189 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:31 verbose #5190 > > │ ### block_on_send                                                            │
00:07:31 verbose #5191 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:31 verbose #5192 > >
00:07:31 verbose #5193 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:31 verbose #5194 > > inl block_on_send forall t. (fn : future_pin_send t) : t =
00:07:31 verbose #5195 > >     !\($'"tokio::runtime::block_on(!fn)"')
00:07:31 verbose #5196 > 00:07:30   debug #370 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1c2c8c8b58bb9cc2ad537b053e3caf2e7be0f7a0d459dfaa0bc72bc7b35a442a/main.spi
00:07:31 verbose #5197 > >
00:07:31 verbose #5198 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:31 verbose #5199 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:31 verbose #5200 > > │ ### stream_ext                                                               │
00:07:31 verbose #5201 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:31 verbose #5202 > >
00:07:31 verbose #5203 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:31 verbose #5204 > > nominal stream_ext =
00:07:31 verbose #5205 > >     `(
00:07:31 verbose #5206 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:31 verbose #5207 > > Fable.Core.Emit(\"tokio_stream::StreamExt\")>]]\n#endif\ntype
00:07:31 verbose #5208 > > tokio_stream_StreamExt = class end"
00:07:31 verbose #5209 > >         $'' : $'tokio_stream_StreamExt'
00:07:31 verbose #5210 > >     )
00:07:31 verbose #5211 > 00:07:30   debug #371 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4653803c6eba3a2dadd6ffc359ada21fe5fedc63fa1729f549083d5441b36adc/main.spi
00:07:32 verbose #5212 > >
00:07:32 verbose #5213 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:32 verbose #5214 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:32 verbose #5215 > > │ ### join_handle                                                              │
00:07:32 verbose #5216 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:32 verbose #5217 > >
00:07:32 verbose #5218 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:32 verbose #5219 > > nominal join_handle t =
00:07:32 verbose #5220 > >     `(
00:07:32 verbose #5221 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:32 verbose #5222 > > Fable.Core.Emit(\"tokio::task::JoinHandle<$0>\")>]]\n#endif\ntype
00:07:32 verbose #5223 > > tokio_task_JoinHandle<'T> = class end"
00:07:32 verbose #5224 > >         $'' : $'tokio_task_JoinHandle<`t>'
00:07:32 verbose #5225 > >     )
00:07:32 verbose #5226 > 00:07:31   debug #372 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aed02bb6b7f134ca88cf87afe72778e764a620b576bd45755f7697401712996a/main.spi
00:07:32 verbose #5227 > >
00:07:32 verbose #5228 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:32 verbose #5229 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:32 verbose #5230 > > │ ### stream_collect                                                           │
00:07:32 verbose #5231 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:32 verbose #5232 > >
00:07:32 verbose #5233 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:32 verbose #5234 > > inl stream_collect forall t u.
00:07:32 verbose #5235 > >     (stream : t)
00:07:32 verbose #5236 > >     : future_pin (am'.vec u)
00:07:32 verbose #5237 > >     =
00:07:32 verbose #5238 > >     !\($'"Box::pin(tokio_stream::StreamExt::collect(!stream))"')
00:07:32 verbose #5239 > 00:07:31   debug #373 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/345d303e2a5b13a109f172c7a41589a23eff5c17879c9604f7bdde702fe6da05/main.spi
00:07:32 verbose #5240 > >
00:07:32 verbose #5241 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:32 verbose #5242 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:32 verbose #5243 > > │ ### stream_next                                                              │
00:07:32 verbose #5244 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:32 verbose #5245 > >
00:07:32 verbose #5246 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:32 verbose #5247 > > inl stream_next forall t u.
00:07:32 verbose #5248 > >     (stream : t)
00:07:32 verbose #5249 > >     : future_pin (optionm'.option' u)
00:07:32 verbose #5250 > >     =
00:07:32 verbose #5251 > >     !\($'"let mut !stream = !stream"')
00:07:32 verbose #5252 > >     !\($'"Box::pin(tokio_stream::StreamExt::next(&mut !stream))"')
00:07:33 verbose #5253 > 00:07:32   debug #374 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cfe450b4012253d51d2f24c1759cf236a52743c1aaacd6d66608c13a891d2cbb/main.spi
00:07:33 verbose #5254 > >
00:07:33 verbose #5255 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:33 verbose #5256 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:33 verbose #5257 > > │ ### stream_filter_map                                                        │
00:07:33 verbose #5258 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:33 verbose #5259 > >
00:07:33 verbose #5260 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:33 verbose #5261 > > inl stream_filter_map forall t u v.
00:07:33 verbose #5262 > >     (fn : u -> optionm'.option' v)
00:07:33 verbose #5263 > >     (stream : t)
00:07:33 verbose #5264 > >     : infer' v
00:07:33 verbose #5265 > >     =
00:07:33 verbose #5266 > >     inl fn = join fn
00:07:33 verbose #5267 > >     !\($'"tokio_stream::StreamExt::filter_map(!stream, |x| !fn(x))"')
00:07:33 verbose #5268 > 00:07:32   debug #375 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ec430d8dc428ceb3fa73b95757aa15f225ad2448672376f9e4c2fac762e0eab2/main.spi
00:07:33 verbose #5269 > >
00:07:33 verbose #5270 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:33 verbose #5271 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:33 verbose #5272 > > │ ### spawn                                                                    │
00:07:33 verbose #5273 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:33 verbose #5274 > >
00:07:33 verbose #5275 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:33 verbose #5276 > > inl spawn forall t. (fn : future_pin_send t) : join_handle t =
00:07:33 verbose #5277 > >     !\($'"tokio::runtime::spawn(!fn)"')
00:07:33 verbose #5278 > 00:07:33   debug #376 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5fb549a72005b9e3b446698f1593e5b035223252085cd20f4f8b3fad109faa84/main.spi
00:07:34 verbose #5279 > >
00:07:34 verbose #5280 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:34 verbose #5281 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:34 verbose #5282 > > │ ### try_join_all                                                             │
00:07:34 verbose #5283 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:34 verbose #5284 > >
00:07:34 verbose #5285 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:34 verbose #5286 > > nominal try_join_all t =
00:07:34 verbose #5287 > >     `(
00:07:34 verbose #5288 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:34 verbose #5289 > > Fable.Core.Emit(\"futures::future::TryJoinAll<$0>\")>]]\n#endif\ntype
00:07:34 verbose #5290 > > futures_future_TryJoinAll<'T> = class end"
00:07:34 verbose #5291 > >         $'' : $'futures_future_TryJoinAll<`t>'
00:07:34 verbose #5292 > >     )
00:07:34 verbose #5293 > >
00:07:34 verbose #5294 > > inl try_join_all forall t. (x : am'.vec (future_pin (resultm.result' t
00:07:34 verbose #5295 > > sm'.std_string))) : try_join_all (future_pin (resultm.result' t sm'.std_string))
00:07:34 verbose #5296 > > =
00:07:34 verbose #5297 > >     inl x = join x
00:07:34 verbose #5298 > >     !\($'"futures::future::try_join_all(!x)"')
00:07:34 verbose #5299 > 00:07:33   debug #377 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8c17687100878dbf5fec63bd10234e6ecd8e7cd10a69e4df6c76cd15aec8aee4/main.spi
00:07:34 verbose #5300 > >
00:07:34 verbose #5301 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:34 verbose #5302 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:34 verbose #5303 > > │ ### fuse                                                                     │
00:07:34 verbose #5304 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:34 verbose #5305 > >
00:07:34 verbose #5306 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:34 verbose #5307 > > nominal fuse t =
00:07:34 verbose #5308 > >     `(
00:07:34 verbose #5309 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:34 verbose #5310 > > Fable.Core.Emit(\"tokio::prelude::stream::Fuse<$0>\")>]]\n#endif\ntype
00:07:34 verbose #5311 > > tokio_prelude_stream_Fuse<'T> = class end"
00:07:34 verbose #5312 > >         $'' : $'tokio_prelude_stream_Fuse<`t>'
00:07:34 verbose #5313 > >     )
00:07:34 verbose #5314 > 00:07:33   debug #378 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f3fbfee2673349c4e1763ebdd1a18e3f06c20d9637c86eafbf05edaf99a5485a/main.spi
00:07:35 verbose #5315 > >
00:07:35 verbose #5316 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:35 verbose #5317 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:35 verbose #5318 > > │ ### future_fuse                                                              │
00:07:35 verbose #5319 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:35 verbose #5320 > >
00:07:35 verbose #5321 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:35 verbose #5322 > > inl future_fuse forall t. (x : future_pin t) : fuse (future_pin t) =
00:07:35 verbose #5323 > >     !\($'"futures::future::FutureExt::fuse(!x)"')
00:07:35 verbose #5324 > 00:07:34   debug #379 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0b8db953859590bbb5f87918f6ac2703b198b5ea012cd65887345a49b1164846/main.spi
00:07:35 verbose #5325 > >
00:07:35 verbose #5326 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:35 verbose #5327 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:35 verbose #5328 > > │ ### join_all                                                                 │
00:07:35 verbose #5329 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:35 verbose #5330 > >
00:07:35 verbose #5331 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:35 verbose #5332 > > nominal join_all t =
00:07:35 verbose #5333 > >     `(
00:07:35 verbose #5334 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:35 verbose #5335 > > Fable.Core.Emit(\"futures::future::JoinAll<$0>\")>]]\n#endif\ntype
00:07:35 verbose #5336 > > futures_future_JoinAll<'T> = class end"
00:07:35 verbose #5337 > >         $'' : $'futures_future_JoinAll<`t>'
00:07:35 verbose #5338 > >     )
00:07:35 verbose #5339 > >
00:07:35 verbose #5340 > > inl join_all forall t. (x : am'.vec (future_pin t)) : join_all (future_pin t) =
00:07:35 verbose #5341 > >     inl x = join x
00:07:35 verbose #5342 > >     !\($'"futures::future::join_all(!x)"')
00:07:35 verbose #5343 > 00:07:34   debug #380 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7000fc5295bae214a8d009c32d74937cf640ce676b46e7e8c033caf5bdb2ad7c/main.spi
00:07:35 verbose #5344 > >
00:07:35 verbose #5345 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:35 verbose #5346 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:35 verbose #5347 > > │ ### join_all_send                                                            │
00:07:35 verbose #5348 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:35 verbose #5349 > >
00:07:35 verbose #5350 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:35 verbose #5351 > > inl join_all_send forall t. (x : am'.vec (future_pin_send t)) : join_all
00:07:35 verbose #5352 > > (future_pin_send t) =
00:07:35 verbose #5353 > >     inl x = join x
00:07:35 verbose #5354 > >     !\($'"futures::future::join_all(!x)"')
00:07:36 verbose #5355 > 00:07:35   debug #381 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1d85603dcc9ea5ed213286ac0c9ae3e0565d8aaff0e7399c79d4be1610ff5d55/main.spi
00:07:36 verbose #5356 > >
00:07:36 verbose #5357 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:36 verbose #5358 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:36 verbose #5359 > > │ ### await_handle                                                             │
00:07:36 verbose #5360 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:36 verbose #5361 > >
00:07:36 verbose #5362 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:36 verbose #5363 > > inl await_handle forall t. (x : join_handle t) : t =
00:07:36 verbose #5364 > >     !\($'"!x.await"')
00:07:36 verbose #5365 > 00:07:35   debug #382 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b4f1c1ed3821f32f85c0989544f2c07eb93de3e7630d719fe16b93f9b5673638/main.spi
00:07:36 verbose #5366 > >
00:07:36 verbose #5367 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:36 verbose #5368 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:36 verbose #5369 > > │ ### await_all                                                                │
00:07:36 verbose #5370 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:36 verbose #5371 > >
00:07:36 verbose #5372 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:36 verbose #5373 > > inl await_all forall t. (x : join_all (future_pin t)) : am'.vec t =
00:07:36 verbose #5374 > >     !\($'"!x.await"')
00:07:37 verbose #5375 > 00:07:36   debug #383 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2dc28bb1d764db33cca93e6ad3642c02b546e2032ffc4109f565b2b0577b532c/main.spi
00:07:37 verbose #5376 > >
00:07:37 verbose #5377 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:37 verbose #5378 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:37 verbose #5379 > > │ ### await_all_send                                                           │
00:07:37 verbose #5380 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:37 verbose #5381 > >
00:07:37 verbose #5382 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:37 verbose #5383 > > inl await_all_send forall t. (x : join_all (future_pin_send t)) : am'.vec t =
00:07:37 verbose #5384 > >     !\($'"!x.await"')
00:07:37 verbose #5385 > 00:07:36   debug #384 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a9baaba18d1fdddd5912d266e634e50eedca4b6fa3482f7a369fdfc1902a43e5/main.spi
00:07:37 verbose #5386 > >
00:07:37 verbose #5387 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:37 verbose #5388 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:37 verbose #5389 > > │ ### try_await_all                                                            │
00:07:37 verbose #5390 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:37 verbose #5391 > >
00:07:37 verbose #5392 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:37 verbose #5393 > > inl try_await_all forall t. (x : try_join_all (future_pin (resultm.result' t
00:07:37 verbose #5394 > > sm'.std_string))) : resultm.result' (am'.vec t) sm'.std_string =
00:07:37 verbose #5395 > >     !\($'"!x.await"')
00:07:37 verbose #5396 > 00:07:37   debug #385 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1c2611c7578e5602f1c5d1463bdffd099a7f8f19c2ec25f86a1002fd49ca6142/main.spi
00:07:38 verbose #5397 > >
00:07:38 verbose #5398 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:38 verbose #5399 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:38 verbose #5400 > > │ ### try_await_all_send                                                       │
00:07:38 verbose #5401 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:38 verbose #5402 > >
00:07:38 verbose #5403 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:38 verbose #5404 > > inl try_await_all_send forall t. (x : try_join_all (future_pin_send
00:07:38 verbose #5405 > > (resultm.result' t sm'.std_string))) : resultm.result' (am'.vec t)
00:07:38 verbose #5406 > > sm'.std_string =
00:07:38 verbose #5407 > >     !\($'"!x.await"')
00:07:38 verbose #5408 > 00:07:37   debug #386 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e0cd0c9e7b8ef5b00e60dc09ff83aa78cc61e62294425a2a6fb751b278acfec5/main.spi
00:07:38 verbose #5409 > >
00:07:38 verbose #5410 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:38 verbose #5411 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:38 verbose #5412 > > │ ### await                                                                    │
00:07:38 verbose #5413 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:38 verbose #5414 > >
00:07:38 verbose #5415 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:38 verbose #5416 > > inl await forall t. (x : future_pin t) : t =
00:07:38 verbose #5417 > >     !\($'"!x.await"')
00:07:39 verbose #5418 > 00:07:38   debug #387 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/50c4f151dfb0a6c5c12f5f86d089620e74891d79cedd6cdf472fe64202daf631/main.spi
00:07:39 verbose #5419 > >
00:07:39 verbose #5420 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:39 verbose #5421 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:39 verbose #5422 > > │ ### await                                                                    │
00:07:39 verbose #5423 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:39 verbose #5424 > >
00:07:39 verbose #5425 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:39 verbose #5426 > > inl await_send forall t. (x : future_pin_send t) : t =
00:07:39 verbose #5427 > >     !\($'"!x.await"')
00:07:39 verbose #5428 > 00:07:38   debug #388 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8470877f17533cc588671d017324c7a01689977ffe22810c63da4fb2cdbb137/main.spi
00:07:39 verbose #5429 > >
00:07:39 verbose #5430 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:39 verbose #5431 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:39 verbose #5432 > > │ ### into_iter                                                                │
00:07:39 verbose #5433 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:39 verbose #5434 > >
00:07:39 verbose #5435 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:39 verbose #5436 > > nominal into_iter t =
00:07:39 verbose #5437 > >     `(
00:07:39 verbose #5438 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:39 verbose #5439 > > Fable.Core.Emit(\"rayon::vec::IntoIter<$0>\")>]]\n#endif\ntype
00:07:39 verbose #5440 > > rayon_vec_IntoIter<'T> = class end"
00:07:39 verbose #5441 > >         $'' : $'rayon_vec_IntoIter<`t>'
00:07:39 verbose #5442 > >     )
00:07:40 verbose #5443 > 00:07:39   debug #389 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e9fc507b8cc2cde9997185201a4483990c0ca0c9177f48c77377360c8a5bbdbe/main.spi
00:07:40 verbose #5444 > >
00:07:40 verbose #5445 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:40 verbose #5446 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:40 verbose #5447 > > │ ### into_par_iter                                                            │
00:07:40 verbose #5448 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:40 verbose #5449 > >
00:07:40 verbose #5450 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:40 verbose #5451 > > inl into_par_iter forall t. (x : am'.vec t) : into_iter t =
00:07:40 verbose #5452 > >     !\\(x, $'"rayon::iter::IntoParallelIterator::into_par_iter($0)"')
00:07:40 verbose #5453 > 00:07:39   debug #390 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3812f2d2c3b433d307f0150a04ff6b73578305b67c9394ebfee5a60165d1f7f0/main.spi
00:07:40 verbose #5454 > >
00:07:40 verbose #5455 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:40 verbose #5456 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:40 verbose #5457 > > │ ### par_iter                                                                 │
00:07:40 verbose #5458 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:40 verbose #5459 > >
00:07:40 verbose #5460 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:40 verbose #5461 > > inl par_iter forall t. (x : am'.vec t) : into_iter t =
00:07:40 verbose #5462 > >     !\($'"rayon::iter::IntoParallelIterator::par_iter(!x)"')
00:07:41 verbose #5463 > 00:07:40   debug #391 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/049acb03041c68824e54d74600a88b627e0a111658aea0b13ca67542930304bf/main.spi
00:07:41 verbose #5464 > >
00:07:41 verbose #5465 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:41 verbose #5466 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:41 verbose #5467 > > │ ### iter_map                                                                 │
00:07:41 verbose #5468 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:41 verbose #5469 > >
00:07:41 verbose #5470 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:41 verbose #5471 > > nominal iter_map t u =
00:07:41 verbose #5472 > >     `(
00:07:41 verbose #5473 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:07:41 verbose #5474 > > Fable.Core.Emit(\"rayon::iter::Map<$0, _>\")>]]\n#endif\ntype rayon_iter_Map<'T>
00:07:41 verbose #5475 > > = class end"
00:07:41 verbose #5476 > >         $'' : $'rayon_iter_Map<`t>'
00:07:41 verbose #5477 > >     )
00:07:41 verbose #5478 > 00:07:40   debug #392 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f0339299daec8154e60e0e61a3405dabf0752057e89e056a82ca2e8eb3b0a57e/main.spi
00:07:41 verbose #5479 > >
00:07:41 verbose #5480 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:41 verbose #5481 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:41 verbose #5482 > > │ ### par_map                                                                  │
00:07:41 verbose #5483 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:41 verbose #5484 > >
00:07:41 verbose #5485 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:41 verbose #5486 > > inl par_map forall t u. (fn : t -> u) (ar : into_iter t) : iter_map (into_iter
00:07:41 verbose #5487 > > t) u =
00:07:41 verbose #5488 > >     !\\((ar, fn), $'"rayon::iter::ParallelIterator::map($0, |x| $1(x))"')
00:07:41 verbose #5489 > 00:07:41   debug #393 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3efc92d30964d18692ecb23b129c3eb1a58a1f6e1b7e3c2bdf6eb392b23642c1/main.spi
00:07:42 verbose #5490 > >
00:07:42 verbose #5491 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:42 verbose #5492 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:42 verbose #5493 > > │ ### par_collect                                                              │
00:07:42 verbose #5494 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:42 verbose #5495 > >
00:07:42 verbose #5496 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:42 verbose #5497 > > inl par_collect forall t u. (iter : iter_map (into_iter t) u) : am'.vec u =
00:07:42 verbose #5498 > >     !\\(iter, $'"rayon::iter::ParallelIterator::collect($0)"')
00:07:42 verbose #5499 > 00:07:41   debug #394 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8fc25b3417b364d09e2ecc505d95af3f62199ecf692782ec0d104ba7ea8fedd9/main.spi
00:07:42 verbose #5500 > >
00:07:42 verbose #5501 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:42 verbose #5502 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:42 verbose #5503 > > │ ### try_join_all_iter                                                        │
00:07:42 verbose #5504 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:42 verbose #5505 > >
00:07:42 verbose #5506 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:42 verbose #5507 > > inl try_join_all_iter forall t. (x : am'.vec (future_pin_send (resultm.result' t
00:07:42 verbose #5508 > > sm'.std_string))) : try_join_all (future_pin_send (resultm.result' t
00:07:42 verbose #5509 > > sm'.std_string)) =
00:07:42 verbose #5510 > >     inl x = join x
00:07:42 verbose #5511 > >     !\($'"futures::future::try_join_all(!x)"')
00:07:42 verbose #5512 > 00:07:42   debug #395 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/88487af7c5f55b031c9fef471baaa51fb251eec7e3e1bdd05f374f01c9947579/main.spi
00:07:43 verbose #5513 > >
00:07:43 verbose #5514 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:43 verbose #5515 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:43 verbose #5516 > > │ ### future_init                                                              │
00:07:43 verbose #5517 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:43 verbose #5518 > >
00:07:43 verbose #5519 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:43 verbose #5520 > > inl future_init forall t. (move : bool) (x : () -> t) : infer' t =
00:07:43 verbose #5521 > >     if move
00:07:43 verbose #5522 > >     then (!\($'"true; let __future_init = Box::pin(async move { //"') : bool) |>
00:07:43 verbose #5523 > > ignore
00:07:43 verbose #5524 > >     else (!\($'"true; let __future_init = Box::pin(async { //"') : bool) |>
00:07:43 verbose #5525 > > ignore
00:07:43 verbose #5526 > >
00:07:43 verbose #5527 > >     inl is_unit : bool =
00:07:43 verbose #5528 > >         real
00:07:43 verbose #5529 > >             typecase t with
00:07:43 verbose #5530 > >             | () => true
00:07:43 verbose #5531 > >             | _ => false
00:07:43 verbose #5532 > >
00:07:43 verbose #5533 > >     inl x' = x ()
00:07:43 verbose #5534 > >     inl x' = join x'
00:07:43 verbose #5535 > >
00:07:43 verbose #5536 > >     inl depth =
00:07:43 verbose #5537 > >         if is_unit
00:07:43 verbose #5538 > >         then 2, 1
00:07:43 verbose #5539 > >         else 1, 0
00:07:43 verbose #5540 > >
00:07:43 verbose #5541 > >     x' |> rust.fix_closure depth
00:07:43 verbose #5542 > >
00:07:43 verbose #5543 > >     !\($'"__future_init"')
00:07:43 verbose #5544 > 00:07:42   debug #396 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/909085d4a9e604ad0cf90c9a1970ce91682e54c380d495d16a8c179de112969f/main.spi
00:07:43 verbose #5545 > >
00:07:43 verbose #5546 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:43 verbose #5547 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:43 verbose #5548 > > │ ### new_future                                                               │
00:07:43 verbose #5549 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:43 verbose #5550 > >
00:07:43 verbose #5551 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:43 verbose #5552 > > inl new_future forall t. (x : () -> t) : future_pin t =
00:07:43 verbose #5553 > >     inl result = future_init false x
00:07:43 verbose #5554 > >     !\($'"!result"')
00:07:43 verbose #5555 > 00:07:42   debug #397 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/55713c28ebe9c2438c121e7ca8dbc0e5d97370b3dd55c4b2ccc3b8cda2ef8be1/main.spi
00:07:44 verbose #5556 > >
00:07:44 verbose #5557 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:44 verbose #5558 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:44 verbose #5559 > > │ ### new_future_move                                                          │
00:07:44 verbose #5560 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:44 verbose #5561 > >
00:07:44 verbose #5562 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:44 verbose #5563 > > inl new_future_move forall t. (x : () -> t) : future_pin t =
00:07:44 verbose #5564 > >     inl result = future_init true x
00:07:44 verbose #5565 > >     !\($'"!result"')
00:07:44 verbose #5566 > 00:07:43   debug #398 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d7e796ff29d203c469cb60a318375d482372c9ca6a5e41769e2dba99e00427d3/main.spi
00:07:44 verbose #5567 > >
00:07:44 verbose #5568 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:44 verbose #5569 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:44 verbose #5570 > > │ ### new_future_send                                                          │
00:07:44 verbose #5571 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:44 verbose #5572 > >
00:07:44 verbose #5573 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:44 verbose #5574 > > inl new_future_send forall t. (x : () -> t) : future_pin_send t =
00:07:44 verbose #5575 > >     inl result = future_init false x
00:07:44 verbose #5576 > >     !\($'"!result"')
00:07:44 verbose #5577 > 00:07:43   debug #399 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/001a242af6b0e134a076e21754bd9ccf4f0e9826900b3a8bf9a99cd011bbb5a3/main.spi
00:07:44 verbose #5578 > >
00:07:44 verbose #5579 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:44 verbose #5580 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:44 verbose #5581 > > │ ### new_future_move_send                                                     │
00:07:44 verbose #5582 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:44 verbose #5583 > >
00:07:44 verbose #5584 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:44 verbose #5585 > > inl new_future_move_send forall t. (x : () -> t) : future_pin_send t =
00:07:44 verbose #5586 > >     inl result = future_init true x
00:07:44 verbose #5587 > >     !\($'"!result"')
00:07:45 verbose #5588 > 00:07:44   debug #400 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/25fad2c878d6cc6cd63f4b4fec77cc929d692d78e45d48f0e53c70bc13af2ff9/main.spi
00:07:45 verbose #5589 > >
00:07:45 verbose #5590 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:45 verbose #5591 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:45 verbose #5592 > > │ ## fsharp                                                                    │
00:07:45 verbose #5593 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:45 verbose #5594 > >
00:07:45 verbose #5595 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:45 verbose #5596 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:45 verbose #5597 > > │ ### async                                                                    │
00:07:45 verbose #5598 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:45 verbose #5599 > >
00:07:45 verbose #5600 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:45 verbose #5601 > > nominal async t = $'Async<`t>'
00:07:45 verbose #5602 > 00:07:44   debug #401 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6ea324d94031a71762c0e72ad6a5fb09459d045f3b0e007d2771f8f5bef19ff3/main.spi
00:07:45 verbose #5603 > >
00:07:45 verbose #5604 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:45 verbose #5605 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:45 verbose #5606 > > │ ### task                                                                     │
00:07:45 verbose #5607 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:45 verbose #5608 > >
00:07:45 verbose #5609 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:45 verbose #5610 > > nominal task t =
00:07:45 verbose #5611 > >     `(
00:07:45 verbose #5612 > >         typecase t with
00:07:45 verbose #5613 > >         | () => $'' : $'System.Threading.Tasks.Task'
00:07:45 verbose #5614 > >         | _ => $'' : $'System.Threading.Tasks.Task<`t>'
00:07:45 verbose #5615 > >     )
00:07:46 verbose #5616 > 00:07:45   debug #402 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/05adbe03ebae58b1c9a8fbcd3fce676e9705639d5d44c7c4941fa2b9bbca58c1/main.spi
00:07:46 verbose #5617 > >
00:07:46 verbose #5618 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:46 verbose #5619 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:46 verbose #5620 > > │ ### new_async_unit                                                           │
00:07:46 verbose #5621 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:46 verbose #5622 > >
00:07:46 verbose #5623 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:46 verbose #5624 > > inl new_async_unit forall t. (fn : () -> ()) : async t =
00:07:46 verbose #5625 > >     run_target function
00:07:46 verbose #5626 > >         | Fsharp (Native) => fun () =>
00:07:46 verbose #5627 > >             inl result : optionm'.option' (async t) = optionm'.none' ()
00:07:46 verbose #5628 > >             $'let mutable _!result = !result '
00:07:46 verbose #5629 > >             $'async {'
00:07:46 verbose #5630 > >             fn ()
00:07:46 verbose #5631 > >             real
00:07:46 verbose #5632 > >                 typecase t with
00:07:46 verbose #5633 > >                 | () => $'()' : ()
00:07:46 verbose #5634 > >                 | _ => ()
00:07:46 verbose #5635 > >             $'}'
00:07:46 verbose #5636 > >             $'|> fun x -> _!result <- Some x'
00:07:46 verbose #5637 > >             $'match _!result with Some x -> x | None -> failwith
00:07:46 verbose #5638 > > "async.new_async_unit / _!result=None"'
00:07:46 verbose #5639 > >         | _ => fun () => null ()
00:07:46 verbose #5640 > 00:07:45   debug #403 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a94cb28f6c7a3906cadf00c753cb037eac68382ede2925e4ed1d580111b62263/main.spi
00:07:46 verbose #5641 > >
00:07:46 verbose #5642 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:46 verbose #5643 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:46 verbose #5644 > > │ ### new_async                                                                │
00:07:46 verbose #5645 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:46 verbose #5646 > >
00:07:46 verbose #5647 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:46 verbose #5648 > > inl new_async forall t. (fn : () -> t) : async t =
00:07:46 verbose #5649 > >     new_async_unit (fn >> ignore)
00:07:46 verbose #5650 > 00:07:45   debug #404 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/169c0b565c36deb0fdcd0c0746c1ce3e962ec5c3da47c852a1a0b610d88f659c/main.spi
00:07:47 verbose #5651 > >
00:07:47 verbose #5652 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:47 verbose #5653 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:47 verbose #5654 > > │ ### new_task                                                                 │
00:07:47 verbose #5655 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:47 verbose #5656 > >
00:07:47 verbose #5657 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:47 verbose #5658 > > inl new_task forall t. (fn : () -> t) : task t =
00:07:47 verbose #5659 > >     run_target function
00:07:47 verbose #5660 > >         | Fsharp (Native) => fun () =>
00:07:47 verbose #5661 > >             inl result : optionm'.option' (task t) = optionm'.none' ()
00:07:47 verbose #5662 > >             $'let mutable _!result = !result '
00:07:47 verbose #5663 > >             $'task {'
00:07:47 verbose #5664 > >             fn () |> ignore
00:07:47 verbose #5665 > >             $'}'
00:07:47 verbose #5666 > >             $'|> fun x -> _!result <- Some x'
00:07:47 verbose #5667 > >             $'match _!result with Some x -> x | None -> failwith "async.new_task
00:07:47 verbose #5668 > > / _!result=None"'
00:07:47 verbose #5669 > >         | _ => fun () => null ()
00:07:47 verbose #5670 > 00:07:46   debug #405 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a15f293908141ae2831c412fcc09f65795ee47351956401ab2619cc085a0e1bb/main.spi
00:07:47 verbose #5671 > >
00:07:47 verbose #5672 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:47 verbose #5673 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:47 verbose #5674 > > │ ### await_task                                                               │
00:07:47 verbose #5675 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:47 verbose #5676 > >
00:07:47 verbose #5677 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:47 verbose #5678 > > inl await_task forall t. (a : task t) : async t =
00:07:47 verbose #5679 > >     run_target function
00:07:47 verbose #5680 > >         | Fsharp (Native) => fun () =>
00:07:47 verbose #5681 > >             a |> $'Async.AwaitTask'
00:07:47 verbose #5682 > >         | _ => fun () => null ()
00:07:47 verbose #5683 > 00:07:46   debug #406 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0138aaa139e07cf716612498ce75c36f6ae5c453da8298f3d6a88b3c63f01d1b/main.spi
00:07:47 verbose #5684 > >
00:07:47 verbose #5685 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:47 verbose #5686 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:47 verbose #5687 > > │ ### ignore                                                                   │
00:07:47 verbose #5688 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:47 verbose #5689 > >
00:07:47 verbose #5690 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:47 verbose #5691 > > inl ignore forall t. (a : async t) : async () =
00:07:47 verbose #5692 > >     run_target function
00:07:47 verbose #5693 > >         | Fsharp (Native) => fun () =>
00:07:47 verbose #5694 > >             a |> $'Async.Ignore'
00:07:47 verbose #5695 > >         | _ => fun () => null ()
00:07:48 verbose #5696 > 00:07:47   debug #407 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fcf3fdb3241738a33c7cbc1a9c3a8a4cc3c34683b27a1ae5e59b55fe54eb9535/main.spi
00:07:48 verbose #5697 > >
00:07:48 verbose #5698 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:48 verbose #5699 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:48 verbose #5700 > > │ ### run_synchronously                                                        │
00:07:48 verbose #5701 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:48 verbose #5702 > >
00:07:48 verbose #5703 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:48 verbose #5704 > > inl run_synchronously forall t. (a : async t) : t =
00:07:48 verbose #5705 > >     run_target function
00:07:48 verbose #5706 > >         | Fsharp (Native) => fun () =>
00:07:48 verbose #5707 > >             a |> $'Async.RunSynchronously'
00:07:48 verbose #5708 > >         | _ => fun () => null ()
00:07:48 verbose #5709 > 00:07:47   debug #408 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fc8159eb03fbcdd7213e74fc25bb254ace18f9eddf96042d97ee2cb6bc97da30/main.spi
00:07:48 verbose #5710 > >
00:07:48 verbose #5711 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:48 verbose #5712 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:48 verbose #5713 > > │ ### start                                                                    │
00:07:48 verbose #5714 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:48 verbose #5715 > >
00:07:48 verbose #5716 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:48 verbose #5717 > > inl start (a : async ()) : () =
00:07:48 verbose #5718 > >     run_target function
00:07:48 verbose #5719 > >         | Fsharp (Native) => fun () =>
00:07:48 verbose #5720 > >             a |> $'Async.Start'
00:07:48 verbose #5721 > >         | _ => fun () => null ()
00:07:49 verbose #5722 > 00:07:48   debug #409 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/36be8fea63924ad0c8cf572eede079eb776267d2a8eaa8f743d32a23b68f62e1/main.spi
00:07:49 verbose #5723 > >
00:07:49 verbose #5724 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:49 verbose #5725 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:49 verbose #5726 > > │ ### start_child                                                              │
00:07:49 verbose #5727 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:49 verbose #5728 > >
00:07:49 verbose #5729 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:49 verbose #5730 > > inl start_child forall t. (a : async t) : async (async t) =
00:07:49 verbose #5731 > >     run_target function
00:07:49 verbose #5732 > >         | Fsharp (Native) => fun () =>
00:07:49 verbose #5733 > >             a |> $'Async.StartChild'
00:07:49 verbose #5734 > >         | _ => fun () => null ()
00:07:49 verbose #5735 > 00:07:48   debug #410 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e7b6f046f8ea6c0d2dbb54d9f2c095e3eff4265dbe2cb97f61e81aac75ee0b1e/main.spi
00:07:49 verbose #5736 > >
00:07:49 verbose #5737 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:49 verbose #5738 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:49 verbose #5739 > > │ ### start_child_timeout                                                      │
00:07:49 verbose #5740 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:49 verbose #5741 > >
00:07:49 verbose #5742 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:49 verbose #5743 > > inl start_child_timeout forall t. (timeout : i32) (a : async t) : async (async
00:07:49 verbose #5744 > > t) =
00:07:49 verbose #5745 > >     run_target function
00:07:49 verbose #5746 > >         | Fsharp (Native) => fun () =>
00:07:49 verbose #5747 > >             $'Async.StartChild (!a, !timeout)'
00:07:49 verbose #5748 > >         | _ => fun () => null ()
00:07:49 verbose #5749 > 00:07:48   debug #411 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f8d7c4f2ef6202ed828ba7489e6b8c8eb22f2de4ea7cdb4a67403842dd016701/main.spi
00:07:50 verbose #5750 > >
00:07:50 verbose #5751 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:50 verbose #5752 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:50 verbose #5753 > > │ ### start_immediate                                                          │
00:07:50 verbose #5754 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:50 verbose #5755 > >
00:07:50 verbose #5756 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:50 verbose #5757 > > inl start_immediate forall t. (a : async t) : () =
00:07:50 verbose #5758 > >     run_target function
00:07:50 verbose #5759 > >         | Fsharp (Native) => fun () =>
00:07:50 verbose #5760 > >             a |> $'Async.StartImmediate'
00:07:50 verbose #5761 > >         | _ => fun () => null ()
00:07:50 verbose #5762 > 00:07:49   debug #412 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/de16f891d55a87f73eb775a294797b837643573efdcab2399941fceb6b77cf7e/main.spi
00:07:50 verbose #5763 > >
00:07:50 verbose #5764 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:50 verbose #5765 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:50 verbose #5766 > > │ ### task_canceled_exception                                                  │
00:07:50 verbose #5767 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:50 verbose #5768 > >
00:07:50 verbose #5769 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:50 verbose #5770 > > nominal task_canceled_exception =
00:07:50 verbose #5771 > > $'System.Threading.Tasks.TaskCanceledException'
00:07:50 verbose #5772 > 00:07:49   debug #413 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/95dfe065a723cb8f94aae4625c8119ea97723b457da7bf956a248791b6fab13f/main.spi
00:07:51 verbose #5773 > >
00:07:51 verbose #5774 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:51 verbose #5775 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:51 verbose #5776 > > │ ### sleep                                                                    │
00:07:51 verbose #5777 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:51 verbose #5778 > >
00:07:51 verbose #5779 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:51 verbose #5780 > > inl sleep (ms : i32) : async () =
00:07:51 verbose #5781 > >     run_target function
00:07:51 verbose #5782 > >         | Fsharp (Native) => fun () =>
00:07:51 verbose #5783 > >             ms |> $'Async.Sleep'
00:07:51 verbose #5784 > >         | _ => fun () => null ()
00:07:51 verbose #5785 > 00:07:50   debug #414 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a41f1219e8dd17d914aed8a1fdb40140d88660aa91ed0e088599e4a341fe7cfe/main.spi
00:07:51 verbose #5786 > >
00:07:51 verbose #5787 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:51 verbose #5788 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:51 verbose #5789 > > │ ### do                                                                       │
00:07:51 verbose #5790 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:51 verbose #5791 > >
00:07:51 verbose #5792 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:51 verbose #5793 > > inl do (a : async ()) : () =
00:07:51 verbose #5794 > >     $'do\! !a '
00:07:51 verbose #5795 > 00:07:50   debug #415 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1228a180d7190a9d20d0d191a111e88318d962411f7447a6182cf4c0cf67fbc0/main.spi
00:07:51 verbose #5796 > >
00:07:51 verbose #5797 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:51 verbose #5798 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:51 verbose #5799 > > │ ### let'                                                                     │
00:07:51 verbose #5800 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:51 verbose #5801 > >
00:07:51 verbose #5802 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:51 verbose #5803 > > inl let' forall t. (a : async t) : t =
00:07:51 verbose #5804 > >     $'let\! !a = !a '
00:07:51 verbose #5805 > >     $'!a '
00:07:52 verbose #5806 > 00:07:51   debug #416 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bb484143fc273e6367f30ed20756e6eff503d69714d5cae3eeb017632c0d8813/main.spi
00:07:52 verbose #5807 > >
00:07:52 verbose #5808 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:52 verbose #5809 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:52 verbose #5810 > > │ ### return_await                                                             │
00:07:52 verbose #5811 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:52 verbose #5812 > >
00:07:52 verbose #5813 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:52 verbose #5814 > > inl return_await forall t. (a : async t) : () =
00:07:52 verbose #5815 > >     $'return\! !a '
00:07:52 verbose #5816 > 00:07:51   debug #417 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/26d4b8335f70e0ecf975fbe7a568c6b3ac6075d0013c12a284ad370c691de685/main.spi
00:07:52 verbose #5817 > >
00:07:52 verbose #5818 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:52 verbose #5819 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:52 verbose #5820 > > │ ### return_await'                                                            │
00:07:52 verbose #5821 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:52 verbose #5822 > >
00:07:52 verbose #5823 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:52 verbose #5824 > > inl return_await' forall t. (a : async t) : t =
00:07:52 verbose #5825 > >     $'return\! !a '
00:07:53 verbose #5826 > 00:07:52   debug #418 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3a6af526b8796354fbe21e155bec46975e01011c2325e5498598a4aa8e1daf52/main.spi
00:07:53 verbose #5827 > >
00:07:53 verbose #5828 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:53 verbose #5829 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:53 verbose #5830 > > │ ### map                                                                      │
00:07:53 verbose #5831 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:53 verbose #5832 > >
00:07:53 verbose #5833 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:53 verbose #5834 > > inl map forall t u. (fn : t -> u) (a : async t) : async u =
00:07:53 verbose #5835 > >     fun () =>
00:07:53 verbose #5836 > >         inl x = a |> let'
00:07:53 verbose #5837 > >         fn x |> return
00:07:53 verbose #5838 > >     |> new_async_unit
00:07:53 verbose #5839 > 00:07:52   debug #419 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f486c5c5822c32401b4059345c5990598a25f913e745b8987c7382cca52c5f1/main.spi
00:07:53 verbose #5840 > >
00:07:53 verbose #5841 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:53 verbose #5842 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:53 verbose #5843 > > │ ### catch'                                                                   │
00:07:53 verbose #5844 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:53 verbose #5845 > >
00:07:53 verbose #5846 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:53 verbose #5847 > > inl catch' forall t e. (a : async t) : async (choice2' t e) =
00:07:53 verbose #5848 > >     run_target function
00:07:53 verbose #5849 > >         | Fsharp (Native) => fun () =>
00:07:53 verbose #5850 > >             a |> $'Async.Catch'
00:07:53 verbose #5851 > >         | _ => fun () => null ()
00:07:53 verbose #5852 > 00:07:53   debug #420 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a7798ff3da854f59c65500b3eaeb17172b1e901a52d0eeda9d779bd094df0fb7/main.spi
00:07:54 verbose #5853 > >
00:07:54 verbose #5854 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:54 verbose #5855 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:54 verbose #5856 > > │ ### catch                                                                    │
00:07:54 verbose #5857 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:54 verbose #5858 > >
00:07:54 verbose #5859 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:54 verbose #5860 > > inl catch forall t e. (a : async t) : async (result t e) =
00:07:54 verbose #5861 > >     a
00:07:54 verbose #5862 > >     |> catch'
00:07:54 verbose #5863 > >     |> map choice2_unbox
00:07:54 verbose #5864 > >     |> map function
00:07:54 verbose #5865 > >         | C1of2 result => Ok result
00:07:54 verbose #5866 > >         | C2of2 ex => Error ex
00:07:54 verbose #5867 > 00:07:53   debug #421 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cc25e636fbf283c51e2118246fd17707b0bc8448ffd539718e247401f791c338/main.spi
00:07:54 verbose #5868 > >
00:07:54 verbose #5869 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:54 verbose #5870 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:54 verbose #5871 > > │ ### run_with_timeout_async                                                   │
00:07:54 verbose #5872 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:54 verbose #5873 > >
00:07:54 verbose #5874 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:54 verbose #5875 > > inl run_with_timeout_async forall t. (timeout : i32) (fn : async t) : async
00:07:54 verbose #5876 > > (option t) =
00:07:54 verbose #5877 > >     run_target function
00:07:54 verbose #5878 > >         | Fsharp (Native) => fun () =>
00:07:54 verbose #5879 > >             fun () =>
00:07:54 verbose #5880 > >                 inl child = fn |> start_child_timeout timeout |> let'
00:07:54 verbose #5881 > >                 child
00:07:54 verbose #5882 > >                 |> catch
00:07:54 verbose #5883 > >                 |> map function
00:07:54 verbose #5884 > >                     | Ok result => Some result
00:07:54 verbose #5885 > >                     | Error ex when ex |> sm'.format_debug |> sm'.contains
00:07:54 verbose #5886 > > "System.TimeoutException" =>
00:07:54 verbose #5887 > >                         trace Verbose
00:07:54 verbose #5888 > >                             fun () => $'"async.run_with_timeout_async"'
00:07:54 verbose #5889 > >                             fun () => { timeout }
00:07:54 verbose #5890 > >                         None
00:07:54 verbose #5891 > >                     | Error (ex : exn) =>
00:07:54 verbose #5892 > >                         trace Critical
00:07:54 verbose #5893 > >                             fun () => $'$"async.run_with_timeout_async**"'
00:07:54 verbose #5894 > >                             fun () => { timeout ex = ex |> sm'.format_exception
00:07:54 verbose #5895 > > }
00:07:54 verbose #5896 > >                         None
00:07:54 verbose #5897 > >                 |> return_await
00:07:54 verbose #5898 > >             |> new_async_unit
00:07:54 verbose #5899 > >         | _ => fun () => null ()
00:07:54 verbose #5900 > 00:07:53   debug #422 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e4fe6c8148ce7ab96eda4b1ab6752a7a2edc754544867139c60d47265dd0bbea/main.spi
00:07:54 verbose #5901 > >
00:07:54 verbose #5902 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:54 verbose #5903 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:54 verbose #5904 > > │ ### run_with_timeout                                                         │
00:07:54 verbose #5905 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:54 verbose #5906 > >
00:07:54 verbose #5907 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:54 verbose #5908 > > inl run_with_timeout timeout fn =
00:07:54 verbose #5909 > >     fn
00:07:54 verbose #5910 > >     |> run_with_timeout_async timeout
00:07:54 verbose #5911 > >     |> run_synchronously
00:07:55 verbose #5912 > 00:07:54   debug #423 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1904c6fd353e877d863107acf849e6f16ac1e5d519dba061f7865bc25cc1a514/main.spi
00:07:55 verbose #5913 > >
00:07:55 verbose #5914 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:55 verbose #5915 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:55 verbose #5916 > > │ ### cancellation_token                                                       │
00:07:55 verbose #5917 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:55 verbose #5918 > >
00:07:55 verbose #5919 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:55 verbose #5920 > > inl cancellation_token () : async threading.cancellation_token =
00:07:55 verbose #5921 > >     $'Async.CancellationToken'
00:07:55 verbose #5922 > 00:07:54   debug #424 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/71994b4d773f5f25efc16d9a8343660e03c8236242455bc1e39773c2d639441e/main.spi
00:07:55 verbose #5923 > >
00:07:55 verbose #5924 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:55 verbose #5925 > > inl default_cancellation_token () : threading.cancellation_token =
00:07:55 verbose #5926 > >     $'Async.DefaultCancellationToken'
00:07:55 verbose #5927 > 00:07:55   debug #425 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac743769fad3a2e9b62700737e615655ca38329f478cd0c21d802eb1c35da957/main.spi
00:07:56 verbose #5928 > >
00:07:56 verbose #5929 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:56 verbose #5930 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:56 verbose #5931 > > │ ### merge_cancellation_token_with_default_async                              │
00:07:56 verbose #5932 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:56 verbose #5933 > >
00:07:56 verbose #5934 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:56 verbose #5935 > > inl merge_cancellation_token_with_default_async
00:07:56 verbose #5936 > >     (token : threading.cancellation_token)
00:07:56 verbose #5937 > >     : async threading.cancellation_token
00:07:56 verbose #5938 > >     =
00:07:56 verbose #5939 > >     run_target function
00:07:56 verbose #5940 > >         | Fsharp (Native) => fun () =>
00:07:56 verbose #5941 > >             fun () =>
00:07:56 verbose #5942 > >                 inl ct = cancellation_token () |> let'
00:07:56 verbose #5943 > >                 inl dct = default_cancellation_token ()
00:07:56 verbose #5944 > >                 inl cts = threading.create_linked_token_source ;[[ ct; dct;
00:07:56 verbose #5945 > > token ]]
00:07:56 verbose #5946 > >                 cts |> threading.cancellation_source_token |> return
00:07:56 verbose #5947 > >             |> new_async_unit
00:07:56 verbose #5948 > >         | _ => fun () => null ()
00:07:56 verbose #5949 > 00:07:55   debug #426 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fdf4fa23bac5c44610ed4ed3b697b939314ee056e70ab346b7024bcc9e46701c/main.spi
00:07:56 verbose #5950 > >
00:07:56 verbose #5951 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:56 verbose #5952 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:56 verbose #5953 > > │ ### with_trace_level                                                         │
00:07:56 verbose #5954 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:56 verbose #5955 > >
00:07:56 verbose #5956 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:56 verbose #5957 > > inl with_trace_level forall t. level fn : _ t = new_async fun () =>
00:07:56 verbose #5958 > >     inl trace_state = get_trace_state_or_init None
00:07:56 verbose #5959 > >     inl old_trace_level = *trace_state.level
00:07:56 verbose #5960 > >     inl trace_level = trace_state.level
00:07:56 verbose #5961 > >     try_finally
00:07:56 verbose #5962 > >         fun () =>
00:07:56 verbose #5963 > >             trace_level <- level
00:07:56 verbose #5964 > >             fn |> return_await
00:07:56 verbose #5965 > >         fun () =>
00:07:56 verbose #5966 > >             trace_level <- old_trace_level
00:07:56 verbose #5967 > 00:07:55   debug #427 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b89d02a7016099ff12bf950e71dada2840d431f78bc2fdd4c25bfebb38148cf3/main.spi
00:07:56 verbose #5968 > >
00:07:57 verbose #5969 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:57 verbose #5970 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:57 verbose #5971 > > │ ### value_task                                                               │
00:07:57 verbose #5972 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:57 verbose #5973 > >
00:07:57 verbose #5974 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:57 verbose #5975 > > nominal value_task = $'System.Threading.Tasks.ValueTask'
00:07:57 verbose #5976 > 00:07:56   debug #428 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c6ae8f5039002595d3e984a26053a8ce5329aa2dd2d3100e20ddf2fdaf755087/main.spi
00:07:57 verbose #5977 > >
00:07:57 verbose #5978 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:57 verbose #5979 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:57 verbose #5980 > > │ ### value_task_as_task                                                       │
00:07:57 verbose #5981 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:57 verbose #5982 > >
00:07:57 verbose #5983 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:57 verbose #5984 > > inl value_task_as_task (task : value_task) : task () =
00:07:57 verbose #5985 > >     $'!task.AsTask' ()
00:07:57 verbose #5986 > 00:07:56   debug #429 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/55620b7d3407f75031ae5e25e7fd8ddbab1f6a14ae6f8223a71df35672ba4481/main.spi
00:07:57 verbose #5987 > >
00:07:57 verbose #5988 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:57 verbose #5989 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:57 verbose #5990 > > │ ### await_value_task_unit                                                    │
00:07:57 verbose #5991 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:57 verbose #5992 > >
00:07:57 verbose #5993 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:57 verbose #5994 > > inl await_value_task_unit (task : value_task) : async () =
00:07:57 verbose #5995 > >     task |> value_task_as_task |> await_task
00:07:57 verbose #5996 > 00:07:57   debug #430 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/feb2c4792ec92ce7f22850de0c8896bafc64577fc8e3220002b76567f68ffe20/main.spi
00:07:58 verbose #5997 > >
00:07:58 verbose #5998 > > ── markdown ────────────────────────────────────────────────────────────────────
00:07:58 verbose #5999 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:58 verbose #6000 > > │ ## main                                                                      │
00:07:58 verbose #6001 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:58 verbose #6002 > >
00:07:58 verbose #6003 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:58 verbose #6004 > > inl main () =
00:07:58 verbose #6005 > >     $'let merge_cancellation_token_with_default_async x =
00:07:58 verbose #6006 > > !merge_cancellation_token_with_default_async x' : ()
00:07:58 verbose #6007 > 00:07:57   debug #431 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/97492784839abf2e4884af8fb55fc6714b2f1177ce8005572326a995e207b1e1/main.spi
00:08:00 verbose #6008 > 00:00:47 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 41785 }
00:08:00 verbose #6009 > 00:00:47   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:08:00 verbose #6010 >     "nbconvert",
00:08:00 verbose #6011 >     "c:/home/git/polyglot/lib/spiral/async.dib.ipynb",
00:08:00 verbose #6012 >     "--to",
00:08:00 verbose #6013 >     "html",
00:08:00 verbose #6014 >     "--HTMLExporter.theme=dark",
00:08:00 verbose #6015 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/async.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:08:03 verbose #6016 > 00:00:50 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/async.dib.ipynb to html
00:08:03 verbose #6017 > 00:00:50 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:08:03 verbose #6018 > 00:00:50 verbose #7 !   validate(nb)
00:08:06 verbose #6019 > 00:00:53 verbose #8 ! [NbConvertApp] Writing 403592 bytes to c:\home\git\polyglot\lib\spiral\async.dib.html
00:08:06 verbose #6020 > 00:00:53 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 641 }
00:08:06 verbose #6021 > 00:00:53   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 641 }
00:08:06 verbose #6022 > 00:00:53   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:08:06 verbose #6023 >     "-c",
00:08:06 verbose #6024 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/async.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:08:06 verbose #6025 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/async.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:08:08 verbose #6026 > 00:00:55 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:08:08 verbose #6027 > 00:00:55   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:08:09 verbose #6028 > 00:00:56   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 42485 }
00:08:09   debug #6029 runtime.execute_with_options_async / { exit_code = 0; output_length = 46850 }
00:08:09   debug #11 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path async.dib --retries 3
00:08:09   debug #6030 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path runtime.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:08:09 verbose #6031 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "runtime.dib", "--retries", "3"])) }
00:08:09 verbose #6032 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:08:09 verbose #6033 >     "repl",
00:08:09 verbose #6034 >     "--exit-after-run",
00:08:09 verbose #6035 >     "--run",
00:08:09 verbose #6036 >     "c:/home/git/polyglot/lib/spiral/runtime.dib",
00:08:09 verbose #6037 >     "--output-path",
00:08:09 verbose #6038 >     "c:/home/git/polyglot/lib/spiral/runtime.dib.ipynb",
00:08:09 verbose #6039 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/runtime.dib" --output-path "c:/home/git/polyglot/lib/spiral/runtime.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:08:12 verbose #6040 > >
00:08:12 verbose #6041 > > ── markdown ────────────────────────────────────────────────────────────────────
00:08:12 verbose #6042 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:12 verbose #6043 > > │ # runtime                                                                    │
00:08:12 verbose #6044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:18 verbose #6045 > >
00:08:18 verbose #6046 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:18 verbose #6047 > > open rust
00:08:18 verbose #6048 > > open rust_operators
00:08:18 verbose #6049 > > open sm'_operators
00:08:19 verbose #6050 > 00:08:18   debug #432 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/716b2cbc01f0892070ff03319dda7eb0fc1abfbf67f5f9829054763c3a57496f/main.spi
00:08:20 verbose #6051 > >
00:08:20 verbose #6052 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:20 verbose #6053 > > //// test
00:08:20 verbose #6054 > >
00:08:20 verbose #6055 > > open testing
00:08:20 verbose #6056 > > open file_system_operators
00:08:21 verbose #6057 > 00:08:20   debug #433 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1d24ad30630ddeaa6eba453adab5944b53d355403facbf5a79fbe25dd4950d90/main.spi
00:08:21 verbose #6058 > >
00:08:21 verbose #6059 > > ── markdown ────────────────────────────────────────────────────────────────────
00:08:21 verbose #6060 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:21 verbose #6061 > > │ ## runtime                                                                   │
00:08:21 verbose #6062 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:21 verbose #6063 > >
00:08:21 verbose #6064 > > ── markdown ────────────────────────────────────────────────────────────────────
00:08:21 verbose #6065 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:21 verbose #6066 > > │ ### split_args                                                               │
00:08:21 verbose #6067 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:21 verbose #6068 > >
00:08:21 verbose #6069 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:21 verbose #6070 > > let split_args (args : string) : result (array_base string) string =
00:08:21 verbose #6071 > >     open parsing
00:08:21 verbose #6072 > >     inl esc = [[ '\\'; '`' ]]
00:08:21 verbose #6073 > >     inl quotes = [[ '"' ]]
00:08:21 verbose #6074 > >     inl special = esc ++ quotes
00:08:21 verbose #6075 > >     inl p_esc_char c =
00:08:21 verbose #6076 > >         p_char c >>. any_char () |>> fun c' => $'$"{!c}{!c'}"'
00:08:21 verbose #6077 > >     inl p_word = special |> none_of |>> sm'.obj_to_string
00:08:21 verbose #6078 > >     inl p_plain = special ++ [[ ' ' ]] |> none_of |> many1_chars
00:08:21 verbose #6079 > >     inl p_text = p_word |> many1_strings
00:08:21 verbose #6080 > >     inl p_esc = esc |> listm.map p_esc_char |> choice
00:08:21 verbose #6081 > >     inl p_quoted = (p_word <|> p_esc) |> many |>> sm'.concat_list ""
00:08:21 verbose #6082 > >     inl p_quoted_all = p_quoted |> between (p_char '"') (p_char '"')
00:08:21 verbose #6083 > >     inl p_esc_root = p_esc >>% "" >>. (p_word |> many) |>> sm'.concat_list ""
00:08:21 verbose #6084 > >     inl p_content = p_plain <|> p_quoted_all <|> p_esc_root
00:08:21 verbose #6085 > >     inl p_args = spaces1 () |> sep_by p_content
00:08:21 verbose #6086 > >     args
00:08:21 verbose #6087 > >     |> parse p_args
00:08:21 verbose #6088 > >     |> resultm.map (fst >> listm'.box >> listm'.to_array')
00:08:21 verbose #6089 > 00:08:20   debug #434 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5d40014332e4a8f9d0b9be3c2136439bcde653275e7703420e0a70e7be09393c/main.spi
00:08:21 verbose #6090 > >
00:08:21 verbose #6091 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:21 verbose #6092 > > //// test
00:08:21 verbose #6093 > > ///! fsharp
00:08:21 verbose #6094 > > ////! cuda // Only stack allocated primitive types (i8,i16,i32,i64 and
00:08:21 verbose #6095 > > u8,u16,u32,u64 and f32,f64 and bool) are allowed in CuPy arrays.
00:08:21 verbose #6096 > > ///! rust
00:08:21 verbose #6097 > > ///! typescript
00:08:21 verbose #6098 > > ///! python
00:08:21 verbose #6099 > >
00:08:21 verbose #6100 > > [[
00:08:21 verbose #6101 > >     "a b c",
00:08:21 verbose #6102 > >     ;[[ "a"; "b"; "c" ]]
00:08:21 verbose #6103 > >
00:08:21 verbose #6104 > >     "e f \"g h\" i",
00:08:21 verbose #6105 > >     ;[[ "e"; "f"; "g h"; "i" ]]
00:08:21 verbose #6106 > >
00:08:21 verbose #6107 > >     "\"j k\" \"l\" \"m\"",
00:08:21 verbose #6108 > >     ;[[ "j k"; "l"; "m" ]]
00:08:21 verbose #6109 > >
00:08:21 verbose #6110 > >     "s -t \"u \`\"v\`\" w\"",
00:08:21 verbose #6111 > >     ;[[ "s"; "-t"; "u \`\"v\`\" w" ]]
00:08:21 verbose #6112 > >
00:08:21 verbose #6113 > >     "n -o \"p \\\"q\\\" r\"",
00:08:21 verbose #6114 > >     ;[[ "n"; "-o"; "p \\\"q\\\" r" ]]
00:08:21 verbose #6115 > >
00:08:21 verbose #6116 > >     "r -s \"t \\\"u\\\"\"",
00:08:21 verbose #6117 > >     ;[[ "r"; "-s"; "t \\\"u\\\"" ]]
00:08:21 verbose #6118 > >
00:08:21 verbose #6119 > >     $'$"x -y \\\"$z -a \'(b=\\\\\\"c-id=)[[a-fA-F0-9]]{{8}}\', {{ \`$_[[1]] +
00:08:21 verbose #6120 > > \`$d++ }}\\\""',
00:08:21 verbose #6121 > >     ;[[ "x"; "-y"; "$z -a '(b=\\\"c-id=)[[a-fA-F0-9]]{8}', { `$_[[1]] + `$d++ }"
00:08:21 verbose #6122 > > ]]
00:08:21 verbose #6123 > >
00:08:21 verbose #6124 > >     "e -f \"$g -h '(i=`\"j-id=)[[a-fA-F0-9]]{8}', { `$_[[1]] + `$k++ }\"",
00:08:21 verbose #6125 > >     ;[[ "e"; "-f"; "$g -h '(i=`\"j-id=)[[a-fA-F0-9]]{8}', { `$_[[1]] + `$k++ }"
00:08:21 verbose #6126 > > ]]
00:08:21 verbose #6127 > >
00:08:21 verbose #6128 > >     $'$"--l \\\\\\"\'\'\' m \'\'\'\\\\\\" "',
00:08:21 verbose #6129 > >     ;[[ "--l"; "''' m '''" ]]
00:08:21 verbose #6130 > >
00:08:21 verbose #6131 > >     $'$"n --o --p q --r \\\"s:/t u/v.w\\\" --x \\\"y:/z.a\\\" --b c.d
00:08:21 verbose #6132 > > \\\"\\\\e{{f-g}}\\\" h.i \\\"j (k)\\\""',
00:08:21 verbose #6133 > >     ;[[ "n"; "--o"; "--p"; "q"; "--r"; "s:/t u/v.w"; "--x"; "y:/z.a"; "--b";
00:08:21 verbose #6134 > > "c.d"; "\\e{f-g}"; "h.i"; "j (k)" ]]
00:08:21 verbose #6135 > >
00:08:21 verbose #6136 > >     $'\@$"l ""m n:\\o.p"""',
00:08:21 verbose #6137 > >     ;[[ "l"; "m n:\\o.p" ]]
00:08:21 verbose #6138 > > ]]
00:08:21 verbose #6139 > > |> _assert_fn split_args
00:08:22 verbose #6140 > 00:08:21   debug #435 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f703d3953f21ffa14671a46708821eb2b7f67abe1632faeebf99088b1028cdee/main.spi
00:08:46 verbose #6141 > >
00:08:46 verbose #6142 > > ╭─[ 25.06s - return value ]────────────────────────────────────────────────────╮
00:08:46 verbose #6143 > > │                                                                              │
00:08:46 verbose #6144 > > │ .rs output:                                                                  │
00:08:46 verbose #6145 > > │                                                                              │
00:08:46 verbose #6146 > > │ 00:00:00 verbose #1 _assert_fn / { input = a b c }                     │
00:08:46 verbose #6147 > > │ __assert_eq' / actual: Array(MutCell(["a", "b", "c"])) / expected:           │
00:08:46 verbose #6148 > > │ Array(MutCell(["a", "b", "c"]))                                              │
00:08:46 verbose #6149 > > │                                                                              │
00:08:46 verbose #6150 > > │ 00:00:00 verbose #2 _assert_fn / { input = e f "g h" i }               │
00:08:46 verbose #6151 > > │ __assert_eq' / actual: Array(MutCell(["e", "f", "g h", "i"])) / expected:    │
00:08:46 verbose #6152 > > │ Array(MutCell(["e", "f", "g h", "i"]))                                       │
00:08:46 verbose #6153 > > │                                                                              │
00:08:46 verbose #6154 > > │ 00:00:00 verbose #3 _assert_fn / { input = "j k" "l" "m" }             │
00:08:46 verbose #6155 > > │ __assert_eq' / actual: Array(MutCell(["j k", "l", "m"])) / expected:         │
00:08:46 verbose #6156 > > │ Array(MutCell(["j k", "l", "m"]))                                            │
00:08:46 verbose #6157 > > │                                                                              │
00:08:46 verbose #6158 > > │ 00:00:00 verbose #4 _assert_fn / { input = s -t "u `"v`" w" }          │
00:08:46 verbose #6159 > > │ __assert_eq' / actual: Array(MutCell(["s", "-t", "u `"v`" w"])) / expected:  │
00:08:46 verbose #6160 > > │ Array(MutCell(["s", "-t", "u `"v`" w"]))                                     │
00:08:46 verbose #6161 > > │                                                                              │
00:08:46 verbose #6162 > > │ 00:00:00 verbose #5 _assert_fn / { input = n -o "p \"q\" r" }          │
00:08:46 verbose #6163 > > │ __assert_eq' / actual: Array(MutCell(["n", "-o", "p \"q\" r"])) / expected:  │
00:08:46 verbose #6164 > > │ Array(MutCell(["n", "-o", "p \"q\" r"]))                                     │
00:08:46 verbose #6165 > > │                                                                              │
00:08:46 verbose #6166 > > │ 00:00:00 verbose #6 _assert_fn / { input = r -s "t \"u\"" }            │
00:08:46 verbose #6167 > > │ __assert_eq' / actual: Array(MutCell(["r", "-s", "t \"u\""])) / expected:    │
00:08:46 verbose #6168 > > │ Array(MutCell(["r", "-s", "t \"u\""]))                                       │
00:08:46 verbose #6169 > > │                                                                              │
00:08:46 verbose #6170 > > │ 00:00:00 verbose #7 _assert_fn / { input = x -y "$z -a '(b=\"c-id=)[   │
00:08:46 verbose #6171 > > │ a-fA-F0-9]{8}', { `$_[1] + `$d++ }" }                                        │
00:08:46 verbose #6172 > > │ __assert_eq' / actual: Array(MutCell(["x", "-y", "$z -a '(b=\"c-id=)[        │
00:08:46 verbose #6173 > > │ a-fA-F0-9]{8}', { `$_[1] + `$d++ }"])) / expected: Array(MutCell(["x", "-y", │
00:08:46 verbose #6174 > > │ "$z -a '(b=\"c-id=)[a-fA-F0-9]{8}', { `$_[1] + `$d++ }"]))                   │
00:08:46 verbose #6175 > > │                                                                              │
00:08:46 verbose #6176 > > │ 00:00:00 verbose #8 _assert_fn / { input = e -f "$g -h '(i=`"j-id=)[   │
00:08:46 verbose #6177 > > │ a-fA-F...__assert_eq' / actual: ['n', '-o', 'p \\"q\\" r'] / expected: ['n', │
00:08:46 verbose #6178 > > │ '-o', 'p \\"q\\" r']                                                         │
00:08:46 verbose #6179 > > │                                                                              │
00:08:46 verbose #6180 > > │ 00:00:00 verbose #6 _assert_fn / { input = r -s "t \"u\"" }             │
00:08:46 verbose #6181 > > │ __assert_eq' / actual: ['r', '-s', 't \\"u\\"'] / expected: ['r', '-s', 't   │
00:08:46 verbose #6182 > > │ \\"u\\"']                                                                    │
00:08:46 verbose #6183 > > │                                                                              │
00:08:46 verbose #6184 > > │ 00:00:00 verbose #7 _assert_fn / { input = x -y "$z -a '(b=\"c-id=)[    │
00:08:46 verbose #6185 > > │ a-fA-F0-9]{8}', { `$_[1] + `$d++ }" }                                        │
00:08:46 verbose #6186 > > │ __assert_eq' / actual: ['x', '-y', '$z -a \'(b=\\"c-id=)[a-fA-F0-9]{8}\', {  │
00:08:46 verbose #6187 > > │ `$_[1] + `$d++ }'] / expected: ['x', '-y', '$z -a \'(b=\\"c-id=)[            │
00:08:46 verbose #6188 > > │ a-fA-F0-9]{8}\', { `$_[1] + `$d++ }']                                        │
00:08:46 verbose #6189 > > │                                                                              │
00:08:46 verbose #6190 > > │ 00:00:00 verbose #8 _assert_fn / { input = e -f "$g -h '(i=`"j-id=)[    │
00:08:46 verbose #6191 > > │ a-fA-F0-9]{8}', { `$_[1] + `$k++ }" }                                        │
00:08:46 verbose #6192 > > │ __assert_eq' / actual: ['e', '-f', '$g -h \'(i=`"j-id=)[a-fA-F0-9]{8}\', {   │
00:08:46 verbose #6193 > > │ `$_[1] + `$k++ }'] / expected: ['e', '-f', '$g -h \'(i=`"j-id=)[             │
00:08:46 verbose #6194 > > │ a-fA-F0-9]{8}\', { `$_[1] + `$k++ }']                                        │
00:08:46 verbose #6195 > > │                                                                              │
00:08:46 verbose #6196 > > │ 00:00:00 verbose #9 _assert_fn / { input = --l \"''' m '''\"  }         │
00:08:46 verbose #6197 > > │ __assert_eq' / actual: ['--l', "''' m '''"] / expected: ['--l', "''' m '''"] │
00:08:46 verbose #6198 > > │                                                                              │
00:08:46 verbose #6199 > > │ 00:00:00 verbose #10 _assert_fn / { input = n --o --p q --r "s:/t       │
00:08:46 verbose #6200 > > │ u/v.w" --x "y:/z.a" --b c.d "\e{f-g}" h.i "j (k)" }                          │
00:08:46 verbose #6201 > > │ __assert_eq' / actual: ['n', '--o', '--p', 'q', '--r', 's:/t u/v.w', '--x',  │
00:08:46 verbose #6202 > > │ 'y:/z.a', '--b', 'c.d', '\\e{f-g}', 'h.i', 'j (k)'] / expected: ['n', '--o', │
00:08:46 verbose #6203 > > │ '--p', 'q', '--r', 's:/t u/v.w', '--x', 'y:/z.a', '--b', 'c.d', '\\e{f-g}',  │
00:08:46 verbose #6204 > > │ 'h.i', 'j (k)']                                                              │
00:08:46 verbose #6205 > > │                                                                              │
00:08:46 verbose #6206 > > │ 00:00:00 verbose #11 _assert_fn / { input = l "m n:\o.p" }              │
00:08:46 verbose #6207 > > │ __assert_eq' / actual: ['l', 'm n:\\o.p'] / expected: ['l', 'm n:\\o.p']     │
00:08:46 verbose #6208 > > │                                                                              │
00:08:46 verbose #6209 > > │                                                                              │
00:08:46 verbose #6210 > > │                                                                              │
00:08:46 verbose #6211 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:46 verbose #6212 > >
00:08:46 verbose #6213 > > ╭─[ 25.09s - stdout ]──────────────────────────────────────────────────────────╮
00:08:46 verbose #6214 > > │ .fsx output:                                                                 │
00:08:46 verbose #6215 > > │                                                                              │
00:08:46 verbose #6216 > > │ 00:00:00 verbose #1 _assert_fn / { input = a b c }                      │
00:08:46 verbose #6217 > > │ __assert_eq' / actual: [|"a"; "b"; "c"|] / expected: [|"a"; "b"; "c"|]       │
00:08:46 verbose #6218 > > │                                                                              │
00:08:46 verbose #6219 > > │ 00:00:00 verbose #2 _assert_fn / { input = e f "g h" i }                │
00:08:46 verbose #6220 > > │ __assert_eq' / actual: [|"e"; "f"; "g h"; "i"|] / expected: [|"e"; "f"; "g   │
00:08:46 verbose #6221 > > │ h"; "i"|]                                                                    │
00:08:46 verbose #6222 > > │                                                                              │
00:08:46 verbose #6223 > > │ 00:00:00 verbose #3 _assert_fn / { input = "j k" "l" "m" }              │
00:08:46 verbose #6224 > > │ __assert_eq' / actual: [|"j k"; "l"; "m"|] / expected: [|"j k"; "l"; "m"|]   │
00:08:46 verbose #6225 > > │                                                                              │
00:08:46 verbose #6226 > > │ 00:00:00 verbose #4 _assert_fn / { input = s -t "u `"v`" w" }           │
00:08:46 verbose #6227 > > │ __assert_eq' / actual: [|"s"; "-t"; "u `"v`" w"|] / expected: [|"s"; "-t";   │
00:08:46 verbose #6228 > > │ "u `"v`" w"|]                                                                │
00:08:46 verbose #6229 > > │                                                                              │
00:08:46 verbose #6230 > > │ 00:00:00 verbose #5 _assert_fn / { input = n -o "p \"q\" r" }           │
00:08:46 verbose #6231 > > │ __assert_eq' / actual: [|"n"; "-o"; "p \"q\" r"|] / expected: [|"n"; "-o";   │
00:08:46 verbose #6232 > > │ "p \"q\" r"|]                                                                │
00:08:46 verbose #6233 > > │                                                                              │
00:08:46 verbose #6234 > > │ 00:00:00 verbose #6 _assert_fn / { input = r -s "t \"u\"" }             │
00:08:46 verbose #6235 > > │ __assert_eq' / actual: [|"r"; "-s"; "t \"u\""|] / expected: [|"r"; "-s"; "t  │
00:08:46 verbose #6236 > > │ \"u\""|]                                                                     │
00:08:46 verbose #6237 > > │                                                                              │
00:08:46 verbose #6238 > > │ 00:00:00 verbose #7 _assert_fn / { input = x -y "$z -a '(b=\"c-id=)[    │
00:08:46 verbose #6239 > > │ a-fA-F0-9]{8}', { `$_[1] + `$d++ }" }                                        │
00:08:46 verbose #6240 > > │ __assert_eq' / actual: [|"x"; "-y"; "$z -a '(b=\"c-id=)[a-fA-F0-9]{8}', {    │
00:08:46 verbose #6241 > > │ `$_[1] + `$d++ }"|] / expected: [|"x"; "-y"; "$z -a '(b=\"c-id=)[            │
00:08:46 verbose #6242 > > │ a-fA-F0-9]{8}', { `$_[1] + `$d++ }"|]                                        │
00:08:46 verbose #6243 > > │                                                                              │
00:08:46 verbose #6244 > > │ 00:00:00 verbose #8 _assert_fn / { input = e -f "$g -h '(i=`"j-id=)[    │
00:08:46 verbose #6245 > > │ a-fA-F0-9]{8}', { `$_[1] + `$k++ }" }                                        │
00:08:46 verbose #6246 > > │ __assert_eq' / actual: [|"e"; "-f"; "$g -h '(i=`"j-id=)[a-fA-F0-9]{8}', {    │
00:08:46 verbose #6247 > > │ `$_[1] + `$k++ }"|] / expected: [|"e"; "-f"; "$g -h '(i=`"j-id=)[            │
00:08:46 verbose #6248 > > │ a-fA-F0-9]{8}', { `$_[1] + `$k++ }"|]                                        │
00:08:46 verbose #6249 > > │                                                                              │
00:08:46 verbose #6250 > > │ 00:00:00 verbose #9 _assert_fn / { input = --l \"''' m '''\"  }         │
00:08:46 verbose #6251 > > │ __assert_eq' / actual: [|"--l"; "''' m '''"|] / expected: [|"--l"; "''' m    │
00:08:46 verbose #6252 > > │ '''"|]                                                                       │
00:08:46 verbose #6253 > > │                                                                              │
00:08:46 verbose #6254 > > │ 00:00:00 verbose #10 _assert_fn / { input = n --o --p q --r "s:/t       │
00:08:46 verbose #6255 > > │ u/v.w" --x "y:/z.a" --b c.d "\e{f-g}" h.i "j (k)" }                          │
00:08:46 verbose #6256 > > │ __assert_eq' / actual: [|"n"; "--o"; "--p"; "q"; "--r"; "s:/t u/v.w"; "--x"; │
00:08:46 verbose #6257 > > │ "y:/z.a"; "--b"; "c.d";                                                      │
00:08:46 verbose #6258 > > │   "\e{f-g}"; "h.i"; "j (k)"|] / expected: [|"n"; "--o"; "--p"; "q"; "--r";   │
00:08:46 verbose #6259 > > │ "s:/t u/v.w"; "--x"; "y:/z.a"; "--b"; "c.d";                                 │
00:08:46 verbose #6260 > > │   "\e{f-g}"; "h.i"; "j (k)"|]                                                │
00:08:46 verbose #6261 > > │                                                                              │
00:08:46 verbose #6262 > > │ 00:00:00 verbose #11 _assert_fn / { input = l "m n:\o.p" }              │
00:08:46 verbose #6263 > > │ __assert_eq' / actual: [|"l"; "m n:\o.p"|] / expected: [|"l"; "m n:\o.p"|]   │
00:08:46 verbose #6264 > > │                                                                              │
00:08:46 verbose #6265 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:46 verbose #6266 > >
00:08:46 verbose #6267 > > ── markdown ────────────────────────────────────────────────────────────────────
00:08:46 verbose #6268 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:46 verbose #6269 > > │ ### split_command                                                            │
00:08:46 verbose #6270 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:46 verbose #6271 > >
00:08:46 verbose #6272 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:46 verbose #6273 > > let split_command (command : string) : result (string * option string) string =
00:08:46 verbose #6274 > >     open parsing
00:08:46 verbose #6275 > >     inl quotes = [[ '"'; '\'' ]]
00:08:46 verbose #6276 > >     inl p_quoted_char = quotes |> listm.map p_char |> choice
00:08:46 verbose #6277 > >     inl normalize = function '\\' => '/' | c => c
00:08:46 verbose #6278 > >     inl p_quoted = quotes |> none_of |>> normalize |> many_chars |> between
00:08:46 verbose #6279 > > p_quoted_char p_quoted_char
00:08:46 verbose #6280 > >     inl p_unquoted = quotes ++ [[ ' ' ]] |> none_of |>> normalize |> many1_chars
00:08:46 verbose #6281 > >     inl p_path = p_quoted <|> p_unquoted <|> eof () >>% "" .>> spaces ()
00:08:46 verbose #6282 > >     inl p_args = p_char ' ' |> opt >>. (any_char () |> many1_chars)
00:08:46 verbose #6283 > >     inl p_command = p_path .>>. (p_args |> opt)
00:08:46 verbose #6284 > >     command
00:08:46 verbose #6285 > >     |> parse p_command
00:08:46 verbose #6286 > >     |> resultm.map fst
00:08:47 verbose #6287 > 00:08:46   debug #436 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2dc95e4a8dde2b3cc617b993333018403ac25c869f9592bc3211edac1699948f/main.spi
00:08:47 verbose #6288 > >
00:08:47 verbose #6289 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:47 verbose #6290 > > //// test
00:08:47 verbose #6291 > > ///! fsharp
00:08:47 verbose #6292 > > ////! cuda // Only stack allocated primitive types (i8,i16,i32,i64 and
00:08:47 verbose #6293 > > u8,u16,u32,u64 and f32,f64 and bool) are allowed in CuPy arrays.
00:08:47 verbose #6294 > > ///! rust
00:08:47 verbose #6295 > > ///! typescript
00:08:47 verbose #6296 > > ///! python
00:08:47 verbose #6297 > >
00:08:47 verbose #6298 > > [[
00:08:47 verbose #6299 > >     "",
00:08:47 verbose #6300 > >     ("", None)
00:08:47 verbose #6301 > >
00:08:47 verbose #6302 > >     "/a/b/c",
00:08:47 verbose #6303 > >     ("/a/b/c", None)
00:08:47 verbose #6304 > >
00:08:47 verbose #6305 > >     "d e.f",
00:08:47 verbose #6306 > >     ("d", Some "e.f")
00:08:47 verbose #6307 > >
00:08:47 verbose #6308 > >     $'"""..\\..\\g.h i.j k.l"""',
00:08:47 verbose #6309 > >     ("../../g.h", Some "i.j k.l")
00:08:47 verbose #6310 > >
00:08:47 verbose #6311 > >     $'\@"m:\\n\\o.p ""q.r s.t"""',
00:08:47 verbose #6312 > >     ("m:/n/o.p", Some $'\@"""q.r s.t"""')
00:08:47 verbose #6313 > >
00:08:47 verbose #6314 > >     $'\@"""..\\..\\u v\\w.x"" ""y z.a"" b.c"',
00:08:47 verbose #6315 > >     ("../../u v/w.x", Some $'\@"""y z.a"" b.c"')
00:08:47 verbose #6316 > >
00:08:47 verbose #6317 > >     $'\@"""..\\..\\d e.f"" -g \\\\""h i\\\\"""',
00:08:47 verbose #6318 > >     ("../../d e.f", Some $'\@"-g \\\\""h i\\\\"""')
00:08:47 verbose #6319 > >
00:08:47 verbose #6320 > >     $'\@"..\\..\\j k.l -m \\\\""n o\\\\"""',
00:08:47 verbose #6321 > >     ("../../j", Some $'\@"k.l -m \\\\""n o\\\\"""')
00:08:47 verbose #6322 > > ]]
00:08:47 verbose #6323 > > |> _assert_fn split_command
00:08:47 verbose #6324 > 00:08:46   debug #437 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/90dee2b05dfb2cac61bac49c743366139a397548d8b778bbf8d00ccb683b0fe1/main.spi
00:09:02 verbose #6325 > >
00:09:02 verbose #6326 > > ╭─[ 15.08s - return value ]────────────────────────────────────────────────────╮
00:09:02 verbose #6327 > > │                                                                              │
00:09:02 verbose #6328 > > │ .rs output:                                                                  │
00:09:02 verbose #6329 > > │                                                                              │
00:09:02 verbose #6330 > > │ 00:00:00 verbose #1 _assert_fn / { input =  }                          │
00:09:02 verbose #6331 > > │ __assert_eq' / actual: ("", US1_1) / expected: ("", US1_1)                   │
00:09:02 verbose #6332 > > │                                                                              │
00:09:02 verbose #6333 > > │ 00:00:00 verbose #2 _assert_fn / { input = /a/b/c }                    │
00:09:02 verbose #6334 > > │ __assert_eq' / actual: ("/a/b/c", US1_1) / expected: ("/a/b/c", US1_1)       │
00:09:02 verbose #6335 > > │                                                                              │
00:09:02 verbose #6336 > > │ 00:00:00 verbose #3 _assert_fn / { input = d e.f }                     │
00:09:02 verbose #6337 > > │ __assert_eq' / actual: ("d", US1_0("e.f")) / expected: ("d", US1_0("e.f"))   │
00:09:02 verbose #6338 > > │                                                                              │
00:09:02 verbose #6339 > > │ 00:00:00 verbose #4 _assert_fn / { input = ..\..\g.h i.j k.l }         │
00:09:02 verbose #6340 > > │ __assert_eq' / actual: ("../../g.h", US1_0("i.j k.l")) / expected:           │
00:09:02 verbose #6341 > > │ ("../../g.h", US1_0("i.j k.l"))                                              │
00:09:02 verbose #6342 > > │                                                                              │
00:09:02 verbose #6343 > > │ 00:00:00 verbose #5 _assert_fn / { input = m:\n\o.p "q.r s.t" }        │
00:09:02 verbose #6344 > > │ __assert_eq' / actual: ("m:/n/o.p", US1_0(""q.r s.t"")) / expected:          │
00:09:02 verbose #6345 > > │ ("m:/n/o.p", US1_0(""q.r s.t""))                                             │
00:09:02 verbose #6346 > > │                                                                              │
00:09:02 verbose #6347 > > │ 00:00:00 verbose #6 _assert_fn / { input = "..\..\u v\w.x" "y z.a" b.c │
00:09:02 verbose #6348 > > │ }                                                                            │
00:09:02 verbose #6349 > > │ __assert_eq' / actual: ("../../u v/w.x", US1_0(""y z.a" b.c")) / expected:   │
00:09:02 verbose #6350 > > │ ("../../u v/w.x", US1_0(""y z.a" b.c"))                                      │
00:09:02 verbose #6351 > > │                                                                              │
00:09:02 verbose #6352 > > │ 00:00:00 verbose #7 _assert_fn / { input = "..\..\d e.f" -g \\"h i\\"  │
00:09:02 verbose #6353 > > │ }                                                                            │
00:09:02 verbose #6354 > > │ __assert_eq' / actual: ("../../d e.f", US1_0("-g \\"h i\\"")) / expected:    │
00:09:02 verbose #6355 > > │ ("../../d e.f", US1_0("-g \\"h i\\""))                                       │
00:09:02 verbose #6356 > > │                                                                              │
00:09:02 verbose #6357 > > │ 00:00:00 verbose #8 _assert_fn / { input = ..\..\j k.l -m \\"n o\\" }  │
00:09:02 verbose #6358 > > │ __assert_eq' / actual: ("../../j", US1_0("k.l -m \\"n o\\"")) / expected:    │
00:09:02 verbose #6359 > > │ ("../../j", US1_0("k.l -m \\"n o\\""))                                       │
00:09:02 verbose #6360 > > │                                                                              │
00:09:02 verbose #6361 > > │                                                                              │
00:09:02 verbose #6362 > > │ .ts output:                                                                  │
00:09:02 verbose #6363 > > │                                                                              │
00:09:02 verbose #6364 > > │ 00:00:00 verbose #1 _assert_fn / { input =  }                           │
00:09:02 verbose #6365 > > │ __assert_eq' / actual: ,US1_1 / expected: ,US1_1                             │
00:09:02 verbose #6366 > > │                                                                              │
00:09:02 verbose #6367 > > │ 00:00:00 verbose #2 _assert_fn /... #8 _assert_fn / { input = ..\..\j │
00:09:02 verbose #6368 > > │ k.l -m \\"n o\\" }                                                           │
00:09:02 verbose #6369 > > │ __assert_eq' / actual: ../../j,US1_0 (k.l -m \\"n o\\") / expected:          │
00:09:02 verbose #6370 > > │ ../../j,US1_0 (k.l -m \\"n o\\")                                             │
00:09:02 verbose #6371 > > │                                                                              │
00:09:02 verbose #6372 > > │                                                                              │
00:09:02 verbose #6373 > > │ .py output:                                                                  │
00:09:02 verbose #6374 > > │                                                                              │
00:09:02 verbose #6375 > > │ 00:00:00 verbose #1 _assert_fn / { input =  }                           │
00:09:02 verbose #6376 > > │ __assert_eq' / actual: ('', US1_1) / expected: ('', US1_1)                   │
00:09:02 verbose #6377 > > │                                                                              │
00:09:02 verbose #6378 > > │ 00:00:00 verbose #2 _assert_fn / { input = /a/b/c }                     │
00:09:02 verbose #6379 > > │ __assert_eq' / actual: ('/a/b/c', US1_1) / expected: ('/a/b/c', US1_1)       │
00:09:02 verbose #6380 > > │                                                                              │
00:09:02 verbose #6381 > > │ 00:00:00 verbose #3 _assert_fn / { input = d e.f }                      │
00:09:02 verbose #6382 > > │ __assert_eq' / actual: ('d', US1_0 "e.f") / expected: ('d', US1_0 "e.f")     │
00:09:02 verbose #6383 > > │                                                                              │
00:09:02 verbose #6384 > > │ 00:00:00 verbose #4 _assert_fn / { input = ..\..\g.h i.j k.l }          │
00:09:02 verbose #6385 > > │ __assert_eq' / actual: ('../../g.h', US1_0 ("i.j k.l")) / expected:          │
00:09:02 verbose #6386 > > │ ('../../g.h', US1_0 ("i.j k.l"))                                             │
00:09:02 verbose #6387 > > │                                                                              │
00:09:02 verbose #6388 > > │ 00:00:00 verbose #5 _assert_fn / { input = m:\n\o.p "q.r s.t" }         │
00:09:02 verbose #6389 > > │ __assert_eq' / actual: ('m:/n/o.p', US1_0 (""q.r s.t"")) / expected:         │
00:09:02 verbose #6390 > > │ ('m:/n/o.p', US1_0 (""q.r s.t""))                                            │
00:09:02 verbose #6391 > > │                                                                              │
00:09:02 verbose #6392 > > │ 00:00:00 verbose #6 _assert_fn / { input = "..\..\u v\w.x" "y z.a" b.c  │
00:09:02 verbose #6393 > > │ }                                                                            │
00:09:02 verbose #6394 > > │ __assert_eq' / actual: ('../../u v/w.x', US1_0 (""y z.a" b.c")) / expected:  │
00:09:02 verbose #6395 > > │ ('../../u v/w.x', US1_0 (""y z.a" b.c"))                                     │
00:09:02 verbose #6396 > > │                                                                              │
00:09:02 verbose #6397 > > │ 00:00:00 verbose #7 _assert_fn / { input = "..\..\d e.f" -g \\"h i\\" } │
00:09:02 verbose #6398 > > │ __assert_eq' / actual: ('../../d e.f', US1_0 ("-g \\"h i\\"")) / expected:   │
00:09:02 verbose #6399 > > │ ('../../d e.f', US1_0 ("-g \\"h i\\""))                                      │
00:09:02 verbose #6400 > > │                                                                              │
00:09:02 verbose #6401 > > │ 00:00:00 verbose #8 _assert_fn / { input = ..\..\j k.l -m \\"n o\\" }   │
00:09:02 verbose #6402 > > │ __assert_eq' / actual: ('../../j', US1_0 ("k.l -m \\"n o\\"")) / expected:   │
00:09:02 verbose #6403 > > │ ('../../j', US1_0 ("k.l -m \\"n o\\""))                                      │
00:09:02 verbose #6404 > > │                                                                              │
00:09:02 verbose #6405 > > │                                                                              │
00:09:02 verbose #6406 > > │                                                                              │
00:09:02 verbose #6407 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:02 verbose #6408 > >
00:09:02 verbose #6409 > > ╭─[ 15.09s - stdout ]──────────────────────────────────────────────────────────╮
00:09:02 verbose #6410 > > │ .fsx output:                                                                 │
00:09:02 verbose #6411 > > │                                                                              │
00:09:02 verbose #6412 > > │ 00:00:00 verbose #1 _assert_fn / { input =  }                           │
00:09:02 verbose #6413 > > │ __assert_eq' / actual: struct ("", US1_1) / expected: struct ("", US1_1)     │
00:09:02 verbose #6414 > > │                                                                              │
00:09:02 verbose #6415 > > │ 00:00:00 verbose #2 _assert_fn / { input = /a/b/c }                     │
00:09:02 verbose #6416 > > │ __assert_eq' / actual: struct ("/a/b/c", US1_1) / expected: struct           │
00:09:02 verbose #6417 > > │ ("/a/b/c", US1_1)                                                            │
00:09:02 verbose #6418 > > │                                                                              │
00:09:02 verbose #6419 > > │ 00:00:00 verbose #3 _assert_fn / { input = d e.f }                      │
00:09:02 verbose #6420 > > │ __assert_eq' / actual: struct ("d", US1_0 "e.f") / expected: struct ("d",    │
00:09:02 verbose #6421 > > │ US1_0 "e.f")                                                                 │
00:09:02 verbose #6422 > > │                                                                              │
00:09:02 verbose #6423 > > │ 00:00:00 verbose #4 _assert_fn / { input = ..\..\g.h i.j k.l }          │
00:09:02 verbose #6424 > > │ __assert_eq' / actual: struct ("../../g.h", US1_0 "i.j k.l") / expected:     │
00:09:02 verbose #6425 > > │ struct ("../../g.h", US1_0 "i.j k.l")                                        │
00:09:02 verbose #6426 > > │                                                                              │
00:09:02 verbose #6427 > > │ 00:00:00 verbose #5 _assert_fn / { input = m:\n\o.p "q.r s.t" }         │
00:09:02 verbose #6428 > > │ __assert_eq' / actual: struct ("m:/n/o.p", US1_0 ""q.r s.t"") / expected:    │
00:09:02 verbose #6429 > > │ struct ("m:/n/o.p", US1_0 ""q.r s.t"")                                       │
00:09:02 verbose #6430 > > │                                                                              │
00:09:02 verbose #6431 > > │ 00:00:00 verbose #6 _assert_fn / { input = "..\..\u v\w.x" "y z.a" b.c  │
00:09:02 verbose #6432 > > │ }                                                                            │
00:09:02 verbose #6433 > > │ __assert_eq' / actual: struct ("../../u v/w.x", US1_0 ""y z.a" b.c") /       │
00:09:02 verbose #6434 > > │ expected: struct ("../../u v/w.x", US1_0 ""y z.a" b.c")                      │
00:09:02 verbose #6435 > > │                                                                              │
00:09:02 verbose #6436 > > │ 00:00:00 verbose #7 _assert_fn / { input = "..\..\d e.f" -g \\"h i\\" } │
00:09:02 verbose #6437 > > │ __assert_eq' / actual: struct ("../../d e.f", US1_0 "-g \\"h i\\"") /        │
00:09:02 verbose #6438 > > │ expected: struct ("../../d e.f", US1_0 "-g \\"h i\\"")                       │
00:09:02 verbose #6439 > > │                                                                              │
00:09:02 verbose #6440 > > │ 00:00:00 verbose #8 _assert_fn / { input = ..\..\j k.l -m \\"n o\\" }   │
00:09:02 verbose #6441 > > │ __assert_eq' / actual: struct ("../../j", US1_0 "k.l -m \\"n o\\"") /        │
00:09:02 verbose #6442 > > │ expected: struct ("../../j", US1_0 "k.l -m \\"n o\\"")                       │
00:09:02 verbose #6443 > > │                                                                              │
00:09:02 verbose #6444 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:02 verbose #6445 > >
00:09:02 verbose #6446 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:02 verbose #6447 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:02 verbose #6448 > > │ ### execution_line                                                           │
00:09:02 verbose #6449 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:02 verbose #6450 > >
00:09:02 verbose #6451 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:02 verbose #6452 > > type execution_line =
00:09:02 verbose #6453 > >     {
00:09:02 verbose #6454 > >         process_id : int
00:09:02 verbose #6455 > >         line : string
00:09:02 verbose #6456 > >         error : bool
00:09:02 verbose #6457 > >     }
00:09:02 verbose #6458 > 00:09:01   debug #438 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6fc197aa3949aab6f08a05e4f138dc26c961811a53c13f3e115be7ba6bcca35e/main.spi
00:09:02 verbose #6459 > >
00:09:02 verbose #6460 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:02 verbose #6461 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:02 verbose #6462 > > │ ## rust                                                                      │
00:09:02 verbose #6463 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:02 verbose #6464 > >
00:09:02 verbose #6465 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:02 verbose #6466 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:02 verbose #6467 > > │ ### process_child                                                            │
00:09:02 verbose #6468 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:02 verbose #6469 > >
00:09:02 verbose #6470 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:02 verbose #6471 > > nominal process_child =
00:09:02 verbose #6472 > >     `(
00:09:02 verbose #6473 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:02 verbose #6474 > > Fable.Core.Emit(\"std::process::Child\")>]]\n#endif\ntype std_process_Child =
00:09:02 verbose #6475 > > class end"
00:09:02 verbose #6476 > >         $'' : $'std_process_Child'
00:09:02 verbose #6477 > >     )
00:09:03 verbose #6478 > 00:09:02   debug #439 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ce13e3fb59bd28f7571aadc71841d8afcebb02d9ae83b74a9ca0260407cea773/main.spi
00:09:03 verbose #6479 > >
00:09:03 verbose #6480 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:03 verbose #6481 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:03 verbose #6482 > > │ ### process_child_stdin                                                      │
00:09:03 verbose #6483 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:03 verbose #6484 > >
00:09:03 verbose #6485 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:03 verbose #6486 > > nominal process_child_stdin =
00:09:03 verbose #6487 > >     `(
00:09:03 verbose #6488 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:03 verbose #6489 > > Fable.Core.Emit(\"std::process::ChildStdin\")>]]\n#endif\ntype
00:09:03 verbose #6490 > > std_process_ChildStdin = class end"
00:09:03 verbose #6491 > >         $'' : $'std_process_ChildStdin'
00:09:03 verbose #6492 > >     )
00:09:03 verbose #6493 > >
00:09:03 verbose #6494 > > inl process_child_stdin
00:09:03 verbose #6495 > >     (child : rust.ref (rust.mut' process_child))
00:09:03 verbose #6496 > >     : rust.ref (rust.mut' (optionm'.option' process_child_stdin))
00:09:03 verbose #6497 > >     =
00:09:03 verbose #6498 > >     !\\(child, $'"&mut $0.stdin"')
00:09:03 verbose #6499 > 00:09:02   debug #440 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/11e52c2775bdcb312c4753c97b2356cf8e2733aee973aff0060e8766909b2517/main.spi
00:09:03 verbose #6500 > >
00:09:03 verbose #6501 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:03 verbose #6502 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:03 verbose #6503 > > │ ## runtime                                                                   │
00:09:03 verbose #6504 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:03 verbose #6505 > >
00:09:03 verbose #6506 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:03 verbose #6507 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:03 verbose #6508 > > │ ### execution_options                                                        │
00:09:03 verbose #6509 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:03 verbose #6510 > >
00:09:03 verbose #6511 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:03 verbose #6512 > > type execution_options =
00:09:03 verbose #6513 > >     {
00:09:03 verbose #6514 > >         command : string
00:09:03 verbose #6515 > >         cancellation_token : optionm'.option' threading.cancellation_token
00:09:03 verbose #6516 > >         environment_variables : array_base (string * string)
00:09:03 verbose #6517 > >         on_line : optionm'.option' (execution_line -> async.async ())
00:09:03 verbose #6518 > >         stdin : optionm'.option' (threading.arc (threading.mutex
00:09:03 verbose #6519 > > process_child_stdin) -> ())
00:09:03 verbose #6520 > >         trace : bool
00:09:03 verbose #6521 > >         working_directory : optionm'.option' string
00:09:03 verbose #6522 > >     }
00:09:03 verbose #6523 > >
00:09:03 verbose #6524 > > inl execution_options (fn : execution_options -> execution_options) :
00:09:03 verbose #6525 > > execution_options =
00:09:03 verbose #6526 > >     {
00:09:03 verbose #6527 > >         command = ""
00:09:03 verbose #6528 > >         cancellation_token = None |> optionm'.box
00:09:03 verbose #6529 > >         environment_variables = ;[[]]
00:09:03 verbose #6530 > >         on_line = None |> optionm'.box
00:09:03 verbose #6531 > >         stdin = None |> optionm'.box
00:09:03 verbose #6532 > >         trace = true
00:09:03 verbose #6533 > >         working_directory = None |> optionm'.box
00:09:03 verbose #6534 > >     }
00:09:03 verbose #6535 > >     |> fn
00:09:04 verbose #6536 > 00:09:03   debug #441 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/40e20dcc001cdb4b3754096201f3f5bf2b72d9d9ff9bf2801971efdb2b5d1099/main.spi
00:09:04 verbose #6537 > >
00:09:04 verbose #6538 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:04 verbose #6539 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:04 verbose #6540 > > │ ## rust                                                                      │
00:09:04 verbose #6541 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:04 verbose #6542 > >
00:09:04 verbose #6543 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:04 verbose #6544 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:04 verbose #6545 > > │ ### process_child_stderr                                                     │
00:09:04 verbose #6546 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:04 verbose #6547 > >
00:09:04 verbose #6548 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:04 verbose #6549 > > nominal process_child_stderr =
00:09:04 verbose #6550 > >     `(
00:09:04 verbose #6551 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:04 verbose #6552 > > Fable.Core.Emit(\"std::process::ChildStderr\")>]]\n#endif\ntype
00:09:04 verbose #6553 > > std_process_ChildStderr = class end"
00:09:04 verbose #6554 > >         $'' : $'std_process_ChildStderr'
00:09:04 verbose #6555 > >     )
00:09:04 verbose #6556 > >
00:09:04 verbose #6557 > > inl process_child_stderr
00:09:04 verbose #6558 > >     (child : rust.ref (rust.mut' process_child))
00:09:04 verbose #6559 > >     : rust.ref (rust.mut' (optionm'.option' process_child_stderr))
00:09:04 verbose #6560 > >     =
00:09:04 verbose #6561 > >     !\($'"&mut !child.stderr"')
00:09:04 verbose #6562 > 00:09:03   debug #442 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/faa45ba11764487e53e6b8b38b6c03d39e28f6d0e9b4467d3328748ac948ce4b/main.spi
00:09:04 verbose #6563 > >
00:09:04 verbose #6564 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:04 verbose #6565 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:04 verbose #6566 > > │ ### process_child_stdout                                                     │
00:09:04 verbose #6567 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:04 verbose #6568 > >
00:09:04 verbose #6569 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:04 verbose #6570 > > nominal process_child_stdout =
00:09:04 verbose #6571 > >     `(
00:09:04 verbose #6572 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:04 verbose #6573 > > Fable.Core.Emit(\"std::process::ChildStdout\")>]]\n#endif\ntype
00:09:04 verbose #6574 > > std_process_ChildStdout = class end"
00:09:04 verbose #6575 > >         $'' : $'std_process_ChildStdout'
00:09:04 verbose #6576 > >     )
00:09:04 verbose #6577 > >
00:09:04 verbose #6578 > > inl process_child_stdout
00:09:04 verbose #6579 > >     (child : rust.ref (rust.mut' process_child))
00:09:04 verbose #6580 > >     : rust.ref (rust.mut' (optionm'.option' process_child_stdout))
00:09:04 verbose #6581 > >     =
00:09:04 verbose #6582 > >     !\($'"&mut !child.stdout"')
00:09:05 verbose #6583 > 00:09:04   debug #443 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/50235c901770032869a1d7f820b6405285ee691f8e226882af1bf7b7c038f849/main.spi
00:09:05 verbose #6584 > >
00:09:05 verbose #6585 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:05 verbose #6586 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:05 verbose #6587 > > │ ### process_command                                                          │
00:09:05 verbose #6588 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:05 verbose #6589 > >
00:09:05 verbose #6590 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:05 verbose #6591 > > nominal process_command =
00:09:05 verbose #6592 > >     `(
00:09:05 verbose #6593 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:05 verbose #6594 > > Fable.Core.Emit(\"std::process::Command\")>]]\n#endif\ntype std_process_Command
00:09:05 verbose #6595 > > = class end"
00:09:05 verbose #6596 > >         $'' : $'std_process_Command'
00:09:05 verbose #6597 > >     )
00:09:05 verbose #6598 > 00:09:04   debug #444 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/13a8628894b7093996192029d95dd7dedc33fcffd4ea046915c46e9507178af0/main.spi
00:09:05 verbose #6599 > >
00:09:05 verbose #6600 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:05 verbose #6601 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:05 verbose #6602 > > │ ### process_stdio                                                            │
00:09:05 verbose #6603 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:05 verbose #6604 > >
00:09:05 verbose #6605 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:05 verbose #6606 > > nominal process_stdio =
00:09:05 verbose #6607 > >     `(
00:09:05 verbose #6608 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:05 verbose #6609 > > Fable.Core.Emit(\"std::process::Stdio\")>]]\n#endif\ntype std_process_Stdio =
00:09:05 verbose #6610 > > class end"
00:09:05 verbose #6611 > >         $'' : $'std_process_Stdio'
00:09:05 verbose #6612 > >     )
00:09:06 verbose #6613 > 00:09:05   debug #445 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5f6d62d7d6c8b11857eda2e9e78223e7a83ac9aa0f2e456d5f3471ac41dba416/main.spi
00:09:06 verbose #6614 > >
00:09:06 verbose #6615 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:06 verbose #6616 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:06 verbose #6617 > > │ ### process_output                                                           │
00:09:06 verbose #6618 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:06 verbose #6619 > >
00:09:06 verbose #6620 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:06 verbose #6621 > > nominal process_output =
00:09:06 verbose #6622 > >     `(
00:09:06 verbose #6623 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:06 verbose #6624 > > Fable.Core.Emit(\"std::process::Output\")>]]\n#endif\ntype std_process_Output =
00:09:06 verbose #6625 > > class end"
00:09:06 verbose #6626 > >         $'' : $'std_process_Output'
00:09:06 verbose #6627 > >     )
00:09:06 verbose #6628 > 00:09:05   debug #446 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0fa7fad8ed173bdaddd9997cfa0e6d0b86418229d37042ac984b9c8eb5722e44/main.spi
00:09:07 verbose #6629 > >
00:09:07 verbose #6630 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:07 verbose #6631 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:07 verbose #6632 > > │ ### process_exit_status                                                      │
00:09:07 verbose #6633 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:07 verbose #6634 > >
00:09:07 verbose #6635 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:07 verbose #6636 > > nominal process_exit_status =
00:09:07 verbose #6637 > >     `(
00:09:07 verbose #6638 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:07 verbose #6639 > > Fable.Core.Emit(\"std::process::ExitStatus\")>]]\n#endif\ntype
00:09:07 verbose #6640 > > std_process_ExitStatus = class end"
00:09:07 verbose #6641 > >         $'' : $'std_process_ExitStatus'
00:09:07 verbose #6642 > >     )
00:09:07 verbose #6643 > 00:09:06   debug #447 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0378ec1e733d1d437fc6dc9b6cf47f7f73373fbe6be5dc916c0e53125a63af0f/main.spi
00:09:07 verbose #6644 > >
00:09:07 verbose #6645 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:07 verbose #6646 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:07 verbose #6647 > > │ ### process_output_status                                                    │
00:09:07 verbose #6648 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:07 verbose #6649 > >
00:09:07 verbose #6650 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:07 verbose #6651 > > inl process_output_status (output : process_output) : process_exit_status =
00:09:07 verbose #6652 > >     !\\(output, $'"$0.status"')
00:09:07 verbose #6653 > 00:09:06   debug #448 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6b795287f13261dad847c25268f4c3e536456a499215c63a0d7ccd44e8bfa28b/main.spi
00:09:07 verbose #6654 > >
00:09:07 verbose #6655 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:07 verbose #6656 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:07 verbose #6657 > > │ ### process_exit_status_code                                                 │
00:09:07 verbose #6658 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:07 verbose #6659 > >
00:09:07 verbose #6660 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:07 verbose #6661 > > inl process_exit_status_code (status : process_exit_status) : optionm'.option'
00:09:07 verbose #6662 > > i32 =
00:09:07 verbose #6663 > >     !\\(status, $'"$0.code()"')
00:09:08 verbose #6664 > 00:09:07   debug #449 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/13f2aa84295d77d0d2fbb59d7f2659ac74d23e9a6a5bfe1b61d36784b66102b7/main.spi
00:09:08 verbose #6665 > >
00:09:08 verbose #6666 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:08 verbose #6667 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:08 verbose #6668 > > │ ### stdin_write_all                                                          │
00:09:08 verbose #6669 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:08 verbose #6670 > >
00:09:08 verbose #6671 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:08 verbose #6672 > > inl stdin_write_all (stdin : threading.mutex_guard process_child_stdin) (text :
00:09:08 verbose #6673 > > string) : () =
00:09:08 verbose #6674 > >     inl stream = text |> sm'.as_bytes
00:09:08 verbose #6675 > >     inl stdin = join stdin
00:09:08 verbose #6676 > >     (!\($'"true; let mut !stdin = !stdin"') : bool) |> ignore
00:09:08 verbose #6677 > >     (!\\(stdin, $'"true; std::io::Write::write_all(&mut *$0,
00:09:08 verbose #6678 > > !stream).unwrap()"') : bool) |> ignore
00:09:08 verbose #6679 > 00:09:07   debug #450 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f2dea82f8401b9c414031e7376e954067e36fb2ff5acd83e734195a0c6667bca/main.spi
00:09:08 verbose #6680 > >
00:09:08 verbose #6681 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:08 verbose #6682 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:08 verbose #6683 > > │ ### stdin_flush                                                              │
00:09:08 verbose #6684 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:08 verbose #6685 > >
00:09:08 verbose #6686 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:08 verbose #6687 > > inl stdin_flush (stdin : threading.mutex_guard process_child_stdin) : () =
00:09:08 verbose #6688 > >     inl stdin = join stdin
00:09:08 verbose #6689 > >     (!\($'"true; let mut !stdin = !stdin"') : bool) |> ignore
00:09:08 verbose #6690 > >     (!\\(stdin, $'"true; std::io::Write::flush(&mut *$0).unwrap()"') : bool) |>
00:09:08 verbose #6691 > > ignore
00:09:09 verbose #6692 > 00:09:08   debug #451 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4229316d735a1b76be270e57fa2519c5e79eb5026b8a09deb1ca17234d3847e8/main.spi
00:09:09 verbose #6693 > >
00:09:09 verbose #6694 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:09 verbose #6695 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:09 verbose #6696 > > │ ### new_process_command                                                      │
00:09:09 verbose #6697 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:09 verbose #6698 > >
00:09:09 verbose #6699 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:09 verbose #6700 > > inl new_process_command (file_name : string) : process_command =
00:09:09 verbose #6701 > >     !\\(file_name, $'"std::process::Command::new(&*$0)"')
00:09:09 verbose #6702 > 00:09:08   debug #452 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0923887708af8dfd16504e42d5aee44b9e8fbfde101e61f36cd4478077780135/main.spi
00:09:10 verbose #6703 > >
00:09:10 verbose #6704 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:10 verbose #6705 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:10 verbose #6706 > > │ ### process_stdio_piped                                                      │
00:09:10 verbose #6707 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:10 verbose #6708 > >
00:09:10 verbose #6709 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:10 verbose #6710 > > inl process_stdio_piped () : process_stdio =
00:09:10 verbose #6711 > >     !\($'"std::process::Stdio::piped()"')
00:09:10 verbose #6712 > 00:09:09   debug #453 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bbb9da7d062c4147726d9036d81a78108f9540624e58de31ed341a80ef6bec52/main.spi
00:09:10 verbose #6713 > >
00:09:10 verbose #6714 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:10 verbose #6715 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:10 verbose #6716 > > │ ### process_command_args                                                     │
00:09:10 verbose #6717 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:10 verbose #6718 > >
00:09:10 verbose #6719 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:10 verbose #6720 > > inl process_command_args (args : am'.vec sm'.std_string) (c : process_command) :
00:09:10 verbose #6721 > > rust.ref (rust.mut' process_command) =
00:09:10 verbose #6722 > >     (!\($'"true; let mut !c = !c"') : bool) |> ignore
00:09:10 verbose #6723 > >     !\\((c, args), $'"std::process::Command::args(&mut $0, &*$1)"')
00:09:10 verbose #6724 > 00:09:09   debug #454 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e7c2fa6410623fa475b27f416776d8b27d857be1047fa14947a3b2b1b8591b5f/main.spi
00:09:10 verbose #6725 > >
00:09:10 verbose #6726 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:10 verbose #6727 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:10 verbose #6728 > > │ ### process_command_stdout                                                   │
00:09:10 verbose #6729 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:10 verbose #6730 > >
00:09:10 verbose #6731 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:10 verbose #6732 > > inl process_command_stdout (stdio : process_stdio) (c : rust.ref (rust.mut'
00:09:10 verbose #6733 > > process_command)) : rust.ref (rust.mut' process_command) =
00:09:10 verbose #6734 > >     !\\(c, $'"std::process::Command::stdout($0, std::process::Stdio::piped())"')
00:09:11 verbose #6735 > 00:09:10   debug #455 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a2b329382147694f02abb95460ff9cc57917f6c099b82adba5f508a621bcb0a6/main.spi
00:09:11 verbose #6736 > >
00:09:11 verbose #6737 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:11 verbose #6738 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:11 verbose #6739 > > │ ### process_command_stderr                                                   │
00:09:11 verbose #6740 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:11 verbose #6741 > >
00:09:11 verbose #6742 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:11 verbose #6743 > > inl process_command_stderr (stdio : process_stdio) (c : rust.ref (rust.mut'
00:09:11 verbose #6744 > > process_command)) : rust.ref (rust.mut' process_command) =
00:09:11 verbose #6745 > >     !\\(c, $'"std::process::Command::stderr($0, std::process::Stdio::piped())"')
00:09:11 verbose #6746 > 00:09:10   debug #456 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1b0df31b683871d43726fc951c549690ceaeab99c4c5fe90cf747cb57beaee2/main.spi
00:09:11 verbose #6747 > >
00:09:11 verbose #6748 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:11 verbose #6749 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:11 verbose #6750 > > │ ### process_command_stdin                                                    │
00:09:11 verbose #6751 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:11 verbose #6752 > >
00:09:11 verbose #6753 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:11 verbose #6754 > > inl process_command_stdin (stdio : process_stdio) (c : rust.ref (rust.mut'
00:09:11 verbose #6755 > > process_command)) : rust.ref (rust.mut' process_command) =
00:09:11 verbose #6756 > >     !\\(c, $'"std::process::Command::stdin($0, std::process::Stdio::piped())"')
00:09:12 verbose #6757 > 00:09:11   debug #457 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a5ec26843ca7702bc073a34962459a9850c1ca01f41d99cfd8f05df0fb2198fb/main.spi
00:09:12 verbose #6758 > >
00:09:12 verbose #6759 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:12 verbose #6760 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:12 verbose #6761 > > │ ### process_command_current_dir                                              │
00:09:12 verbose #6762 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:12 verbose #6763 > >
00:09:12 verbose #6764 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:12 verbose #6765 > > inl process_command_current_dir
00:09:12 verbose #6766 > >     (dir : string)
00:09:12 verbose #6767 > >     (c : rust.ref (rust.mut' process_command))
00:09:12 verbose #6768 > >     : rust.ref (rust.mut' process_command)
00:09:12 verbose #6769 > >     =
00:09:12 verbose #6770 > >     !\\(dir, $'"std::process::Command::current_dir(!c, &*$0)"')
00:09:12 verbose #6771 > 00:09:11   debug #458 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e5400296f534572a7cef25bafc46a4881e6f61df374e21ce1d62af5f9ebb1803/main.spi
00:09:12 verbose #6772 > >
00:09:12 verbose #6773 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:12 verbose #6774 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:12 verbose #6775 > > │ ### process_command_env                                                      │
00:09:12 verbose #6776 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:12 verbose #6777 > >
00:09:12 verbose #6778 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:12 verbose #6779 > > inl process_command_env
00:09:12 verbose #6780 > >     (key : string)
00:09:12 verbose #6781 > >     (value : string)
00:09:12 verbose #6782 > >     (c : rust.ref (rust.mut' process_command))
00:09:12 verbose #6783 > >     : rust.ref (rust.mut' process_command)
00:09:12 verbose #6784 > >     =
00:09:12 verbose #6785 > >     !\\((key, value), $'"std::process::Command::env(!c, &*$0, &*$1)"')
00:09:13 verbose #6786 > 00:09:12   debug #459 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/57861f7d73e60cf115d921713fb8fc2eb330ad93b316888f60d23d9e32e71153/main.spi
00:09:13 verbose #6787 > >
00:09:13 verbose #6788 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:13 verbose #6789 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:13 verbose #6790 > > │ ### process_command_spawn                                                    │
00:09:13 verbose #6791 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:13 verbose #6792 > >
00:09:13 verbose #6793 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:13 verbose #6794 > > inl process_command_spawn
00:09:13 verbose #6795 > >     (c : rust.ref (rust.mut' process_command))
00:09:13 verbose #6796 > >     : resultm.result' process_child stream.io_error
00:09:13 verbose #6797 > >     =
00:09:13 verbose #6798 > >     !\\(c, $'"std::process::Command::spawn($0)"')
00:09:13 verbose #6799 > 00:09:12   debug #460 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cc5284ea542706f90c9c9761a6d62f6d93c6a00da7809b4c23f385d65dc388fa/main.spi
00:09:13 verbose #6800 > >
00:09:13 verbose #6801 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:13 verbose #6802 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:13 verbose #6803 > > │ ### child_wait_with_output                                                   │
00:09:13 verbose #6804 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:13 verbose #6805 > >
00:09:13 verbose #6806 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:13 verbose #6807 > > inl child_wait_with_output
00:09:13 verbose #6808 > >     (child : process_child)
00:09:13 verbose #6809 > >     : resultm.result' process_output stream.io_error
00:09:13 verbose #6810 > >     =
00:09:13 verbose #6811 > >     !\\(child, $'"$0.wait_with_output()"')
00:09:14 verbose #6812 > 00:09:13   debug #461 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/837a3e07d4fef0aafa1ce034855caeb4e7c7576818b7b6b435460a5a6c8d2860/main.spi
00:09:14 verbose #6813 > >
00:09:14 verbose #6814 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:14 verbose #6815 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:14 verbose #6816 > > │ ### stdio_line                                                               │
00:09:14 verbose #6817 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:14 verbose #6818 > >
00:09:14 verbose #6819 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:14 verbose #6820 > > inl stdio_line
00:09:14 verbose #6821 > >     (stdio : result () ())
00:09:14 verbose #6822 > >     (trace' : bool)
00:09:14 verbose #6823 > >     (channel_sender : threading.arc (threading.mutex (threading.channel_sender
00:09:14 verbose #6824 > > sm'.std_string)))
00:09:14 verbose #6825 > >     (line : resultm.result' sm'.std_string stream.io_error)
00:09:14 verbose #6826 > >     : resultm.result' () sm'.std_string
00:09:14 verbose #6827 > >     =
00:09:14 verbose #6828 > >     inl highlight text =
00:09:14 verbose #6829 > >         $'$"\\u001b[[4;7m{!text}\\u001b[[0m"'
00:09:14 verbose #6830 > >     inl line =
00:09:14 verbose #6831 > >         match
00:09:14 verbose #6832 > >             line
00:09:14 verbose #6833 > >             |> resultm.map_error' sm'.format'
00:09:14 verbose #6834 > >             |> resultm.unbox'
00:09:14 verbose #6835 > >         with
00:09:14 verbose #6836 > >         | Ok line =>
00:09:14 verbose #6837 > >             inl line =
00:09:14 verbose #6838 > >                 line
00:09:14 verbose #6839 > >                 |> sm'.from_std_string
00:09:14 verbose #6840 > >                 // |> sm'.as_bytes
00:09:14 verbose #6841 > >                 // |> am'.slice_to_vec
00:09:14 verbose #6842 > >                 |> sm'.encoding_encode' (sm'.encoding_utf8' ())
00:09:14 verbose #6843 > >                 |> rust.cow_as_ref
00:09:14 verbose #6844 > >                 |> sm'.str_from_utf8
00:09:14 verbose #6845 > >                 // |> sm'.utf8_decode
00:09:14 verbose #6846 > >                 |> resultm.unwrap'
00:09:14 verbose #6847 > >                 |> sm'.ref_to_std_string
00:09:14 verbose #6848 > >                 // String::from_utf8_lossy(line.as_bytes()).into()
00:09:14 verbose #6849 > >             inl line_log = line |> sm'.from_std_string
00:09:14 verbose #6850 > >             inl text =
00:09:14 verbose #6851 > >                 match stdio with
00:09:14 verbose #6852 > >                 | Ok () => $'$"> {!line_log}"'
00:09:14 verbose #6853 > >                 | Error () => $'$"\! {!line_log}"'
00:09:14 verbose #6854 > >             if trace'
00:09:14 verbose #6855 > >             then trace Verbose (fun () => text) id
00:09:14 verbose #6856 > >             else text |> console.write_line
00:09:14 verbose #6857 > >             match stdio with
00:09:14 verbose #6858 > >             | Ok () => line
00:09:14 verbose #6859 > >             | Error () => line |> highlight |> sm'.to_std_string
00:09:14 verbose #6860 > >         | Error e =>
00:09:14 verbose #6861 > >             trace Critical
00:09:14 verbose #6862 > >                 fun () => $'$"runtime.stdio_line"'
00:09:14 verbose #6863 > >                 fun () => { e }
00:09:14 verbose #6864 > >             e |> highlight |> sm'.to_std_string
00:09:14 verbose #6865 > >     channel_sender
00:09:14 verbose #6866 > >     |> threading.arc_mutex_lock
00:09:14 verbose #6867 > >     |> resultm.unwrap'
00:09:14 verbose #6868 > >     |> threading.mutex_guard_ref
00:09:14 verbose #6869 > >     |> threading.channel_send line
00:09:14 verbose #6870 > >     |> resultm.map_error' sm'.format'
00:09:14 verbose #6871 > 00:09:13   debug #462 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5806a817bb1e3b7fa14ecb28aca3e264c1f76df033fe7c506de9717de1852201/main.spi
00:09:15 verbose #6872 > >
00:09:15 verbose #6873 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:15 verbose #6874 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:15 verbose #6875 > > │ ### command                                                                  │
00:09:15 verbose #6876 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:15 verbose #6877 > >
00:09:15 verbose #6878 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:15 verbose #6879 > > nominal command =
00:09:15 verbose #6880 > >     `(
00:09:15 verbose #6881 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:15 verbose #6882 > > Fable.Core.Emit(\"clap::Command\")>]]\n#endif\ntype clap_Command = class end"
00:09:15 verbose #6883 > >         $'' : $'clap_Command'
00:09:15 verbose #6884 > >     )
00:09:15 verbose #6885 > 00:09:14   debug #463 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/382a1ee852b6b538edd4cb39d732b6c8385e7fbea0680c221d847b240dc1a769/main.spi
00:09:15 verbose #6886 > >
00:09:15 verbose #6887 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:15 verbose #6888 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:15 verbose #6889 > > │ ### new_command                                                              │
00:09:15 verbose #6890 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:15 verbose #6891 > >
00:09:15 verbose #6892 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:15 verbose #6893 > > inl new_command (s : rust.static_ref sm'.str) : command =
00:09:15 verbose #6894 > >     !\\(s, $'"clap::Command::new($0)"')
00:09:15 verbose #6895 > 00:09:14   debug #464 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b5e93620535b20cca90ca19433c638e51634c48d7f9b722a4e1b7475a0fa7520/main.spi
00:09:15 verbose #6896 > >
00:09:15 verbose #6897 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:15 verbose #6898 > > //// test
00:09:15 verbose #6899 > > ///! rust -d clap
00:09:15 verbose #6900 > >
00:09:15 verbose #6901 > > ##"command"
00:09:15 verbose #6902 > > |> new_command
00:09:15 verbose #6903 > > |> sm'.format_pretty
00:09:15 verbose #6904 > > |> _assert_string_contains "\"command\""
00:09:16 verbose #6905 > 00:09:15   debug #465 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9c0b2ac399d089da9084daeb5e7a96e28ca02f7cddffbcc7f16a744e199450cb/main.spi
00:09:22 verbose #6906 > >
00:09:22 verbose #6907 > > ╭─[ 6.49s - return value ]─────────────────────────────────────────────────────╮
00:09:22 verbose #6908 > > │ __assert_string_contains / actual: ""command"" / expected: "Command {        │
00:09:22 verbose #6909 > > │     name: "command",                                                         │
00:09:22 verbose #6910 > > │     long_flag: None,                                                         │
00:09:22 verbose #6911 > > │     short_flag: None,                                                        │
00:09:22 verbose #6912 > > │     display_name: None,                                                      │
00:09:22 verbose #6913 > > │     bin_name: None,                                                          │
00:09:22 verbose #6914 > > │     author: None,                                                            │
00:09:22 verbose #6915 > > │     version: None,                                                           │
00:09:22 verbose #6916 > > │     long_version: None,                                                      │
00:09:22 verbose #6917 > > │     about: None,                                                             │
00:09:22 verbose #6918 > > │     long_about: None,                                                        │
00:09:22 verbose #6919 > > │     before_help: None,                                                       │
00:09:22 verbose #6920 > > │     before_long_help: None,                                                  │
00:09:22 verbose #6921 > > │     after_help: None,                                                        │
00:09:22 verbose #6922 > > │     after_long_help: None,                                                   │
00:09:22 verbose #6923 > > │     aliases: [],                                                             │
00:09:22 verbose #6924 > > │     short_flag_aliases: [],                                                  │
00:09:22 verbose #6925 > > │     long_flag_aliases: [],                                                   │
00:09:22 verbose #6926 > > │     usage_str: None,                                                         │
00:09:22 verbose #6927 > > │     usage_name: None,                                                        │
00:09:22 verbose #6928 > > │     help_str: None,                                                          │
00:09:22 verbose #6929 > > │     disp_ord: None,                                                          │
00:09:22 verbose #6930 > > │     template: None,                                                          │
00:09:22 verbose #6931 > > │     settings: AppFlags(                                                      │
00:09:22 verbose #6932 > > │         0,                                                                   │
00:09:22 verbose #6933 > > │     ),                                                                       │
00:09:22 verbose #6934 > > │     g_settings: AppFlags(                                                    │
00:09:22 verbose #6935 > > │         0,                                                                   │
00:09:22 verbose #6936 > > │     ),                                                                       │
00:09:22 verbose #6937 > > │     args: MKeyMap {                                                          │
00:09:22 verbose #6938 > > │         args: [],                                                            │
00:09:22 verbose #6939 > > │         keys: [],                                                            │
00:09:22 verbose #6940 > > │     },                                                                       │
00:09:22 verbose #6941 > > │     subcommands: [],                                                         │
00:09:22 verbose #6942 > > │     groups: [],                                                              │
00:09:22 verbose #6943 > > │     current_help_heading: None,                                              │
00:09:22 verbose #6944 > > │     current_disp_ord: Some(                                                  │
00:09:22 verbose #6945 > > │         0,                                                                   │
00:09:22 verbose #6946 > > │     ),                                                                       │
00:09:22 verbose #6947 > > │     subcommand_value_name: None,                                             │
00:09:22 verbose #6948 > > │     subcommand_heading: None,                                                │
00:09:22 verbose #6949 > > │     external_value_parser: None,                                             │
00:09:22 verbose #6950 > > │     long_help_exists: false,                                                 │
00:09:22 verbose #6951 > > │     deferred: None,                                                          │
00:09:22 verbose #6952 > > │     app_ext: Extensions {                                                    │
00:09:22 verbose #6953 > > │         extensions: FlatMap {                                                │
00:09:22 verbose #6954 > > │             keys: [],                                                        │
00:09:22 verbose #6955 > > │             values: [],                                                      │
00:09:22 verbose #6956 > > │         },                                                                   │
00:09:22 verbose #6957 > > │     },                                                                       │
00:09:22 verbose #6958 > > │ }"                                                                           │
00:09:22 verbose #6959 > > │                                                                              │
00:09:22 verbose #6960 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:22 verbose #6961 > >
00:09:22 verbose #6962 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:22 verbose #6963 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:22 verbose #6964 > > │ ### arg                                                                      │
00:09:22 verbose #6965 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:22 verbose #6966 > >
00:09:22 verbose #6967 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:22 verbose #6968 > > nominal arg =
00:09:22 verbose #6969 > >     `(
00:09:22 verbose #6970 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:22 verbose #6971 > > Fable.Core.Emit(\"clap::Arg\")>]]\n#endif\ntype clap_Arg = class end"
00:09:22 verbose #6972 > >         $'' : $'clap_Arg'
00:09:22 verbose #6973 > >     )
00:09:22 verbose #6974 > 00:09:21   debug #466 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e9a973a63a3240bfb2758e631b59254a8879a2c6d0c82cfb3ec5b461d4c52350/main.spi
00:09:22 verbose #6975 > >
00:09:22 verbose #6976 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:22 verbose #6977 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:22 verbose #6978 > > │ ### new_arg                                                                  │
00:09:22 verbose #6979 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:22 verbose #6980 > >
00:09:22 verbose #6981 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:22 verbose #6982 > > inl new_arg (s : rust.static_ref sm'.str) : arg =
00:09:22 verbose #6983 > >     !\\(s, $'"clap::Arg::new($0)"')
00:09:23 verbose #6984 > 00:09:22   debug #467 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/56067c4223c7cf2c8f4cc1ed5845a3ffa234a9a22a3174dae15ad1a9cd4cbfae/main.spi
00:09:23 verbose #6985 > >
00:09:23 verbose #6986 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:23 verbose #6987 > > //// test
00:09:23 verbose #6988 > > ///! rust -d clap
00:09:23 verbose #6989 > >
00:09:23 verbose #6990 > > ##"arg"
00:09:23 verbose #6991 > > |> new_arg
00:09:23 verbose #6992 > > |> sm'.format_pretty
00:09:23 verbose #6993 > > |> _assert_string_contains "\"arg\""
00:09:23 verbose #6994 > 00:09:22   debug #468 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/08a444ad4a5ec979424243043bbf5d987eb98ffdeabed38b6ea7a92d90077798/main.spi
00:09:29 verbose #6995 > >
00:09:29 verbose #6996 > > ╭─[ 6.32s - return value ]─────────────────────────────────────────────────────╮
00:09:29 verbose #6997 > > │ __assert_string_contains / actual: ""arg"" / expected: "Arg {                │
00:09:29 verbose #6998 > > │     id: "arg",                                                               │
00:09:29 verbose #6999 > > │     help: None,                                                              │
00:09:29 verbose #7000 > > │     long_help: None,                                                         │
00:09:29 verbose #7001 > > │     action: None,                                                            │
00:09:29 verbose #7002 > > │     value_parser: None,                                                      │
00:09:29 verbose #7003 > > │     blacklist: [],                                                           │
00:09:29 verbose #7004 > > │     settings: ArgFlags(                                                      │
00:09:29 verbose #7005 > > │         0,                                                                   │
00:09:29 verbose #7006 > > │     ),                                                                       │
00:09:29 verbose #7007 > > │     overrides: [],                                                           │
00:09:29 verbose #7008 > > │     groups: [],                                                              │
00:09:29 verbose #7009 > > │     requires: [],                                                            │
00:09:29 verbose #7010 > > │     r_ifs: [],                                                               │
00:09:29 verbose #7011 > > │     r_unless: [],                                                            │
00:09:29 verbose #7012 > > │     short: None,                                                             │
00:09:29 verbose #7013 > > │     long: None,                                                              │
00:09:29 verbose #7014 > > │     aliases: [],                                                             │
00:09:29 verbose #7015 > > │     short_aliases: [],                                                       │
00:09:29 verbose #7016 > > │     disp_ord: None,                                                          │
00:09:29 verbose #7017 > > │     val_names: [],                                                           │
00:09:29 verbose #7018 > > │     num_vals: None,                                                          │
00:09:29 verbose #7019 > > │     val_delim: None,                                                         │
00:09:29 verbose #7020 > > │     default_vals: [],                                                        │
00:09:29 verbose #7021 > > │     default_vals_ifs: [],                                                    │
00:09:29 verbose #7022 > > │     terminator: None,                                                        │
00:09:29 verbose #7023 > > │     index: None,                                                             │
00:09:29 verbose #7024 > > │     help_heading: None,                                                      │
00:09:29 verbose #7025 > > │     value_hint: None,                                                        │
00:09:29 verbose #7026 > > │     default_missing_vals: [],                                                │
00:09:29 verbose #7027 > > │ }"                                                                           │
00:09:29 verbose #7028 > > │                                                                              │
00:09:29 verbose #7029 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:29 verbose #7030 > >
00:09:29 verbose #7031 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:29 verbose #7032 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:29 verbose #7033 > > │ ### command_arg                                                              │
00:09:29 verbose #7034 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:29 verbose #7035 > >
00:09:29 verbose #7036 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:29 verbose #7037 > > inl command_arg (arg : arg) (command : command) : command =
00:09:29 verbose #7038 > >     !\\((command, arg), $'"clap::Command::arg($0, $1)"')
00:09:30 verbose #7039 > 00:09:29   debug #469 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e93cb196071b14ce829be366fedce786e505011a99a8d6d47f5d458d41ad22cb/main.spi
00:09:30 verbose #7040 > >
00:09:30 verbose #7041 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:30 verbose #7042 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:30 verbose #7043 > > │ ### arg_required                                                             │
00:09:30 verbose #7044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:30 verbose #7045 > >
00:09:30 verbose #7046 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:30 verbose #7047 > > inl arg_required (value : bool) (arg : arg) : arg =
00:09:30 verbose #7048 > >     !\\((arg, value), $'"$0.required($1)"')
00:09:30 verbose #7049 > 00:09:29   debug #470 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/06649ee05a7c7cf905a18fb438184baa1d3c9b2d6d582837bf2151160c69c9ed/main.spi
00:09:30 verbose #7050 > >
00:09:30 verbose #7051 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:30 verbose #7052 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:30 verbose #7053 > > │ ### arg_require_equals                                                       │
00:09:30 verbose #7054 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:30 verbose #7055 > >
00:09:30 verbose #7056 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:30 verbose #7057 > > inl arg_require_equals (value : bool) (arg : arg) : arg =
00:09:30 verbose #7058 > >     !\\((arg, value), $'"$0.require_equals($1)"')
00:09:31 verbose #7059 > 00:09:30   debug #471 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1498c9a07d000da1ae9d7074168efd1e71260d2661884169ec2fccfd860762fa/main.spi
00:09:31 verbose #7060 > >
00:09:31 verbose #7061 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:31 verbose #7062 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:31 verbose #7063 > > │ ### arg_default_value                                                        │
00:09:31 verbose #7064 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:31 verbose #7065 > >
00:09:31 verbose #7066 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:31 verbose #7067 > > inl arg_default_value (value : string) (arg : arg) : arg =
00:09:31 verbose #7068 > >     inl value = #value
00:09:31 verbose #7069 > >     !\\((arg, value), $'"$0.default_value($1)"')
00:09:31 verbose #7070 > 00:09:30   debug #472 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/50b8aa7633a1895c360ec1123f691eb61f4a71b87ad03b2d6785588faa2f546a/main.spi
00:09:32 verbose #7071 > >
00:09:32 verbose #7072 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:32 verbose #7073 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:32 verbose #7074 > > │ ### arg_default_missing_value                                                │
00:09:32 verbose #7075 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:32 verbose #7076 > >
00:09:32 verbose #7077 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:32 verbose #7078 > > inl arg_default_missing_value (value : string) (arg : arg) : arg =
00:09:32 verbose #7079 > >     inl value = #value
00:09:32 verbose #7080 > >     !\\((arg, value), $'"$0.default_missing_value($1)"')
00:09:32 verbose #7081 > 00:09:31   debug #473 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/268b49c40c2346bf7a79ad3348e063ed3d5691d2669fd0647c501c044783f92a/main.spi
00:09:32 verbose #7082 > >
00:09:32 verbose #7083 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:32 verbose #7084 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:32 verbose #7085 > > │ ### arg_overrides_with                                                       │
00:09:32 verbose #7086 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:32 verbose #7087 > >
00:09:32 verbose #7088 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:32 verbose #7089 > > inl arg_overrides_with (value : string) (arg : arg) : arg =
00:09:32 verbose #7090 > >     inl value = #value
00:09:32 verbose #7091 > >     !\\((arg, value), $'"$0.overrides_with($1)"')
00:09:32 verbose #7092 > 00:09:31   debug #474 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/eb12ffb0d6fbd6c86f1ba8472d74caa2bdd013bacfed27d5962289e5a3c85695/main.spi
00:09:33 verbose #7093 > >
00:09:33 verbose #7094 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:33 verbose #7095 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:33 verbose #7096 > > │ ### arg_short                                                                │
00:09:33 verbose #7097 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:33 verbose #7098 > >
00:09:33 verbose #7099 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:33 verbose #7100 > > inl arg_short (value : char) (arg : arg) : arg =
00:09:33 verbose #7101 > >     !\\((arg, value), $'"$0.short($1)"')
00:09:33 verbose #7102 > 00:09:32   debug #475 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cdc36678aaa518fdbfa30b347531f904def759c697ba3a1f90a8c5ffe41c6057/main.spi
00:09:33 verbose #7103 > >
00:09:33 verbose #7104 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:33 verbose #7105 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:33 verbose #7106 > > │ ### arg_long                                                                 │
00:09:33 verbose #7107 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:33 verbose #7108 > >
00:09:33 verbose #7109 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:33 verbose #7110 > > inl arg_long (value : rust.static_ref sm'.str) (arg : arg) : arg =
00:09:33 verbose #7111 > >     !\\((arg, value), $'"$0.long($1)"')
00:09:33 verbose #7112 > 00:09:32   debug #476 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5efa3db1554f399572998b852080df8f239221edfd2786ea406ad655cec25ded/main.spi
00:09:33 verbose #7113 > >
00:09:33 verbose #7114 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:33 verbose #7115 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:33 verbose #7116 > > │ ### arg_value_names                                                          │
00:09:33 verbose #7117 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:33 verbose #7118 > >
00:09:33 verbose #7119 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:33 verbose #7120 > > inl arg_value_names (values : array_base (rust.static_ref sm'.str)) (arg : arg)
00:09:33 verbose #7121 > > : arg =
00:09:33 verbose #7122 > >     inl values = values |> am'.to_vec
00:09:33 verbose #7123 > >     !\\((arg, values), $'"$0.value_names($1)"')
00:09:34 verbose #7124 > 00:09:33   debug #477 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8bb1d9e9b0589c53be69fb7889cdd3fa79caa7321ebe149dc2596a01bac163ee/main.spi
00:09:34 verbose #7125 > >
00:09:34 verbose #7126 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:34 verbose #7127 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:34 verbose #7128 > > │ ### arg_num_args                                                             │
00:09:34 verbose #7129 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:34 verbose #7130 > >
00:09:34 verbose #7131 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:34 verbose #7132 > > inl arg_num_args (value : i32) (arg : arg) : arg =
00:09:34 verbose #7133 > >     !\\((arg, value), $'"$0.num_args($1)"')
00:09:34 verbose #7134 > 00:09:33   debug #478 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f4a0edb65ad9db082926351798a1a307328c1eacd4d5dbf0a587bf78d5e75e6e/main.spi
00:09:34 verbose #7135 > >
00:09:34 verbose #7136 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:34 verbose #7137 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:34 verbose #7138 > > │ ### value_range                                                              │
00:09:34 verbose #7139 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:34 verbose #7140 > >
00:09:34 verbose #7141 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:34 verbose #7142 > > nominal value_range =
00:09:34 verbose #7143 > >     `(
00:09:34 verbose #7144 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:34 verbose #7145 > > Fable.Core.Emit(\"clap::builder::ValueRange\")>]]\n#endif\ntype
00:09:34 verbose #7146 > > clap_builder_ValueRange = class end"
00:09:34 verbose #7147 > >         $'' : $'clap_builder_ValueRange'
00:09:34 verbose #7148 > >     )
00:09:35 verbose #7149 > 00:09:34   debug #479 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bbffe023534de77ab07545bacd15587d258f831880d870281dc86ba540e23ca0/main.spi
00:09:35 verbose #7150 > >
00:09:35 verbose #7151 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:35 verbose #7152 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:35 verbose #7153 > > │ ### new_value_range                                                          │
00:09:35 verbose #7154 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:35 verbose #7155 > >
00:09:35 verbose #7156 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:35 verbose #7157 > > inl new_value_range inclusive start end : value_range =
00:09:35 verbose #7158 > >     inl len = 0i32 |> convert
00:09:35 verbose #7159 > >     inl start, end =
00:09:35 verbose #7160 > >         open am'
00:09:35 verbose #7161 > >         match start, end with
00:09:35 verbose #7162 > >         | Start start, End fn =>
00:09:35 verbose #7163 > >             start, len |> fn
00:09:35 verbose #7164 > >         | End start_fn, End end_fn =>
00:09:35 verbose #7165 > >             start_fn len, end_fn len
00:09:35 verbose #7166 > >     inl inclusive =
00:09:35 verbose #7167 > >         if inclusive
00:09:35 verbose #7168 > >         then "="
00:09:35 verbose #7169 > >         else ""
00:09:35 verbose #7170 > >     match start, end with
00:09:35 verbose #7171 > >     | start, end when end =. len => !\\(start,
00:09:35 verbose #7172 > > $'"clap::builder::ValueRange::new($0..)"')
00:09:35 verbose #7173 > >     | start, end => !\\((start, end), $'"clap::builder::ValueRange::new($0.." +
00:09:35 verbose #7174 > > !inclusive + "$1)"')
00:09:35 verbose #7175 > 00:09:34   debug #480 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ccf0247106f6e437e14323d2367ccf4a1f158217bf9968093e3562218246e2dd/main.spi
00:09:36 verbose #7176 > >
00:09:36 verbose #7177 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:36 verbose #7178 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:36 verbose #7179 > > │ ### arg_num_args_range                                                       │
00:09:36 verbose #7180 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:36 verbose #7181 > >
00:09:36 verbose #7182 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:36 verbose #7183 > > inl arg_num_args_range (value : value_range) (arg : arg) : arg =
00:09:36 verbose #7184 > >     !\\((arg, value), $'"$0.num_args($1)"')
00:09:36 verbose #7185 > 00:09:35   debug #481 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/02b6ded75616645bd9f0244edeaa55f30a0f0dfc50c6adb1f9e2a3fb3f050aa7/main.spi
00:09:36 verbose #7186 > >
00:09:36 verbose #7187 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:36 verbose #7188 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:36 verbose #7189 > > │ ### arg_value_name                                                           │
00:09:36 verbose #7190 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:36 verbose #7191 > >
00:09:36 verbose #7192 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:36 verbose #7193 > > inl arg_value_name (value : string) (arg : arg) : arg =
00:09:36 verbose #7194 > >     inl value = value |> sm'.as_str
00:09:36 verbose #7195 > >     !\\((arg, value), $'"$0.value_name($1)"')
00:09:36 verbose #7196 > 00:09:35   debug #482 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/77293acf1398007fe9565292a99d38615324fef0d0714e36f01403e9decf8d20/main.spi
00:09:37 verbose #7197 > >
00:09:37 verbose #7198 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:37 verbose #7199 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:37 verbose #7200 > > │ ### value_parser                                                             │
00:09:37 verbose #7201 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:37 verbose #7202 > >
00:09:37 verbose #7203 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:37 verbose #7204 > > nominal value_parser =
00:09:37 verbose #7205 > >     `(
00:09:37 verbose #7206 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:37 verbose #7207 > > Fable.Core.Emit(\"clap::builder::ValueParser\")>]]\n#endif\ntype
00:09:37 verbose #7208 > > clap_builder_ValueParser = class end"
00:09:37 verbose #7209 > >         $'' : $'clap_builder_ValueParser'
00:09:37 verbose #7210 > >     )
00:09:37 verbose #7211 > 00:09:36   debug #483 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/02792a56adb1c9577c8980af8a76940bc81b634c7ecdf37876cb754099c3a7a3/main.spi
00:09:37 verbose #7212 > >
00:09:37 verbose #7213 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:37 verbose #7214 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:37 verbose #7215 > > │ ### possible_value                                                           │
00:09:37 verbose #7216 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:37 verbose #7217 > >
00:09:37 verbose #7218 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:37 verbose #7219 > > nominal possible_value =
00:09:37 verbose #7220 > >     `(
00:09:37 verbose #7221 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:37 verbose #7222 > > Fable.Core.Emit(\"clap::builder::PossibleValue\")>]]\n#endif\ntype
00:09:37 verbose #7223 > > clap_builder_PossibleValue = class end"
00:09:37 verbose #7224 > >         $'' : $'clap_builder_PossibleValue'
00:09:37 verbose #7225 > >     )
00:09:37 verbose #7226 > 00:09:36   debug #484 Supervisor.supervisor_server.BuildFile / file: c:/home/git/dice/ui/src/dice_ui.spi
00:09:37 verbose #7227 > 00:09:37   debug #485 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/22f70048e2d8e6dcb7fcd433fef072ca2ff90eb87fc2b81a6e7e91b1722e2a4b/main.spi
00:09:38 verbose #7228 > >
00:09:38 verbose #7229 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:38 verbose #7230 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:38 verbose #7231 > > │ ### new_possible_value                                                       │
00:09:38 verbose #7232 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:38 verbose #7233 > >
00:09:38 verbose #7234 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:38 verbose #7235 > > inl new_possible_value forall t. (x : t) : possible_value =
00:09:38 verbose #7236 > >     !\\(x, $'"clap::builder::PossibleValue::new(&**$0)"')
00:09:38 verbose #7237 > 00:09:37   debug #486 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/de799d649be1fe673c970193789a142a659bba22984db67eb99db15e6885d320/main.spi
00:09:38 verbose #7238 > <dice_ui>
00:09:38 verbose #7239 > <app.render>
00:09:38 verbose #7240 > <home.render>
00:09:38 verbose #7241 > >
00:09:38 verbose #7242 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:38 verbose #7243 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:38 verbose #7244 > > │ ### value_parser_path_buf                                                    │
00:09:38 verbose #7245 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:38 verbose #7246 > >
00:09:38 verbose #7247 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:38 verbose #7248 > > inl value_parser_path_buf () : value_parser =
00:09:38 verbose #7249 > >     !\($'"clap::value_parser\!(std::path::PathBuf)"')
00:09:38 verbose #7250 > <content.render>
00:09:38 verbose #7251 > <dice_view.render>
00:09:38 verbose #7252 > <use_transactions.render>
00:09:39 verbose #7253 > 00:09:38   debug #487 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/02aeb0809371b72ab769e267121484ee3388fc9453462da237d06e66f156f99b/main.spi
00:09:39 verbose #7254 > >
00:09:39 verbose #7255 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:39 verbose #7256 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:39 verbose #7257 > > │ ### value_parser_expr                                                        │
00:09:39 verbose #7258 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:39 verbose #7259 > >
00:09:39 verbose #7260 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:39 verbose #7261 > > inl value_parser_expr (expr : string) : value_parser =
00:09:39 verbose #7262 > >     !\($'"clap::value_parser\!(" + !expr + ").into()"')
00:09:39 verbose #7263 > 00:09:38   debug #488 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/274ae69a03f4ba4d5a82ba30faa3afed440a328b6468fa3de426e415ccc98845/main.spi
00:09:39 verbose #7264 > >
00:09:39 verbose #7265 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:39 verbose #7266 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:39 verbose #7267 > > │ ### arg_value_parser                                                         │
00:09:39 verbose #7268 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:39 verbose #7269 > >
00:09:39 verbose #7270 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:39 verbose #7271 > > inl arg_value_parser (values : value_parser) (arg : arg) : arg =
00:09:39 verbose #7272 > >     !\\((arg, values), $'"$0.value_parser($1)"')
00:09:40 verbose #7273 > 00:09:39   debug #489 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/649e7e6fc0f7dff7c34d5f0ca8e9efe9a4f3d0c6985997895627e607e6f6ffc0/main.spi
00:09:40 verbose #7274 > >
00:09:40 verbose #7275 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:40 verbose #7276 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:40 verbose #7277 > > │ ### arg_action                                                               │
00:09:40 verbose #7278 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:40 verbose #7279 > >
00:09:40 verbose #7280 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:40 verbose #7281 > > nominal arg_action' =
00:09:40 verbose #7282 > >     `(
00:09:40 verbose #7283 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:40 verbose #7284 > > Fable.Core.Emit(\"clap::ArgAction\")>]]\n#endif\ntype clap_ArgAction = class
00:09:40 verbose #7285 > > end"
00:09:40 verbose #7286 > >         $'' : $'clap_ArgAction'
00:09:40 verbose #7287 > >     )
00:09:40 verbose #7288 > >
00:09:40 verbose #7289 > > union arg_action =
00:09:40 verbose #7290 > >     | Set
00:09:40 verbose #7291 > >     | Append
00:09:40 verbose #7292 > >     | SetTrue
00:09:40 verbose #7293 > >     | SetFalse
00:09:40 verbose #7294 > >     | Count
00:09:40 verbose #7295 > >     | Help
00:09:40 verbose #7296 > >     | HelpShort
00:09:40 verbose #7297 > >     | HelpLong
00:09:40 verbose #7298 > >     | Version
00:09:40 verbose #7299 > >
00:09:40 verbose #7300 > > inl arg_action = function
00:09:40 verbose #7301 > >     | Set => !\($'"clap::ArgAction::Set"') : arg_action'
00:09:40 verbose #7302 > >     | Append => !\($'"clap::ArgAction::Append"') : arg_action'
00:09:40 verbose #7303 > >     | SetTrue => !\($'"clap::ArgAction::SetTrue"') : arg_action'
00:09:40 verbose #7304 > >     | SetFalse => !\($'"clap::ArgAction::SetFalse"') : arg_action'
00:09:40 verbose #7305 > >     | Count => !\($'"clap::ArgAction::Count"') : arg_action'
00:09:40 verbose #7306 > >     | Help => !\($'"clap::ArgAction::Help"') : arg_action'
00:09:40 verbose #7307 > >     | HelpShort => !\($'"clap::ArgAction::HelpShort"') : arg_action'
00:09:40 verbose #7308 > >     | HelpLong => !\($'"clap::ArgAction::HelpLong"') : arg_action'
00:09:40 verbose #7309 > >     | Version => !\($'"clap::ArgAction::Version"') : arg_action'
00:09:40 verbose #7310 > >
00:09:40 verbose #7311 > > inl arg_action (value : arg_action) (arg : arg) : arg =
00:09:40 verbose #7312 > >     inl value = value |> arg_action
00:09:40 verbose #7313 > >     !\\((arg, value), $'"$0.action($1)"')
00:09:40 verbose #7314 > <lists_view.render>
00:09:40 verbose #7315 > <transactions_view.render>
00:09:40 verbose #7316 > <use_transactions.render>
00:09:40 verbose #7317 > 00:09:39   debug #490 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/359cfb98af6f12b2bcd6ac7dab55a44795f7898024abbe26311b026eadafa111/main.spi
00:09:40 verbose #7318 > <transaction.render>
00:09:40 verbose #7319 > >
00:09:40 verbose #7320 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:40 verbose #7321 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:40 verbose #7322 > > │ ### arg_index                                                                │
00:09:40 verbose #7323 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:40 verbose #7324 > >
00:09:40 verbose #7325 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:40 verbose #7326 > > inl arg_index (value : i32) (arg : arg) : arg =
00:09:40 verbose #7327 > >     !\\((arg, value), $'"$0.index($1)"')
00:09:41 verbose #7328 > <transaction.tr_render>
00:09:41 verbose #7329 > 00:09:40   debug #491 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/45ea951f22bbcb03fe164015b72da1b1a002cfafd34fb87706fde2600c3e751a/main.spi
00:09:41 verbose #7330 > <transaction.tr_head_render>
00:09:41 verbose #7331 > >
00:09:41 verbose #7332 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:41 verbose #7333 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:41 verbose #7334 > > │ ### arg_matches                                                              │
00:09:41 verbose #7335 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:41 verbose #7336 > >
00:09:41 verbose #7337 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:41 verbose #7338 > > nominal arg_matches =
00:09:41 verbose #7339 > >     `(
00:09:41 verbose #7340 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:41 verbose #7341 > > Fable.Core.Emit(\"clap::ArgMatches\")>]]\n#endif\ntype clap_ArgMatches = class
00:09:41 verbose #7342 > > end"
00:09:41 verbose #7343 > >         $'' : $'clap_ArgMatches'
00:09:41 verbose #7344 > >     )
00:09:41 verbose #7345 > <settings_view.render>
00:09:41 verbose #7346 > 00:09:40   debug #492 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/500be1e73809c25a93f32f5cdfda424505e00e868db63a49d4c8b99a36536902/main.spi
00:09:41 verbose #7347 > <menu_tabs.render>
00:09:42 verbose #7348 > >
00:09:42 verbose #7349 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:42 verbose #7350 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:42 verbose #7351 > > │ ### command_get_matches                                                      │
00:09:42 verbose #7352 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:42 verbose #7353 > >
00:09:42 verbose #7354 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:42 verbose #7355 > > inl command_get_matches (command : command) : arg_matches =
00:09:42 verbose #7356 > >     !\\(command, $'"clap::Command::get_matches($0)"')
00:09:42 verbose #7357 > </dice_ui>
00:09:42 verbose #7358 > 00:09:41   debug #493 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/db3b407f4018b033268a4a9c2e044c50758045b3f1de507809a4eaa2c1337fbb/main.spi
00:09:42 verbose #7359 > >
00:09:42 verbose #7360 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:42 verbose #7361 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:42 verbose #7362 > > │ ### command_get_matches_from                                                 │
00:09:42 verbose #7363 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:42 verbose #7364 > >
00:09:42 verbose #7365 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:42 verbose #7366 > > inl command_get_matches_from (args : array_base string) (command : command) :
00:09:42 verbose #7367 > > arg_matches =
00:09:42 verbose #7368 > >     inl args = args |> am'.to_vec |> am'.vec_map sm'.to_std_string
00:09:42 verbose #7369 > >     !\\(command, $'"clap::Command::get_matches_from($0, !args)"')
00:09:42 verbose #7370 > 00:09:41   debug #494 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/962ebf0e8189d1bfea256f0251c0c836a99ee73a2acd235960fac25ea51a0418/main.spi
00:09:43 verbose #7371 > >
00:09:43 verbose #7372 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:43 verbose #7373 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:43 verbose #7374 > > │ ### command_args_override_self                                               │
00:09:43 verbose #7375 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:43 verbose #7376 > >
00:09:43 verbose #7377 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:43 verbose #7378 > > inl command_args_override_self (yes : bool) (command : command) : command =
00:09:43 verbose #7379 > >     !\\(command, $'"clap::Command::args_override_self($0, !yes)"')
00:09:43 verbose #7380 > 00:09:42   debug #495 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c3b92f2cf63acd70d4e5cd06dd4367b0e5d1c7ffe50fb69e3d16c3feaad6575d/main.spi
00:09:43 verbose #7381 > >
00:09:43 verbose #7382 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:43 verbose #7383 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:43 verbose #7384 > > │ ### command_init_arg                                                         │
00:09:43 verbose #7385 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:43 verbose #7386 > >
00:09:43 verbose #7387 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:43 verbose #7388 > > inl command_init_arg (long, short) fn command =
00:09:43 verbose #7389 > >     command
00:09:43 verbose #7390 > >     |> command_arg (
00:09:43 verbose #7391 > >         new_arg ##long
00:09:43 verbose #7392 > >         |> arg_short short
00:09:43 verbose #7393 > >         |> arg_long ##long
00:09:43 verbose #7394 > >         |> fn
00:09:43 verbose #7395 > >     )
00:09:43 verbose #7396 > 00:09:43   debug #496 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c379e4e90c2c14cae184e1a6c23a5355c6f0132fdc56a089b9cdc4090a1d8a4c/main.spi
00:09:44 verbose #7397 > >
00:09:44 verbose #7398 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:44 verbose #7399 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:44 verbose #7400 > > │ ### matches_get_one                                                          │
00:09:44 verbose #7401 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:44 verbose #7402 > >
00:09:44 verbose #7403 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:44 verbose #7404 > > inl matches_get_one forall t. (x : string) (matches : arg_matches) :
00:09:44 verbose #7405 > > optionm'.option' t =
00:09:44 verbose #7406 > >     inl x = join x
00:09:44 verbose #7407 > >     inl x = x |> sm'.as_str
00:09:44 verbose #7408 > >     !\\(matches, $'"clap::ArgMatches::get_one(&$0, !x).cloned()"')
00:09:44 verbose #7409 > 00:09:43   debug #497 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1e565b1957b99151c1a3bed51cdfe31eac60dee49eebada3dbaf997d5062e01d/main.spi
00:09:44 verbose #7410 > >
00:09:44 verbose #7411 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:44 verbose #7412 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:44 verbose #7413 > > │ ### matches_get_flag                                                         │
00:09:44 verbose #7414 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:44 verbose #7415 > >
00:09:44 verbose #7416 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:44 verbose #7417 > > inl matches_get_flag (x : string) (matches : arg_matches) : bool =
00:09:44 verbose #7418 > >     inl x = join x
00:09:44 verbose #7419 > >     inl x = x |> sm'.as_str
00:09:44 verbose #7420 > >     !\($'"clap::ArgMatches::get_flag(&!matches, !x)"')
00:09:45 verbose #7421 > 00:09:44   debug #498 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2f6fa3b9ef233aa9acc2bf4dc244978a973b78652b0c4bd100065acbbdcadcc9/main.spi
00:09:45 verbose #7422 > >
00:09:45 verbose #7423 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:45 verbose #7424 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:45 verbose #7425 > > │ ### matches_get_many                                                         │
00:09:45 verbose #7426 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:45 verbose #7427 > >
00:09:45 verbose #7428 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:45 verbose #7429 > > inl matches_get_many forall t. (x : string) (matches : arg_matches) :
00:09:45 verbose #7430 > > optionm'.option' (am'.vec t) =
00:09:45 verbose #7431 > >     inl x = join x
00:09:45 verbose #7432 > >     inl x = x |> sm'.as_str
00:09:45 verbose #7433 > >     !\\(matches, $'"clap::ArgMatches::get_many(&$0, !x).map(|x|
00:09:45 verbose #7434 > > x.cloned().into_iter().collect())"')
00:09:45 verbose #7435 > 00:09:44   debug #499 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6f66be9809ccc2eb6af5bd9b591de7a45e47ddffab9761ef0a2d3506989cfe8d/main.spi
00:09:45 verbose #7436 > >
00:09:45 verbose #7437 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:45 verbose #7438 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:45 verbose #7439 > > │ ### matches_get_occurrences                                                  │
00:09:45 verbose #7440 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:45 verbose #7441 > >
00:09:45 verbose #7442 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:45 verbose #7443 > > inl matches_get_occurrences (x : string) (matches : arg_matches) :
00:09:45 verbose #7444 > > optionm'.option' (array_base sm'.std_string) =
00:09:45 verbose #7445 > >     inl x = join x
00:09:45 verbose #7446 > >     inl x = x |> sm'.as_str
00:09:45 verbose #7447 > >     !\($'"clap::ArgMatches::get_occurrences(&!matches, !x).cloned()"')
00:09:46 verbose #7448 > 00:09:45   debug #500 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/199bc9516db4ddf2174405e15f35c7e12cd0a7a4cb3698e23b8476057b8dbc25/main.spi
00:09:46 verbose #7449 > >
00:09:46 verbose #7450 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:46 verbose #7451 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:46 verbose #7452 > > │ ### matches_subcommand                                                       │
00:09:46 verbose #7453 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:46 verbose #7454 > >
00:09:46 verbose #7455 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:46 verbose #7456 > > inl matches_subcommand (matches : arg_matches) : optionm'.option'
00:09:46 verbose #7457 > > (sm'.std_string * arg_matches) =
00:09:46 verbose #7458 > >     !\\((matches, sm'.ref_to_std_string),
00:09:46 verbose #7459 > > $'"clap::ArgMatches::subcommand(Box::leak(Box::new($0))).map(|(a, b)| ($1(a),
00:09:46 verbose #7460 > > b.clone()))"')
00:09:46 verbose #7461 > 00:09:45   debug #501 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8d9073f7ab7639808f5d2abb08c6be363d2b0a28d5f5450dd698e0e7b2175300/main.spi
00:09:47 verbose #7462 > >
00:09:47 verbose #7463 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:47 verbose #7464 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:47 verbose #7465 > > │ ### matches_values_of                                                        │
00:09:47 verbose #7466 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:47 verbose #7467 > >
00:09:47 verbose #7468 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:47 verbose #7469 > > inl matches_values_of (x : string) (matches : arg_matches) : array_base
00:09:47 verbose #7470 > > sm'.std_string =
00:09:47 verbose #7471 > >     !\\((matches, x), $'"clap::ArgMatches::values_of($0, &*$1)"')
00:09:47 verbose #7472 > 00:09:46   debug #502 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a4a2cddbe6e5ade3d07fae263fc46d2aa0f3c856aaadbcb4afd726cb3ecb9995/main.spi
00:09:47 verbose #7473 > >
00:09:47 verbose #7474 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:47 verbose #7475 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:47 verbose #7476 > > │ ### command_subcommand_required                                              │
00:09:47 verbose #7477 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:47 verbose #7478 > >
00:09:47 verbose #7479 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:47 verbose #7480 > > inl command_subcommand_required (value : bool) (command : command) : command =
00:09:47 verbose #7481 > >     !\\(command, $'"clap::Command::subcommand_required($0, !value)"')
00:09:47 verbose #7482 > 00:09:46   debug #503 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a7ef13a4eece41a20d7f960eede87e430a8d4adf27def5c574d66b88de03f8e9/main.spi
00:09:48 verbose #7483 > >
00:09:48 verbose #7484 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:48 verbose #7485 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:48 verbose #7486 > > │ ### command_subcommand                                                       │
00:09:48 verbose #7487 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:48 verbose #7488 > >
00:09:48 verbose #7489 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:48 verbose #7490 > > inl command_subcommand (subcommand : command) (command : command) : command =
00:09:48 verbose #7491 > >     !\\(command, $'"clap::Command::subcommand($0, !subcommand)"')
00:09:48 verbose #7492 > 00:09:47   debug #504 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c1dda42d00ed8dea7015b03108c82489d6ba3090c22984daf1843fd3047ff4a9/main.spi
00:09:48 verbose #7493 > >
00:09:48 verbose #7494 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:48 verbose #7495 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:48 verbose #7496 > > │ ### value_parser_possible_values                                             │
00:09:48 verbose #7497 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:48 verbose #7498 > >
00:09:48 verbose #7499 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:48 verbose #7500 > > inl value_parser_possible_values (values : array_base string) : value_parser =
00:09:48 verbose #7501 > >     inl values =
00:09:48 verbose #7502 > >         values
00:09:48 verbose #7503 > >         |> am'.to_vec
00:09:48 verbose #7504 > >         |> am'.vec_map (sm'.to_std_string >> rust.new_box >> rust.box_leak >>
00:09:48 verbose #7505 > > new_possible_value)
00:09:48 verbose #7506 > >     !\\(values,
00:09:48 verbose #7507 > > $'"Into::<clap::builder::ValueParser>::into(clap::builder::PossibleValuesParser:
00:09:48 verbose #7508 > > :new($0))"')
00:09:48 verbose #7509 > 00:09:47   debug #505 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e3e405a397dcf6869780cba62d44faa6a05838d60e874c8bada98591dd879086/main.spi
00:09:49 verbose #7510 > >
00:09:49 verbose #7511 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:49 verbose #7512 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:49 verbose #7513 > > │ ### arg_union                                                                │
00:09:49 verbose #7514 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:49 verbose #7515 > >
00:09:49 verbose #7516 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:49 verbose #7517 > > inl arg_union forall union_type. (fn : union_type -> ()) (arg : arg) : arg =
00:09:49 verbose #7518 > >     arg
00:09:49 verbose #7519 > >     |> arg_value_parser (
00:09:49 verbose #7520 > >         real reflection.get_union_fields_untag `union_type ()
00:09:49 verbose #7521 > >         |> fun x => x : _ (string * union_type)
00:09:49 verbose #7522 > >         |> listm.map fst
00:09:49 verbose #7523 > >         |> listm'.box
00:09:49 verbose #7524 > >         |> listm'.to_array'
00:09:49 verbose #7525 > >         |> value_parser_possible_values
00:09:49 verbose #7526 > >     )
00:09:49 verbose #7527 > 00:09:48   debug #506 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/14baa1990ff2845b04a8d5b72d846918b0b83b4cd8d520bdc42b1de417d174f9/main.spi
00:09:49 verbose #7528 > >
00:09:49 verbose #7529 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:49 verbose #7530 > > //// test
00:09:49 verbose #7531 > > ///! rust -d clap
00:09:49 verbose #7532 > >
00:09:49 verbose #7533 > > ##"command"
00:09:49 verbose #7534 > > |> new_command
00:09:49 verbose #7535 > > |> command_init_arg ("trace-level", 't') (
00:09:49 verbose #7536 > >     real arg_union `trace_level ignore
00:09:49 verbose #7537 > > )
00:09:49 verbose #7538 > > |> command_get_matches_from ;[[ "_"; "--trace-level"; "Critical" ]]
00:09:49 verbose #7539 > > |> matches_get_one "trace-level"
00:09:49 verbose #7540 > > |> optionm'.unwrap
00:09:49 verbose #7541 > > |> sm'.from_std_string
00:09:49 verbose #7542 > > |> reflection.union_try_pick
00:09:49 verbose #7543 > > |> optionm.value
00:09:49 verbose #7544 > > |> _assert_eq Critical
00:09:50 verbose #7545 > 00:09:49   debug #507 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ed0031283f3b4268edc17c21714a7db3257ffb7c4d305cbcf675e9e4ba755815/main.spi
00:09:57 verbose #7546 > >
00:09:57 verbose #7547 > > ╭─[ 7.79s - return value ]─────────────────────────────────────────────────────╮
00:09:57 verbose #7548 > > │ __assert_eq / actual: US1_4 / expected: US1_4                                │
00:09:57 verbose #7549 > > │                                                                              │
00:09:57 verbose #7550 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:57 verbose #7551 > >
00:09:57 verbose #7552 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:57 verbose #7553 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:57 verbose #7554 > > │ ### command_debug_assert                                                     │
00:09:57 verbose #7555 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:57 verbose #7556 > >
00:09:57 verbose #7557 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:57 verbose #7558 > > inl command_debug_assert (command : command) : () =
00:09:57 verbose #7559 > >     !\\(command, $'"clap::Command::debug_assert($0)"')
00:09:58 verbose #7560 > 00:09:57   debug #508 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/df6a8c3a291463c158166776bdf8599c7ce9588601103ef95906231fe796c6a9/main.spi
00:09:58 verbose #7561 > >
00:09:58 verbose #7562 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:58 verbose #7563 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:58 verbose #7564 > > │ ## fsharp                                                                    │
00:09:58 verbose #7565 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:58 verbose #7566 > >
00:09:58 verbose #7567 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:58 verbose #7568 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:58 verbose #7569 > > │ ### process                                                                  │
00:09:58 verbose #7570 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:58 verbose #7571 > >
00:09:58 verbose #7572 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:58 verbose #7573 > > nominal process = $'System.Diagnostics.Process'
00:09:58 verbose #7574 > 00:09:57   debug #509 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe54c65cc8bb2f1ba45a99bf119318d8a5774ea24a73f69b22202e56e2640b1f/main.spi
00:09:58 verbose #7575 > >
00:09:58 verbose #7576 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:58 verbose #7577 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:58 verbose #7578 > > │ ### process_start_info                                                       │
00:09:58 verbose #7579 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:58 verbose #7580 > >
00:09:58 verbose #7581 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:58 verbose #7582 > > nominal process_start_info = $'System.Diagnostics.ProcessStartInfo'
00:09:59 verbose #7583 > 00:09:58   debug #510 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0780b0fc2f90086cc7a72e2ca5b4f5102c1651669bbf05d787e31b6b0198abc7/main.spi
00:09:59 verbose #7584 > >
00:09:59 verbose #7585 > > ── markdown ────────────────────────────────────────────────────────────────────
00:09:59 verbose #7586 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:59 verbose #7587 > > │ ### data_received_event_args                                                 │
00:09:59 verbose #7588 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:59 verbose #7589 > >
00:09:59 verbose #7590 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:59 verbose #7591 > > nominal data_received_event_args = $'System.Diagnostics.DataReceivedEventArgs'
00:09:59 verbose #7592 > 00:09:58   debug #511 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9acd6d6c7019019fe60296219dbede8be3a57b68c5db093d9ef0fa8614065ae8/main.spi
00:10:00 verbose #7593 > >
00:10:00 verbose #7594 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:00 verbose #7595 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:00 verbose #7596 > > │ ### new_process                                                              │
00:10:00 verbose #7597 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:00 verbose #7598 > >
00:10:00 verbose #7599 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:00 verbose #7600 > > inl new_process (process_start_info : process_start_info) : process =
00:10:00 verbose #7601 > >     $'new `process (StartInfo = !process_start_info)'
00:10:00 verbose #7602 > 00:09:59   debug #512 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1082f7502611a11fa5002cfe9022706766dd6cd95671429a88ce4db8fd7861e/main.spi
00:10:00 verbose #7603 > >
00:10:00 verbose #7604 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:00 verbose #7605 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:00 verbose #7606 > > │ ### process_start                                                            │
00:10:00 verbose #7607 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:00 verbose #7608 > >
00:10:00 verbose #7609 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:00 verbose #7610 > > inl process_start (process : process) : bool =
00:10:00 verbose #7611 > >     $'!process.Start' ()
00:10:01 verbose #7612 > 00:10:00   debug #513 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/564ed1ee6362aa2002d8f121d17ab2714e4a549dbfeec94329c88de56aab2c6f/main.spi
00:10:01 verbose #7613 > >
00:10:01 verbose #7614 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:01 verbose #7615 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:01 verbose #7616 > > │ ### process_exit_code                                                        │
00:10:01 verbose #7617 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:01 verbose #7618 > >
00:10:01 verbose #7619 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:01 verbose #7620 > > inl process_exit_code (process : process) : i32 =
00:10:01 verbose #7621 > >     $'!process.ExitCode'
00:10:01 verbose #7622 > 00:10:00   debug #514 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8a0fdd36e6012d37add6e7e9b5239d4b65e50706d6c37a2947d9e17e7e07ff5d/main.spi
00:10:02 verbose #7623 > >
00:10:02 verbose #7624 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:02 verbose #7625 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:02 verbose #7626 > > │ ### process_id                                                               │
00:10:02 verbose #7627 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:02 verbose #7628 > >
00:10:02 verbose #7629 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:02 verbose #7630 > > inl process_id (process : process) : i32 =
00:10:02 verbose #7631 > >     $'!process.Id'
00:10:02 verbose #7632 > 00:10:01   debug #515 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2cef77c3d398033531f76139abcaf8b084a03aee9db35730a15465de43905291/main.spi
00:10:02 verbose #7633 > >
00:10:02 verbose #7634 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:02 verbose #7635 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:02 verbose #7636 > > │ ### process_has_exited                                                       │
00:10:02 verbose #7637 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:02 verbose #7638 > >
00:10:02 verbose #7639 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:02 verbose #7640 > > inl process_has_exited (process : process) : bool =
00:10:02 verbose #7641 > >     run_target function
00:10:02 verbose #7642 > >         | Fsharp (Native) => fun () =>
00:10:02 verbose #7643 > >             $'!process.HasExited'
00:10:02 verbose #7644 > >         | _ => fun () => null ()
00:10:02 verbose #7645 > 00:10:01   debug #516 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dd165587fbf2c9db8f9f27c7d6f28e0d50a60f39d2a9df932cc2733b20287deb/main.spi
00:10:03 verbose #7646 > >
00:10:03 verbose #7647 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:03 verbose #7648 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:03 verbose #7649 > > │ ### process_kill                                                             │
00:10:03 verbose #7650 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:03 verbose #7651 > >
00:10:03 verbose #7652 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:03 verbose #7653 > > inl process_kill (process : process) : () =
00:10:03 verbose #7654 > >     run_target function
00:10:03 verbose #7655 > >         | Fsharp (Native) => fun () =>
00:10:03 verbose #7656 > >             $'!process.Kill' ()
00:10:03 verbose #7657 > >         | _ => fun () => ()
00:10:03 verbose #7658 > 00:10:02   debug #517 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bf8818fc45fff66679f8cf6f0f79321ef6a6d96cfde3435bda248fbb436a2b0c/main.spi
00:10:04 verbose #7659 > >
00:10:04 verbose #7660 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:04 verbose #7661 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:04 verbose #7662 > > │ ### process_begin_error_read_line                                            │
00:10:04 verbose #7663 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:04 verbose #7664 > >
00:10:04 verbose #7665 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:04 verbose #7666 > > inl process_begin_error_read_line (process : process) : () =
00:10:04 verbose #7667 > >     $'!process.BeginErrorReadLine' ()
00:10:04 verbose #7668 > 00:10:03   debug #518 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/030fa463e1f3809f3bb7aeaa2d8b087d450d626b0a1947b010a3a5c1a4103b66/main.spi
00:10:04 verbose #7669 > >
00:10:04 verbose #7670 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:04 verbose #7671 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:04 verbose #7672 > > │ ### process_begin_output_read_line                                           │
00:10:04 verbose #7673 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:04 verbose #7674 > >
00:10:04 verbose #7675 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:04 verbose #7676 > > inl process_begin_output_read_line (process : process) : () =
00:10:04 verbose #7677 > >     $'!process.BeginOutputReadLine' ()
00:10:04 verbose #7678 > 00:10:03   debug #519 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/93652ad743d25ca9ca2a18d481e0fbf126e8640a3d554e7d9a7d05064e8793ac/main.spi
00:10:05 verbose #7679 > >
00:10:05 verbose #7680 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:05 verbose #7681 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:05 verbose #7682 > > │ ### process_add_output_data_received                                         │
00:10:05 verbose #7683 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:05 verbose #7684 > >
00:10:05 verbose #7685 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:05 verbose #7686 > > inl process_add_output_data_received fn (process : process) : () =
00:10:05 verbose #7687 > >     $'!process.OutputDataReceived.Add !fn '
00:10:05 verbose #7688 > 00:10:04   debug #520 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3229b674dda4065ae271188e4151c8e1ff31b1c41b39d11e2f227ca6356edac6/main.spi
00:10:05 verbose #7689 > >
00:10:05 verbose #7690 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:05 verbose #7691 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:05 verbose #7692 > > │ ### process_add_error_data_received                                          │
00:10:05 verbose #7693 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:05 verbose #7694 > >
00:10:05 verbose #7695 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:05 verbose #7696 > > inl process_add_error_data_received fn (process : process) : () =
00:10:05 verbose #7697 > >     $'!process.ErrorDataReceived.Add !fn '
00:10:05 verbose #7698 > 00:10:04   debug #521 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/211da2a0d7f9c1c974af0f0ed1a8256b9bfb947e3494a5773c3a45e6285f7685/main.spi
00:10:06 verbose #7699 > >
00:10:06 verbose #7700 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:06 verbose #7701 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:06 verbose #7702 > > │ ### process_wait_for_exit_async                                              │
00:10:06 verbose #7703 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:06 verbose #7704 > >
00:10:06 verbose #7705 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:06 verbose #7706 > > inl process_wait_for_exit_async (ct : threading.cancellation_token) (process :
00:10:06 verbose #7707 > > process) : async.task () =
00:10:06 verbose #7708 > >     $'!process.WaitForExitAsync !ct '
00:10:06 verbose #7709 > 00:10:05   debug #522 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a7a25dbeb55229bcff59993018c1955b1a37b08c2f465bcebeae974f2eb60626/main.spi
00:10:06 verbose #7710 > >
00:10:06 verbose #7711 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:06 verbose #7712 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:06 verbose #7713 > > │ ### event_data                                                               │
00:10:06 verbose #7714 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:06 verbose #7715 > >
00:10:06 verbose #7716 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:06 verbose #7717 > > inl event_data (e : data_received_event_args) : string =
00:10:06 verbose #7718 > >     $'!e.Data'
00:10:06 verbose #7719 > 00:10:06   debug #523 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/230ae7ac23273a673f5f4b8348eae74c8aae6037a9644105a1b1f20a419ee9a1/main.spi
00:10:07 verbose #7720 > >
00:10:07 verbose #7721 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:07 verbose #7722 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:07 verbose #7723 > > │ ### execute_with_options_async                                               │
00:10:07 verbose #7724 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:07 verbose #7725 > >
00:10:07 verbose #7726 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:07 verbose #7727 > > let execute_with_options_async (options : execution_options) : _ (i32 * string)
00:10:07 verbose #7728 > > =
00:10:07 verbose #7729 > >     run_target function
00:10:07 verbose #7730 > >         | Fsharp (Native) => fun () =>
00:10:07 verbose #7731 > >             fun () =>
00:10:07 verbose #7732 > >                 inl file_name, arguments = options.command |> split_command |>
00:10:07 verbose #7733 > > resultm.get
00:10:07 verbose #7734 > >                 inl working_directory = options.working_directory |>
00:10:07 verbose #7735 > > optionm'.unbox |> optionm'.default_value ""
00:10:07 verbose #7736 > >
00:10:07 verbose #7737 > >                 trace Debug
00:10:07 verbose #7738 > >                     fun () => $'$"runtime.execute_with_options_async"'
00:10:07 verbose #7739 > >                     fun () => { options }
00:10:07 verbose #7740 > >
00:10:07 verbose #7741 > >                 inl utf8 = sm'.encoding_utf8 ()
00:10:07 verbose #7742 > >                 inl arguments = arguments |> optionm'.default_value ""
00:10:07 verbose #7743 > >
00:10:07 verbose #7744 > >                 $'let start_info = System.Diagnostics.ProcessStartInfo ('
00:10:07 verbose #7745 > >                 $'  Arguments = !arguments,'
00:10:07 verbose #7746 > >                 $'  StandardOutputEncoding = !utf8,'
00:10:07 verbose #7747 > >                 $'  WorkingDirectory = !working_directory,'
00:10:07 verbose #7748 > >                 $'  FileName = !file_name,'
00:10:07 verbose #7749 > >                 $'  CreateNoWindow = true,'
00:10:07 verbose #7750 > >                 $'  RedirectStandardError = true,'
00:10:07 verbose #7751 > >                 $'  RedirectStandardOutput = true,'
00:10:07 verbose #7752 > >                 $'  UseShellExecute = false'
00:10:07 verbose #7753 > >                 $')'
00:10:07 verbose #7754 > >                 inl start_info : process_start_info = $'start_info'
00:10:07 verbose #7755 > >
00:10:07 verbose #7756 > >                 (a options.environment_variables : _ i32 _)
00:10:07 verbose #7757 > >                 |> am.iter fun key, value =>
00:10:07 verbose #7758 > >                     $'!start_info.EnvironmentVariables.[[!key]] <- !value '
00:10:07 verbose #7759 > >
00:10:07 verbose #7760 > >                 inl proc = start_info |> new_process |> use
00:10:07 verbose #7761 > >                 inl output : _ string = threading.new_concurrent_stack ()
00:10:07 verbose #7762 > >
00:10:07 verbose #7763 > >                 inl event error (e : data_received_event_args) = async.new_async
00:10:07 verbose #7764 > > fun () =>
00:10:07 verbose #7765 > >                     inl data = e |> event_data
00:10:07 verbose #7766 > >                     if data <> null () then
00:10:07 verbose #7767 > >                         match options.on_line |> optionm'.unbox with
00:10:07 verbose #7768 > >                         | Some on_line =>
00:10:07 verbose #7769 > >                             on_line
00:10:07 verbose #7770 > >                                 {
00:10:07 verbose #7771 > >                                     process_id = proc |> process_id
00:10:07 verbose #7772 > >                                     line = data
00:10:07 verbose #7773 > >                                     error = error
00:10:07 verbose #7774 > >                                 }
00:10:07 verbose #7775 > >                             |> async.do
00:10:07 verbose #7776 > >                         | None => ()
00:10:07 verbose #7777 > >
00:10:07 verbose #7778 > >                         inl text =
00:10:07 verbose #7779 > >                             if error
00:10:07 verbose #7780 > >                             then $'$"\! {!data}"'
00:10:07 verbose #7781 > >                             else $'$"> {!data}"'
00:10:07 verbose #7782 > >                         if options.trace
00:10:07 verbose #7783 > >                         then trace Verbose (fun () => text) id
00:10:07 verbose #7784 > >                         else text |> console.write_line
00:10:07 verbose #7785 > >
00:10:07 verbose #7786 > >                         inl l = if error then $'"\\u001b[[7;4m"' else ""
00:10:07 verbose #7787 > >                         inl r = if error then $'"\\u001b[[0m"' else ""
00:10:07 verbose #7788 > >                         output |> threading.concurrent_stack_push
00:10:07 verbose #7789 > > $'$"{!l}{!data}{!r}"'
00:10:07 verbose #7790 > >
00:10:07 verbose #7791 > >                 proc |> process_add_output_data_received (event false >>
00:10:07 verbose #7792 > > async.start_immediate)
00:10:07 verbose #7793 > >                 proc |> process_add_error_data_received (event true >>
00:10:07 verbose #7794 > > async.start_immediate)
00:10:07 verbose #7795 > >
00:10:07 verbose #7796 > >                 if proc |> process_start |> not
00:10:07 verbose #7797 > >                 then failwith $'$"runtime.execute_with_options_async
00:10:07 verbose #7798 > > process_start error"'
00:10:07 verbose #7799 > >
00:10:07 verbose #7800 > >                 proc |> process_begin_error_read_line
00:10:07 verbose #7801 > >                 proc |> process_begin_output_read_line
00:10:07 verbose #7802 > >
00:10:07 verbose #7803 > >                 inl ct =
00:10:07 verbose #7804 > >                     options.cancellation_token
00:10:07 verbose #7805 > >                     |> optionm'.unbox
00:10:07 verbose #7806 > >                     |> optionm'.default_with threading.token_none
00:10:07 verbose #7807 > >                     |> async.merge_cancellation_token_with_default_async
00:10:07 verbose #7808 > >                     |> async.let'
00:10:07 verbose #7809 > >
00:10:07 verbose #7810 > >                 ct |> threading.token_register fun () =>
00:10:07 verbose #7811 > >                     if proc |> process_has_exited |> not
00:10:07 verbose #7812 > >                     then proc |> process_kill
00:10:07 verbose #7813 > >                 |> use
00:10:07 verbose #7814 > >                 |> ignore
00:10:07 verbose #7815 > >
00:10:07 verbose #7816 > >                 inl exit_code : i32 =
00:10:07 verbose #7817 > >                     fun () =>
00:10:07 verbose #7818 > >                         try_unit
00:10:07 verbose #7819 > >                             fun () =>
00:10:07 verbose #7820 > >                                 proc
00:10:07 verbose #7821 > >                                 |> process_wait_for_exit_async ct
00:10:07 verbose #7822 > >                                 |> async.await_task
00:10:07 verbose #7823 > >                                 |> async.do
00:10:07 verbose #7824 > >                                 proc |> process_exit_code |> return
00:10:07 verbose #7825 > >                             fun ex =>
00:10:07 verbose #7826 > >                                 // with :?
00:10:07 verbose #7827 > > System.Threading.Tasks.TaskCanceledException as ex =>
00:10:07 verbose #7828 > >                                 inl ex' = ex |> sm'.format_exception
00:10:07 verbose #7829 > >                                 output |> threading.concurrent_stack_push ex'
00:10:07 verbose #7830 > >                                 inl ex : async.task_canceled_exception = ex |>
00:10:07 verbose #7831 > > unbox
00:10:07 verbose #7832 > >                                 trace Warning
00:10:07 verbose #7833 > >                                     fun () =>
00:10:07 verbose #7834 > > $'$"runtime.execute_with_options_async / WaitForExitAsync"'
00:10:07 verbose #7835 > >                                     fun () => { ex }
00:10:07 verbose #7836 > >                                 (limit.min : i32) |> return
00:10:07 verbose #7837 > >                     |> async.new_async_unit
00:10:07 verbose #7838 > >                     |> async.let'
00:10:07 verbose #7839 > >
00:10:07 verbose #7840 > >                 inl output =
00:10:07 verbose #7841 > >                     output
00:10:07 verbose #7842 > >                     |> seq.rev''
00:10:07 verbose #7843 > >                     |> fun x => x : seq.seq' string
00:10:07 verbose #7844 > >                     |> sm'.concat "\n"
00:10:07 verbose #7845 > >
00:10:07 verbose #7846 > >                 trace Debug
00:10:07 verbose #7847 > >                     fun () => $'$"runtime.execute_with_options_async"'
00:10:07 verbose #7848 > >                     fun () => { exit_code output_length = output |> sm'.length :
00:10:07 verbose #7849 > > i32 }
00:10:07 verbose #7850 > >
00:10:07 verbose #7851 > >                 (exit_code, output) |> return
00:10:07 verbose #7852 > >             |> async.new_async_unit
00:10:07 verbose #7853 > >         | _ => fun () =>
00:10:07 verbose #7854 > >             global "#if FABLE_COMPILER\n[[<CompilationRepresentation
00:10:07 verbose #7855 > > (CompilationRepresentationFlags.ModuleSuffix)>]]\nmodule System =\n module
00:10:07 verbose #7856 > > Diagnostics =\n  type Process = unit\n  type DataReceivedEventArgs =
00:10:07 verbose #7857 > > unit\n#endif"
00:10:07 verbose #7858 > >             null ()
00:10:07 verbose #7859 > 00:10:06   debug #524 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4dd6950ae99975c5f501ca0870a53023a9143a6eebd4ec16709a5aa9e85cd27f/main.spi
00:10:07 verbose #7860 > >
00:10:07 verbose #7861 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:07 verbose #7862 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:07 verbose #7863 > > │ ### execute_async                                                            │
00:10:07 verbose #7864 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:07 verbose #7865 > >
00:10:07 verbose #7866 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:07 verbose #7867 > > inl execute_async command =
00:10:07 verbose #7868 > >     execution_options fun x => { x with
00:10:07 verbose #7869 > >         command = command
00:10:07 verbose #7870 > >     }
00:10:07 verbose #7871 > >     |> execute_with_options_async
00:10:08 verbose #7872 > 00:10:07   debug #525 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac7ac017484a5cdd0fd3559e144a2f73b1904d308a1243166130c92ca80c9bde/main.spi
00:10:08 verbose #7873 > >
00:10:08 verbose #7874 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:08 verbose #7875 > > //// test
00:10:08 verbose #7876 > >
00:10:08 verbose #7877 > > inl content = "╭─[[ 你好,世界!こんにちは世界! ]]─╮"
00:10:08 verbose #7878 > > fun () =>
00:10:08 verbose #7879 > >     inl file_name = "test.txt"
00:10:08 verbose #7880 > >     inl temp_dir, disposable =
00:10:08 verbose #7881 > >         (file_name, content)
00:10:08 verbose #7882 > >         |> sm'.format_debug
00:10:08 verbose #7883 > >         |> crypto.hash_text
00:10:08 verbose #7884 > >         |> file_system.create_temp_dir'
00:10:08 verbose #7885 > >     disposable |> use |> ignore
00:10:08 verbose #7886 > >
00:10:08 verbose #7887 > >     inl path = temp_dir </> file_name
00:10:08 verbose #7888 > >
00:10:08 verbose #7889 > >     inl exit_code, result = execute_async $'\@$"pwsh -c ""Get-Content
00:10:08 verbose #7890 > > {!path}"""' |> async.let'
00:10:08 verbose #7891 > >     exit_code |> join _assert_eq 1
00:10:08 verbose #7892 > >     result |> _assert_string_contains "not exist"
00:10:08 verbose #7893 > >
00:10:08 verbose #7894 > >     content |> file_system.write_all_text_async path |> async.do
00:10:08 verbose #7895 > >
00:10:08 verbose #7896 > >     execution_options fun x => { x with
00:10:08 verbose #7897 > >         command = $'\@$"cat ""{!file_name}"""'
00:10:08 verbose #7898 > >         working_directory = Some temp_dir |> optionm'.box
00:10:08 verbose #7899 > >     }
00:10:08 verbose #7900 > >     |> execute_with_options_async
00:10:08 verbose #7901 > >     |> async.let'
00:10:08 verbose #7902 > >     |> ignore
00:10:08 verbose #7903 > >
00:10:08 verbose #7904 > >     execution_options fun x => { x with
00:10:08 verbose #7905 > >         command = $'\@$"pwsh -c ""[[System.Console]]::OutputEncoding =
00:10:08 verbose #7906 > > [[System.Text.Encoding]]::UTF8; Get-Content {!file_name}"""'
00:10:08 verbose #7907 > >         working_directory = Some temp_dir |> optionm'.box
00:10:08 verbose #7908 > >     }
00:10:08 verbose #7909 > >     |> execute_with_options_async
00:10:08 verbose #7910 > >     |> async.return_await
00:10:08 verbose #7911 > > |> async.new_async_unit
00:10:08 verbose #7912 > > |> async.run_with_timeout 10000
00:10:08 verbose #7913 > > |> function
00:10:08 verbose #7914 > >     | Some (exit_code, output) =>
00:10:08 verbose #7915 > >         exit_code |> join _assert_eq 0i32
00:10:08 verbose #7916 > >         output |> join _assert_eq content
00:10:08 verbose #7917 > >         true
00:10:08 verbose #7918 > >     | _ => false
00:10:08 verbose #7919 > > |> _assert_eq true
00:10:08 verbose #7920 > 00:10:07   debug #526 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fd1735a4df101b10c4a07c44c529ebd58fe76f463ee164098dc80056e0ae5939/main.spi
00:10:18 verbose #7921 > >
00:10:18 verbose #7922 > > ╭─[ 9.92s - stdout ]───────────────────────────────────────────────────────────╮
00:10:18 verbose #7923 > > │ 00:00:00   debug #1 runtime.execute_with_options_async / { options = {  │
00:10:18 verbose #7924 > > │ command = pwsh -c "Get-Content                                               │
00:10:18 verbose #7925 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\76793606-81 │
00:10:18 verbose #7926 > > │ 3b-88ad-7791-7ce2871edce9\test.txt"; cancellation_token = None;              │
00:10:18 verbose #7927 > > │ environment_variables = [||]; on_line = None; stdin = None; trace = true;    │
00:10:18 verbose #7928 > > │ working_directory = None } }                                                 │
00:10:18 verbose #7929 > > │ 00:00:01 verbose #2 ! Get-Content: Cannot find path           │
00:10:18 verbose #7930 > > │ 'C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\76793606-8 │
00:10:18 verbose #7931 > > │ 13b-88ad-7791-7ce2871edce9\test.txt' because it does not exist.            │
00:10:18 verbose #7932 > > │ 00:00:01   debug #3 runtime.execute_with_options_async / { exit_code =  │
00:10:18 verbose #7933 > > │ 1; output_length = 197 }                                                     │
00:10:18 verbose #7934 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:10:18 verbose #7935 > > │ __assert_string_contains / actual: "not exist" / expected: "[             │
00:10:18 verbose #7936 > > │ 31;1mGet-Content: Cannot find path                                      │
00:10:18 verbose #7937 > > │ 'C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\76793606-8 │
00:10:18 verbose #7938 > > │ 13b-88ad-7791-7ce2871edce9\test.txt' because it does not exist."         │
00:10:18 verbose #7939 > > │ 00:00:01   debug #4 runtime.execute_with_options_async / { options = {  │
00:10:18 verbose #7940 > > │ command = cat "test.txt"; cancellation_token = None; environment_variables = │
00:10:18 verbose #7941 > > │ [||]; on_line = None; stdin = None; trace = true; working_directory = Some   │
00:10:18 verbose #7942 > > │                                                                              │
00:10:18 verbose #7943 > > │ "C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\76793606-8 │
00:10:18 verbose #7944 > > │ 13b-88ad-7791-7ce2871edce9" } }                                              │
00:10:18 verbose #7945 > > │ 00:00:01 verbose #5 > ╭─[ 你好,世界!こんにちは世界! ]─╮              │
00:10:18 verbose #7946 > > │ 00:00:01   debug #6 runtime.execute_with_options_async / { exit_code =  │
00:10:18 verbose #7947 > > │ 0; output_length = 22 }                                                      │
00:10:18 verbose #7948 > > │ 00:00:01   debug #7 runtime.execute_with_options_async / { options = {  │
00:10:18 verbose #7949 > > │ command = pwsh -c "[System.Console]::OutputEncoding = [                      │
00:10:18 verbose #7950 > > │ System.Text.Encoding]::UTF8; Get-Content test.txt"; cancellation_token =     │
00:10:18 verbose #7951 > > │ None; environment_variables = [||]; on_line = None; stdin = None; trace =    │
00:10:18 verbose #7952 > > │ true; working_directory = Some                                               │
00:10:18 verbose #7953 > > │                                                                              │
00:10:18 verbose #7954 > > │ "C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\76793606-8 │
00:10:18 verbose #7955 > > │ 13b-88ad-7791-7ce2871edce9" } }                                              │
00:10:18 verbose #7956 > > │ 00:00:02 verbose #8 > ╭─[ 你好,世界!こんにちは世界! ]─╮              │
00:10:18 verbose #7957 > > │ 00:00:02   debug #9 runtime.execute_with_options_async / { exit_code =  │
00:10:18 verbose #7958 > > │ 0; output_length = 22 }                                                      │
00:10:18 verbose #7959 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:10:18 verbose #7960 > > │ __assert_eq / actual: "╭─[ 你好,世界!こんにちは世界! ]─╮" / expected: "╭─ │
00:10:18 verbose #7961 > > │ [ 你好,世界!こんにちは世界! ]─╮"                                          │
00:10:18 verbose #7962 > > │ __assert_eq / actual: true / expected: true                                  │
00:10:18 verbose #7963 > > │                                                                              │
00:10:18 verbose #7964 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:18 verbose #7965 > >
00:10:18 verbose #7966 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:18 verbose #7967 > > //// test
00:10:18 verbose #7968 > >
00:10:18 verbose #7969 > > fun () =>
00:10:18 verbose #7970 > >     inl file_name = "test.txt"
00:10:18 verbose #7971 > >     inl text = "0"
00:10:18 verbose #7972 > >
00:10:18 verbose #7973 > >     inl temp_dir, disposable =
00:10:18 verbose #7974 > >         (file_name, text)
00:10:18 verbose #7975 > >         |> sm'.format_debug
00:10:18 verbose #7976 > >         |> crypto.hash_text
00:10:18 verbose #7977 > >         |> file_system.create_temp_dir'
00:10:18 verbose #7978 > >     disposable |> use |> ignore
00:10:18 verbose #7979 > >     inl path = temp_dir </> file_name
00:10:18 verbose #7980 > >     text |> file_system.write_all_text_async path |> async.do
00:10:18 verbose #7981 > >
00:10:18 verbose #7982 > >     inl cts = threading.new_cancellation_token_source ()
00:10:18 verbose #7983 > >     trace Debug (fun () => "1") id
00:10:18 verbose #7984 > >     inl result =
00:10:18 verbose #7985 > >         execution_options fun x => { x with
00:10:18 verbose #7986 > >             command = $'\@$"pwsh -c ""Get-Content {!path}"""'
00:10:18 verbose #7987 > >             cancellation_token = cts |> threading.cancellation_source_token |>
00:10:18 verbose #7988 > > Some |> optionm'.box
00:10:18 verbose #7989 > >         }
00:10:18 verbose #7990 > >         |> execute_with_options_async
00:10:18 verbose #7991 > >         |> async.start_child
00:10:18 verbose #7992 > >         |> async.let'
00:10:18 verbose #7993 > >     trace Debug (fun () => "2") id
00:10:18 verbose #7994 > >     async.sleep 100 |> async.do
00:10:18 verbose #7995 > >     trace Debug (fun () => "3") id
00:10:18 verbose #7996 > >     cts |> threading.cancellation_source_cancel
00:10:18 verbose #7997 > >     trace Debug (fun () => "4") id
00:10:18 verbose #7998 > >     inl exit_code, output = result |> async.let'
00:10:18 verbose #7999 > >     trace Debug (fun () => "5") id
00:10:18 verbose #8000 > >     (exit_code, output) |> return
00:10:18 verbose #8001 > > |> async.new_async_unit
00:10:18 verbose #8002 > > |> async.run_with_timeout 10000
00:10:18 verbose #8003 > > |> function
00:10:18 verbose #8004 > >     | Some (exit_code, output) =>
00:10:18 verbose #8005 > >         exit_code |> _assert_eq -2147483648i32
00:10:18 verbose #8006 > >         output |> _assert_eq (join
00:10:18 verbose #8007 > > "System.Threading.Tasks.TaskCanceledException: A task was canceled.")
00:10:18 verbose #8008 > >         true
00:10:18 verbose #8009 > >     | _ => false
00:10:18 verbose #8010 > > |> _assert_eq true
00:10:18 verbose #8011 > 00:10:17   debug #527 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ba0c7c2353f2074af1d4a5d409b9a6e5e74cb0e6ff011e5091ac68ac38803880/main.spi
00:10:27 verbose #8012 > >
00:10:27 verbose #8013 > > ╭─[ 8.53s - stdout ]───────────────────────────────────────────────────────────╮
00:10:27 verbose #8014 > > │ 00:00:00   debug #1 1                                                   │
00:10:27 verbose #8015 > > │ 00:00:00   debug #2 2                                                   │
00:10:27 verbose #8016 > > │ 00:00:00   debug #3 runtime.execute_with_options_async / { options = {  │
00:10:27 verbose #8017 > > │ command = pwsh -c "Get-Content                                               │
00:10:27 verbose #8018 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\613830ed-01 │
00:10:27 verbose #8019 > > │ 6e-d959-8d21-02dc1c63c252\test.txt"; cancellation_token = Some               │
00:10:27 verbose #8020 > > │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
00:10:27 verbose #8021 > > │ None; stdin = None; trace = true; working_directory = None } }               │
00:10:27 verbose #8022 > > │ 00:00:00   debug #4 3                                                   │
00:10:27 verbose #8023 > > │ 00:00:00   debug #5 4                                                   │
00:10:27 verbose #8024 > > │ 00:00:00 warning #6 runtime.execute_with_options_async /                │
00:10:27 verbose #8025 > > │ WaitForExitAsync / { ex = System.Threading.Tasks.TaskCanceledException: A    │
00:10:27 verbose #8026 > > │ task was canceled. }                                                         │
00:10:27 verbose #8027 > > │ 00:00:00   debug #7 runtime.execute_with_options_async / { exit_code =  │
00:10:27 verbose #8028 > > │ -2147483648; output_length = 66 }                                            │
00:10:27 verbose #8029 > > │ 00:00:00   debug #8 5                                                   │
00:10:27 verbose #8030 > > │ __assert_eq / actual: -2147483648 / expected: -2147483648                    │
00:10:27 verbose #8031 > > │ __assert_eq / actual: "System.Threading.Tasks.TaskCanceledException: A task  │
00:10:27 verbose #8032 > > │ was canceled." / expected: "System.Threading.Tasks.TaskCanceledException: A  │
00:10:27 verbose #8033 > > │ task was canceled."                                                          │
00:10:27 verbose #8034 > > │ __assert_eq / actual: true / expected: true                                  │
00:10:27 verbose #8035 > > │                                                                              │
00:10:27 verbose #8036 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:27 verbose #8037 > >
00:10:27 verbose #8038 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:27 verbose #8039 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:27 verbose #8040 > > │ ### current_process_kill                                                     │
00:10:27 verbose #8041 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:27 verbose #8042 > >
00:10:27 verbose #8043 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:27 verbose #8044 > > inl current_process_kill () =
00:10:27 verbose #8045 > >     run_target function
00:10:27 verbose #8046 > >         | Fsharp (Native) => fun () =>
00:10:27 verbose #8047 > >             inl fn () =
00:10:27 verbose #8048 > >                 run_target function
00:10:27 verbose #8049 > >                     | Fsharp (Native) => fun () =>
00:10:27 verbose #8050 > >                         trace Warning (fun () => "runtime.current_process_kill
00:10:27 verbose #8051 > > exiting... 3") id
00:10:27 verbose #8052 > >                         $'System.Threading.Thread.Sleep 300'
00:10:27 verbose #8053 > >                         trace Warning (fun () => "runtime.current_process_kill
00:10:27 verbose #8054 > > exiting... 2") id
00:10:27 verbose #8055 > >                         $'System.Console.Out.Flush ()'
00:10:27 verbose #8056 > >                         $'System.Threading.Thread.Sleep 60'
00:10:27 verbose #8057 > >                         trace Warning (fun () => "runtime.current_process_kill
00:10:27 verbose #8058 > > exiting... 1") id
00:10:27 verbose #8059 > >                         $'System.Diagnostics.Process.GetCurrentProcess().Kill
00:10:27 verbose #8060 > > ()' : ()
00:10:27 verbose #8061 > >                     | _ => fun () => ()
00:10:27 verbose #8062 > >             inl thread : threading.thread = $'new System.Threading.Thread (!fn)'
00:10:27 verbose #8063 > >             thread |> $'_.Start()' : ()
00:10:27 verbose #8064 > >         | _ => fun () => ()
00:10:27 verbose #8065 > 00:10:26   debug #528 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1a5ce34def2f9afa76459dc0d24e1f7ae9bf27265fa65df5c8235ea4a895244/main.spi
00:10:27 verbose #8066 > >
00:10:27 verbose #8067 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:27 verbose #8068 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:27 verbose #8069 > > │ ### gc_collect                                                               │
00:10:27 verbose #8070 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:27 verbose #8071 > >
00:10:27 verbose #8072 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:27 verbose #8073 > > inl gc_collect () =
00:10:27 verbose #8074 > >     run_target function
00:10:27 verbose #8075 > >         | Fsharp _ => fun () => $'System.GC.Collect' () : ()
00:10:27 verbose #8076 > >         | Python _ => fun () =>
00:10:27 verbose #8077 > >             backend_switch {
00:10:27 verbose #8078 > >                 Python = fun () => global "import gc"
00:10:27 verbose #8079 > >             }
00:10:27 verbose #8080 > >             ($'gc.collect()' : int) |> ignore
00:10:27 verbose #8081 > >         | _ => fun () => ()
00:10:27 verbose #8082 > 00:10:26   debug #529 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6f5549120fd2f0a778ae33b8b2d04315adae71dafd2c234366487e87e726d5e3/main.spi
00:10:28 verbose #8083 > >
00:10:28 verbose #8084 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:28 verbose #8085 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:28 verbose #8086 > > │ ## runtime                                                                   │
00:10:28 verbose #8087 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:28 verbose #8088 > >
00:10:28 verbose #8089 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:28 verbose #8090 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:28 verbose #8091 > > │ ### execute_with_options                                                     │
00:10:28 verbose #8092 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:28 verbose #8093 > >
00:10:28 verbose #8094 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:28 verbose #8095 > > let execute_with_options (options : execution_options) : i32 * string =
00:10:28 verbose #8096 > >     run_target function
00:10:28 verbose #8097 > >         | Fsharp (Native) => fun () =>
00:10:28 verbose #8098 > >             options |> execute_with_options_async |> async.run_synchronously
00:10:28 verbose #8099 > >         | Rust (Native) => fun () =>
00:10:28 verbose #8100 > >             inl command = join options.command
00:10:28 verbose #8101 > >             inl file_name, arguments = command |> split_command |> resultm.get
00:10:28 verbose #8102 > >             inl arguments =
00:10:28 verbose #8103 > >                 arguments
00:10:28 verbose #8104 > >                 |> optionm'.default_value ""
00:10:28 verbose #8105 > >                 |> split_args
00:10:28 verbose #8106 > >                 |> resultm.get
00:10:28 verbose #8107 > >                 |> am'.to_vec
00:10:28 verbose #8108 > >                 |> am'.vec_map sm'.to_std_string
00:10:28 verbose #8109 > >
00:10:28 verbose #8110 > >             trace Debug
00:10:28 verbose #8111 > >                 fun () => $'$"runtime.execute_with_options"'
00:10:28 verbose #8112 > >                 fun () => { file_name arguments options }
00:10:28 verbose #8113 > >
00:10:28 verbose #8114 > >             fun () =>
00:10:28 verbose #8115 > >                 fun () =>
00:10:28 verbose #8116 > >                     file_name
00:10:28 verbose #8117 > >                     |> new_process_command
00:10:28 verbose #8118 > >                     |> process_command_args arguments
00:10:28 verbose #8119 > >                     |> process_command_stdout (process_stdio_piped ())
00:10:28 verbose #8120 > >                     |> process_command_stderr (process_stdio_piped ())
00:10:28 verbose #8121 > >                     |> process_command_stdin (process_stdio_piped ())
00:10:28 verbose #8122 > >                     |> fun command =>
00:10:28 verbose #8123 > >                         match options.working_directory |> optionm'.unbox with
00:10:28 verbose #8124 > >                         | Some working_directory =>
00:10:28 verbose #8125 > >                             command
00:10:28 verbose #8126 > >                             |> process_command_current_dir working_directory
00:10:28 verbose #8127 > >                         | None => command
00:10:28 verbose #8128 > >                     |> fun command =>
00:10:28 verbose #8129 > >                         match options.environment_variables with
00:10:28 verbose #8130 > >                         | ;[[]] => command
00:10:28 verbose #8131 > >                         | vars =>
00:10:28 verbose #8132 > >                             (command, vars |> am'.to_vec)
00:10:28 verbose #8133 > >                             ||> am'.vec_fold' fun command (key, value) =>
00:10:28 verbose #8134 > >                                 command |> process_command_env key value
00:10:28 verbose #8135 > >                     |> process_command_spawn
00:10:28 verbose #8136 > >                     |> resultm.map_error' sm'.format'
00:10:28 verbose #8137 > >                     |> resultm.map' (optionm'.some' >> threading.new_arc_mutex)
00:10:28 verbose #8138 > >                     |> resultm.unbox'
00:10:28 verbose #8139 > >                     |> function
00:10:28 verbose #8140 > >                         | Ok child =>
00:10:28 verbose #8141 > >                             inl stdout =
00:10:28 verbose #8142 > >                                 fun () =>
00:10:28 verbose #8143 > >                                     child
00:10:28 verbose #8144 > >                                     |> threading.arc_mutex_lock
00:10:28 verbose #8145 > >                                     |> resultm.unwrap'
00:10:28 verbose #8146 > >                                     |> threading.mutex_guard_ref_mut
00:10:28 verbose #8147 > >                                     |> optionm'.as_mut
00:10:28 verbose #8148 > >                                     |> optionm'.unwrap
00:10:28 verbose #8149 > >                                     |> process_child_stdout
00:10:28 verbose #8150 > >                                     |> optionm'.take_ref_mut
00:10:28 verbose #8151 > >                                     |> optionm'.unwrap
00:10:28 verbose #8152 > >                                 |> rust.capture
00:10:28 verbose #8153 > >
00:10:28 verbose #8154 > >                             inl stderr =
00:10:28 verbose #8155 > >                                 fun () =>
00:10:28 verbose #8156 > >                                     child
00:10:28 verbose #8157 > >                                     |> threading.arc_mutex_lock
00:10:28 verbose #8158 > >                                     |> resultm.unwrap'
00:10:28 verbose #8159 > >                                     |> threading.mutex_guard_ref_mut
00:10:28 verbose #8160 > >                                     |> optionm'.as_mut
00:10:28 verbose #8161 > >                                     |> optionm'.unwrap
00:10:28 verbose #8162 > >                                     |> process_child_stderr
00:10:28 verbose #8163 > >                                     |> optionm'.take_ref_mut
00:10:28 verbose #8164 > >                                     |> optionm'.unwrap
00:10:28 verbose #8165 > >                                 |> rust.capture
00:10:28 verbose #8166 > >
00:10:28 verbose #8167 > >                             inl stdin =
00:10:28 verbose #8168 > >                                 fun () =>
00:10:28 verbose #8169 > >                                     child
00:10:28 verbose #8170 > >                                     |> threading.arc_mutex_lock
00:10:28 verbose #8171 > >                                     |> resultm.unwrap'
00:10:28 verbose #8172 > >                                     |> threading.mutex_guard_ref_mut
00:10:28 verbose #8173 > >                                     |> optionm'.as_mut
00:10:28 verbose #8174 > >                                     |> optionm'.unwrap
00:10:28 verbose #8175 > >                                     |> process_child_stdin
00:10:28 verbose #8176 > >                                     |> optionm'.take_ref_mut
00:10:28 verbose #8177 > >                                     |> optionm'.unwrap
00:10:28 verbose #8178 > >                                     |> optionm'.some'
00:10:28 verbose #8179 > >                                     |> threading.new_arc_mutex
00:10:28 verbose #8180 > >                                 |> rust.capture
00:10:28 verbose #8181 > >
00:10:28 verbose #8182 > >                             inl channel_sender, channel_receiver =
00:10:28 verbose #8183 > > threading.new_channel ()
00:10:28 verbose #8184 > >                             inl channel_sender'' = channel_sender |>
00:10:28 verbose #8185 > > threading.new_arc_mutex
00:10:28 verbose #8186 > >                             inl channel_sender' = channel_sender |>
00:10:28 verbose #8187 > > threading.new_arc_mutex
00:10:28 verbose #8188 > >                             inl channel_receiver' = channel_receiver |>
00:10:28 verbose #8189 > > threading.new_arc_mutex
00:10:28 verbose #8190 > >
00:10:28 verbose #8191 > >                             inl stdout_handle =
00:10:28 verbose #8192 > >                                 fun () =>
00:10:28 verbose #8193 > >                                     stdout
00:10:28 verbose #8194 > >                                     |> stream.decode_reader_bytes_build
00:10:28 verbose #8195 > >                                     |> stream.new_buf_reader
00:10:28 verbose #8196 > >                                     |> stream.buf_read_lines
00:10:28 verbose #8197 > >                                     |> iter.try_for_each fun lines =>
00:10:28 verbose #8198 > >                                         inl channel_sender'' = channel_sender''
00:10:28 verbose #8199 > > |> rust.clone
00:10:28 verbose #8200 > >                                         lines
00:10:28 verbose #8201 > >                                         |> stdio_line (Ok ()) options.trace
00:10:28 verbose #8202 > > channel_sender''
00:10:28 verbose #8203 > >                                         |> resultm.to_try
00:10:28 verbose #8204 > >                                 |> threading.spawn (1, 0) 1
00:10:28 verbose #8205 > >
00:10:28 verbose #8206 > >                             inl stderr_handle =
00:10:28 verbose #8207 > >                                 fun () =>
00:10:28 verbose #8208 > >                                     stderr
00:10:28 verbose #8209 > >                                     |> stream.decode_reader_bytes_build
00:10:28 verbose #8210 > >                                     |> stream.new_buf_reader
00:10:28 verbose #8211 > >                                     |> stream.buf_read_lines
00:10:28 verbose #8212 > >                                     |> iter.try_for_each fun lines =>
00:10:28 verbose #8213 > >                                         inl channel_sender' = channel_sender' |>
00:10:28 verbose #8214 > > rust.clone
00:10:28 verbose #8215 > >                                         lines
00:10:28 verbose #8216 > >                                         |> stdio_line (Error ()) options.trace
00:10:28 verbose #8217 > > channel_sender'
00:10:28 verbose #8218 > >                                         |> resultm.to_try
00:10:28 verbose #8219 > >                                 |> threading.spawn (1, 0) 1
00:10:28 verbose #8220 > >
00:10:28 verbose #8221 > >                             match options.stdin |> optionm'.unbox with
00:10:28 verbose #8222 > >                             | Some stdin' =>
00:10:28 verbose #8223 > >                                 stdin
00:10:28 verbose #8224 > >                                 |> threading.arc_mutex_lock
00:10:28 verbose #8225 > >                                 |> resultm.unwrap'
00:10:28 verbose #8226 > >                                 |> threading.mutex_guard_ref_mut
00:10:28 verbose #8227 > >                                 |> optionm'.take_ref_mut
00:10:28 verbose #8228 > >                                 |> optionm'.map' threading.new_arc_mutex
00:10:28 verbose #8229 > >                                 |> optionm'.unbox
00:10:28 verbose #8230 > >                                 |> function
00:10:28 verbose #8231 > >                                     | Some stdin =>
00:10:28 verbose #8232 > >                                         stdin |> stdin'
00:10:28 verbose #8233 > >                                         stdin
00:10:28 verbose #8234 > >                                         |> threading.arc_mutex_lock
00:10:28 verbose #8235 > >                                         |> resultm.unwrap'
00:10:28 verbose #8236 > >                                         |> stdin_flush
00:10:28 verbose #8237 > >                                     | None => ()
00:10:28 verbose #8238 > >                             | None => ()
00:10:28 verbose #8239 > >
00:10:28 verbose #8240 > >                             inl output =
00:10:28 verbose #8241 > >                                 child
00:10:28 verbose #8242 > >                                 |> threading.arc_mutex_lock
00:10:28 verbose #8243 > >                                 |> resultm.unwrap'
00:10:28 verbose #8244 > >                                 |> threading.mutex_guard_ref_mut
00:10:28 verbose #8245 > >                                 |> optionm'.take_ref_mut
00:10:28 verbose #8246 > >                                 |> optionm'.unwrap
00:10:28 verbose #8247 > >                                 |> child_wait_with_output
00:10:28 verbose #8248 > >                                 |> resultm.map_error' sm'.format'
00:10:28 verbose #8249 > >
00:10:28 verbose #8250 > >                             [[ stdout_handle; stderr_handle ]]
00:10:28 verbose #8251 > >                             |> am'.new_vec
00:10:28 verbose #8252 > >                             |> am'.vec_for_each' (threading.join' >>
00:10:28 verbose #8253 > > resultm.unwrap' >> resultm.unwrap')
00:10:28 verbose #8254 > >
00:10:28 verbose #8255 > >                             match output |> resultm.unbox with
00:10:28 verbose #8256 > >                             | Ok output =>
00:10:28 verbose #8257 > >                                 inl exit_code =
00:10:28 verbose #8258 > >                                     output
00:10:28 verbose #8259 > >                                     |> process_output_status
00:10:28 verbose #8260 > >                                     |> process_exit_status_code
00:10:28 verbose #8261 > >                                     |> optionm'.unbox
00:10:28 verbose #8262 > >                                 match exit_code with
00:10:28 verbose #8263 > >                                 | Some exit_code => exit_code, None, Some
00:10:28 verbose #8264 > > channel_receiver'
00:10:28 verbose #8265 > >                                 | None =>
00:10:28 verbose #8266 > >                                     -1,
00:10:28 verbose #8267 > >                                     ("runtime.execute_with_options
00:10:28 verbose #8268 > > exit_code=None" |> sm'.to_std_string |> Some),
00:10:28 verbose #8269 > >                                     Some channel_receiver'
00:10:28 verbose #8270 > >                             | Error error =>
00:10:28 verbose #8271 > >                                 trace Critical
00:10:28 verbose #8272 > >                                     fun () => $'$"runtime.execute_with_options
00:10:28 verbose #8273 > > output error"'
00:10:28 verbose #8274 > >                                     fun () => { error }
00:10:28 verbose #8275 > >                                 -2i32, error |> Some, None
00:10:28 verbose #8276 > >                         | Error error =>
00:10:28 verbose #8277 > >                             trace Critical
00:10:28 verbose #8278 > >                                 fun () => $'$"runtime.execute_with_options
00:10:28 verbose #8279 > > child error"'
00:10:28 verbose #8280 > >                                 fun () => { error }
00:10:28 verbose #8281 > >                             -1i32, error |> Some, None
00:10:28 verbose #8282 > >                     |> function
00:10:28 verbose #8283 > >                         | exit_code, std_trace, channel_receiver =>
00:10:28 verbose #8284 > >                             inl std_trace =
00:10:28 verbose #8285 > >                                 channel_receiver
00:10:28 verbose #8286 > >                                 |> optionm'.box
00:10:28 verbose #8287 > >                                 |> optionm'.map' fun channel_receiver =>
00:10:28 verbose #8288 > >                                     channel_receiver
00:10:28 verbose #8289 > >                                     |> threading.arc_mutex_lock
00:10:28 verbose #8290 > >                                     |> resultm.unwrap'
00:10:28 verbose #8291 > >                                     |> iter.iter
00:10:28 verbose #8292 > >                                     |> iter_collect''
00:10:28 verbose #8293 > >                                     |> am'.vec_map sm'.from_std_string
00:10:28 verbose #8294 > >                                     |> am'.from_vec
00:10:28 verbose #8295 > >                                     |> fun x => x : _ i32 _
00:10:28 verbose #8296 > >                                     |> seq.of_array
00:10:28 verbose #8297 > >                                     |> sm'.concat "\n"
00:10:28 verbose #8298 > >                                 |> optionm'.default_value' (
00:10:28 verbose #8299 > >                                     std_trace
00:10:28 verbose #8300 > >                                     |> optionm.map sm'.from_std_string
00:10:28 verbose #8301 > >                                     |> optionm'.default_value ""
00:10:28 verbose #8302 > >                                 )
00:10:28 verbose #8303 > >                             trace Verbose
00:10:28 verbose #8304 > >                                 fun () => $'$"runtime.execute_with_options
00:10:28 verbose #8305 > > result"'
00:10:28 verbose #8306 > >                                 fun () => { exit_code std_trace_length =
00:10:28 verbose #8307 > > std_trace |> sm'.length : i32 }
00:10:28 verbose #8308 > >                             new_pair exit_code std_trace
00:10:28 verbose #8309 > >                 |> capture
00:10:28 verbose #8310 > >             // |> async.new_future_move
00:10:28 verbose #8311 > >             // |> async.block_on
00:10:28 verbose #8312 > >             |> fun x => x ()
00:10:28 verbose #8313 > >             |> from_pair
00:10:28 verbose #8314 > >         | _ => fun () => null ()
00:10:28 verbose #8315 > 00:10:27   debug #530 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8b832d24f9695bc077c2225f12123645991e08468d3b5034eb0ed78f2f3182c/main.spi
00:10:28 verbose #8316 > >
00:10:28 verbose #8317 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:28 verbose #8318 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:28 verbose #8319 > > │ #### execute                                                                 │
00:10:28 verbose #8320 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:28 verbose #8321 > >
00:10:28 verbose #8322 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:28 verbose #8323 > > inl execute command =
00:10:28 verbose #8324 > >     execution_options fun x => { x with
00:10:28 verbose #8325 > >         command = command
00:10:28 verbose #8326 > >     }
00:10:28 verbose #8327 > >     |> execute_with_options
00:10:28 verbose #8328 > 00:10:28   debug #531 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/67ab35995be645118de313400b619c94fef91cc52d5867a6bc37c5ae31676d6d/main.spi
00:10:29 verbose #8329 > >
00:10:29 verbose #8330 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:29 verbose #8331 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:29 verbose #8332 > > │ #### tests                                                                   │
00:10:29 verbose #8333 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:29 verbose #8334 > >
00:10:29 verbose #8335 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:29 verbose #8336 > > //// test
00:10:29 verbose #8337 > > ///! rust -d chrono encoding_rs encoding_rs_io regex sha2
00:10:29 verbose #8338 > >
00:10:29 verbose #8339 > > inl content = "╭─[[ 你好,世界!こんにちは世界! ]]─╮"
00:10:29 verbose #8340 > >
00:10:29 verbose #8341 > > inl file_name = join "test.txt"
00:10:29 verbose #8342 > > inl temp_dir, disposable =
00:10:29 verbose #8343 > >     (file_name, content)
00:10:29 verbose #8344 > >     |> sm'.format_debug
00:10:29 verbose #8345 > >     |> crypto.hash_text
00:10:29 verbose #8346 > >     |> file_system.create_temp_dir'
00:10:29 verbose #8347 > > inl path = temp_dir </> file_name |> file_system.normalize_path
00:10:29 verbose #8348 > > inl exit_code, result =
00:10:29 verbose #8349 > >     execute $'\@$"pwsh -c ""[[IO.File]]::ReadAllText(\'{!path}\')"""'
00:10:29 verbose #8350 > > exit_code |> _assert_eq 1
00:10:29 verbose #8351 > > result |> _assert_string_contains "not find file"
00:10:29 verbose #8352 > >
00:10:29 verbose #8353 > > content |> file_system.write_all_text path
00:10:29 verbose #8354 > >
00:10:29 verbose #8355 > > execution_options fun x => { x with
00:10:29 verbose #8356 > >     command = $'\@$"cat ""{!file_name}"""'
00:10:29 verbose #8357 > >     working_directory = Some temp_dir |> optionm'.box
00:10:29 verbose #8358 > > }
00:10:29 verbose #8359 > > |> execute_with_options
00:10:29 verbose #8360 > > |> ignore
00:10:29 verbose #8361 > >
00:10:29 verbose #8362 > > inl exit_code, output =
00:10:29 verbose #8363 > >     execution_options fun x => { x with
00:10:29 verbose #8364 > >         command = $'\@$"pwsh -c ""[[System.Console]]::OutputEncoding =
00:10:29 verbose #8365 > > [[System.Text.Encoding]]::UTF8; [[IO.File]]::ReadAllText(\'{!file_name}\')"""'
00:10:29 verbose #8366 > >         working_directory = Some temp_dir |> optionm'.box
00:10:29 verbose #8367 > >     }
00:10:29 verbose #8368 > >     |> execute_with_options
00:10:29 verbose #8369 > >
00:10:29 verbose #8370 > > exit_code |> _assert_eq 0i32
00:10:29 verbose #8371 > > output |> _assert_eq content
00:10:29 verbose #8372 > >
00:10:29 verbose #8373 > > disposable |> use |> ignore
00:10:29 verbose #8374 > 00:10:28   debug #532 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9b09b2f6014c43de14700b41038bcbaf0f3590f4f997cd18d35c7fd672a9b4f8/main.spi
00:10:47 verbose #8375 > >
00:10:47 verbose #8376 > > ╭─[ 18.40s - return value ]────────────────────────────────────────────────────╮
00:10:47 verbose #8377 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:10:47 verbose #8378 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_a469d1c1 │
00:10:47 verbose #8379 > > │ 55f8362edcef34253d95e7248d00fbb8d58d3cc220c92c2cdb8f2cf2\9242780b-ce0e-9155- │
00:10:47 verbose #8380 > > │ 5e07-f6ee5667aa16 }                                                          │
00:10:47 verbose #8381 > > │ 00:00:00   debug #2 runtime.execute_with_options / { file_name = pwsh; │
00:10:47 verbose #8382 > > │ arguments = [                                                                │
00:10:47 verbose #8383 > > │     "-c",                                                                    │
00:10:47 verbose #8384 > > │     "[                                                                       │
00:10:47 verbose #8385 > > │ IO.File]::ReadAllText('c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/ │
00:10:47 verbose #8386 > > │ spiral_builder_a469d1c155f8362edcef34253d95e7248d00fbb8d58d3cc220c92c2cdb8f2 │
00:10:47 verbose #8387 > > │ cf2/9242780b-ce0e-9155-5e07-f6ee5667aa16/test.txt')",                        │
00:10:47 verbose #8388 > > │ ]; options = { command = pwsh -c "[                                          │
00:10:47 verbose #8389 > > │ IO.File]::ReadAllText('c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/ │
00:10:47 verbose #8390 > > │ spiral_builder_a469d1c155f8362edcef34253d95e7248d00fbb8d58d3cc220c92c2cdb8f2 │
00:10:47 verbose #8391 > > │ cf2/9242780b-ce0e-9155-5e07-f6ee5667aa16/test.txt')"; cancellation_token =   │
00:10:47 verbose #8392 > > │ None; environment_variables = Array(MutCell([])); on_line = None; stdin =    │
00:10:47 verbose #8393 > > │ None; trace = true; working_directory = None } }                             │
00:10:47 verbose #8394 > > │ 00:00:01 verbose #3 ! MethodInvocationException: Exception   │
00:10:47 verbose #8395 > > │ calling "ReadAllText" with "1" argument(s): "Could not find file             │
00:10:47 verbose #8396 > > │ 'c:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_a469d1c │
00:10:47 verbose #8397 > > │ 155f8362edcef34253d95e7248d00fbb8d58d3cc220c92c2cdb8f2cf2\9242780b-ce0e-9155 │
00:10:47 verbose #8398 > > │ -5e07-f6ee5667aa16\test.txt'."                                             │
00:10:47 verbose #8399 > > │ 00:00:01 verbose #4 runtime.execute_with_options / result / {          │
00:10:47 verbose #8400 > > │ exit_code = 1; std_trace_length = 312 }                                      │
00:10:47 verbose #8401 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:10:47 verbose #8402 > > │ __assert_string_contains / actual: "not find file" / expected: "[         │
00:10:47 verbose #8403 > > │ 31;1m...t.txt",                                                              │
00:10:47 verbose #8404 > > │ ]; options = { command = cat "test.txt"; cancellation_token = None;          │
00:10:47 verbose #8405 > > │ environment_variables = Array(MutCell([])); on_line = None; stdin = None;    │
00:10:47 verbose #8406 > > │ trace = true; working_directory = Some(                                      │
00:10:47 verbose #8407 > > │                                                                              │
00:10:47 verbose #8408 > > │ "C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_a469d1c │
00:10:47 verbose #8409 > > │ 155f8362edcef34253d95e7248d00fbb8d58d3cc220c92c2cdb8f2cf2\9242780b-ce0e-9155 │
00:10:47 verbose #8410 > > │ -5e07-f6ee5667aa16",                                                         │
00:10:47 verbose #8411 > > │ ) } }                                                                        │
00:10:47 verbose #8412 > > │ 00:00:01 verbose #6 > ╭─[ 你好,世界!こんにちは世界! ]─╮             │
00:10:47 verbose #8413 > > │ 00:00:01 verbose #7 runtime.execute_with_options / result / {          │
00:10:47 verbose #8414 > > │ exit_code = 0; std_trace_length = 22 }                                       │
00:10:47 verbose #8415 > > │ 00:00:01   debug #8 runtime.execute_with_options / { file_name = pwsh; │
00:10:47 verbose #8416 > > │ arguments = [                                                                │
00:10:47 verbose #8417 > > │     "-c",                                                                    │
00:10:47 verbose #8418 > > │     "[System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8; [      │
00:10:47 verbose #8419 > > │ IO.File]::ReadAllText('test.txt')",                                          │
00:10:47 verbose #8420 > > │ ]; options = { command = pwsh -c "[System.Console]::OutputEncoding = [       │
00:10:47 verbose #8421 > > │ System.Text.Encoding]::UTF8; [IO.File]::ReadAllText('test.txt')";            │
00:10:47 verbose #8422 > > │ cancellation_token = None; environment_variables = Array(MutCell([]));       │
00:10:47 verbose #8423 > > │ on_line = None; stdin = None; trace = true; working_directory = Some(        │
00:10:47 verbose #8424 > > │                                                                              │
00:10:47 verbose #8425 > > │ "C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_a469d1c │
00:10:47 verbose #8426 > > │ 155f8362edcef34253d95e7248d00fbb8d58d3cc220c92c2cdb8f2cf2\9242780b-ce0e-9155 │
00:10:47 verbose #8427 > > │ -5e07-f6ee5667aa16",                                                         │
00:10:47 verbose #8428 > > │ ) } }                                                                        │
00:10:47 verbose #8429 > > │ 00:00:02 verbose #9 > ╭─[ 你好,世界!こんにちは世界! ]─╮             │
00:10:47 verbose #8430 > > │ 00:00:02 verbose #10 runtime.execute_with_options / result / {         │
00:10:47 verbose #8431 > > │ exit_code = 0; std_trace_length = 22 }                                       │
00:10:47 verbose #8432 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:10:47 verbose #8433 > > │ __assert_eq / actual: "╭─[ 你好,世界!こんにちは世界! ]─╮" / expected: "╭─ │
00:10:47 verbose #8434 > > │ [ 你好,世界!こんにちは世界! ]─╮"                                          │
00:10:47 verbose #8435 > > │                                                                              │
00:10:47 verbose #8436 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:47 verbose #8437 > >
00:10:47 verbose #8438 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:47 verbose #8439 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:47 verbose #8440 > > │ ### execute_retry                                                            │
00:10:47 verbose #8441 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:47 verbose #8442 > >
00:10:47 verbose #8443 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:47 verbose #8444 > > let execute_retry retries options =
00:10:47 verbose #8445 > >     fun () =>
00:10:47 verbose #8446 > >         inl exit_code, result = options |> execute_with_options
00:10:47 verbose #8447 > >         if exit_code = 0
00:10:47 verbose #8448 > >         then Ok (exit_code, result)
00:10:47 verbose #8449 > >         else Error (exit_code, result)
00:10:47 verbose #8450 > >     |> retry_fn' retries
00:10:48 verbose #8451 > 00:10:47   debug #533 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/146fd13d3935c3aefbb90d15e5a3f25a85829fde63dd0f67e9dbcdc664d3eb5d/main.spi
00:10:48 verbose #8452 > >
00:10:48 verbose #8453 > > ── markdown ────────────────────────────────────────────────────────────────────
00:10:48 verbose #8454 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:48 verbose #8455 > > │ ## main                                                                      │
00:10:48 verbose #8456 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:48 verbose #8457 > >
00:10:48 verbose #8458 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:48 verbose #8459 > > inl main () =
00:10:48 verbose #8460 > >     init_trace_state None
00:10:48 verbose #8461 > >     $'let current_process_kill () = !current_process_kill ()' : ()
00:10:48 verbose #8462 > >     $'let execute_async x = !execute_async x' : ()
00:10:48 verbose #8463 > >     $'let execute_with_options_async x = !execute_with_options_async x' : ()
00:10:48 verbose #8464 > >     inl execution_options fn =
00:10:48 verbose #8465 > >         execution_options fun x =>
00:10:48 verbose #8466 > >             x
00:10:48 verbose #8467 > >             |> heap
00:10:48 verbose #8468 > >             |> fn
00:10:48 verbose #8469 > >             |> fun x => !x
00:10:48 verbose #8470 > >     $'let execution_options x = !execution_options x' : ()
00:10:48 verbose #8471 > >     inl split_args x = x |> split_args |> resultm.box
00:10:48 verbose #8472 > >     $'let split_args x = !split_args x' : ()
00:10:48 verbose #8473 > 00:10:47   debug #534 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/de3692fe2edd47523d6f058822da478b28ff99277bf28ac4746233bbb4f0e797/main.spi
00:10:55 verbose #8474 > 00:02:45 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 122540 }
00:10:55 verbose #8475 > 00:02:45   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:10:55 verbose #8476 >     "nbconvert",
00:10:55 verbose #8477 >     "c:/home/git/polyglot/lib/spiral/runtime.dib.ipynb",
00:10:55 verbose #8478 >     "--to",
00:10:55 verbose #8479 >     "html",
00:10:55 verbose #8480 >     "--HTMLExporter.theme=dark",
00:10:55 verbose #8481 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/runtime.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:10:58 verbose #8482 > 00:02:48 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/runtime.dib.ipynb to html
00:10:58 verbose #8483 > 00:02:48 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:10:58 verbose #8484 > 00:02:48 verbose #7 !   validate(nb)
00:11:02 verbose #8485 > 00:02:53 verbose #8 ! [NbConvertApp] Writing 580966 bytes to c:\home\git\polyglot\lib\spiral\runtime.dib.html
00:11:02 verbose #8486 > 00:02:53 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 645 }
00:11:02 verbose #8487 > 00:02:53   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 645 }
00:11:02 verbose #8488 > 00:02:53   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:11:02 verbose #8489 >     "-c",
00:11:02 verbose #8490 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/runtime.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:11:02 verbose #8491 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/runtime.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:11:04 verbose #8492 > 00:02:55 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:11:04 verbose #8493 > 00:02:55   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:11:05 verbose #8494 > 00:02:56   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 123244 }
00:11:05   debug #8495 runtime.execute_with_options_async / { exit_code = 0; output_length = 130565 }
00:11:05   debug #12 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path runtime.dib --retries 3
00:11:05   debug #8496 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path trace.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:11:05 verbose #8497 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "trace.dib", "--retries", "3"])) }
00:11:05 verbose #8498 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:11:05 verbose #8499 >     "repl",
00:11:05 verbose #8500 >     "--exit-after-run",
00:11:05 verbose #8501 >     "--run",
00:11:05 verbose #8502 >     "c:/home/git/polyglot/lib/spiral/trace.dib",
00:11:05 verbose #8503 >     "--output-path",
00:11:05 verbose #8504 >     "c:/home/git/polyglot/lib/spiral/trace.dib.ipynb",
00:11:05 verbose #8505 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/trace.dib" --output-path "c:/home/git/polyglot/lib/spiral/trace.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:11:08 verbose #8506 > >
00:11:08 verbose #8507 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:08 verbose #8508 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:08 verbose #8509 > > │ # trace                                                                      │
00:11:08 verbose #8510 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:14 verbose #8511 > >
00:11:14 verbose #8512 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:14 verbose #8513 > > //// test
00:11:14 verbose #8514 > >
00:11:14 verbose #8515 > > open testing
00:11:15 verbose #8516 > 00:11:14   debug #535 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:11:16 verbose #8517 > >
00:11:16 verbose #8518 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:16 verbose #8519 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:16 verbose #8520 > > │ ## trace                                                                     │
00:11:16 verbose #8521 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:16 verbose #8522 > >
00:11:16 verbose #8523 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:16 verbose #8524 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:16 verbose #8525 > > │ ### trace_level                                                              │
00:11:16 verbose #8526 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:16 verbose #8527 > >
00:11:16 verbose #8528 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:16 verbose #8529 > > union trace_level =
00:11:16 verbose #8530 > >     | Verbose
00:11:16 verbose #8531 > >     | Debug
00:11:16 verbose #8532 > >     | Info
00:11:16 verbose #8533 > >     | Warning
00:11:16 verbose #8534 > >     | Critical
00:11:16 verbose #8535 > 00:11:15   debug #536 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/78bc2ae7354d0a8078c262b56b61752f85e4441d8671416a152452fb02690d56/main.spi
00:11:17 verbose #8536 > >
00:11:17 verbose #8537 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:17 verbose #8538 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:17 verbose #8539 > > │ ### read_state                                                               │
00:11:17 verbose #8540 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:17 verbose #8541 > >
00:11:17 verbose #8542 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:17 verbose #8543 > > inl read_state () =
00:11:17 verbose #8544 > >     run_target function
00:11:17 verbose #8545 > >         | Rust (Wasm) => fun () =>
00:11:17 verbose #8546 > >             {
00:11:17 verbose #8547 > >                 trace_level = None
00:11:17 verbose #8548 > >                 repl_start = None
00:11:17 verbose #8549 > >             }
00:11:17 verbose #8550 > >         | Rust (Contract) => fun () =>
00:11:17 verbose #8551 > >             {
00:11:17 verbose #8552 > >                 trace_level = None
00:11:17 verbose #8553 > >                 repl_start =
00:11:17 verbose #8554 > >                     open rust.rust_operators
00:11:17 verbose #8555 > >                     inl automation = env.get_environment_variable_comptime
00:11:17 verbose #8556 > > "AUTOMATION"
00:11:17 verbose #8557 > >                     if automation <>. "True"
00:11:17 verbose #8558 > >                     then None
00:11:17 verbose #8559 > >                     else
00:11:17 verbose #8560 > >                         inl timestamp : u64 =
00:11:17 verbose #8561 > > !\($'$"near_sdk::env::block_timestamp()"')
00:11:17 verbose #8562 > >                         timestamp |> i64 |> Some
00:11:17 verbose #8563 > >             }
00:11:17 verbose #8564 > >         | _ => fun () =>
00:11:17 verbose #8565 > >             {
00:11:17 verbose #8566 > >                 trace_level =
00:11:17 verbose #8567 > >                     (join "TRACE_LEVEL")
00:11:17 verbose #8568 > >                     |> env.get_environment_variable
00:11:17 verbose #8569 > >                     |> reflection.union_try_pick
00:11:17 verbose #8570 > >                 repl_start =
00:11:17 verbose #8571 > >                     inl automation = env.get_environment_variable (join
00:11:17 verbose #8572 > > "AUTOMATION")
00:11:17 verbose #8573 > >                     if automation = "True"
00:11:17 verbose #8574 > >                     then date_time.now () |> date_time.ticks |> fun
00:11:17 verbose #8575 > > (date_time.timestamp x) => x |> Some
00:11:17 verbose #8576 > >                     else None
00:11:17 verbose #8577 > >             }
00:11:17 verbose #8578 > 00:11:16   debug #537 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4449d73b9b6897f0ba952325e7e934faa5f78de9a646f603ac9072f56e9a2f25/main.spi
00:11:17 verbose #8579 > >
00:11:17 verbose #8580 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:17 verbose #8581 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:17 verbose #8582 > > │ ### trace_state                                                              │
00:11:17 verbose #8583 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:17 verbose #8584 > >
00:11:17 verbose #8585 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:17 verbose #8586 > > type trace_state =
00:11:17 verbose #8587 > >     {
00:11:17 verbose #8588 > >         count : mut i64
00:11:17 verbose #8589 > >         trace_file : mut (string -> ())
00:11:17 verbose #8590 > >         enabled : mut bool
00:11:17 verbose #8591 > >         acc : mut string
00:11:17 verbose #8592 > >         level : mut trace_level
00:11:17 verbose #8593 > >         repl_start : optionm'.option' i64
00:11:17 verbose #8594 > >     }
00:11:17 verbose #8595 > 00:11:16   debug #538 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e27c33931cfcc938d14ea3ddc1a716032cc98bc6700736f6fd5def5c7ed7694a/main.spi
00:11:17 verbose #8596 > >
00:11:17 verbose #8597 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:17 verbose #8598 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:17 verbose #8599 > > │ ### new_trace_state                                                          │
00:11:17 verbose #8600 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:17 verbose #8601 > >
00:11:17 verbose #8602 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:17 verbose #8603 > > let new_trace_state trace_level' =
00:11:17 verbose #8604 > >     inl { repl_start trace_level } = read_state ()
00:11:17 verbose #8605 > >     {
00:11:17 verbose #8606 > >         count = mut 0i64
00:11:17 verbose #8607 > >         trace_file = mut ignore
00:11:17 verbose #8608 > >         enabled = mut true
00:11:17 verbose #8609 > >         acc = mut ""
00:11:17 verbose #8610 > >         level = trace_level |> optionm'.default_value trace_level' |> mut
00:11:17 verbose #8611 > >         repl_start = repl_start |> optionm'.box
00:11:17 verbose #8612 > >     } : trace_state
00:11:18 verbose #8613 > 00:11:17   debug #539 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ecf189a09e26e4b95709f37dc253e3a0a864eda9769a050553e1caf798bbf3e6/main.spi
00:11:18 verbose #8614 > >
00:11:18 verbose #8615 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:18 verbose #8616 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:18 verbose #8617 > > │ ### init_trace_state                                                         │
00:11:18 verbose #8618 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:18 verbose #8619 > >
00:11:18 verbose #8620 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:18 verbose #8621 > > inl init_trace_state trace_level : () =
00:11:18 verbose #8622 > >     inl trace_level = trace_level |> optionm'.default_value Verbose
00:11:18 verbose #8623 > >     backend_switch {
00:11:18 verbose #8624 > >         Fsharp = fun () =>
00:11:18 verbose #8625 > >             backend_switch {
00:11:18 verbose #8626 > >                 Fsharp = fun () =>
00:11:18 verbose #8627 > >                     global "module TraceState = let mutable trace_state = None"
00:11:18 verbose #8628 > >             }
00:11:18 verbose #8629 > >             fun () =>
00:11:18 verbose #8630 > >                 if $'TraceState.trace_state.IsNone' then
00:11:18 verbose #8631 > >                     inl trace_state = new_trace_state trace_level |>
00:11:18 verbose #8632 > > optionm'.some'
00:11:18 verbose #8633 > >                     $'TraceState.trace_state <- !trace_state ' : ()
00:11:18 verbose #8634 > >             |> exec_unit
00:11:18 verbose #8635 > >         Python = fun () =>
00:11:18 verbose #8636 > >             global "class TraceState: trace_state = None"
00:11:18 verbose #8637 > >             $'if TraceState.trace_state is None: TraceState.trace_state =
00:11:18 verbose #8638 > > !new_trace_state(!trace_level)' : ()
00:11:18 verbose #8639 > >     }
00:11:18 verbose #8640 > 00:11:17   debug #540 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0209cfa7b54839e4a8dfdfc4160e847f397ce9fbd5da6bb329faef757d488d4c/main.spi
00:11:18 verbose #8641 > >
00:11:18 verbose #8642 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:18 verbose #8643 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:18 verbose #8644 > > │ ### get_trace_state_or_init                                                  │
00:11:18 verbose #8645 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:18 verbose #8646 > >
00:11:18 verbose #8647 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:18 verbose #8648 > > inl get_trace_state_or_init trace_level : trace_state =
00:11:18 verbose #8649 > >     init_trace_state trace_level
00:11:18 verbose #8650 > >     // $'match State.trace_state with Some x -> x | None -> failwith
00:11:18 verbose #8651 > > "trace.get_trace_state_or_init / State.trace_state=None"'
00:11:18 verbose #8652 > >     backend_switch {
00:11:18 verbose #8653 > >         Fsharp = fun () =>
00:11:18 verbose #8654 > >             $'TraceState.trace_state.Value' : trace_state
00:11:18 verbose #8655 > >         Python = fun () =>
00:11:18 verbose #8656 > >             $'TraceState.trace_state' : trace_state
00:11:18 verbose #8657 > >     }
00:11:18 verbose #8658 > 00:11:17   debug #541 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a78be4dd899711765cebda9ce3f382113296d3896529f6a2414258a57ddbe193/main.spi
00:11:18 verbose #8659 > >
00:11:18 verbose #8660 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:18 verbose #8661 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:18 verbose #8662 > > │ ### test_trace_level                                                         │
00:11:18 verbose #8663 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:18 verbose #8664 > >
00:11:18 verbose #8665 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:18 verbose #8666 > > inl test_trace_level level : bool =
00:11:18 verbose #8667 > >     inl state = get_trace_state_or_init None
00:11:18 verbose #8668 > >     inl level' = *state.level
00:11:18 verbose #8669 > >     if *state.enabled |> not
00:11:18 verbose #8670 > >     then false
00:11:18 verbose #8671 > >     else
00:11:18 verbose #8672 > >         inl level : i32 = real real_core.union_tag level
00:11:18 verbose #8673 > >         inl level' : i32 = real real_core.union_tag level'
00:11:18 verbose #8674 > >         level >= level'
00:11:19 verbose #8675 > 00:11:18   debug #542 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/226fe28725d6d837de46677352821e3831778e2922bcdec7f8d6bce8a559b02b/main.spi
00:11:19 verbose #8676 > >
00:11:19 verbose #8677 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:19 verbose #8678 > > //// test
00:11:19 verbose #8679 > > ///! fsharp
00:11:19 verbose #8680 > > ///! cuda
00:11:19 verbose #8681 > > ///! rust
00:11:19 verbose #8682 > > ///! typescript
00:11:19 verbose #8683 > > ///! python
00:11:19 verbose #8684 > >
00:11:19 verbose #8685 > > test_trace_level Critical |> _assert_eq true
00:11:19 verbose #8686 > > test_trace_level Verbose |> _assert_eq true
00:11:19 verbose #8687 > >
00:11:19 verbose #8688 > > inl level = get_trace_state_or_init None .level
00:11:19 verbose #8689 > > level <- Debug
00:11:19 verbose #8690 > > test_trace_level Verbose |> _assert_eq false
00:11:19 verbose #8691 > > level <- Verbose
00:11:19 verbose #8692 > > test_trace_level Verbose |> _assert_eq true
00:11:19 verbose #8693 > 00:11:18   debug #543 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c429762f9ed850eb8ed3d9435b2c3819602df96d38be8dca195b280409c256e0/main.spi
00:11:19 verbose #8694 > 00:11:18   debug #544 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1afff15f7ba89104a0fb2ad65290f26caad95e2f1219dbd74322169efb061ee3/main.spi
00:11:31 verbose #8695 > >
00:11:31 verbose #8696 > > ╭─[ 12.12s - return value ]────────────────────────────────────────────────────╮
00:11:31 verbose #8697 > > │                                                                              │
00:11:31 verbose #8698 > > │ .py output (Cuda):                                                           │
00:11:31 verbose #8699 > > │ __assert_eq / actual: True / expected: True                                  │
00:11:31 verbose #8700 > > │ __assert_eq / actual: True / expected: True                                  │
00:11:31 verbose #8701 > > │ __assert_eq / actual: False / expected: False                                │
00:11:31 verbose #8702 > > │ __assert_eq / actual: True / expected: True                                  │
00:11:31 verbose #8703 > > │                                                                              │
00:11:31 verbose #8704 > > │                                                                              │
00:11:31 verbose #8705 > > │ .rs output:                                                                  │
00:11:31 verbose #8706 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8707 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8708 > > │ __assert_eq / actual: false / expected: false                                │
00:11:31 verbose #8709 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8710 > > │                                                                              │
00:11:31 verbose #8711 > > │                                                                              │
00:11:31 verbose #8712 > > │ .ts output:                                                                  │
00:11:31 verbose #8713 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8714 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8715 > > │ __assert_eq / actual: false / expected: false                                │
00:11:31 verbose #8716 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8717 > > │                                                                              │
00:11:31 verbose #8718 > > │                                                                              │
00:11:31 verbose #8719 > > │ .py output:                                                                  │
00:11:31 verbose #8720 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8721 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8722 > > │ __assert_eq / actual: false / expected: false                                │
00:11:31 verbose #8723 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8724 > > │                                                                              │
00:11:31 verbose #8725 > > │                                                                              │
00:11:31 verbose #8726 > > │                                                                              │
00:11:31 verbose #8727 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:31 verbose #8728 > >
00:11:31 verbose #8729 > > ╭─[ 12.13s - stdout ]──────────────────────────────────────────────────────────╮
00:11:31 verbose #8730 > > │ .fsx output:                                                                 │
00:11:31 verbose #8731 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8732 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8733 > > │ __assert_eq / actual: false / expected: false                                │
00:11:31 verbose #8734 > > │ __assert_eq / actual: true / expected: true                                  │
00:11:31 verbose #8735 > > │                                                                              │
00:11:31 verbose #8736 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:31 verbose #8737 > >
00:11:31 verbose #8738 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:31 verbose #8739 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:31 verbose #8740 > > │ ### trace_raw                                                                │
00:11:31 verbose #8741 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:31 verbose #8742 > >
00:11:31 verbose #8743 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:31 verbose #8744 > > inl trace_raw level fn =
00:11:31 verbose #8745 > >     fun () =>
00:11:31 verbose #8746 > >         inl ({ count acc } & trace_state) = get_trace_state_or_init None
00:11:31 verbose #8747 > >         if level |> test_trace_level then
00:11:31 verbose #8748 > >             fun () => count <- *count + 1
00:11:31 verbose #8749 > >             |> exec_unit
00:11:31 verbose #8750 > >
00:11:31 verbose #8751 > >             inl text = fn ()
00:11:31 verbose #8752 > >             open rust
00:11:31 verbose #8753 > >             open rust.rust_operators
00:11:31 verbose #8754 > >             run_target_args (fun () => text, console.write_line) function
00:11:31 verbose #8755 > >                 | Rust (Contract) => fun text, _ =>
00:11:31 verbose #8756 > >                     inl new_acc =
00:11:31 verbose #8757 > >                         if *acc = ""
00:11:31 verbose #8758 > >                         then text
00:11:31 verbose #8759 > >                         elif text = ""
00:11:31 verbose #8760 > >                         then *acc
00:11:31 verbose #8761 > >                         else *acc +. "\n" +. text
00:11:31 verbose #8762 > >
00:11:31 verbose #8763 > >                     inl chunks =
00:11:31 verbose #8764 > >                         new_acc
00:11:31 verbose #8765 > >                         |> sm'.as_str
00:11:31 verbose #8766 > >                         |> sm'.chars
00:11:31 verbose #8767 > >                         |> rust.from_mut
00:11:31 verbose #8768 > >                         |> iter_collect
00:11:31 verbose #8769 > >                         |> am'.vec_chunks 15000
00:11:31 verbose #8770 > >                         |> am'.vec_map fun x =>
00:11:31 verbose #8771 > >                             x |> sm'.from_iter
00:11:31 verbose #8772 > >
00:11:31 verbose #8773 > >                     inl chunks_len = chunks |> am'.vec_len |> i32
00:11:31 verbose #8774 > >
00:11:31 verbose #8775 > >                     if text <>. "" && chunks_len <= 1
00:11:31 verbose #8776 > >                     then acc <- new_acc
00:11:31 verbose #8777 > >                     else
00:11:31 verbose #8778 > >                         acc <- ""
00:11:31 verbose #8779 > >                         chunks
00:11:31 verbose #8780 > >                         |> am'.vec_for_each' near.log
00:11:31 verbose #8781 > >                 | Rust _ => fun text, _ =>
00:11:31 verbose #8782 > >                     !\\(text, $'\@"println\!(""{}"", $0)"')
00:11:31 verbose #8783 > >                 | _ => fun text, write_line =>
00:11:31 verbose #8784 > >                     text |> write_line
00:11:31 verbose #8785 > >             *trace_state.trace_file text
00:11:31 verbose #8786 > >     |> exec_unit
00:11:31 verbose #8787 > 00:11:30   debug #545 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ae16c03f8e2116f142c46f8a732107fe21bb8ac3175d0544df31ae3d0698b9c6/main.spi
00:11:31 verbose #8788 > >
00:11:31 verbose #8789 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:31 verbose #8790 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:31 verbose #8791 > > │ ### trace                                                                    │
00:11:31 verbose #8792 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:31 verbose #8793 > >
00:11:31 verbose #8794 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:31 verbose #8795 > > inl trace (level : trace_level) (text_fn : () -> string) (locals : () -> _) =
00:11:31 verbose #8796 > >     fun () =>
00:11:31 verbose #8797 > >         inl trace_state = get_trace_state_or_init None
00:11:31 verbose #8798 > >         inl time =
00:11:31 verbose #8799 > >             run_target fun target =>
00:11:31 verbose #8800 > >                 match target with
00:11:31 verbose #8801 > >                 | Rust (Contract) => fun () =>
00:11:31 verbose #8802 > >                     open rust.rust_operators
00:11:31 verbose #8803 > >                     open rust
00:11:31 verbose #8804 > >                     inl timestamp : u64 =
00:11:31 verbose #8805 > > !\($'$"near_sdk::env::block_timestamp()"')
00:11:31 verbose #8806 > >                     inl timestamp =
00:11:31 verbose #8807 > >                         match trace_state.repl_start |> optionm'.unbox with
00:11:31 verbose #8808 > >                         | Some repl_start => timestamp - u64 repl_start
00:11:31 verbose #8809 > >                         | None => timestamp
00:11:31 verbose #8810 > >                     inl timestamp_s = timestamp / 1_000_000_000
00:11:31 verbose #8811 > >                     inl s = timestamp_s % 60
00:11:31 verbose #8812 > >                     inl m = (timestamp_s / 60) % 60
00:11:31 verbose #8813 > >                     inl h = (timestamp_s / 3600) % 24
00:11:31 verbose #8814 > >                     inl str : sm'.std_string =
00:11:31 verbose #8815 > >                         !\\((h, m, s),
00:11:31 verbose #8816 > > $'$"format\!(\\\"{{:02}}:{{:02}}:{{:02}}\\\", $0, $1, $2)"')
00:11:31 verbose #8817 > >                     str |> sm'.from_std_string
00:11:31 verbose #8818 > >                 | _ => fun () =>
00:11:31 verbose #8819 > >                     match trace_state.repl_start |> optionm'.unbox with
00:11:31 verbose #8820 > >                     | Some repl_start =>
00:11:31 verbose #8821 > >                         inl t =
00:11:31 verbose #8822 > >                             (date_time.now () |> date_time.ticks |> fun
00:11:31 verbose #8823 > > (date_time.timestamp x) => x)
00:11:31 verbose #8824 > >                             - repl_start |> date_time.time_span
00:11:31 verbose #8825 > >                         date_time.date_time_milliseconds
00:11:31 verbose #8826 > >                             1i32 1i32 1i32
00:11:31 verbose #8827 > >                             (t |> date_time.hours)
00:11:31 verbose #8828 > >                             (t |> date_time.minutes)
00:11:31 verbose #8829 > >                             (t |> date_time.seconds)
00:11:31 verbose #8830 > >                             (t |> date_time.milliseconds)
00:11:31 verbose #8831 > >                     | None => date_time.now ()
00:11:31 verbose #8832 > >                     |> date_time.format (
00:11:31 verbose #8833 > >                         backend_switch {
00:11:31 verbose #8834 > >                             Fsharp = fun () =>
00:11:31 verbose #8835 > >                                 match target with
00:11:31 verbose #8836 > >                                 | Rust _ => join "hh:mm:ss"
00:11:31 verbose #8837 > >                                 | _ => join "HH:mm:ss"
00:11:31 verbose #8838 > >                             Python = fun () => "%H:%M:%S"
00:11:31 verbose #8839 > >                         }
00:11:31 verbose #8840 > >                     )
00:11:31 verbose #8841 > >         inl level_str = level |> reflection.union_to_string |> sm'.to_lower |>
00:11:31 verbose #8842 > > sm'.pad_left 7 ' '
00:11:31 verbose #8843 > >         inl level_str =
00:11:31 verbose #8844 > >             run_target function
00:11:31 verbose #8845 > >             | Rust _ => fun () =>
00:11:31 verbose #8846 > >                 open rust
00:11:31 verbose #8847 > >                 open rust.rust_operators
00:11:31 verbose #8848 > >                 inl color : rust.ref sm'.str =
00:11:31 verbose #8849 > >                     match level with
00:11:31 verbose #8850 > >                     | Verbose =>
00:11:31 verbose #8851 > > !\($'"inline_colorization::color_bright_black"')
00:11:31 verbose #8852 > >                     | Debug => !\($'"inline_colorization::color_bright_blue"')
00:11:31 verbose #8853 > >                     | Info => !\($'"inline_colorization::color_bright_green"')
00:11:31 verbose #8854 > >                     | Warning => !\($'"inline_colorization::color_yellow"')
00:11:31 verbose #8855 > >                     | Critical => !\($'"inline_colorization::color_bright_red"')
00:11:31 verbose #8856 > >                 inl level_str = level_str |> sm'.as_str
00:11:31 verbose #8857 > >                 inl color_reset : rust.ref sm'.str =
00:11:31 verbose #8858 > > !\($'"inline_colorization::color_reset"')
00:11:31 verbose #8859 > >                 $'"\\\"{!color}{!level_str}{!color_reset}\\\""'
00:11:31 verbose #8860 > >                 |> sm'.format''
00:11:31 verbose #8861 > >                 |> sm'.from_std_string
00:11:31 verbose #8862 > >             | _ => fun () =>
00:11:31 verbose #8863 > >                 inl color =
00:11:31 verbose #8864 > >                     match level with
00:11:31 verbose #8865 > >                     | Verbose => $'"\\u001b[[90m"'
00:11:31 verbose #8866 > >                     | Debug => $'"\\u001b[[94m"'
00:11:31 verbose #8867 > >                     | Info => $'"\\u001b[[92m"'
00:11:31 verbose #8868 > >                     | Warning => $'"\\u001b[[93m"'
00:11:31 verbose #8869 > >                     | Critical => $'"\\u001b[[91m"'
00:11:31 verbose #8870 > >                 inl color_reset = join $'"\\u001b[[0m"'
00:11:31 verbose #8871 > >                 color +. level_str +. color_reset
00:11:31 verbose #8872 > >         inl count = *trace_state.count
00:11:31 verbose #8873 > >         inl locals = locals () |> sm'.format
00:11:31 verbose #8874 > >         inl text = text_fn ()
00:11:31 verbose #8875 > >         if text = ""
00:11:31 verbose #8876 > >         then ""
00:11:31 verbose #8877 > >         else
00:11:31 verbose #8878 > >             backend_switch {
00:11:31 verbose #8879 > >                 Fsharp = fun () => $'$"{!time} {!level_str} #{!count} %s{!text}
00:11:31 verbose #8880 > > / {!locals}"' : string
00:11:31 verbose #8881 > >                 Python = fun () => $'f"{!time} {!level_str} #{!count} {!text}
00:11:31 verbose #8882 > > {!locals}"' : string
00:11:31 verbose #8883 > >             }
00:11:31 verbose #8884 > >             |> sm'.trim_start [[]]
00:11:31 verbose #8885 > >             |> sm'.trim_end [[ ' '; '/' ]]
00:11:31 verbose #8886 > >     |> trace_raw level
00:11:32 verbose #8887 > 00:11:31   debug #546 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5e70cd80bb871fd1265e7bde37f5eececfd5202d6af93ec828bdc79e00d2a440/main.spi
00:11:32 verbose #8888 > >
00:11:32 verbose #8889 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:32 verbose #8890 > > //// test
00:11:32 verbose #8891 > > ///! fsharp
00:11:32 verbose #8892 > > ///! cuda
00:11:32 verbose #8893 > > ///! rust
00:11:32 verbose #8894 > > ///! typescript
00:11:32 verbose #8895 > > ///! python
00:11:32 verbose #8896 > >
00:11:32 verbose #8897 > > trace Debug (fun () => "test1") id
00:11:32 verbose #8898 > > trace Debug (fun () => "test2") id
00:11:32 verbose #8899 > > get_trace_state_or_init None .count
00:11:32 verbose #8900 > > |> fun x => *x
00:11:32 verbose #8901 > > |> _assert_eq 2
00:11:32 verbose #8902 > 00:11:31   debug #547 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/459a3ecba0db7e822f636c52f14638de5ae26df324862f3d115cdfb358821436/main.spi
00:11:32 verbose #8903 > 00:11:31   debug #548 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f81b02cc402a1160f1191454cb289d863b376dfe4aeffafeae7b0db46734dec5/main.spi
00:11:41 verbose #8904 > >
00:11:41 verbose #8905 > > ╭─[ 9.35s - return value ]─────────────────────────────────────────────────────╮
00:11:41 verbose #8906 > > │                                                                              │
00:11:41 verbose #8907 > > │ .py output (Cuda):                                                           │
00:11:41 verbose #8908 > > │ 00:00:00   debug #1 test1                                               │
00:11:41 verbose #8909 > > │ 00:00:00   debug #2 test2                                               │
00:11:41 verbose #8910 > > │ __assert_eq / actual: 2 / expected: 2                                        │
00:11:41 verbose #8911 > > │                                                                              │
00:11:41 verbose #8912 > > │                                                                              │
00:11:41 verbose #8913 > > │ .rs output:                                                                  │
00:11:41 verbose #8914 > > │ 00:00:00   debug #1 test1                                              │
00:11:41 verbose #8915 > > │ 00:00:00   debug #2 test2                                              │
00:11:41 verbose #8916 > > │ __assert_eq / actual: 2 / expected: 2                                        │
00:11:41 verbose #8917 > > │                                                                              │
00:11:41 verbose #8918 > > │                                                                              │
00:11:41 verbose #8919 > > │ .ts output:                                                                  │
00:11:41 verbose #8920 > > │ 00:00:00   debug #1 test1                                               │
00:11:41 verbose #8921 > > │ 00:00:00   debug #2 test2                                               │
00:11:41 verbose #8922 > > │ __assert_eq / actual: 2 / expected: 2                                        │
00:11:41 verbose #8923 > > │                                                                              │
00:11:41 verbose #8924 > > │                                                                              │
00:11:41 verbose #8925 > > │ .py output:                                                                  │
00:11:41 verbose #8926 > > │ 00:00:00   debug #1 test1                                               │
00:11:41 verbose #8927 > > │ 00:00:00   debug #2 test2                                               │
00:11:41 verbose #8928 > > │ __assert_eq / actual: 2 / expected: 2                                        │
00:11:41 verbose #8929 > > │                                                                              │
00:11:41 verbose #8930 > > │                                                                              │
00:11:41 verbose #8931 > > │                                                                              │
00:11:41 verbose #8932 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:41 verbose #8933 > >
00:11:41 verbose #8934 > > ╭─[ 9.36s - stdout ]───────────────────────────────────────────────────────────╮
00:11:41 verbose #8935 > > │ .fsx output:                                                                 │
00:11:41 verbose #8936 > > │ 00:00:00   debug #1 test1                                               │
00:11:41 verbose #8937 > > │ 00:00:00   debug #2 test2                                               │
00:11:41 verbose #8938 > > │ __assert_eq / actual: 2L / expected: 2L                                      │
00:11:41 verbose #8939 > > │                                                                              │
00:11:41 verbose #8940 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:41 verbose #8941 > >
00:11:41 verbose #8942 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:41 verbose #8943 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:41 verbose #8944 > > │ ## main                                                                      │
00:11:41 verbose #8945 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:41 verbose #8946 > >
00:11:41 verbose #8947 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:41 verbose #8948 > > inl main () =
00:11:41 verbose #8949 > >     init_trace_state None
00:11:41 verbose #8950 > >     inl trace level text_fn (locals : () -> string) = trace level text_fn locals
00:11:41 verbose #8951 > >     $'let trace x = !trace x' : ()
00:11:42 verbose #8952 > 00:11:41   debug #549 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ad773749955fde91ced7f06744c3964ceb90c7c6fc5b8c2f9cefe02cf4a59e32/main.spi
00:11:43 verbose #8953 > 00:00:37 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 20897 }
00:11:43 verbose #8954 > 00:00:37   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:11:43 verbose #8955 >     "nbconvert",
00:11:43 verbose #8956 >     "c:/home/git/polyglot/lib/spiral/trace.dib.ipynb",
00:11:43 verbose #8957 >     "--to",
00:11:43 verbose #8958 >     "html",
00:11:43 verbose #8959 >     "--HTMLExporter.theme=dark",
00:11:43 verbose #8960 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/trace.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:11:46 verbose #8961 > 00:00:40 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/trace.dib.ipynb to html
00:11:46 verbose #8962 > 00:00:40 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:11:46 verbose #8963 > 00:00:40 verbose #7 !   validate(nb)
00:11:48 verbose #8964 > 00:00:43 verbose #8 ! [NbConvertApp] Writing 323133 bytes to c:\home\git\polyglot\lib\spiral\trace.dib.html
00:11:48 verbose #8965 > 00:00:43 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 641 }
00:11:48 verbose #8966 > 00:00:43   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 641 }
00:11:48 verbose #8967 > 00:00:43   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:11:48 verbose #8968 >     "-c",
00:11:48 verbose #8969 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/trace.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:11:48 verbose #8970 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/trace.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:11:50 verbose #8971 > 00:00:44 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:11:50 verbose #8972 > 00:00:44   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:11:51 verbose #8973 > 00:00:45   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 21597 }
00:11:51   debug #8974 runtime.execute_with_options_async / { exit_code = 0; output_length = 25130 }
00:11:51   debug #13 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path trace.dib --retries 3
00:11:51   debug #8975 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path am'.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:11:51 verbose #8976 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "am'.dib", "--retries", "3"])) }
00:11:51 verbose #8977 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:11:51 verbose #8978 >     "repl",
00:11:51 verbose #8979 >     "--exit-after-run",
00:11:51 verbose #8980 >     "--run",
00:11:51 verbose #8981 >     "c:/home/git/polyglot/lib/spiral/am'.dib",
00:11:51 verbose #8982 >     "--output-path",
00:11:51 verbose #8983 >     "c:/home/git/polyglot/lib/spiral/am'.dib.ipynb",
00:11:51 verbose #8984 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/am'.dib" --output-path "c:/home/git/polyglot/lib/spiral/am'.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:11:54 verbose #8985 > >
00:11:54 verbose #8986 > > ── markdown ────────────────────────────────────────────────────────────────────
00:11:54 verbose #8987 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:54 verbose #8988 > > │ # am'                                                                        │
00:11:54 verbose #8989 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:00 verbose #8990 > >
00:12:00 verbose #8991 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:00 verbose #8992 > > //// test
00:12:00 verbose #8993 > >
00:12:00 verbose #8994 > > open testing
00:12:01 verbose #8995 > 00:12:00   debug #550 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:12:02 verbose #8996 > >
00:12:02 verbose #8997 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:02 verbose #8998 > > open rust
00:12:02 verbose #8999 > > open rust_operators
00:12:02 verbose #9000 > 00:12:01   debug #551 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/99d3bf64d597281af4b0797a894e23c32802a4d97ba91164826ac21a270d370b/main.spi
00:12:02 verbose #9001 > >
00:12:02 verbose #9002 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:02 verbose #9003 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:02 verbose #9004 > > │ ## am'                                                                       │
00:12:02 verbose #9005 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:02 verbose #9006 > >
00:12:02 verbose #9007 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:02 verbose #9008 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:02 verbose #9009 > > │ ### length                                                                   │
00:12:02 verbose #9010 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:02 verbose #9011 > >
00:12:02 verbose #9012 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:02 verbose #9013 > > inl length forall dim {int} el. (a : a dim el) : dim =
00:12:02 verbose #9014 > >     a |> length
00:12:02 verbose #9015 > 00:12:01   debug #552 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0e0f57d9b9af5650b1e8a654460704f6d54674f36aa0a6e0c1b211a8f019755f/main.spi
00:12:03 verbose #9016 > >
00:12:03 verbose #9017 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:03 verbose #9018 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:03 verbose #9019 > > │ ### index                                                                    │
00:12:03 verbose #9020 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:03 verbose #9021 > >
00:12:03 verbose #9022 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:03 verbose #9023 > > inl index forall dim {int} el. (i : dim) (a : a dim el) : el =
00:12:03 verbose #9024 > >     backend_switch {
00:12:03 verbose #9025 > >         Fsharp = fun () => index a i
00:12:03 verbose #9026 > >         Python = fun () => $'!a[[!i]]' : el
00:12:03 verbose #9027 > >     }
00:12:03 verbose #9028 > 00:12:02   debug #553 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a2507695cff647864f4c0cee3d1ad0c981cd64b3f0c3a3015a7e1bbf27e04cc5/main.spi
00:12:03 verbose #9029 > >
00:12:03 verbose #9030 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:03 verbose #9031 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:03 verbose #9032 > > │ ### index_base                                                               │
00:12:03 verbose #9033 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:03 verbose #9034 > >
00:12:03 verbose #9035 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:03 verbose #9036 > > inl index_base forall el. (i : int) (ar : array_base el) : el =
00:12:03 verbose #9037 > >     ar |> a |> index i
00:12:03 verbose #9038 > 00:12:02   debug #554 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9e440dc6b725984d26e057ce405085b7534c7315ae2fd6dc700eba44545c1416/main.spi
00:12:03 verbose #9039 > >
00:12:03 verbose #9040 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:03 verbose #9041 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:03 verbose #9042 > > │ ### base                                                                     │
00:12:03 verbose #9043 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:03 verbose #9044 > >
00:12:03 verbose #9045 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:03 verbose #9046 > > inl base forall dim {int} el. ((a a) : a dim el) : array_base el =
00:12:03 verbose #9047 > >     a
00:12:04 verbose #9048 > 00:12:03   debug #555 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c20c66e06d910ca937167d916f9d1774e7eb172ac562ec67b305898e45404341/main.spi
00:12:04 verbose #9049 > >
00:12:04 verbose #9050 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:04 verbose #9051 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:04 verbose #9052 > > │ ### base'                                                                    │
00:12:04 verbose #9053 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:04 verbose #9054 > >
00:12:04 verbose #9055 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:04 verbose #9056 > > inl base' forall el. ((a a) : a int el) : array_base el =
00:12:04 verbose #9057 > >     a
00:12:04 verbose #9058 > 00:12:03   debug #556 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e88cf608fffba19c3ca8e7ada1e55b5f0426e055eb75f3929b921081ddd7f918/main.spi
00:12:04 verbose #9059 > >
00:12:04 verbose #9060 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:04 verbose #9061 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:04 verbose #9062 > > │ ### generic_equable                                                          │
00:12:04 verbose #9063 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:04 verbose #9064 > >
00:12:04 verbose #9065 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:04 verbose #9066 > > inl generic_equable x1 x2 =
00:12:04 verbose #9067 > >     if length x1 <>.. length x2
00:12:04 verbose #9068 > >     then false
00:12:04 verbose #9069 > >     else
00:12:04 verbose #9070 > >         let rec loop i =
00:12:04 verbose #9071 > >             if i < length x1
00:12:04 verbose #9072 > >             then index i x1 = index i x2 && loop (i + 1)
00:12:04 verbose #9073 > >             else true
00:12:04 verbose #9074 > >         loop 0
00:12:04 verbose #9075 > 00:12:03   debug #557 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/733d720a5e7a1195c663aa695d03d8872a4a25473ca10572b2ae5f0f5f1ca5eb/main.spi
00:12:05 verbose #9076 > >
00:12:05 verbose #9077 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:05 verbose #9078 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:05 verbose #9079 > > │ ### equable                                                                  │
00:12:05 verbose #9080 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:05 verbose #9081 > >
00:12:05 verbose #9082 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:05 verbose #9083 > > instance equable a dim {number; int} t = generic_equable
00:12:05 verbose #9084 > 00:12:04   debug #558 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bbedce7cb04dc05ceaa5a988065101a87a79d6c4a2b82b7bc6741249dcb5e511/main.spi
00:12:05 verbose #9085 > >
00:12:05 verbose #9086 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:05 verbose #9087 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:05 verbose #9088 > > │ ### append                                                                   │
00:12:05 verbose #9089 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:05 verbose #9090 > >
00:12:05 verbose #9091 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:05 verbose #9092 > > instance append a dim {int; number} t = am.append
00:12:05 verbose #9093 > 00:12:04   debug #559 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a9af5a57b25285e5a3467007ee9ba5c1b282bd34edc02914f3dfdea223b14966/main.spi
00:12:05 verbose #9094 > >
00:12:05 verbose #9095 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:05 verbose #9096 > > //// test
00:12:05 verbose #9097 > > ///! fsharp
00:12:05 verbose #9098 > > ///! cuda
00:12:05 verbose #9099 > > ///! rust
00:12:05 verbose #9100 > > ///! typescript
00:12:05 verbose #9101 > > ///! python
00:12:05 verbose #9102 > >
00:12:05 verbose #9103 > > a' ;[[ -1i64; 0 ]] ++ a' ;[[ 1; 2 ]]
00:12:05 verbose #9104 > > |> _assert_eq (a' ;[[ -1; 0; 1; 2 ]])
00:12:06 verbose #9105 > 00:12:05   debug #560 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/68b9bb09c502ee0e564185d4d3fcabb90047190021dd0f7720e2e9dc1b639e8e/main.spi
00:12:06 verbose #9106 > 00:12:05   debug #561 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/128736b8a9712739da6f9eefef0df18187cb8a301cfa473e6f544bb7c54e0beb/main.spi
00:12:16 verbose #9107 > >
00:12:16 verbose #9108 > > ╭─[ 10.53s - return value ]────────────────────────────────────────────────────╮
00:12:16 verbose #9109 > > │                                                                              │
00:12:16 verbose #9110 > > │ .py output (Cuda):                                                           │
00:12:16 verbose #9111 > > │ Traceback (most recent call last):                                     │
00:12:16 verbose #9112 > > │   File                                                                   │
00:12:16 verbose #9113 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\68b9bb09c502ee0e564185d4d3 │
00:12:16 verbose #9114 > > │ fcabb90047190021dd0f7720e2e9dc1b639e8e\main.py", line 159, in <module>     │
00:12:16 verbose #9115 > > │     if __name__ == '__main__': result = main(); None if result is None   │
00:12:16 verbose #9116 > > │ else print(result)                                                         │
00:12:16 verbose #9117 > > │                                         ^^^^^^                         │
00:12:16 verbose #9118 > > │   File                                                                   │
00:12:16 verbose #9119 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\68b9bb09c502ee0e564185d4d3 │
00:12:16 verbose #9120 > > │ fcabb90047190021dd0f7720e2e9dc1b639e8e\main.py", line 157, in main         │
00:12:16 verbose #9121 > > │     return method0()                                                   │
00:12:16 verbose #9122 > > │            ^^^^^^^^^                                                   │
00:12:16 verbose #9123 > > │   File                                                                   │
00:12:16 verbose #9124 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\68b9bb09c502ee0e564185d4d3 │
00:12:16 verbose #9125 > > │ fcabb90047190021dd0f7720e2e9dc1b639e8e\main.py", line 96, in method0       │
00:12:16 verbose #9126 > > │     v0 = cp.array([-1, 0],dtype=cp.int64)                              │
00:12:16 verbose #9127 > > │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                              │
00:12:16 verbose #9128 > > │   File                                                                   │
00:12:16 verbose #9129 > > │ "C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\cupy\_creation\f │
00:12:16 verbose #9130 > > │ rom_data.py", line 53, in array                                            │
00:12:16 verbose #9131 > > │     return _core.array(obj, dtype, copy, order, subok, ndmin, blocking)[  │
00:12:16 verbose #9132 > > │ 0m                                                                           │
00:12:16 verbose #9133 > > │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[  │
00:12:16 verbose #9134 > > │ 0m                                                                           │
00:12:16 verbose #9135 > > │   File "cupy\_core\core.pyx", line 2379, in cupy._core.core.array      │
00:12:16 verbose #9136 > > │   File "cupy\_core\core.pyx", line 2406, in cupy._core.core.array      │
00:12:16 verbose #9137 > > │   File "cupy\_core\core.pyx", line 2548, in                              │
00:12:16 verbose #9138 > > │ cupy._core.core._array_default                                             │
00:12:16 verbose #9139 > > │   File "cupy\_core\core.pyx", line 132, in                               │
00:12:16 verbose #9140 > > │ cupy._core.core.ndarray.__new__                                            │
00:12:16 verbose #9141 > > │   File "cupy\_core\core.pyx", line 220, in                               │
00:12:16 verbose #9142 > > │ cupy._core.core._ndarray_base._init                                        │
00:12:16 verbose #9143 > > │   File "cupy\cuda\memory.pyx", line 738, in cupy.cuda.memory.alloc     │
00:12:16 verbose #9144 > > │   File "cupy\cuda\memory.pyx", line 1424, in                             │
00:12:16 verbose #9145 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:16 verbose #9146 > > │   File "cupy\cuda\memory.pyx", line 1444, in                             │
00:12:16 verbose #9147 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:16 verbose #9148 > > │   File "cupy\cuda\device.pyx", line 40, in cupy.cuda.device.get_device_id │
00:12:16 verbose #9149 > > │ [0m                                                                          │
00:12:16 verbose #9150 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 202, in                │
00:12:16 verbose #9151 > > │ cupy_backends.cuda.api.runtime.getDevice                                   │
00:12:16 verbose #9152 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 146, in                │
00:12:16 verbose #9153 > > │ cupy_backends.cuda.api.runtime.check_status                                │
00:12:16 verbose #9154 > > │ cupy_backends.cuda.api.runtime.CUDARuntimeError:                         │
00:12:16 verbose #9155 > > │ cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA    │
00:12:16 verbose #9156 > > │ runtime version                                                            │
00:12:16 verbose #9157 > > │                                                                              │
00:12:16 verbose #9158 > > │ .rs output:                                                                  │
00:12:16 verbose #9159 > > │ __assert_eq / actual: Array(MutCell([-1, 0, 1, 2])) / expected:              │
00:12:16 verbose #9160 > > │ Array(MutCell([-1, 0, 1, 2]))                                                │
00:12:16 verbose #9161 > > │                                                                              │
00:12:16 verbose #9162 > > │ .ts output:                                                                  │
00:12:16 verbose #9163 > > │ __assert_eq / actual: -1,0,1,2 / expected: -1,0,1,2                          │
00:12:16 verbose #9164 > > │                                                                              │
00:12:16 verbose #9165 > > │ .py output:                                                                  │
00:12:16 verbose #9166 > > │ __assert_eq / actual: [-1, 0, 1, 2] / expected: array('q', [-1, 0, 1, 2])    │
00:12:16 verbose #9167 > > │                                                                              │
00:12:16 verbose #9168 > > │                                                                              │
00:12:16 verbose #9169 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:16 verbose #9170 > >
00:12:16 verbose #9171 > > ╭─[ 10.55s - stdout ]──────────────────────────────────────────────────────────╮
00:12:16 verbose #9172 > > │ .fsx output:                                                                 │
00:12:16 verbose #9173 > > │ __assert_eq / actual: [|-1L; 0L; 1L; 2L|] / expected: [|-1L; 0L; 1L; 2L|]    │
00:12:16 verbose #9174 > > │                                                                              │
00:12:16 verbose #9175 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:16 verbose #9176 > >
00:12:16 verbose #9177 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:16 verbose #9178 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:16 verbose #9179 > > │ ### map_base                                                                 │
00:12:16 verbose #9180 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:16 verbose #9181 > >
00:12:16 verbose #9182 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:16 verbose #9183 > > inl map_base forall t u. (fn : t -> u) (x : array_base t) : array_base u =
00:12:16 verbose #9184 > >     a x
00:12:16 verbose #9185 > >     |> am.map fn
00:12:16 verbose #9186 > >     |> fun (a x : _ int _) => x
00:12:16 verbose #9187 > 00:12:15   debug #562 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7ca5d45a89a5fdd9896eff988b9be2cf61838af9dcedf410d794bfd965113001/main.spi
00:12:16 verbose #9188 > >
00:12:16 verbose #9189 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:16 verbose #9190 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:16 verbose #9191 > > │ ### collect                                                                  │
00:12:16 verbose #9192 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:16 verbose #9193 > >
00:12:16 verbose #9194 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:16 verbose #9195 > > inl collect forall t r. (fn : t -> a int r) (items : a int t) : a int r =
00:12:16 verbose #9196 > >     items
00:12:16 verbose #9197 > >     |> am.map fn
00:12:16 verbose #9198 > >     |> am.fold (++) (a ;[[]])
00:12:16 verbose #9199 > 00:12:16   debug #563 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c2c7df3916e0e1f1e0cb1a622b91ddc3a94464e7f8639f917239545c519bf4d5/main.spi
00:12:17 verbose #9200 > >
00:12:17 verbose #9201 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:17 verbose #9202 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:17 verbose #9203 > > │ ### init                                                                     │
00:12:17 verbose #9204 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:17 verbose #9205 > >
00:12:17 verbose #9206 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:17 verbose #9207 > > inl init n : array_base _ =
00:12:17 verbose #9208 > >     am.init n id
00:12:17 verbose #9209 > >     |> fun (a x : _ int _) => x
00:12:17 verbose #9210 > 00:12:16   debug #564 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d205f520a2c1f3d9f3a5c88df29c7ab612e4228b455d55e99569a52d9bfe233e/main.spi
00:12:17 verbose #9211 > >
00:12:17 verbose #9212 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:17 verbose #9213 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:17 verbose #9214 > > │ ### choose                                                                   │
00:12:17 verbose #9215 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:17 verbose #9216 > >
00:12:17 verbose #9217 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:17 verbose #9218 > > inl choose f l =
00:12:17 verbose #9219 > >     (l, [[]])
00:12:17 verbose #9220 > >     ||> am.foldBack fun x acc =>
00:12:17 verbose #9221 > >         match f x with
00:12:17 verbose #9222 > >         | Some y => y :: acc
00:12:17 verbose #9223 > >         | None => acc
00:12:17 verbose #9224 > >     |> listm.toArray
00:12:17 verbose #9225 > 00:12:16   debug #565 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d45db47ffa85dcfe6781dc0378e91f97697017c6b82ceae02394bddd7831a1b5/main.spi
00:12:17 verbose #9226 > >
00:12:17 verbose #9227 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:17 verbose #9228 > > //// test
00:12:17 verbose #9229 > > ///! fsharp
00:12:17 verbose #9230 > > ///! cuda
00:12:17 verbose #9231 > > ////! rust // v0.get_mut()[[v2.get().clone() as usize]] = match
00:12:17 verbose #9232 > > v1.get().clone().as_ref() { ^ expected `i32`, found `usize`
00:12:17 verbose #9233 > > ///! typescript
00:12:17 verbose #9234 > > ///! python
00:12:17 verbose #9235 > >
00:12:17 verbose #9236 > > 10
00:12:17 verbose #9237 > > |> init
00:12:17 verbose #9238 > > |> fun x => a x : _ int _
00:12:17 verbose #9239 > > |> choose (fun x => if x % 2 = 0 then Some x else None)
00:12:17 verbose #9240 > > |> _assert_eq (a' ;[[ 0; 2; 4; 6; 8 ]])
00:12:18 verbose #9241 > 00:12:17   debug #566 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9d4ad739531a383d55562d2d54e83a808122db5c2290b3d9af7adfba08f40e71/main.spi
00:12:18 verbose #9242 > 00:12:17   debug #567 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bae5f8b47b7dcc4796e8c4a32dcc8a5d76de521ba5e892d862025222be86637f/main.spi
00:12:22 verbose #9243 > >
00:12:22 verbose #9244 > > ╭─[ 4.91s - return value ]─────────────────────────────────────────────────────╮
00:12:22 verbose #9245 > > │                                                                              │
00:12:22 verbose #9246 > > │ .py output (Cuda):                                                           │
00:12:22 verbose #9247 > > │ Traceback (most recent call last):                                     │
00:12:22 verbose #9248 > > │   File                                                                   │
00:12:22 verbose #9249 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\9d4ad739531a383d55562d2d54 │
00:12:22 verbose #9250 > > │ e83a808122db5c2290b3d9af7adfba08f40e71\main.py", line 240, in <module>     │
00:12:22 verbose #9251 > > │     if __name__ == '__main__': result = main(); None if result is None   │
00:12:22 verbose #9252 > > │ else print(result)                                                         │
00:12:22 verbose #9253 > > │                                         ^^^^^^                         │
00:12:22 verbose #9254 > > │   File                                                                   │
00:12:22 verbose #9255 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\9d4ad739531a383d55562d2d54 │
00:12:22 verbose #9256 > > │ e83a808122db5c2290b3d9af7adfba08f40e71\main.py", line 238, in main         │
00:12:22 verbose #9257 > > │     return method0()                                                   │
00:12:22 verbose #9258 > > │            ^^^^^^^^^                                                   │
00:12:22 verbose #9259 > > │   File                                                                   │
00:12:22 verbose #9260 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\9d4ad739531a383d55562d2d54 │
00:12:22 verbose #9261 > > │ e83a808122db5c2290b3d9af7adfba08f40e71\main.py", line 155, in method0      │
00:12:22 verbose #9262 > > │     v0 = cp.empty(10,dtype=cp.int32)                                   │
00:12:22 verbose #9263 > > │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^                                   │
00:12:22 verbose #9264 > > │   File                                                                   │
00:12:22 verbose #9265 > > │ "C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\cupy\_creation\b │
00:12:22 verbose #9266 > > │ asic.py", line 31, in empty                                                │
00:12:22 verbose #9267 > > │     return cupy.ndarray(shape, dtype, order=order)                     │
00:12:22 verbose #9268 > > │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                     │
00:12:22 verbose #9269 > > │   File "cupy\_core\core.pyx", line 132, in                               │
00:12:22 verbose #9270 > > │ cupy._core.core.ndarray.__new__                                            │
00:12:22 verbose #9271 > > │   File "cupy\_core\core.pyx", line 220, in                               │
00:12:22 verbose #9272 > > │ cupy._core.core._ndarray_base._init                                        │
00:12:22 verbose #9273 > > │   File "cupy\cuda\memory.pyx", line 738, in cupy.cuda.memory.alloc     │
00:12:22 verbose #9274 > > │   File "cupy\cuda\memory.pyx", line 1424, in                             │
00:12:22 verbose #9275 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:22 verbose #9276 > > │   File "cupy\cuda\memory.pyx", line 1444, in                             │
00:12:22 verbose #9277 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:22 verbose #9278 > > │   File "cupy\cuda\device.pyx", line 40, in cupy.cuda.device.get_device_id │
00:12:22 verbose #9279 > > │ [0m                                                                          │
00:12:22 verbose #9280 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 202, in                │
00:12:22 verbose #9281 > > │ cupy_backends.cuda.api.runtime.getDevice                                   │
00:12:22 verbose #9282 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 146, in                │
00:12:22 verbose #9283 > > │ cupy_backends.cuda.api.runtime.check_status                                │
00:12:22 verbose #9284 > > │ cupy_backends.cuda.api.runtime.CUDARuntimeError:                         │
00:12:22 verbose #9285 > > │ cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA    │
00:12:22 verbose #9286 > > │ runtime version                                                            │
00:12:22 verbose #9287 > > │                                                                              │
00:12:22 verbose #9288 > > │ .ts output:                                                                  │
00:12:22 verbose #9289 > > │ __assert_eq / actual: 0,2,4,6,8 / expected: 0,2,4,6,8                        │
00:12:22 verbose #9290 > > │                                                                              │
00:12:22 verbose #9291 > > │ .py output:                                                                  │
00:12:22 verbose #9292 > > │ __assert_eq / actual: [0, 2, 4, 6, 8] / expected: array('l', [0, 2, 4, 6,    │
00:12:22 verbose #9293 > > │ 8])                                                                          │
00:12:22 verbose #9294 > > │                                                                              │
00:12:22 verbose #9295 > > │                                                                              │
00:12:22 verbose #9296 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:22 verbose #9297 > >
00:12:22 verbose #9298 > > ╭─[ 4.92s - stdout ]───────────────────────────────────────────────────────────╮
00:12:22 verbose #9299 > > │ .fsx output:                                                                 │
00:12:22 verbose #9300 > > │ __assert_eq / actual: [|0; 2; 4; 6; 8|] / expected: [|0; 2; 4; 6; 8|]        │
00:12:22 verbose #9301 > > │                                                                              │
00:12:22 verbose #9302 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:22 verbose #9303 > >
00:12:22 verbose #9304 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:22 verbose #9305 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:22 verbose #9306 > > │ ### sum                                                                      │
00:12:22 verbose #9307 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:22 verbose #9308 > >
00:12:22 verbose #9309 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:22 verbose #9310 > > inl sum a =
00:12:22 verbose #9311 > >     a |> am.fold (+) 0
00:12:23 verbose #9312 > 00:12:22   debug #568 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fd279a624772426156e55ed6fe3ccd6671cedb7143482d6758baf558c3780299/main.spi
00:12:23 verbose #9313 > >
00:12:23 verbose #9314 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:23 verbose #9315 > > //// test
00:12:23 verbose #9316 > > ///! fsharp
00:12:23 verbose #9317 > > ///! cuda
00:12:23 verbose #9318 > > ///! rust
00:12:23 verbose #9319 > > ///! typescript
00:12:23 verbose #9320 > > ///! python
00:12:23 verbose #9321 > >
00:12:23 verbose #9322 > > 10
00:12:23 verbose #9323 > > |> init
00:12:23 verbose #9324 > > |> fun x => a x : _ int _
00:12:23 verbose #9325 > > |> sum
00:12:23 verbose #9326 > > |> _assert_eq 45
00:12:23 verbose #9327 > 00:12:22   debug #569 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a9d8c862d0747a7864c3c1520a8468ca69673747c414fc5d2514e6f28864ecaf/main.spi
00:12:23 verbose #9328 > 00:12:22   debug #570 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d2ff92bc98ea55b61391a67d3568f034e4f65522e461ab8b56245677d24c8308/main.spi
00:12:32 verbose #9329 > >
00:12:32 verbose #9330 > > ╭─[ 8.74s - return value ]─────────────────────────────────────────────────────╮
00:12:32 verbose #9331 > > │                                                                              │
00:12:32 verbose #9332 > > │ .py output (Cuda):                                                           │
00:12:32 verbose #9333 > > │ Traceback (most recent call last):                                     │
00:12:32 verbose #9334 > > │   File                                                                   │
00:12:32 verbose #9335 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\d2ff92bc98ea55b61391a67d35 │
00:12:32 verbose #9336 > > │ 68f034e4f65522e461ab8b56245677d24c8308\main.py", line 124, in <module>     │
00:12:32 verbose #9337 > > │     if __name__ == '__main__': result = main(); None if result is None   │
00:12:32 verbose #9338 > > │ else print(result)                                                         │
00:12:32 verbose #9339 > > │                                         ^^^^^^                         │
00:12:32 verbose #9340 > > │   File                                                                   │
00:12:32 verbose #9341 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\d2ff92bc98ea55b61391a67d35 │
00:12:32 verbose #9342 > > │ 68f034e4f65522e461ab8b56245677d24c8308\main.py", line 122, in main         │
00:12:32 verbose #9343 > > │     return method0()                                                   │
00:12:32 verbose #9344 > > │            ^^^^^^^^^                                                   │
00:12:32 verbose #9345 > > │   File                                                                   │
00:12:32 verbose #9346 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\d2ff92bc98ea55b61391a67d35 │
00:12:32 verbose #9347 > > │ 68f034e4f65522e461ab8b56245677d24c8308\main.py", line 77, in method0       │
00:12:32 verbose #9348 > > │     v0 = cp.empty(10,dtype=cp.int32)                                   │
00:12:32 verbose #9349 > > │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^                                   │
00:12:32 verbose #9350 > > │   File                                                                   │
00:12:32 verbose #9351 > > │ "C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\cupy\_creation\b │
00:12:32 verbose #9352 > > │ asic.py", line 31, in empty                                                │
00:12:32 verbose #9353 > > │     return cupy.ndarray(shape, dtype, order=order)                     │
00:12:32 verbose #9354 > > │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                     │
00:12:32 verbose #9355 > > │   File "cupy\_core\core.pyx", line 132, in                               │
00:12:32 verbose #9356 > > │ cupy._core.core.ndarray.__new__                                            │
00:12:32 verbose #9357 > > │   File "cupy\_core\core.pyx", line 220, in                               │
00:12:32 verbose #9358 > > │ cupy._core.core._ndarray_base._init                                        │
00:12:32 verbose #9359 > > │   File "cupy\cuda\memory.pyx", line 738, in cupy.cuda.memory.alloc     │
00:12:32 verbose #9360 > > │   File "cupy\cuda\memory.pyx", line 1424, in                             │
00:12:32 verbose #9361 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:32 verbose #9362 > > │   File "cupy\cuda\memory.pyx", line 1444, in                             │
00:12:32 verbose #9363 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:32 verbose #9364 > > │   File "cupy\cuda\device.pyx", line 40, in cupy.cuda.device.get_device_id │
00:12:32 verbose #9365 > > │ [0m                                                                          │
00:12:32 verbose #9366 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 202, in                │
00:12:32 verbose #9367 > > │ cupy_backends.cuda.api.runtime.getDevice                                   │
00:12:32 verbose #9368 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 146, in                │
00:12:32 verbose #9369 > > │ cupy_backends.cuda.api.runtime.check_status                                │
00:12:32 verbose #9370 > > │ cupy_backends.cuda.api.runtime.CUDARuntimeError:                         │
00:12:32 verbose #9371 > > │ cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA    │
00:12:32 verbose #9372 > > │ runtime version                                                            │
00:12:32 verbose #9373 > > │                                                                              │
00:12:32 verbose #9374 > > │ .rs output:                                                                  │
00:12:32 verbose #9375 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:12:32 verbose #9376 > > │                                                                              │
00:12:32 verbose #9377 > > │ .ts output:                                                                  │
00:12:32 verbose #9378 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:12:32 verbose #9379 > > │                                                                              │
00:12:32 verbose #9380 > > │ .py output:                                                                  │
00:12:32 verbose #9381 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:12:32 verbose #9382 > > │                                                                              │
00:12:32 verbose #9383 > > │                                                                              │
00:12:32 verbose #9384 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:32 verbose #9385 > >
00:12:32 verbose #9386 > > ╭─[ 8.75s - stdout ]───────────────────────────────────────────────────────────╮
00:12:32 verbose #9387 > > │ .fsx output:                                                                 │
00:12:32 verbose #9388 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:12:32 verbose #9389 > > │                                                                              │
00:12:32 verbose #9390 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:32 verbose #9391 > >
00:12:32 verbose #9392 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:32 verbose #9393 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:32 verbose #9394 > > │ ### init_series                                                              │
00:12:32 verbose #9395 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:32 verbose #9396 > >
00:12:32 verbose #9397 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:32 verbose #9398 > > inl init_series start end inc : array_base _ =
00:12:32 verbose #9399 > >     inl total = conv ((end - start) / inc) + 1
00:12:32 verbose #9400 > >     am.init total (conv >> (*) inc >> (+) start)
00:12:32 verbose #9401 > >     |> fun (a x : _ int _) => x
00:12:32 verbose #9402 > 00:12:31   debug #571 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/abb160c440e9fbbf7a00cdab55f1bbb1db8ca695a4cdf4310dff3e15017b8cc4/main.spi
00:12:32 verbose #9403 > >
00:12:32 verbose #9404 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:32 verbose #9405 > > //// test
00:12:32 verbose #9406 > > ///! fsharp
00:12:32 verbose #9407 > > ///! cuda
00:12:32 verbose #9408 > > ///! rust
00:12:32 verbose #9409 > > ///! typescript
00:12:32 verbose #9410 > > ///! python
00:12:32 verbose #9411 > >
00:12:32 verbose #9412 > > init_series 0 4 2
00:12:32 verbose #9413 > > |> _assert_eq' ;[[ 0i32; 2; 4 ]]
00:12:32 verbose #9414 > 00:12:31   debug #572 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76d96d90b6a218f29f36b69dd17cbd33b0e92a31ec8abade66c7fb9cb638a3ec/main.spi
00:12:32 verbose #9415 > 00:12:31   debug #573 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cc6bc9f685a23ff0387e2d5adeefc74ebf5530960aa10194948f6cbeed681926/main.spi
00:12:39 verbose #9416 > >
00:12:39 verbose #9417 > > ╭─[ 7.32s - return value ]─────────────────────────────────────────────────────╮
00:12:39 verbose #9418 > > │                                                                              │
00:12:39 verbose #9419 > > │ .py output (Cuda):                                                           │
00:12:39 verbose #9420 > > │ Traceback (most recent call last):                                     │
00:12:39 verbose #9421 > > │   File                                                                   │
00:12:39 verbose #9422 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\cc6bc9f685a23ff0387e2d5ade │
00:12:39 verbose #9423 > > │ efc74ebf5530960aa10194948f6cbeed681926\main.py", line 101, in <module>     │
00:12:39 verbose #9424 > > │     if __name__ == '__main__': result = main(); None if result is None   │
00:12:39 verbose #9425 > > │ else print(result)                                                         │
00:12:39 verbose #9426 > > │                                         ^^^^^^                         │
00:12:39 verbose #9427 > > │   File                                                                   │
00:12:39 verbose #9428 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\cc6bc9f685a23ff0387e2d5ade │
00:12:39 verbose #9429 > > │ efc74ebf5530960aa10194948f6cbeed681926\main.py", line 99, in main          │
00:12:39 verbose #9430 > > │     return method0()                                                   │
00:12:39 verbose #9431 > > │            ^^^^^^^^^                                                   │
00:12:39 verbose #9432 > > │   File                                                                   │
00:12:39 verbose #9433 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\cc6bc9f685a23ff0387e2d5ade │
00:12:39 verbose #9434 > > │ efc74ebf5530960aa10194948f6cbeed681926\main.py", line 67, in method0       │
00:12:39 verbose #9435 > > │     v0 = cp.empty(3,dtype=cp.int32)                                    │
00:12:39 verbose #9436 > > │          ^^^^^^^^^^^^^^^^^^^^^^^^^^                                    │
00:12:39 verbose #9437 > > │   File                                                                   │
00:12:39 verbose #9438 > > │ "C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\cupy\_creation\b │
00:12:39 verbose #9439 > > │ asic.py", line 31, in empty                                                │
00:12:39 verbose #9440 > > │     return cupy.ndarray(shape, dtype, order=order)                     │
00:12:39 verbose #9441 > > │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                     │
00:12:39 verbose #9442 > > │   File "cupy\_core\core.pyx", line 132, in                               │
00:12:39 verbose #9443 > > │ cupy._core.core.ndarray.__new__                                            │
00:12:39 verbose #9444 > > │   File "cupy\_core\core.pyx", line 220, in                               │
00:12:39 verbose #9445 > > │ cupy._core.core._ndarray_base._init                                        │
00:12:39 verbose #9446 > > │   File "cupy\cuda\memory.pyx", line 738, in cupy.cuda.memory.alloc     │
00:12:39 verbose #9447 > > │   File "cupy\cuda\memory.pyx", line 1424, in                             │
00:12:39 verbose #9448 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:39 verbose #9449 > > │   File "cupy\cuda\memory.pyx", line 1444, in                             │
00:12:39 verbose #9450 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:39 verbose #9451 > > │   File "cupy\cuda\device.pyx", line 40, in cupy.cuda.device.get_device_id │
00:12:39 verbose #9452 > > │ [0m                                                                          │
00:12:39 verbose #9453 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 202, in                │
00:12:39 verbose #9454 > > │ cupy_backends.cuda.api.runtime.getDevice                                   │
00:12:39 verbose #9455 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 146, in                │
00:12:39 verbose #9456 > > │ cupy_backends.cuda.api.runtime.check_status                                │
00:12:39 verbose #9457 > > │ cupy_backends.cuda.api.runtime.CUDARuntimeError:                         │
00:12:39 verbose #9458 > > │ cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA    │
00:12:39 verbose #9459 > > │ runtime version                                                            │
00:12:39 verbose #9460 > > │                                                                              │
00:12:39 verbose #9461 > > │ .rs output:                                                                  │
00:12:39 verbose #9462 > > │ __assert_eq' / actual: Array(MutCell([0, 2, 4])) / expected: Array(MutCell([ │
00:12:39 verbose #9463 > > │ 0, 2, 4]))                                                                   │
00:12:39 verbose #9464 > > │                                                                              │
00:12:39 verbose #9465 > > │ .ts output:                                                                  │
00:12:39 verbose #9466 > > │ __assert_eq' / actual: 0,2,4 / expected: 0,2,4                               │
00:12:39 verbose #9467 > > │                                                                              │
00:12:39 verbose #9468 > > │ .py output:                                                                  │
00:12:39 verbose #9469 > > │ __assert_eq' / actual: [0, 2, 4] / expected: array('l', [0, 2, 4])           │
00:12:39 verbose #9470 > > │                                                                              │
00:12:39 verbose #9471 > > │                                                                              │
00:12:39 verbose #9472 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:39 verbose #9473 > >
00:12:39 verbose #9474 > > ╭─[ 7.33s - stdout ]───────────────────────────────────────────────────────────╮
00:12:39 verbose #9475 > > │ .fsx output:                                                                 │
00:12:39 verbose #9476 > > │ __assert_eq' / actual: [|0; 2; 4|] / expected: [|0; 2; 4|]                   │
00:12:39 verbose #9477 > > │                                                                              │
00:12:39 verbose #9478 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:39 verbose #9479 > >
00:12:39 verbose #9480 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:39 verbose #9481 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:39 verbose #9482 > > │ ### head                                                                     │
00:12:39 verbose #9483 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:39 verbose #9484 > >
00:12:39 verbose #9485 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:39 verbose #9486 > > inl head (ar : a _ _) =
00:12:39 verbose #9487 > >     if var_is ar || length ar > 0
00:12:39 verbose #9488 > >     then ar |> index 0
00:12:39 verbose #9489 > >     else error_type "The length of the array should be greater than 0."
00:12:39 verbose #9490 > 00:12:39   debug #574 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5881abb229c5885514f4b6d979de411dce2e2e5b099abe71360c9b2f07722be5/main.spi
00:12:40 verbose #9491 > >
00:12:40 verbose #9492 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:40 verbose #9493 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:40 verbose #9494 > > │ ### last                                                                     │
00:12:40 verbose #9495 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:40 verbose #9496 > >
00:12:40 verbose #9497 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:40 verbose #9498 > > inl last (ar : a _ _) =
00:12:40 verbose #9499 > >     inl len = length ar
00:12:40 verbose #9500 > >     if var_is ar || len > 0
00:12:40 verbose #9501 > >     then ar |> index (len - 1)
00:12:40 verbose #9502 > >     else error_type "The length of the array should be greater than 0."
00:12:40 verbose #9503 > 00:12:39   debug #575 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9f97f72e350c0252ab71d9e933078a07dd403dffc7391a804c2c0e082c029580/main.spi
00:12:40 verbose #9504 > >
00:12:40 verbose #9505 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:40 verbose #9506 > > //// test
00:12:40 verbose #9507 > > ///! fsharp
00:12:40 verbose #9508 > > ///! cuda
00:12:40 verbose #9509 > > ///! rust
00:12:40 verbose #9510 > > ///! typescript
00:12:40 verbose #9511 > > ///! python
00:12:40 verbose #9512 > >
00:12:40 verbose #9513 > > 10
00:12:40 verbose #9514 > > |> init
00:12:40 verbose #9515 > > |> fun x => a x : _ int _
00:12:40 verbose #9516 > > |> last
00:12:40 verbose #9517 > > |> _assert_eq 9
00:12:40 verbose #9518 > 00:12:39   debug #576 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ed1d249488022df51e5f876496d2021ed16162ab1f9734f72e17cda34328ce10/main.spi
00:12:40 verbose #9519 > 00:12:39   debug #577 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/27c1b96a2d62b1983c9cb2866b58aae09d2246c35c1015cc9366b18bad0bf7d6/main.spi
00:12:47 verbose #9520 > >
00:12:47 verbose #9521 > > ╭─[ 7.13s - return value ]─────────────────────────────────────────────────────╮
00:12:47 verbose #9522 > > │                                                                              │
00:12:47 verbose #9523 > > │ .py output (Cuda):                                                           │
00:12:47 verbose #9524 > > │ Traceback (most recent call last):                                     │
00:12:47 verbose #9525 > > │   File                                                                   │
00:12:47 verbose #9526 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\ed1d249488022df51e5f876496 │
00:12:47 verbose #9527 > > │ d2021ed16162ab1f9734f72e17cda34328ce10\main.py", line 103, in <module>     │
00:12:47 verbose #9528 > > │     if __name__ == '__main__': result = main(); None if result is None   │
00:12:47 verbose #9529 > > │ else print(result)                                                         │
00:12:47 verbose #9530 > > │                                         ^^^^^^                         │
00:12:47 verbose #9531 > > │   File                                                                   │
00:12:47 verbose #9532 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\ed1d249488022df51e5f876496 │
00:12:47 verbose #9533 > > │ d2021ed16162ab1f9734f72e17cda34328ce10\main.py", line 101, in main         │
00:12:47 verbose #9534 > > │     return method0()                                                   │
00:12:47 verbose #9535 > > │            ^^^^^^^^^                                                   │
00:12:47 verbose #9536 > > │   File                                                                   │
00:12:47 verbose #9537 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\ed1d249488022df51e5f876496 │
00:12:47 verbose #9538 > > │ d2021ed16162ab1f9734f72e17cda34328ce10\main.py", line 67, in method0       │
00:12:47 verbose #9539 > > │     v0 = cp.empty(10,dtype=cp.int32)                                   │
00:12:47 verbose #9540 > > │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^                                   │
00:12:47 verbose #9541 > > │   File                                                                   │
00:12:47 verbose #9542 > > │ "C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\cupy\_creation\b │
00:12:47 verbose #9543 > > │ asic.py", line 31, in empty                                                │
00:12:47 verbose #9544 > > │     return cupy.ndarray(shape, dtype, order=order)                     │
00:12:47 verbose #9545 > > │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                     │
00:12:47 verbose #9546 > > │   File "cupy\_core\core.pyx", line 132, in                               │
00:12:47 verbose #9547 > > │ cupy._core.core.ndarray.__new__                                            │
00:12:47 verbose #9548 > > │   File "cupy\_core\core.pyx", line 220, in                               │
00:12:47 verbose #9549 > > │ cupy._core.core._ndarray_base._init                                        │
00:12:47 verbose #9550 > > │   File "cupy\cuda\memory.pyx", line 738, in cupy.cuda.memory.alloc     │
00:12:47 verbose #9551 > > │   File "cupy\cuda\memory.pyx", line 1424, in                             │
00:12:47 verbose #9552 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:47 verbose #9553 > > │   File "cupy\cuda\memory.pyx", line 1444, in                             │
00:12:47 verbose #9554 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:47 verbose #9555 > > │   File "cupy\cuda\device.pyx", line 40, in cupy.cuda.device.get_device_id │
00:12:47 verbose #9556 > > │ [0m                                                                          │
00:12:47 verbose #9557 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 202, in                │
00:12:47 verbose #9558 > > │ cupy_backends.cuda.api.runtime.getDevice                                   │
00:12:47 verbose #9559 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 146, in                │
00:12:47 verbose #9560 > > │ cupy_backends.cuda.api.runtime.check_status                                │
00:12:47 verbose #9561 > > │ cupy_backends.cuda.api.runtime.CUDARuntimeError:                         │
00:12:47 verbose #9562 > > │ cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA    │
00:12:47 verbose #9563 > > │ runtime version                                                            │
00:12:47 verbose #9564 > > │                                                                              │
00:12:47 verbose #9565 > > │ .rs output:                                                                  │
00:12:47 verbose #9566 > > │ __assert_eq / actual: 9 / expected: 9                                        │
00:12:47 verbose #9567 > > │                                                                              │
00:12:47 verbose #9568 > > │ .ts output:                                                                  │
00:12:47 verbose #9569 > > │ __assert_eq / actual: 9 / expected: 9                                        │
00:12:47 verbose #9570 > > │                                                                              │
00:12:47 verbose #9571 > > │ .py output:                                                                  │
00:12:47 verbose #9572 > > │ __assert_eq / actual: 9 / expected: 9                                        │
00:12:47 verbose #9573 > > │                                                                              │
00:12:47 verbose #9574 > > │                                                                              │
00:12:47 verbose #9575 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:47 verbose #9576 > >
00:12:47 verbose #9577 > > ╭─[ 7.14s - stdout ]───────────────────────────────────────────────────────────╮
00:12:47 verbose #9578 > > │ .fsx output:                                                                 │
00:12:47 verbose #9579 > > │ __assert_eq / actual: 9 / expected: 9                                        │
00:12:47 verbose #9580 > > │                                                                              │
00:12:47 verbose #9581 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:47 verbose #9582 > >
00:12:47 verbose #9583 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:47 verbose #9584 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:47 verbose #9585 > > │ ### try_pick                                                                 │
00:12:47 verbose #9586 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:47 verbose #9587 > >
00:12:47 verbose #9588 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:47 verbose #9589 > > inl try_pick forall t u. (fn : t -> option u) (array : a _ t) : option u =
00:12:47 verbose #9590 > >     (array, None)
00:12:47 verbose #9591 > >     ||> am.foldBack fun x acc =>
00:12:47 verbose #9592 > >         match acc with
00:12:47 verbose #9593 > >         | Some _ => acc
00:12:47 verbose #9594 > >         | None => x |> fn
00:12:47 verbose #9595 > 00:12:47   debug #578 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/90e31c3a6a7b889010e9ef5c0a8c96783b9e8dd495b3e998423d68c9f0c64ee4/main.spi
00:12:48 verbose #9596 > >
00:12:48 verbose #9597 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:48 verbose #9598 > > //// test
00:12:48 verbose #9599 > > ///! fsharp
00:12:48 verbose #9600 > > ///! cuda
00:12:48 verbose #9601 > > ////! rust // match &v23 { Spiral_builder::US0::US0_0(x) => x.clone(), _ =>
00:12:48 verbose #9602 > > unreachable!(), } == 5_i32
00:12:48 verbose #9603 > > ///! typescript
00:12:48 verbose #9604 > > ///! python
00:12:48 verbose #9605 > >
00:12:48 verbose #9606 > > 10
00:12:48 verbose #9607 > > |> init
00:12:48 verbose #9608 > > |> fun x => a x : _ int _
00:12:48 verbose #9609 > > |> try_pick (fun x => if x = 5i32 then Some x else None)
00:12:48 verbose #9610 > > |> _assert_eq (Some 5i32)
00:12:48 verbose #9611 > 00:12:47   debug #579 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f574f6aa78dd2d474cc9a15e9816e77781ab6f25f1c539d19fe6f862f7ac5433/main.spi
00:12:48 verbose #9612 > 00:12:47   debug #580 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f9770828b8214ee3431d4d699a1d82421490a510bec1f40742dbd11a98fdebfb/main.spi
00:12:51 verbose #9613 > >
00:12:51 verbose #9614 > > ╭─[ 3.74s - return value ]─────────────────────────────────────────────────────╮
00:12:51 verbose #9615 > > │                                                                              │
00:12:51 verbose #9616 > > │ .py output (Cuda):                                                           │
00:12:51 verbose #9617 > > │ Traceback (most recent call last):                                     │
00:12:51 verbose #9618 > > │   File                                                                   │
00:12:51 verbose #9619 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\f574f6aa78dd2d474cc9a15e98 │
00:12:51 verbose #9620 > > │ 16e77781ab6f25f1c539d19fe6f862f7ac5433\main.py", line 157, in <module>     │
00:12:51 verbose #9621 > > │     if __name__ == '__main__': result = main(); None if result is None   │
00:12:51 verbose #9622 > > │ else print(result)                                                         │
00:12:51 verbose #9623 > > │                                         ^^^^^^                         │
00:12:51 verbose #9624 > > │   File                                                                   │
00:12:51 verbose #9625 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\f574f6aa78dd2d474cc9a15e98 │
00:12:51 verbose #9626 > > │ 16e77781ab6f25f1c539d19fe6f862f7ac5433\main.py", line 155, in main         │
00:12:51 verbose #9627 > > │     return method0()                                                   │
00:12:51 verbose #9628 > > │            ^^^^^^^^^                                                   │
00:12:51 verbose #9629 > > │   File                                                                   │
00:12:51 verbose #9630 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\f574f6aa78dd2d474cc9a15e98 │
00:12:51 verbose #9631 > > │ 16e77781ab6f25f1c539d19fe6f862f7ac5433\main.py", line 83, in method0       │
00:12:51 verbose #9632 > > │     v0 = cp.empty(10,dtype=cp.int32)                                   │
00:12:51 verbose #9633 > > │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^                                   │
00:12:51 verbose #9634 > > │   File                                                                   │
00:12:51 verbose #9635 > > │ "C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\cupy\_creation\b │
00:12:51 verbose #9636 > > │ asic.py", line 31, in empty                                                │
00:12:51 verbose #9637 > > │     return cupy.ndarray(shape, dtype, order=order)                     │
00:12:51 verbose #9638 > > │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                     │
00:12:51 verbose #9639 > > │   File "cupy\_core\core.pyx", line 132, in                               │
00:12:51 verbose #9640 > > │ cupy._core.core.ndarray.__new__                                            │
00:12:51 verbose #9641 > > │   File "cupy\_core\core.pyx", line 220, in                               │
00:12:51 verbose #9642 > > │ cupy._core.core._ndarray_base._init                                        │
00:12:51 verbose #9643 > > │   File "cupy\cuda\memory.pyx", line 738, in cupy.cuda.memory.alloc     │
00:12:51 verbose #9644 > > │   File "cupy\cuda\memory.pyx", line 1424, in                             │
00:12:51 verbose #9645 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:51 verbose #9646 > > │   File "cupy\cuda\memory.pyx", line 1444, in                             │
00:12:51 verbose #9647 > > │ cupy.cuda.memory.MemoryPool.malloc                                         │
00:12:51 verbose #9648 > > │   File "cupy\cuda\device.pyx", line 40, in cupy.cuda.device.get_device_id │
00:12:51 verbose #9649 > > │ [0m                                                                          │
00:12:51 verbose #9650 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 202, in                │
00:12:51 verbose #9651 > > │ cupy_backends.cuda.api.runtime.getDevice                                   │
00:12:51 verbose #9652 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 146, in                │
00:12:51 verbose #9653 > > │ cupy_backends.cuda.api.runtime.check_status                                │
00:12:51 verbose #9654 > > │ cupy_backends.cuda.api.runtime.CUDARuntimeError:                         │
00:12:51 verbose #9655 > > │ cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA    │
00:12:51 verbose #9656 > > │ runtime version                                                            │
00:12:51 verbose #9657 > > │                                                                              │
00:12:51 verbose #9658 > > │ .ts output:                                                                  │
00:12:51 verbose #9659 > > │ __assert_eq / actual: US0_0 5 / expected: US0_0 5                            │
00:12:51 verbose #9660 > > │                                                                              │
00:12:51 verbose #9661 > > │ .py output:                                                                  │
00:12:51 verbose #9662 > > │ __assert_eq / actual: US0_0 5 / expected: US0_0 5                            │
00:12:51 verbose #9663 > > │                                                                              │
00:12:51 verbose #9664 > > │                                                                              │
00:12:51 verbose #9665 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:51 verbose #9666 > >
00:12:51 verbose #9667 > > ╭─[ 3.75s - stdout ]───────────────────────────────────────────────────────────╮
00:12:51 verbose #9668 > > │ .fsx output:                                                                 │
00:12:51 verbose #9669 > > │ __assert_eq / actual: US0_0 5 / expected: US0_0 5                            │
00:12:51 verbose #9670 > > │                                                                              │
00:12:51 verbose #9671 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:51 verbose #9672 > >
00:12:51 verbose #9673 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:51 verbose #9674 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:51 verbose #9675 > > │ ### indexed                                                                  │
00:12:51 verbose #9676 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:51 verbose #9677 > >
00:12:51 verbose #9678 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:51 verbose #9679 > > inl indexed forall t u {number}. (ar : array_base t) : array_base (u * t) =
00:12:51 verbose #9680 > >     ((0, a ;[[]]), (a ar : _ int _))
00:12:51 verbose #9681 > >     ||> am.fold fun (i, acc) x =>
00:12:51 verbose #9682 > >         i + 1, acc ++ a ;[[i, x]]
00:12:51 verbose #9683 > >     |> snd
00:12:51 verbose #9684 > >     |> fun (a x : _ int _) => x
00:12:52 verbose #9685 > 00:12:51   debug #581 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bbad174b1021b6168fe6f4306b46612dd5fcf125cffcd58ab38c8c85999851cf/main.spi
00:12:52 verbose #9686 > >
00:12:52 verbose #9687 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:52 verbose #9688 > > //// test
00:12:52 verbose #9689 > > ///! fsharp
00:12:52 verbose #9690 > > ////! cuda // Only stack allocated primitive types (i8,i16,i32,i64 and
00:12:52 verbose #9691 > > u8,u16,u32,u64 and f32,f64 and bool) are allowed in CuPy arrays.
00:12:52 verbose #9692 > > ///! rust
00:12:52 verbose #9693 > > ///! typescript
00:12:52 verbose #9694 > > ///! python
00:12:52 verbose #9695 > >
00:12:52 verbose #9696 > > am.init 3i32 ((*) 2)
00:12:52 verbose #9697 > > |> fun (a x : _ int _) => x
00:12:52 verbose #9698 > > |> indexed
00:12:52 verbose #9699 > > |> _assert_eq' ;[[0i32, 0; 1, 2; 2, 4]]
00:12:52 verbose #9700 > 00:12:51   debug #582 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1f99d5731d90d8189162252853200aa8b803a7694fbc0828bb72dd5d576f002c/main.spi
00:12:58 verbose #9701 > >
00:12:58 verbose #9702 > > ╭─[ 5.92s - return value ]─────────────────────────────────────────────────────╮
00:12:58 verbose #9703 > > │ .rs output:                                                                  │
00:12:58 verbose #9704 > > │ __assert_eq' / actual: Array(MutCell([(0, 0), (1, 2), (2, 4)])) / expected:  │
00:12:58 verbose #9705 > > │ Array(MutCell([(0, 0), (1, 2), (2, 4)]))                                     │
00:12:58 verbose #9706 > > │                                                                              │
00:12:58 verbose #9707 > > │ .ts output:                                                                  │
00:12:58 verbose #9708 > > │ __assert_eq' / actual: 0,0,1,2,2,4 / expected: 0,0,1,2,2,4                   │
00:12:58 verbose #9709 > > │                                                                              │
00:12:58 verbose #9710 > > │ .py output:                                                                  │
00:12:58 verbose #9711 > > │ __assert_eq' / actual: [(0, 0), (1, 2), (2, 4)] / expected: [(0, 0), (1, 2), │
00:12:58 verbose #9712 > > │ (2, 4)]                                                                      │
00:12:58 verbose #9713 > > │                                                                              │
00:12:58 verbose #9714 > > │                                                                              │
00:12:58 verbose #9715 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:58 verbose #9716 > >
00:12:58 verbose #9717 > > ╭─[ 5.93s - stdout ]───────────────────────────────────────────────────────────╮
00:12:58 verbose #9718 > > │ .fsx output:                                                                 │
00:12:58 verbose #9719 > > │ __assert_eq' / actual: [|struct (0, 0); struct (1, 2); struct (2, 4)|] /     │
00:12:58 verbose #9720 > > │ expected: [|struct (0, 0); struct (1, 2); struct (2, 4)|]                    │
00:12:58 verbose #9721 > > │                                                                              │
00:12:58 verbose #9722 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:58 verbose #9723 > >
00:12:58 verbose #9724 > > ── markdown ────────────────────────────────────────────────────────────────────
00:12:58 verbose #9725 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:58 verbose #9726 > > │ ### slice                                                                    │
00:12:58 verbose #9727 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:58 verbose #9728 > >
00:12:58 verbose #9729 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:58 verbose #9730 > > inl slice forall dim {int; number} el. from nearTo s : a dim el =
00:12:58 verbose #9731 > >     am.slice { from nearTo } s
00:12:58 verbose #9732 > 00:12:57   debug #583 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/eb0be163878e14ebfa9dcc63174c48e33a0d7a294bc2e24875f04cae52e68fa3/main.spi
00:12:58 verbose #9733 > >
00:12:58 verbose #9734 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:58 verbose #9735 > > //// test
00:12:58 verbose #9736 > > ///! fsharp
00:12:58 verbose #9737 > > ///! cuda
00:12:58 verbose #9738 > > ///! rust
00:12:58 verbose #9739 > > ///! typescript
00:12:58 verbose #9740 > > ///! python
00:12:58 verbose #9741 > >
00:12:58 verbose #9742 > > inl x : _ i32 _ = a ;[[ 1i32; 2; 3 ]]
00:12:58 verbose #9743 > > x |> slice 0 0 |> _assert_eq (a ;[[]])
00:12:58 verbose #9744 > > x |> slice 0 1 |> _assert_eq (a ;[[ 1 ]])
00:12:58 verbose #9745 > > x |> slice 1 1 |> _assert_eq (a ;[[]])
00:12:58 verbose #9746 > > x |> slice 1 2 |> _assert_eq (a ;[[ 2 ]])
00:12:58 verbose #9747 > > x |> slice 2 2 |> _assert_eq (a ;[[]])
00:12:58 verbose #9748 > > x |> slice 0 2 |> _assert_eq (a ;[[ 1; 2 ]])
00:12:58 verbose #9749 > 00:12:57   debug #584 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a8adc9f979fb0d14587fb26fafe8b2f1cddc6a9cfe0d328177faf8a154a65c7b/main.spi
00:12:58 verbose #9750 > 00:12:57   debug #585 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7ce0299fb4f02133a2a1953b0a0f29362353b83001e4178110e0ff244dd28de3/main.spi
00:13:05 verbose #9751 > >
00:13:05 verbose #9752 > > ╭─[ 7.25s - return value ]─────────────────────────────────────────────────────╮
00:13:05 verbose #9753 > > │                                                                              │
00:13:05 verbose #9754 > > │ .py output (Cuda):                                                           │
00:13:05 verbose #9755 > > │ Traceback (most recent call last):                                     │
00:13:05 verbose #9756 > > │   File                                                                   │
00:13:05 verbose #9757 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\a8adc9f979fb0d14587fb26faf │
00:13:05 verbose #9758 > > │ e8b2f1cddc6a9cfe0d328177faf8a154a65c7b\main.py", line 367, in <module>     │
00:13:05 verbose #9759 > > │     if __name__ == '__main__': result = main(); None if result is None   │
00:13:05 verbose #9760 > > │ else print(result)                                                         │
00:13:05 verbose #9761 > > │                                         ^^^^^^                         │
00:13:05 verbose #9762 > > │   File                                                                   │
00:13:05 verbose #9763 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\a8adc9f979fb0d14587fb26faf │
00:13:05 verbose #9764 > > │ e8b2f1cddc6a9cfe0d328177faf8a154a65c7b\main.py", line 365, in main         │
00:13:05 verbose #9765 > > │     return method0()                                                   │
00:13:05 verbose #9766 > > │            ^^^^^^^^^                                                   │
00:13:05 verbose #9767 > > │   File                                                                   │
00:13:05 verbose #9768 > > │ "C:\home\git\polyglot\target\spiral_Eval\packages\a8adc9f979fb0d14587fb26faf │
00:13:05 verbose #9769 > > │ e8b2f1cddc6a9cfe0d328177faf8a154a65c7b\main.py", line 108, in method0      │
00:13:05 verbose #9770 > > │     v0 = cp.array([1, 2, 3],dtype=cp.int32)                            │
00:13:05 verbose #9771 > > │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                            │
00:13:05 verbose #9772 > > │   File                                                                   │
00:13:05 verbose #9773 > > │ "C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\cupy\_creation\f │
00:13:05 verbose #9774 > > │ rom_data.py", line 53, in array                                            │
00:13:05 verbose #9775 > > │     return _core.array(obj, dtype, copy, order, subok, ndmin, blocking)[  │
00:13:05 verbose #9776 > > │ 0m                                                                           │
00:13:05 verbose #9777 > > │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[  │
00:13:05 verbose #9778 > > │ 0m                                                                           │
00:13:05 verbose #9779 > > │   File "cupy\_core\core.pyx", line 2379, in cupy._core.core.array      │
00:13:05 verbose #9780 > > │   File "cupy\_core\core.pyx", line 2406, in cupy._core.core.array      │
00:13:05 verbose #9781 > > │   File "cupy\_core\core.pyx", line 2548, in                              │
00:13:05 verbose #9782 > > │ cupy._core.core._array_default                                             │
00:13:05 verbose #9783 > > │   File "cupy\_core\core.pyx", line 132, in                               │
00:13:05 verbose #9784 > > │ cupy._core.core.ndarray.__new__                                            │
00:13:05 verbose #9785 > > │   F...moryPool.malloc                                                  │
00:13:05 verbose #9786 > > │   File "cupy\cuda\device.pyx", line 40, in cupy.cuda.device.get_device_id │
00:13:05 verbose #9787 > > │ [0m                                                                          │
00:13:05 verbose #9788 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 202, in                │
00:13:05 verbose #9789 > > │ cupy_backends.cuda.api.runtime.getDevice                                   │
00:13:05 verbose #9790 > > │   File "cupy_backends\cuda\api\runtime.pyx", line 146, in                │
00:13:05 verbose #9791 > > │ cupy_backends.cuda.api.runtime.check_status                                │
00:13:05 verbose #9792 > > │ cupy_backends.cuda.api.runtime.CUDARuntimeError:                         │
00:13:05 verbose #9793 > > │ cudaErrorInsufficientDriver: CUDA driver version is insufficient for CUDA    │
00:13:05 verbose #9794 > > │ runtime version                                                            │
00:13:05 verbose #9795 > > │                                                                              │
00:13:05 verbose #9796 > > │                                                                              │
00:13:05 verbose #9797 > > │ .rs output:                                                                  │
00:13:05 verbose #9798 > > │ __assert_eq / actual: Array(MutCell([])) / expected: Array(MutCell([]))      │
00:13:05 verbose #9799 > > │ __assert_eq / actual: Array(MutCell([1])) / expected: Array(MutCell([1]))    │
00:13:05 verbose #9800 > > │ __assert_eq / actual: Array(MutCell([])) / expected: Array(MutCell([]))      │
00:13:05 verbose #9801 > > │ __assert_eq / actual: Array(MutCell([2])) / expected: Array(MutCell([2]))    │
00:13:05 verbose #9802 > > │ __assert_eq / actual: Array(MutCell([])) / expected: Array(MutCell([]))      │
00:13:05 verbose #9803 > > │ __assert_eq / actual: Array(MutCell([1, 2])) / expected: Array(MutCell([1,   │
00:13:05 verbose #9804 > > │ 2]))                                                                         │
00:13:05 verbose #9805 > > │                                                                              │
00:13:05 verbose #9806 > > │                                                                              │
00:13:05 verbose #9807 > > │ .ts output:                                                                  │
00:13:05 verbose #9808 > > │ __assert_eq / actual:  / expected:                                           │
00:13:05 verbose #9809 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:13:05 verbose #9810 > > │ __assert_eq / actual:  / expected:                                           │
00:13:05 verbose #9811 > > │ __assert_eq / actual: 2 / expected: 2                                        │
00:13:05 verbose #9812 > > │ __assert_eq / actual:  / expected:                                           │
00:13:05 verbose #9813 > > │ __assert_eq / actual: 1,2 / expected: 1,2                                    │
00:13:05 verbose #9814 > > │                                                                              │
00:13:05 verbose #9815 > > │                                                                              │
00:13:05 verbose #9816 > > │ .py output:                                                                  │
00:13:05 verbose #9817 > > │ __assert_eq / actual: [] / expected: array('l')                              │
00:13:05 verbose #9818 > > │ __assert_eq / actual: [1] / expected: array('l', [1])                        │
00:13:05 verbose #9819 > > │ __assert_eq / actual: [] / expected: array('l')                              │
00:13:05 verbose #9820 > > │ __assert_eq / actual: [2] / expected: array('l', [2])                        │
00:13:05 verbose #9821 > > │ __assert_eq / actual: [] / expected: array('l')                              │
00:13:05 verbose #9822 > > │ __assert_eq / actual: [1, 2] / expected: array('l', [1, 2])                  │
00:13:05 verbose #9823 > > │                                                                              │
00:13:05 verbose #9824 > > │                                                                              │
00:13:05 verbose #9825 > > │                                                                              │
00:13:05 verbose #9826 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:05 verbose #9827 > >
00:13:05 verbose #9828 > > ╭─[ 7.26s - stdout ]───────────────────────────────────────────────────────────╮
00:13:05 verbose #9829 > > │ .fsx output:                                                                 │
00:13:05 verbose #9830 > > │ __assert_eq / actual: [||] / expected: [||]                                  │
00:13:05 verbose #9831 > > │ __assert_eq / actual: [|1|] / expected: [|1|]                                │
00:13:05 verbose #9832 > > │ __assert_eq / actual: [||] / expected: [||]                                  │
00:13:05 verbose #9833 > > │ __assert_eq / actual: [|2|] / expected: [|2|]                                │
00:13:05 verbose #9834 > > │ __assert_eq / actual: [||] / expected: [||]                                  │
00:13:05 verbose #9835 > > │ __assert_eq / actual: [|1; 2|] / expected: [|1; 2|]                          │
00:13:05 verbose #9836 > > │                                                                              │
00:13:05 verbose #9837 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:05 verbose #9838 > >
00:13:05 verbose #9839 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:05 verbose #9840 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:05 verbose #9841 > > │ ### range                                                                    │
00:13:05 verbose #9842 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:05 verbose #9843 > >
00:13:05 verbose #9844 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:05 verbose #9845 > > union range dim =
00:13:05 verbose #9846 > >     | Start : dim
00:13:05 verbose #9847 > >     | End : dim -> dim
00:13:05 verbose #9848 > >
00:13:05 verbose #9849 > > inl range start end s =
00:13:05 verbose #9850 > >     inl start, end =
00:13:05 verbose #9851 > >         match start, end with
00:13:05 verbose #9852 > >         | Start start, End fn =>
00:13:05 verbose #9853 > >             start, s |> length |> conv |> fn
00:13:05 verbose #9854 > >         | End start_fn, End end_fn =>
00:13:05 verbose #9855 > >             inl len = s |> length |> conv
00:13:05 verbose #9856 > >             start_fn len, end_fn len
00:13:05 verbose #9857 > >     s |> slice (start |> unbox) (end |> unbox)
00:13:06 verbose #9858 > 00:13:05   debug #586 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc398451e2ede8c0f1c9e4312cceaa56595682960a78558600f71c0d03e934d1/main.spi
00:13:06 verbose #9859 > >
00:13:06 verbose #9860 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:06 verbose #9861 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:06 verbose #9862 > > │ ## rust                                                                      │
00:13:06 verbose #9863 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:06 verbose #9864 > >
00:13:06 verbose #9865 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:06 verbose #9866 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:06 verbose #9867 > > │ ### vec                                                                      │
00:13:06 verbose #9868 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:06 verbose #9869 > >
00:13:06 verbose #9870 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:06 verbose #9871 > > nominal vec t =
00:13:06 verbose #9872 > >     `(
00:13:06 verbose #9873 > >         backend_switch `(()) `({}) {
00:13:06 verbose #9874 > >             Fsharp =
00:13:06 verbose #9875 > >                 (fun () =>
00:13:06 verbose #9876 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:13:06 verbose #9877 > > Fable.Core.Emit(\"Vec<$0>\")>]]\n#endif\ntype Vec<'T> = class end"
00:13:06 verbose #9878 > >                 ) : () -> ()
00:13:06 verbose #9879 > >         }
00:13:06 verbose #9880 > >         $'' : $'Vec<`t>'
00:13:06 verbose #9881 > >     )
00:13:06 verbose #9882 > 00:13:05   debug #587 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2e62b387ca4b806467fc0813283071417d8964f81141fd7ed5ae89e068a65a8c/main.spi
00:13:06 verbose #9883 > >
00:13:06 verbose #9884 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:06 verbose #9885 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:06 verbose #9886 > > │ ### from_vec                                                                 │
00:13:06 verbose #9887 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:06 verbose #9888 > >
00:13:06 verbose #9889 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:06 verbose #9890 > > inl from_vec forall dim el. (vec : vec el) : a dim el =
00:13:06 verbose #9891 > >     !\\(vec, $'"fable_library_rust::NativeArray_::array_from($0)"')
00:13:06 verbose #9892 > 00:13:05   debug #588 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e04ef72f10d566a54da6cf759df7195b7330793f738ae3a250117d17f9b2fce3/main.spi
00:13:07 verbose #9893 > >
00:13:07 verbose #9894 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:07 verbose #9895 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:07 verbose #9896 > > │ ### to_vec                                                                   │
00:13:07 verbose #9897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:07 verbose #9898 > >
00:13:07 verbose #9899 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:07 verbose #9900 > > inl to_vec forall t. (ab : array_base t) : vec t =
00:13:07 verbose #9901 > >     !\\(ab, $'"$0.to_vec()"')
00:13:07 verbose #9902 > 00:13:06   debug #589 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0826bd4096a3c49f44681fe0da9eb3dbacf19edd17124002b421c3bc344b706a/main.spi
00:13:07 verbose #9903 > >
00:13:07 verbose #9904 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:07 verbose #9905 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:07 verbose #9906 > > │ ### to_vec'                                                                  │
00:13:07 verbose #9907 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:07 verbose #9908 > >
00:13:07 verbose #9909 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:07 verbose #9910 > > inl to_vec' forall (t : * -> * -> *) u v. (x : t u v) : vec u =
00:13:07 verbose #9911 > >     !\($'$"!x.to_vec()"')
00:13:07 verbose #9912 > 00:13:06   debug #590 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4e26f3db24ca4bbae24f7fb63703e3835d4f82ad98f3a63a725adf08a59ba3fa/main.spi
00:13:07 verbose #9913 > >
00:13:07 verbose #9914 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:07 verbose #9915 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:07 verbose #9916 > > │ ### to_vec''                                                                 │
00:13:07 verbose #9917 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:07 verbose #9918 > >
00:13:07 verbose #9919 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:07 verbose #9920 > > inl to_vec'' forall (t : * -> *) (u : * -> *) v. (x : t (u v)) : vec v =
00:13:07 verbose #9921 > >     !\($'$"!x.to_vec()"')
00:13:08 verbose #9922 > 00:13:07   debug #591 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/737532c084c636633f857be740dbef101d3bf1d5576c5095272fe5cc144e35d6/main.spi
00:13:08 verbose #9923 > >
00:13:08 verbose #9924 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:08 verbose #9925 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:08 verbose #9926 > > │ ### vec_push                                                                 │
00:13:08 verbose #9927 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:08 verbose #9928 > >
00:13:08 verbose #9929 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:08 verbose #9930 > > inl vec_push forall el. (el : el) (vec : vec el) : vec el =
00:13:08 verbose #9931 > >     inl el = join el
00:13:08 verbose #9932 > >     inl vec = join vec
00:13:08 verbose #9933 > >     (!\($'"true; let mut !vec = !vec"') : bool) |> ignore
00:13:08 verbose #9934 > >     // inl vec = vec |> rust.to_mut
00:13:08 verbose #9935 > >     (!\($'"true; !vec.push(!el)"') : bool) |> ignore
00:13:08 verbose #9936 > >     !\($'"!vec"')
00:13:08 verbose #9937 > 00:13:07   debug #592 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9615753edc169bd9e90e3f5a3d418ebe62022baf11fe588d368d41543f27e321/main.spi
00:13:08 verbose #9938 > >
00:13:08 verbose #9939 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:08 verbose #9940 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:08 verbose #9941 > > │ ### vec_reverse                                                              │
00:13:08 verbose #9942 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:08 verbose #9943 > >
00:13:08 verbose #9944 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:08 verbose #9945 > > inl vec_reverse forall el. (vec : vec el) : vec el =
00:13:08 verbose #9946 > >     inl vec = join vec
00:13:08 verbose #9947 > >     (!\($'"true; let mut !vec = !vec"') : bool) |> ignore
00:13:08 verbose #9948 > >     (!\($'"true; !vec.reverse()"') : bool) |> ignore
00:13:08 verbose #9949 > >     !\($'"!vec"')
00:13:08 verbose #9950 > 00:13:08   debug #593 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/59b09637984c3d220d2745ccbf1341d55835073c69c88523c113a406ff4911eb/main.spi
00:13:09 verbose #9951 > >
00:13:09 verbose #9952 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:09 verbose #9953 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:09 verbose #9954 > > │ ### vec_retain                                                               │
00:13:09 verbose #9955 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:09 verbose #9956 > >
00:13:09 verbose #9957 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:09 verbose #9958 > > inl vec_retain forall el. (fn : el -> bool) (vec : vec el) : vec el =
00:13:09 verbose #9959 > >     inl vec = join vec
00:13:09 verbose #9960 > >     inl fn = join fn
00:13:09 verbose #9961 > >     (!\($'"true; let mut !vec = !vec"') : bool) |> ignore
00:13:09 verbose #9962 > >     // inl vec = vec |> rust.to_mut
00:13:09 verbose #9963 > >     (!\($'"true; !vec.retain(|x| !fn(x.clone()))"') : bool) |> ignore
00:13:09 verbose #9964 > >     !\($'"!vec"')
00:13:09 verbose #9965 > 00:13:08   debug #594 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1ad61b973e6cecb2c29358995b298bff5c6260364db2d8818a979be0a0fe07c6/main.spi
00:13:09 verbose #9966 > >
00:13:09 verbose #9967 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:09 verbose #9968 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:09 verbose #9969 > > │ ### vec_sort_by_key                                                          │
00:13:09 verbose #9970 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:09 verbose #9971 > >
00:13:09 verbose #9972 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:09 verbose #9973 > > inl vec_sort_by_key forall el t. (fn : el -> t) (vec : vec el) : vec el =
00:13:09 verbose #9974 > >     inl vec = join vec
00:13:09 verbose #9975 > >     inl fn = join fn
00:13:09 verbose #9976 > >     (!\($'"true; let mut !vec = !vec"') : bool) |> ignore
00:13:09 verbose #9977 > >     // inl vec = vec |> rust.to_mut
00:13:09 verbose #9978 > >     (!\($'"true; !vec.sort_by_key(|x| !fn(x.clone()))"') : bool) |> ignore
00:13:09 verbose #9979 > >     !\($'"!vec"')
00:13:09 verbose #9980 > 00:13:08   debug #595 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3df4b4104642b1712bbb3af319d1c8992e23f8f7a19937243b025be4d2fa02cc/main.spi
00:13:09 verbose #9981 > >
00:13:09 verbose #9982 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:09 verbose #9983 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:09 verbose #9984 > > │ ### vec_extend                                                               │
00:13:09 verbose #9985 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:09 verbose #9986 > >
00:13:09 verbose #9987 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:09 verbose #9988 > > inl vec_extend forall el. (el : vec el) (vec : vec el) : vec el =
00:13:09 verbose #9989 > >     inl el = join el
00:13:09 verbose #9990 > >     inl vec = join vec
00:13:09 verbose #9991 > >     (!\($'"true; let mut !vec = !vec"') : bool) |> ignore
00:13:09 verbose #9992 > >     // inl vec = vec |> rust.to_mut
00:13:09 verbose #9993 > >     (!\($'"true; !vec.extend(!el)"') : bool) |> ignore
00:13:09 verbose #9994 > >     !\($'"!vec"')
00:13:10 verbose #9995 > 00:13:09   debug #596 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/13134ef59a2c473194cc111a5fe473bfcc102e0552080d9c0cb6307c911cb390/main.spi
00:13:10 verbose #9996 > >
00:13:10 verbose #9997 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:10 verbose #9998 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:10 verbose #9999 > > │ ### vec_collect                                                              │
00:13:10 verbose #10000 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:10 verbose #10001 > >
00:13:10 verbose #10002 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:10 verbose #10003 > > inl vec_collect fn vec =
00:13:10 verbose #10004 > >     ((;[[]] |> to_vec), (vec |> from_vec : _ i32 _))
00:13:10 verbose #10005 > >     ||> am.fold fun acc x =>
00:13:10 verbose #10006 > >         acc |> vec_extend (fn x)
00:13:10 verbose #10007 > 00:13:09   debug #597 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ec1841cf696bfc2d20138da96e422af31b808b3c99bd446f091c8fe89b950e4d/main.spi
00:13:10 verbose #10008 > >
00:13:10 verbose #10009 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:10 verbose #10010 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:10 verbose #10011 > > │ ### vec_collect_option                                                       │
00:13:10 verbose #10012 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:10 verbose #10013 > >
00:13:10 verbose #10014 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:10 verbose #10015 > > inl vec_collect_option vec =
00:13:10 verbose #10016 > >     ((;[[]] |> to_vec |> Ok), (vec |> from_vec : _ i32 _))
00:13:10 verbose #10017 > >     ||> am.fold fun acc x =>
00:13:10 verbose #10018 > >         x
00:13:10 verbose #10019 > >         |> resultm.unbox
00:13:10 verbose #10020 > >         |> fun x =>
00:13:10 verbose #10021 > >             match acc, x |> resultm.map optionm'.unbox with
00:13:10 verbose #10022 > >             | Ok acc, Ok (Some x) => acc |> vec_extend x |> Ok
00:13:10 verbose #10023 > >             | _, Error error => error |> Error
00:13:10 verbose #10024 > >             | _ => acc
00:13:10 verbose #10025 > 00:13:10   debug #598 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4b15b7455c2c92ace6c8d9da58ab4e3ae34b67a8371d31670ef9f7c2cd0279e3/main.spi
00:13:11 verbose #10026 > >
00:13:11 verbose #10027 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:11 verbose #10028 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:11 verbose #10029 > > │ ### vec_collect_into                                                         │
00:13:11 verbose #10030 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:11 verbose #10031 > >
00:13:11 verbose #10032 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:11 verbose #10033 > > inl vec_collect_into forall (c : * -> * -> *) t e.
00:13:11 verbose #10034 > >     (x : vec (c t e))
00:13:11 verbose #10035 > >     : c (vec t) e
00:13:11 verbose #10036 > >     =
00:13:11 verbose #10037 > >     !\($'"!x.into_iter().collect()"')
00:13:11 verbose #10038 > 00:13:10   debug #599 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8e601e01e1fa09e443000f1fddd87cd7ae312071eba2fc6577b1536150933c1f/main.spi
00:13:11 verbose #10039 > >
00:13:11 verbose #10040 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:11 verbose #10041 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:11 verbose #10042 > > │ ### vec_mapi                                                                 │
00:13:11 verbose #10043 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:11 verbose #10044 > >
00:13:11 verbose #10045 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:11 verbose #10046 > > inl vec_mapi forall dim t u. (fn : dim -> t -> u) (ar : vec t) : vec u =
00:13:11 verbose #10047 > >     inl fn = join fn
00:13:11 verbose #10048 > >     inl ar = join ar
00:13:11 verbose #10049 > >     !\($'"!ar.iter().enumerate().map(|(i, x)|
00:13:11 verbose #10050 > > !fn(i.try_into().unwrap())(x.clone())).collect::<Vec<_>>()"')
00:13:11 verbose #10051 > 00:13:10   debug #600 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/83101ffadb01ba1fc93ec3a2df0d045b36ec408faeb1865a6ba81bdb13c2cc15/main.spi
00:13:11 verbose #10052 > >
00:13:11 verbose #10053 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:11 verbose #10054 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:11 verbose #10055 > > │ ### vec_map                                                                  │
00:13:11 verbose #10056 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:11 verbose #10057 > >
00:13:11 verbose #10058 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:11 verbose #10059 > > inl vec_map forall t u. (fn : t -> u) (ar : vec t) : vec u =
00:13:11 verbose #10060 > >     (!\\(ar, $'"true; let _vec_map : Vec<_> = $0.into_iter().map(|x| { //"') :
00:13:11 verbose #10061 > > bool) |> ignore
00:13:11 verbose #10062 > >     inl result = fn !\($'"x"')
00:13:11 verbose #10063 > >     inl is_unit =
00:13:11 verbose #10064 > >         real
00:13:11 verbose #10065 > >             typecase u with
00:13:11 verbose #10066 > >             | () => true
00:13:11 verbose #10067 > >             | _ => false
00:13:11 verbose #10068 > >     if is_unit
00:13:11 verbose #10069 > >     then (!\($'"true; }}).collect::<Vec<_>>()"') : bool) |> ignore
00:13:11 verbose #10070 > >     else (!\\(result, $'"true; $0 }).collect::<Vec<_>>()"') : bool) |> ignore
00:13:11 verbose #10071 > >     !\($'"_vec_map"')
00:13:12 verbose #10072 > 00:13:11   debug #601 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6ea698b4c47b987cbe7c00cce4ddf9cf697dd78df8e610cc9bd27ad7a56ca48d/main.spi
00:13:12 verbose #10073 > >
00:13:12 verbose #10074 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:12 verbose #10075 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:12 verbose #10076 > > │ ### vec_map'                                                                 │
00:13:12 verbose #10077 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:12 verbose #10078 > >
00:13:12 verbose #10079 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:12 verbose #10080 > > inl vec_map' forall t u. (fn : t -> u) (ar : vec t) : vec u =
00:13:12 verbose #10081 > >     !\\((ar, fn), $'"$0.into_iter().map(|x|
00:13:12 verbose #10082 > > $1(x.clone())).collect::<Vec<_>>()"')
00:13:12 verbose #10083 > 00:13:11   debug #602 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/effc96103c63181996c317949dba012b2eb0444b9db8a5fba48be068c6ea5b86/main.spi
00:13:12 verbose #10084 > >
00:13:12 verbose #10085 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:12 verbose #10086 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:12 verbose #10087 > > │ ### vec_fold'                                                                │
00:13:12 verbose #10088 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:12 verbose #10089 > >
00:13:12 verbose #10090 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:12 verbose #10091 > > inl vec_fold' forall t u. (fn : u -> t -> u) (init : u) (ar : vec t) : u =
00:13:12 verbose #10092 > >     (!\\(ar, $'"true; let _vec_fold_ = $0.into_iter().fold(!init, |acc, x| {
00:13:12 verbose #10093 > > //"') : bool) |> ignore
00:13:12 verbose #10094 > >     (!\\(fn !\($'"acc"') !\($'"x"'), $'"true; $0 })"') : bool) |> ignore
00:13:12 verbose #10095 > >     !\($'"_vec_fold_"')
00:13:13 verbose #10096 > 00:13:12   debug #603 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e7cdb6ca10e287ad00dfe5625a59138de0325dc1491f7ddd50131a5e0e83d6ac/main.spi
00:13:13 verbose #10097 > >
00:13:13 verbose #10098 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:13 verbose #10099 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:13 verbose #10100 > > │ ### vec_for_each                                                             │
00:13:13 verbose #10101 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:13 verbose #10102 > >
00:13:13 verbose #10103 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:13 verbose #10104 > > inl vec_for_each forall t. (fn : t -> ()) (ar : vec t) : () =
00:13:13 verbose #10105 > >     (!\\((ar, fn), $'"true; $0.iter().for_each(|x| { $1(x.clone()); }); //"') :
00:13:13 verbose #10106 > > bool) |> ignore
00:13:13 verbose #10107 > 00:13:12   debug #604 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/02d7835927758492399a8d83344996f4307ce83245e1f36dad79527184c772b4/main.spi
00:13:13 verbose #10108 > >
00:13:13 verbose #10109 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:13 verbose #10110 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:13 verbose #10111 > > │ ### vec_for_each'                                                            │
00:13:13 verbose #10112 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:13 verbose #10113 > >
00:13:13 verbose #10114 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:13 verbose #10115 > > inl vec_for_each' forall t. (fn : t -> ()) (ar : vec t) : () =
00:13:13 verbose #10116 > >     (!\\(ar, $'"true; $0.into_iter().for_each(|x| { //"') : bool) |> ignore
00:13:13 verbose #10117 > >     (!\\(fn !\($'"x"'), $'$"true;"') : bool) |> ignore
00:13:13 verbose #10118 > >     (!\($'"true; }}); { //"') : bool) |> ignore
00:13:14 verbose #10119 > 00:13:13   debug #605 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5308ea7e0a3b415b149e20aa7e1240df969cd0f6df42dfc3a482ad11f46b7d6a/main.spi
00:13:14 verbose #10120 > >
00:13:14 verbose #10121 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:14 verbose #10122 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:14 verbose #10123 > > │ ### vec_filter                                                               │
00:13:14 verbose #10124 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:14 verbose #10125 > >
00:13:14 verbose #10126 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:14 verbose #10127 > > inl vec_filter forall t. (fn : t -> bool) (ar : vec t) : vec t =
00:13:14 verbose #10128 > >     inl fn = join fn
00:13:14 verbose #10129 > >     inl ar = join ar
00:13:14 verbose #10130 > >     !\($'"!ar.into_iter().filter(|x|
00:13:14 verbose #10131 > > !fn(x.clone().clone())).collect::<Vec<_>>()"')
00:13:14 verbose #10132 > 00:13:13   debug #606 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2b255bdd08b827fdcc4d0e316e1577760ae46fa7062db59010efba9a02da4d82/main.spi
00:13:14 verbose #10133 > >
00:13:14 verbose #10134 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:14 verbose #10135 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:14 verbose #10136 > > │ ### vec_len                                                                  │
00:13:14 verbose #10137 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:14 verbose #10138 > >
00:13:14 verbose #10139 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:14 verbose #10140 > > inl vec_len forall t. (vec : vec t) : unativeint =
00:13:14 verbose #10141 > >     !\\(vec, $'"$0.len()"')
00:13:14 verbose #10142 > 00:13:13   debug #607 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fd965104c3b542821bda58cf5fe662c2fab663db67fb9352a7cfa9870b803e4e/main.spi
00:13:15 verbose #10143 > >
00:13:15 verbose #10144 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:15 verbose #10145 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:15 verbose #10146 > > │ ### vec_chunks                                                               │
00:13:15 verbose #10147 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:15 verbose #10148 > >
00:13:15 verbose #10149 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:15 verbose #10150 > > inl vec_chunks forall t. (n : i32) (vec : vec t) : vec (vec t) =
00:13:15 verbose #10151 > >     !\\(vec, $'"$0.chunks(!n).map(|x| x.into_iter().map(|x|
00:13:15 verbose #10152 > > x.clone()).collect::<Vec<_>>()).collect::<Vec<_>>()"')
00:13:15 verbose #10153 > 00:13:14   debug #608 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7e57cf77b24fb7711841f5f14fba6eb562f4b068319e3485e29475397a6575cc/main.spi
00:13:15 verbose #10154 > >
00:13:15 verbose #10155 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:15 verbose #10156 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:15 verbose #10157 > > │ ### slice                                                                    │
00:13:15 verbose #10158 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:15 verbose #10159 > >
00:13:15 verbose #10160 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:15 verbose #10161 > > nominal slice t =
00:13:15 verbose #10162 > >     `(
00:13:15 verbose #10163 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:13:15 verbose #10164 > > Fable.Core.Emit(\"[[$0]]\")>]]\n#endif\ntype Slice<'T> = class end"
00:13:15 verbose #10165 > >         $'' : $'Slice<`t>'
00:13:15 verbose #10166 > >     )
00:13:15 verbose #10167 > 00:13:14   debug #609 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8109f62a2f8d7d461836c0e8332f5825dbec237db9641ca81fdc92d9d5acb144/main.spi
00:13:15 verbose #10168 > >
00:13:15 verbose #10169 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:15 verbose #10170 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:15 verbose #10171 > > │ ### slice'                                                                   │
00:13:15 verbose #10172 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:15 verbose #10173 > >
00:13:15 verbose #10174 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:15 verbose #10175 > > nominal slice' el dim =
00:13:15 verbose #10176 > >     `(
00:13:15 verbose #10177 > >         backend_switch `(()) `({}) {
00:13:15 verbose #10178 > >             Fsharp =
00:13:15 verbose #10179 > >                 (fun () =>
00:13:15 verbose #10180 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:13:15 verbose #10181 > > Fable.Core.Emit(\"_\")>]]\n#endif\ntype Slice'<'T> = class end"
00:13:15 verbose #10182 > >                 ) : () -> ()
00:13:15 verbose #10183 > >         }
00:13:15 verbose #10184 > >         $'' : $'Slice\'<`el>'
00:13:15 verbose #10185 > >     )
00:13:16 verbose #10186 > 00:13:15   debug #610 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ca34f4ac050e2ca6c14c656b5c70eecd15b94848ebf2369781cd631e7e13473a/main.spi
00:13:16 verbose #10187 > >
00:13:16 verbose #10188 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:16 verbose #10189 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:16 verbose #10190 > > │ ### slice_singleton                                                          │
00:13:16 verbose #10191 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:16 verbose #10192 > >
00:13:16 verbose #10193 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:16 verbose #10194 > > inl slice_singleton forall dim el. (x : option el) : slice' el dim =
00:13:16 verbose #10195 > >     match x with
00:13:16 verbose #10196 > >     | Some x => !\($'"[[!x]]"')
00:13:16 verbose #10197 > >     | None =>
00:13:16 verbose #10198 > >         !\($'"[[\\\"\\\".to_string()]]"') : slice' el dim
00:13:16 verbose #10199 > >             // emit_expr `(()) `(slice' el dim) () ($'"[[@dim]]"' : string) :
00:13:16 verbose #10200 > > slice' el 10
00:13:16 verbose #10201 > >             // !\( : string) : slice' el i32 // !\($'"[[]]"')
00:13:16 verbose #10202 > 00:13:15   debug #611 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0b38438af99743bef95eca6b02b096f3d6baab2beee1d6e4753f619dbab9f626/main.spi
00:13:16 verbose #10203 > >
00:13:16 verbose #10204 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:16 verbose #10205 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:16 verbose #10206 > > │ ### slice_length                                                             │
00:13:16 verbose #10207 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:16 verbose #10208 > >
00:13:16 verbose #10209 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:16 verbose #10210 > > inl slice_length forall t dim. (x : slice' t dim) : unativeint =
00:13:16 verbose #10211 > >     !\($'"!x.len()"')
00:13:17 verbose #10212 > 00:13:16   debug #612 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8445f99dc84fd00480e94382127f30093735f176c41cb14b7edfa2863b2156f5/main.spi
00:13:17 verbose #10213 > >
00:13:17 verbose #10214 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:17 verbose #10215 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:17 verbose #10216 > > │ ### slice_range                                                              │
00:13:17 verbose #10217 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:17 verbose #10218 > >
00:13:17 verbose #10219 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:17 verbose #10220 > > inl slice_range forall t dim. (start : range t) (end : range t) (s : slice' t
00:13:17 verbose #10221 > > dim) : rust.ref (slice' t dim) =
00:13:17 verbose #10222 > >     inl len = s |> slice_length
00:13:17 verbose #10223 > >     inl start, (end : unativeint) =
00:13:17 verbose #10224 > >         match start, end with
00:13:17 verbose #10225 > >         | Start start, End fn => start, len |> convert |> fn |> convert
00:13:17 verbose #10226 > >         | End start_fn, End end_fn => len |> convert |> start_fn, len |> convert
00:13:17 verbose #10227 > > |> end_fn |> convert
00:13:17 verbose #10228 > >     match start, end with
00:13:17 verbose #10229 > >     | start, end when unbox end =. len => !\($'"&!s[[!start..]]"')
00:13:17 verbose #10230 > >     | start, end => !\\((start, end), $'"&!s[[$0..$1]]"')
00:13:17 verbose #10231 > 00:13:16   debug #613 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32378184805effe6b105ca091335bc8a79ecdda9f1a625c1111a7ef33033aafe/main.spi
00:13:17 verbose #10232 > >
00:13:17 verbose #10233 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:17 verbose #10234 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:17 verbose #10235 > > │ ### new_slice                                                                │
00:13:17 verbose #10236 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:17 verbose #10237 > >
00:13:17 verbose #10238 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:17 verbose #10239 > > inl new_slice forall el dim. (el : el) : slice' el dim =
00:13:17 verbose #10240 > >     !\\(el, $'"[[$0; @dim]]"')
00:13:18 verbose #10241 > 00:13:17   debug #614 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d025874a0af8cff74a96ce6c98188f2109f783771b2e7c33e74d21e77f6eee05/main.spi
00:13:18 verbose #10242 > >
00:13:18 verbose #10243 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:18 verbose #10244 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:18 verbose #10245 > > │ ### as_slice                                                                 │
00:13:18 verbose #10246 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:18 verbose #10247 > >
00:13:18 verbose #10248 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:18 verbose #10249 > > inl as_slice forall t. (x : array_base t) : rust.ref (slice t) =
00:13:18 verbose #10250 > >     inl x = x |> to_vec
00:13:18 verbose #10251 > >     !\($'"!x.as_slice()"')
00:13:18 verbose #10252 > 00:13:17   debug #615 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0a28b50f952166be28c7870bfcebc737bde8f4ca20d3110b8265e96e9d8f5907/main.spi
00:13:18 verbose #10253 > >
00:13:18 verbose #10254 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:18 verbose #10255 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:18 verbose #10256 > > │ ### slice_to_vec                                                             │
00:13:18 verbose #10257 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:18 verbose #10258 > >
00:13:18 verbose #10259 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:18 verbose #10260 > > inl slice_to_vec forall t. (slice : rust.ref (slice t)) : vec t =
00:13:18 verbose #10261 > >     !\\(slice, $'"$0.iter().map(|x| *x).collect::<Vec<_>>()"')
00:13:18 verbose #10262 > 00:13:18   debug #616 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/078eb9df9ad05640a67aeeb3b2555f04634087c244d04cb4c30a43d17759815e/main.spi
00:13:19 verbose #10263 > >
00:13:19 verbose #10264 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:19 verbose #10265 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:19 verbose #10266 > > │ ### to_le_bytes                                                              │
00:13:19 verbose #10267 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:19 verbose #10268 > >
00:13:19 verbose #10269 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:19 verbose #10270 > > inl to_le_bytes forall t. (x : t) : slice' u8 8 =
00:13:19 verbose #10271 > >     !\($'$"!x.to_le_bytes()"')
00:13:19 verbose #10272 > 00:13:18   debug #617 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dac2e034805d1afd3f67e41765323687f0ceb2cd120a4e3714bee67d8a886e07/main.spi
00:13:19 verbose #10273 > >
00:13:19 verbose #10274 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:19 verbose #10275 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:19 verbose #10276 > > │ ### as_bytes                                                                 │
00:13:19 verbose #10277 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:19 verbose #10278 > >
00:13:19 verbose #10279 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:19 verbose #10280 > > inl as_bytes forall t. (x : t) : rust.ref (slice u8) =
00:13:19 verbose #10281 > >     !\($'$"!x.as_bytes()"')
00:13:19 verbose #10282 > 00:13:18   debug #618 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/985192a64756e6daa2b907e610dafef9f1c36fd6580672d174cd9c97b2e1aa4a/main.spi
00:13:19 verbose #10283 > >
00:13:19 verbose #10284 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:19 verbose #10285 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:19 verbose #10286 > > │ ### any                                                                      │
00:13:19 verbose #10287 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:19 verbose #10288 > >
00:13:19 verbose #10289 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:19 verbose #10290 > > inl any forall t. (fn : t -> bool) (source : array_base t) : bool =
00:13:19 verbose #10291 > >     !\($'"!source.any(|x| !fn(x))"')
00:13:20 verbose #10292 > 00:13:19   debug #619 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3dfb4e7b24ece1decc686e99f03a9c798b8f4248d86924d965b8480c3aec2370/main.spi
00:13:20 verbose #10293 > >
00:13:20 verbose #10294 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:20 verbose #10295 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:20 verbose #10296 > > │ ### iter_collect vec                                                         │
00:13:20 verbose #10297 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:20 verbose #10298 > >
00:13:20 verbose #10299 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:20 verbose #10300 > > instance iter_collect vec = fun (iter : into_iterator u) =>
00:13:20 verbose #10301 > >     !\($'"!iter.collect::<Vec<_>>()"')
00:13:20 verbose #10302 > >
00:13:20 verbose #10303 > > instance iter_collect'' vec = fun (iter : into_iterator (t (u v))) =>
00:13:20 verbose #10304 > >     !\($'"!iter.collect::<Vec<_>>()"')
00:13:20 verbose #10305 > 00:13:19   debug #620 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6addcf0681d0b5c99e4e70479bb72ca418cd58496c6be7fa14be53de548bd4cf/main.spi
00:13:20 verbose #10306 > >
00:13:20 verbose #10307 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:20 verbose #10308 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:20 verbose #10309 > > │ ### new_vec                                                                  │
00:13:20 verbose #10310 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:20 verbose #10311 > >
00:13:20 verbose #10312 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:20 verbose #10313 > > inl new_vec forall t. (items : list t) : vec t =
00:13:20 verbose #10314 > >     inl items =
00:13:20 verbose #10315 > >         (items, ("", 0i32))
00:13:20 verbose #10316 > >         ||> listm.foldBack fun (x : t) (acc, i) =>
00:13:20 verbose #10317 > >             inl x = join x
00:13:20 verbose #10318 > >             $'"!x"' +. (if i = 0 then "" else ", ") +. acc, i + 1
00:13:20 verbose #10319 > >         |> fst
00:13:20 verbose #10320 > >     !\($'"vec\![[" + !items + "]]"')
00:13:21 verbose #10321 > 00:13:20   debug #621 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/09becdf658c4740c3f4143cd20d006968c1c9d43bfbe33b340d4c9cf9fa753cc/main.spi
00:13:21 verbose #10322 > >
00:13:21 verbose #10323 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:21 verbose #10324 > > //// test
00:13:21 verbose #10325 > > ///! rust
00:13:21 verbose #10326 > >
00:13:21 verbose #10327 > > [[ 0i32; 1 ]]
00:13:21 verbose #10328 > > |> new_vec
00:13:21 verbose #10329 > > |> sm'.format_debug'
00:13:21 verbose #10330 > > |> sm'.from_std_string
00:13:21 verbose #10331 > > |> _assert_eq "[[0, 1]]"
00:13:21 verbose #10332 > 00:13:20   debug #622 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/70593b0c613fedb26b4a1b1d3dcc2e45ee777542e8e53d94590d0e896caea1f6/main.spi
00:13:26 verbose #10333 > >
00:13:26 verbose #10334 > > ╭─[ 5.55s - return value ]─────────────────────────────────────────────────────╮
00:13:26 verbose #10335 > > │ __assert_eq / actual: "[0, 1]" / expected: "[0, 1]"                          │
00:13:26 verbose #10336 > > │                                                                              │
00:13:26 verbose #10337 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:26 verbose #10338 > >
00:13:26 verbose #10339 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:26 verbose #10340 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:26 verbose #10341 > > │ ## fsharp                                                                    │
00:13:26 verbose #10342 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:26 verbose #10343 > >
00:13:26 verbose #10344 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:26 verbose #10345 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:26 verbose #10346 > > │ ### average                                                                  │
00:13:26 verbose #10347 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:26 verbose #10348 > >
00:13:26 verbose #10349 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:26 verbose #10350 > > inl average forall el {number}. (a : a _ el) : el =
00:13:26 verbose #10351 > >     $'!a |> Array.average'
00:13:27 verbose #10352 > 00:13:26   debug #623 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/00d567d919a09cb84d0284cb186fc660dd4aeed6dcb846e8a763a5ecc7494752/main.spi
00:13:27 verbose #10353 > >
00:13:27 verbose #10354 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:27 verbose #10355 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:27 verbose #10356 > > │ ### distinct                                                                 │
00:13:27 verbose #10357 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:27 verbose #10358 > >
00:13:27 verbose #10359 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:27 verbose #10360 > > inl distinct forall dim el. (a : a dim el) : a dim el =
00:13:27 verbose #10361 > >     $'!a |> Array.distinct'
00:13:27 verbose #10362 > 00:13:26   debug #624 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/782a49197dea4748f0d4a56a3c29cf620759499b49bc974cacb5f3a142ca89aa/main.spi
00:13:27 verbose #10363 > >
00:13:27 verbose #10364 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:27 verbose #10365 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:27 verbose #10366 > > │ ### skip                                                                     │
00:13:27 verbose #10367 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:27 verbose #10368 > >
00:13:27 verbose #10369 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:27 verbose #10370 > > inl skip forall dim el. (n : dim) (a : a dim el) : a dim el =
00:13:27 verbose #10371 > >     $'!a |> Array.skip !n '
00:13:27 verbose #10372 > 00:13:27   debug #625 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2f72bf9887b4b24c5f39d599981ae2e5b6cfd321c7148e32f00ea7cbaa927b0b/main.spi
00:13:28 verbose #10373 > >
00:13:28 verbose #10374 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:28 verbose #10375 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:28 verbose #10376 > > │ ### skip_while                                                               │
00:13:28 verbose #10377 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:28 verbose #10378 > >
00:13:28 verbose #10379 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:28 verbose #10380 > > inl skip_while forall dim el. (fn : el -> bool) (a : a dim el) : a dim el =
00:13:28 verbose #10381 > >     $'!a |> Array.skipWhile !fn '
00:13:28 verbose #10382 > 00:13:27   debug #626 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f7afe3d73fdd2979f8cb12932bfc1396dbd3c94f6f3e6ee2ef41695ed9456e6/main.spi
00:13:28 verbose #10383 > >
00:13:28 verbose #10384 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:28 verbose #10385 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:28 verbose #10386 > > │ ### to_list'                                                                 │
00:13:28 verbose #10387 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:28 verbose #10388 > >
00:13:28 verbose #10389 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:28 verbose #10390 > > inl to_list' forall dim t. (items : a dim t) : listm'.list' t =
00:13:28 verbose #10391 > >     $'!items |> Array.toList'
00:13:28 verbose #10392 > 00:13:27   debug #627 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ea99ce87dd6b8a97b8799e940ce5202abe41bfe52f6b366a7f30d3aed0263d0e/main.spi
00:13:29 verbose #10393 > >
00:13:29 verbose #10394 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:29 verbose #10395 > > //// test
00:13:29 verbose #10396 > > ///! fsharp
00:13:29 verbose #10397 > > ////! cuda
00:13:29 verbose #10398 > > ///! rust
00:13:29 verbose #10399 > > ///! typescript
00:13:29 verbose #10400 > > ///! python
00:13:29 verbose #10401 > >
00:13:29 verbose #10402 > > a' ;[[ -3i32; 6 ]]
00:13:29 verbose #10403 > > |> to_list'
00:13:29 verbose #10404 > > |> listm'.unbox
00:13:29 verbose #10405 > > |> _assert_eq [[ -3; 6 ]]
00:13:29 verbose #10406 > 00:13:28   debug #628 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d85378b84fdb920c3bad4e794757f39e41fbc215ce08e4a44763d233cf45dc2c/main.spi
00:13:35 verbose #10407 > >
00:13:35 verbose #10408 > > ╭─[ 6.47s - return value ]─────────────────────────────────────────────────────╮
00:13:35 verbose #10409 > > │ .rs output:                                                                  │
00:13:35 verbose #10410 > > │ __assert_eq / actual: UH0_1(-3, UH0_1(6, UH0_0)) / expected: UH0_1(-3,       │
00:13:35 verbose #10411 > > │ UH0_1(6, UH0_0))                                                             │
00:13:35 verbose #10412 > > │                                                                              │
00:13:35 verbose #10413 > > │ .ts output:                                                                  │
00:13:35 verbose #10414 > > │ __assert_eq / actual: UH0_1 (-3, UH0_1 (6, UH0_0)) / expected: UH0_1 (-3,    │
00:13:35 verbose #10415 > > │ UH0_1 (6, UH0_0))                                                            │
00:13:35 verbose #10416 > > │                                                                              │
00:13:35 verbose #10417 > > │ .py output:                                                                  │
00:13:35 verbose #10418 > > │ __assert_eq / actual: UH0_1 (-3, UH0_1 (6, UH0_0)) / expected: UH0_1 (-3,    │
00:13:35 verbose #10419 > > │ UH0_1 (6, UH0_0))                                                            │
00:13:35 verbose #10420 > > │                                                                              │
00:13:35 verbose #10421 > > │                                                                              │
00:13:35 verbose #10422 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:35 verbose #10423 > >
00:13:35 verbose #10424 > > ╭─[ 6.47s - stdout ]───────────────────────────────────────────────────────────╮
00:13:35 verbose #10425 > > │ .fsx output:                                                                 │
00:13:35 verbose #10426 > > │ __assert_eq / actual: UH0_1 (-3, UH0_1 (6, UH0_0)) / expected: UH0_1 (-3,    │
00:13:35 verbose #10427 > > │ UH0_1 (6, UH0_0))                                                            │
00:13:35 verbose #10428 > > │                                                                              │
00:13:35 verbose #10429 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:35 verbose #10430 > >
00:13:35 verbose #10431 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:35 verbose #10432 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:35 verbose #10433 > > │ ### parallel_map                                                             │
00:13:35 verbose #10434 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:35 verbose #10435 > >
00:13:35 verbose #10436 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:35 verbose #10437 > > inl parallel_map forall dim el el'. (fn : el -> el') (a : a dim el) : a dim el'
00:13:35 verbose #10438 > > =
00:13:35 verbose #10439 > >     $'!a |> Array.Parallel.map !fn '
00:13:35 verbose #10440 > 00:13:34   debug #629 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/69873d740f4d31a7b9d89dba293d47b4637f1f61733ac20fe48d8adfc3f46ddf/main.spi
00:13:36 verbose #10441 > >
00:13:36 verbose #10442 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:36 verbose #10443 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:36 verbose #10444 > > │ ### map'                                                                     │
00:13:36 verbose #10445 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:36 verbose #10446 > >
00:13:36 verbose #10447 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:36 verbose #10448 > > inl map' forall dim el el'. (fn : el -> el') (a : a dim el) : a dim el' =
00:13:36 verbose #10449 > >     $'!a |> Array.map !fn '
00:13:36 verbose #10450 > 00:13:35   debug #630 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1a3a52d58aaa157fb6163290cedc58565a59302d2e47b50fb81b9017418233ac/main.spi
00:13:36 verbose #10451 > >
00:13:36 verbose #10452 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:36 verbose #10453 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:36 verbose #10454 > > │ ### sort_by                                                                  │
00:13:36 verbose #10455 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:36 verbose #10456 > >
00:13:36 verbose #10457 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:36 verbose #10458 > > inl sort_by forall dim el. (fn : el -> _) (a : a dim el) : a dim el =
00:13:36 verbose #10459 > >     $'!a |> Array.sortBy !fn '
00:13:36 verbose #10460 > 00:13:35   debug #631 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a13eec3aae344b38b02065f77090db095cebf3023e3c6f23fa0f66ca8c53e3db/main.spi
00:13:37 verbose #10461 > >
00:13:37 verbose #10462 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:37 verbose #10463 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:37 verbose #10464 > > │ ### sort                                                                     │
00:13:37 verbose #10465 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:37 verbose #10466 > >
00:13:37 verbose #10467 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:37 verbose #10468 > > inl sort forall dim el. (a : a dim el) : a dim el =
00:13:37 verbose #10469 > >     $'!a |> Array.sort'
00:13:38 verbose #10470 > 00:13:37   debug #632 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/12bbd4d1632a4d0aedf7796f24189b77795b6045c855217302bb68a8589fa956/main.spi
00:13:39 verbose #10471 > >
00:13:39 verbose #10472 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:39 verbose #10473 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:39 verbose #10474 > > │ ### sort_descending                                                          │
00:13:39 verbose #10475 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:39 verbose #10476 > >
00:13:39 verbose #10477 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:39 verbose #10478 > > inl sort_descending forall dim el. (a : a dim el) : a dim el =
00:13:39 verbose #10479 > >     $'!a |> Array.sortDescending'
00:13:39 verbose #10480 > 00:13:38   debug #633 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/936a95ea73617b5f6374d122c9afe2f1e42f02dea8db4f5408d73ae227de9c69/main.spi
00:13:40 verbose #10481 > >
00:13:40 verbose #10482 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:40 verbose #10483 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:40 verbose #10484 > > │ ### transpose                                                                │
00:13:40 verbose #10485 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:40 verbose #10486 > >
00:13:40 verbose #10487 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:40 verbose #10488 > > inl transpose forall el. (a : array_base (array_base el)) : array_base
00:13:40 verbose #10489 > > (array_base el) =
00:13:40 verbose #10490 > >     $'!a |> Array.transpose'
00:13:41 verbose #10491 > 00:13:40   debug #634 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/80f587af8f63e1e1b14b91a89381016c89c02f51590636ca9af0a5dfdbba3962/main.spi
00:13:42 verbose #10492 > >
00:13:42 verbose #10493 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:42 verbose #10494 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:42 verbose #10495 > > │ ### try_item                                                                 │
00:13:42 verbose #10496 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:42 verbose #10497 > >
00:13:42 verbose #10498 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:42 verbose #10499 > > inl try_item forall dim el. (i : i32) (a : a dim el) : option el =
00:13:42 verbose #10500 > >     $'!a |> Array.tryItem !i ' |> optionm'.unbox
00:13:43 verbose #10501 > 00:13:42   debug #635 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b5f5ceb04408f5f7f287ee566fabd39b735e7bc5e99d2d13169544c6fab05308/main.spi
00:13:44 verbose #10502 > 00:01:53 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 83420 }
00:13:44 verbose #10503 > 00:01:53   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:13:44 verbose #10504 >     "nbconvert",
00:13:44 verbose #10505 >     "c:/home/git/polyglot/lib/spiral/am'.dib.ipynb",
00:13:44 verbose #10506 >     "--to",
00:13:44 verbose #10507 >     "html",
00:13:44 verbose #10508 >     "--HTMLExporter.theme=dark",
00:13:44 verbose #10509 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/am'.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:13:50 verbose #10510 > 00:01:59 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/am'.dib.ipynb to html
00:13:50 verbose #10511 > 00:01:59 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:13:50 verbose #10512 > 00:01:59 verbose #7 !   validate(nb)
00:13:53 verbose #10513 > 00:02:02 verbose #8 ! [NbConvertApp] Writing 464373 bytes to c:\home\git\polyglot\lib\spiral\am'.dib.html
00:13:54 verbose #10514 > 00:02:02 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 637 }
00:13:54 verbose #10515 > 00:02:02   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 637 }
00:13:54 verbose #10516 > 00:02:02   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:13:54 verbose #10517 >     "-c",
00:13:54 verbose #10518 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/am''.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:13:54 verbose #10519 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/am''.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:13:55 verbose #10520 > 00:02:04 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:13:55 verbose #10521 > 00:02:04   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:13:56 verbose #10522 > 00:02:05   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 84116 }
00:13:56   debug #10523 runtime.execute_with_options_async / { exit_code = 0; output_length = 89631 }
00:13:56   debug #14 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path am'.dib --retries 3
00:13:56   debug #10524 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path crypto.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:13:56 verbose #10525 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "crypto.dib", "--retries", "3"])) }
00:13:56 verbose #10526 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:13:56 verbose #10527 >     "repl",
00:13:56 verbose #10528 >     "--exit-after-run",
00:13:56 verbose #10529 >     "--run",
00:13:56 verbose #10530 >     "c:/home/git/polyglot/lib/spiral/crypto.dib",
00:13:56 verbose #10531 >     "--output-path",
00:13:56 verbose #10532 >     "c:/home/git/polyglot/lib/spiral/crypto.dib.ipynb",
00:13:56 verbose #10533 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/crypto.dib" --output-path "c:/home/git/polyglot/lib/spiral/crypto.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:13:59 verbose #10534 > >
00:13:59 verbose #10535 > > ── markdown ────────────────────────────────────────────────────────────────────
00:13:59 verbose #10536 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:59 verbose #10537 > > │ # crypto                                                                     │
00:13:59 verbose #10538 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:05 verbose #10539 > >
00:14:05 verbose #10540 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:05 verbose #10541 > > open rust
00:14:05 verbose #10542 > > open rust_operators
00:14:06 verbose #10543 > 00:14:05   debug #636 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd47537238fcdc924c2a6b0a99d4f87ecbbde40a43ba8772a0907b5bf4a50e9d/main.spi
00:14:07 verbose #10544 > >
00:14:07 verbose #10545 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:07 verbose #10546 > > //// test
00:14:07 verbose #10547 > >
00:14:07 verbose #10548 > > open testing
00:14:07 verbose #10549 > > open file_system_operators
00:14:08 verbose #10550 > 00:14:07   debug #637 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/44830e8d18803e477b82c4f37383caee2337b2df18e02eafbb93e644b56aa89a/main.spi
00:14:08 verbose #10551 > >
00:14:08 verbose #10552 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:08 verbose #10553 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:08 verbose #10554 > > │ ## fsharp                                                                    │
00:14:08 verbose #10555 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:08 verbose #10556 > >
00:14:08 verbose #10557 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:08 verbose #10558 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:08 verbose #10559 > > │ ### sha256                                                                   │
00:14:08 verbose #10560 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:08 verbose #10561 > >
00:14:08 verbose #10562 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:08 verbose #10563 > > nominal sha256 = $'System.Security.Cryptography.SHA256'
00:14:08 verbose #10564 > >
00:14:08 verbose #10565 > > inl sha256 () : sha256 =
00:14:08 verbose #10566 > >     $'`sha256.Create' ()
00:14:08 verbose #10567 > 00:14:07   debug #638 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b800e847fc009f9000803ca61d17a7d97e243d471afcd2a0ca36502b75f38751/main.spi
00:14:08 verbose #10568 > >
00:14:08 verbose #10569 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:08 verbose #10570 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:08 verbose #10571 > > │ ### sha256_compute_hash                                                      │
00:14:08 verbose #10572 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:08 verbose #10573 > >
00:14:08 verbose #10574 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:08 verbose #10575 > > inl sha256_compute_hash (x : sha256) (data : a i32 u8) : a i32 u8 =
00:14:08 verbose #10576 > >     data |> $'!x.ComputeHash'
00:14:09 verbose #10577 > 00:14:08   debug #639 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e1051ead42c0a85bce32257f115d1c60f480d884a0580a37d48d147494e9d3a9/main.spi
00:14:09 verbose #10578 > >
00:14:09 verbose #10579 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:09 verbose #10580 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:09 verbose #10581 > > │ ## rust                                                                      │
00:14:09 verbose #10582 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:09 verbose #10583 > >
00:14:09 verbose #10584 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:09 verbose #10585 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:09 verbose #10586 > > │ ### get_file_hash'                                                           │
00:14:09 verbose #10587 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:09 verbose #10588 > >
00:14:09 verbose #10589 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:09 verbose #10590 > > inl get_file_hash' (path : string) : result string string =
00:14:09 verbose #10591 > >     inl path = path |> file_system.normalize_path
00:14:09 verbose #10592 > >     inl exit_code, result =
00:14:09 verbose #10593 > >         runtime.execution_options fun x => { x with
00:14:09 verbose #10594 > >             command = $'$"pwsh -c \\\"(Get-FileHash \'{!path}\' -Algorithm
00:14:09 verbose #10595 > > SHA256).Hash\\\""'
00:14:09 verbose #10596 > >         }
00:14:09 verbose #10597 > >         |> runtime.execute_with_options
00:14:09 verbose #10598 > >     if exit_code = 0
00:14:09 verbose #10599 > >     then result |> sm'.to_lower |> Ok
00:14:09 verbose #10600 > >     else result |> Error
00:14:09 verbose #10601 > 00:14:08   debug #640 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fc40d5024db02c79abc1b273a03d3bb855fd4a2c9e56b39ce8982de1999d3d05/main.spi
00:14:09 verbose #10602 > >
00:14:09 verbose #10603 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:09 verbose #10604 > > //// test
00:14:09 verbose #10605 > >
00:14:09 verbose #10606 > > inl file_name = "test.txt"
00:14:09 verbose #10607 > > inl text = "\n"
00:14:09 verbose #10608 > >
00:14:09 verbose #10609 > > inl temp_dir, disposable =
00:14:09 verbose #10610 > >     (file_name, text)
00:14:09 verbose #10611 > >     |> sm'.format_debug
00:14:09 verbose #10612 > >     |> crypto.hash_text
00:14:09 verbose #10613 > >     |> file_system.create_temp_dir'
00:14:09 verbose #10614 > > disposable |> use |> ignore
00:14:09 verbose #10615 > > inl path = temp_dir </> file_name
00:14:09 verbose #10616 > > text |> file_system.write_all_text_async path |> async.run_synchronously
00:14:09 verbose #10617 > > path
00:14:09 verbose #10618 > > |> get_file_hash'
00:14:09 verbose #10619 > > |> resultm.get
00:14:09 verbose #10620 > > |> _assert_eq "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
00:14:10 verbose #10621 > 00:14:09   debug #641 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5931d1936a2f8703abe45628d5dcfaa534b869bfba1522de1abfcb7d669c21fb/main.spi
00:14:29 verbose #10622 > >
00:14:29 verbose #10623 > > ╭─[ 19.53s - stdout ]──────────────────────────────────────────────────────────╮
00:14:29 verbose #10624 > > │ 00:00:00   debug #1 runtime.execute_with_options_async / { options = {  │
00:14:29 verbose #10625 > > │ command = pwsh -c "(Get-FileHash                                             │
00:14:29 verbose #10626 > > │ 'c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/dotnet-repl/9ca8b18d-e │
00:14:29 verbose #10627 > > │ e77-4684-ad12-21e1354945fc/test.txt' -Algorithm SHA256).Hash";               │
00:14:29 verbose #10628 > > │ cancellation_token = None; environment_variables = [||]; on_line = None;     │
00:14:29 verbose #10629 > > │ stdin = None; trace = true; working_directory = None } }                     │
00:14:29 verbose #10630 > > │ 00:00:01 verbose #2 >                                                   │
00:14:29 verbose #10631 > > │ 01BA4719C80B6FE911B091A7C05124B64EEECE964E09C058EF8F9805DACA546B             │
00:14:29 verbose #10632 > > │ 00:00:01   debug #3 runtime.execute_with_options_async / { exit_code =  │
00:14:29 verbose #10633 > > │ 0; output_length = 64 }                                                      │
00:14:29 verbose #10634 > > │ __assert_eq / actual:                                                        │
00:14:29 verbose #10635 > > │ "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" /         │
00:14:29 verbose #10636 > > │ expected: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" │
00:14:29 verbose #10637 > > │                                                                              │
00:14:29 verbose #10638 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:29 verbose #10639 > >
00:14:29 verbose #10640 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:29 verbose #10641 > > //// test
00:14:29 verbose #10642 > > ///! rust -d chrono encoding_rs encoding_rs_io regex sha2
00:14:29 verbose #10643 > >
00:14:29 verbose #10644 > > inl file_name = "test.txt"
00:14:29 verbose #10645 > > inl text = "\n"
00:14:29 verbose #10646 > >
00:14:29 verbose #10647 > > inl temp_dir, disposable =
00:14:29 verbose #10648 > >     (file_name, text)
00:14:29 verbose #10649 > >     |> sm'.format_debug
00:14:29 verbose #10650 > >     |> crypto.hash_text
00:14:29 verbose #10651 > >     |> file_system.create_temp_dir'
00:14:29 verbose #10652 > > inl path = temp_dir </> file_name
00:14:29 verbose #10653 > > text |> file_system.write_all_text path
00:14:29 verbose #10654 > > path
00:14:29 verbose #10655 > > |> get_file_hash'
00:14:29 verbose #10656 > > |> resultm.get
00:14:29 verbose #10657 > > |> _assert_eq "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
00:14:29 verbose #10658 > > disposable |> use |> ignore
00:14:29 verbose #10659 > 00:14:28   debug #642 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/14c03e68dfaeaac814b7a3e854ca0d75ecd8f5aa55f3c9d53d3787bdc4d643d1/main.spi
00:14:48 verbose #10660 > >
00:14:48 verbose #10661 > > ╭─[ 19.61s - return value ]────────────────────────────────────────────────────╮
00:14:48 verbose #10662 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:14:48 verbose #10663 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_3be54dc5 │
00:14:48 verbose #10664 > > │ 1c5c923f40fd1ce0206270232ee3e06c34bed1804a37fd411b82b65e\ba0aa16a-6c5a-be3f- │
00:14:48 verbose #10665 > > │ b526-70110c680e36 }                                                          │
00:14:48 verbose #10666 > > │ 00:00:00   debug #2 runtime.execute_with_options / { file_name = pwsh; │
00:14:48 verbose #10667 > > │ arguments = [                                                                │
00:14:48 verbose #10668 > > │     "-c",                                                                    │
00:14:48 verbose #10669 > > │     "(Get-FileHash                                                           │
00:14:48 verbose #10670 > > │ 'c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_3be54dc │
00:14:48 verbose #10671 > > │ 51c5c923f40fd1ce0206270232ee3e06c34bed1804a37fd411b82b65e/ba0aa16a-6c5a-be3f │
00:14:48 verbose #10672 > > │ -b526-70110c680e36/test.txt' -Algorithm SHA256).Hash",                       │
00:14:48 verbose #10673 > > │ ]; options = { command = pwsh -c "(Get-FileHash                              │
00:14:48 verbose #10674 > > │ 'c:/Users/i574n/AppData/Local/Temp/!create_temp_path_/spiral_builder_3be54dc │
00:14:48 verbose #10675 > > │ 51c5c923f40fd1ce0206270232ee3e06c34bed1804a37fd411b82b65e/ba0aa16a-6c5a-be3f │
00:14:48 verbose #10676 > > │ -b526-70110c680e36/test.txt' -Algorithm SHA256).Hash"; cancellation_token =  │
00:14:48 verbose #10677 > > │ None; environment_variables = Array(MutCell([])); on_line = None; stdin =    │
00:14:48 verbose #10678 > > │ None; trace = true; working_directory = None } }                             │
00:14:48 verbose #10679 > > │ 00:00:00 verbose #3 >                                                  │
00:14:48 verbose #10680 > > │ 01BA4719C80B6FE911B091A7C05124B64EEECE964E09C058EF8F9805DACA546B             │
00:14:48 verbose #10681 > > │ 00:00:00 verbose #4 runtime.execute_with_options / result / {          │
00:14:48 verbose #10682 > > │ exit_code = 0; std_trace_length = 64 }                                       │
00:14:48 verbose #10683 > > │ __assert_eq / actual:                                                        │
00:14:48 verbose #10684 > > │ "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" /         │
00:14:48 verbose #10685 > > │ expected: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" │
00:14:48 verbose #10686 > > │                                                                              │
00:14:48 verbose #10687 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:48 verbose #10688 > >
00:14:48 verbose #10689 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:48 verbose #10690 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:48 verbose #10691 > > │ ### sha256'                                                                  │
00:14:48 verbose #10692 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:48 verbose #10693 > >
00:14:48 verbose #10694 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:48 verbose #10695 > > nominal sha256' =
00:14:48 verbose #10696 > >     `(
00:14:48 verbose #10697 > >         backend_switch `(()) `({}) {
00:14:48 verbose #10698 > >             Fsharp =
00:14:48 verbose #10699 > >                 (fun () =>
00:14:48 verbose #10700 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:14:48 verbose #10701 > > Fable.Core.Emit(\"sha2::Sha256\")>]]\n#endif\ntype sha2_Sha256 = class end"
00:14:48 verbose #10702 > >                 ) : () -> ()
00:14:48 verbose #10703 > >         }
00:14:48 verbose #10704 > >         $'' : $'sha2_Sha256'
00:14:48 verbose #10705 > >     )
00:14:49 verbose #10706 > 00:14:48   debug #643 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8daa4da9c383c4aa911b595a8f09866ce1cd699bc3dd662a5b22d28ac07aa07b/main.spi
00:14:49 verbose #10707 > >
00:14:49 verbose #10708 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:49 verbose #10709 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:49 verbose #10710 > > │ ### new_sha256                                                               │
00:14:49 verbose #10711 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:49 verbose #10712 > >
00:14:49 verbose #10713 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:49 verbose #10714 > > inl new_sha256 () : sha256' =
00:14:49 verbose #10715 > >     !\($'"let result : sha2::Sha256 = sha2::Digest::new()"')
00:14:49 verbose #10716 > >     !\($'"result"')
00:14:49 verbose #10717 > 00:14:48   debug #644 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/97ec1eada5b2d682630c75ffb88a43cdcafe71ef06841dcd671316d6b4d75d73/main.spi
00:14:49 verbose #10718 > >
00:14:49 verbose #10719 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:49 verbose #10720 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:49 verbose #10721 > > │ ### hasher_update                                                            │
00:14:49 verbose #10722 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:49 verbose #10723 > >
00:14:49 verbose #10724 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:49 verbose #10725 > > inl hasher_update forall el dim. (slice : rust.ref (am'.slice' el dim)) (hasher
00:14:49 verbose #10726 > > : sha256') : () =
00:14:49 verbose #10727 > >     !\($'"sha2::Digest::update(&mut !hasher, !slice)"')
00:14:50 verbose #10728 > 00:14:49   debug #645 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/60f52fb52b296ebbad7ac2f55bfc5a68be9a1ae7bc62e4dd20c0175f4d839892/main.spi
00:14:50 verbose #10729 > >
00:14:50 verbose #10730 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:50 verbose #10731 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:50 verbose #10732 > > │ ### hasher_finalize                                                          │
00:14:50 verbose #10733 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:50 verbose #10734 > >
00:14:50 verbose #10735 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:50 verbose #10736 > > inl hasher_finalize (hasher : sha256') : rust.ref (am'.slice u8) =
00:14:50 verbose #10737 > >     !\($'"&sha2::Digest::finalize(!hasher)"')
00:14:50 verbose #10738 > 00:14:49   debug #646 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/94c6f6e639585c0480468535299224e57cbc9b0a097bd6ac70154a3ef947bca0/main.spi
00:14:50 verbose #10739 > >
00:14:50 verbose #10740 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:50 verbose #10741 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:50 verbose #10742 > > │ ### hash_read                                                                │
00:14:50 verbose #10743 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:50 verbose #10744 > >
00:14:50 verbose #10745 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:50 verbose #10746 > > inl hash_read data : resultm.result' string stream.io_error =
00:14:50 verbose #10747 > >     inl reader = data |> stream.new_buf_reader
00:14:50 verbose #10748 > >     (!\($'"true; let mut !reader = !reader"') : bool) |> ignore
00:14:50 verbose #10749 > >     inl hasher = new_sha256 ()
00:14:50 verbose #10750 > >     (!\($'"true; let mut !hasher = !hasher"') : bool) |> ignore
00:14:50 verbose #10751 > >
00:14:50 verbose #10752 > >     real
00:14:50 verbose #10753 > >         inl size = 1024
00:14:50 verbose #10754 > >         inl zero = convert `i32 `unativeint 0
00:14:50 verbose #10755 > >         inl buffer = am'.new_slice `u8 `@size 0u8
00:14:50 verbose #10756 > >
00:14:50 verbose #10757 > >         rust.loop 2 fun () =>
00:14:50 verbose #10758 > >             inl count = stream.buf_reader_read `u8 `@size buffer reader
00:14:50 verbose #10759 > >             inl count = resultm.unwrap' `unativeint `(stream.io_error) count
00:14:50 verbose #10760 > >
00:14:50 verbose #10761 > >             if (=.) `unativeint count zero then rust.break ()
00:14:50 verbose #10762 > >
00:14:50 verbose #10763 > >             hasher_update `u8 `@size
00:14:50 verbose #10764 > >                 (
00:14:50 verbose #10765 > >                     am'.slice_range `u8 `@size
00:14:50 verbose #10766 > >                         (am'.Start `unativeint zero)
00:14:50 verbose #10767 > >                         (am'.End `unativeint ((fun _ => count) : unativeint ->
00:14:50 verbose #10768 > > unativeint))
00:14:50 verbose #10769 > >                         buffer
00:14:50 verbose #10770 > >                 )
00:14:50 verbose #10771 > >                 hasher
00:14:50 verbose #10772 > >
00:14:50 verbose #10773 > >     hasher
00:14:50 verbose #10774 > >     |> hasher_finalize
00:14:50 verbose #10775 > >     |> am'.slice_to_vec
00:14:50 verbose #10776 > >     |> am'.vec_map (sm'.format_hex' >> sm'.from_std_string)
00:14:50 verbose #10777 > >     |> am'.from_vec
00:14:50 verbose #10778 > >     |> fun x => x : _ i32 _
00:14:50 verbose #10779 > >     |> seq.of_array'
00:14:50 verbose #10780 > >     |> sm'.concat (join "")
00:14:50 verbose #10781 > >     |> Ok
00:14:50 verbose #10782 > >     |> resultm.box
00:14:51 verbose #10783 > 00:14:50   debug #647 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/15733a473241c72d6a89a6a00577737e3796fe23b63803a9f4b40485f2a1c593/main.spi
00:14:51 verbose #10784 > >
00:14:51 verbose #10785 > > ── markdown ────────────────────────────────────────────────────────────────────
00:14:51 verbose #10786 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:51 verbose #10787 > > │ ### get_file_hash                                                            │
00:14:51 verbose #10788 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:51 verbose #10789 > >
00:14:51 verbose #10790 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:51 verbose #10791 > > inl get_file_hash (path : string) =
00:14:51 verbose #10792 > >     inl path = path |> file_system.normalize_path
00:14:51 verbose #10793 > >     inl file = path |> file_system.file_open |> resultm.unwrap'
00:14:51 verbose #10794 > >     inl reader = file |> stream.new_buf_reader
00:14:51 verbose #10795 > >     reader
00:14:51 verbose #10796 > >     |> hash_read
00:14:51 verbose #10797 > 00:14:50   debug #648 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e306f306a2ad6db9a601d1a33f5723bf2c1b401a725dee15c5691e2e65c576d1/main.spi
00:14:51 verbose #10798 > >
00:14:51 verbose #10799 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:51 verbose #10800 > > //// test
00:14:51 verbose #10801 > > ///! rust -d chrono regex sha2
00:14:51 verbose #10802 > >
00:14:51 verbose #10803 > > inl file_name = join "test.txt"
00:14:51 verbose #10804 > > inl text = "\n"
00:14:51 verbose #10805 > >
00:14:51 verbose #10806 > > inl temp_dir, disposable =
00:14:51 verbose #10807 > >     (file_name, text)
00:14:51 verbose #10808 > >     |> sm'.format_debug
00:14:51 verbose #10809 > >     |> crypto.hash_text
00:14:51 verbose #10810 > >     |> file_system.create_temp_dir'
00:14:51 verbose #10811 > >
00:14:51 verbose #10812 > > inl path = temp_dir </> file_name
00:14:51 verbose #10813 > > text |> file_system.write_all_text path
00:14:51 verbose #10814 > >
00:14:51 verbose #10815 > > path
00:14:51 verbose #10816 > > |> get_file_hash
00:14:51 verbose #10817 > > |> resultm.unwrap'
00:14:51 verbose #10818 > > |> _assert_eq "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
00:14:51 verbose #10819 > > disposable |> use |> ignore
00:14:51 verbose #10820 > 00:14:51   debug #649 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/428bc27328d2680862f5767e57fcaab0f6f29dab668532f7053d99f600f00c41/main.spi
00:15:01 verbose #10821 > >
00:15:01 verbose #10822 > > ╭─[ 9.64s - return value ]─────────────────────────────────────────────────────╮
00:15:01 verbose #10823 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:15:01 verbose #10824 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_b44d3599 │
00:15:01 verbose #10825 > > │ f407f9f07f68e829c649cac65dec20f36e57123a73d4a3447f040cd8\ba0aa16a-6c5a-be3f- │
00:15:01 verbose #10826 > > │ b526-70110c680e36 }                                                          │
00:15:01 verbose #10827 > > │ __assert_eq / actual:                                                        │
00:15:01 verbose #10828 > > │ "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" /         │
00:15:01 verbose #10829 > > │ expected: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" │
00:15:01 verbose #10830 > > │                                                                              │
00:15:01 verbose #10831 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:01 verbose #10832 > >
00:15:01 verbose #10833 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:01 verbose #10834 > > //// test
00:15:01 verbose #10835 > > ///! rust -d chrono regex sha2
00:15:01 verbose #10836 > >
00:15:01 verbose #10837 > > inl file_name = join "test.txt"
00:15:01 verbose #10838 > > inl text = ""
00:15:01 verbose #10839 > >
00:15:01 verbose #10840 > > inl temp_dir, disposable =
00:15:01 verbose #10841 > >     (file_name, text)
00:15:01 verbose #10842 > >     |> sm'.format_debug
00:15:01 verbose #10843 > >     |> crypto.hash_text
00:15:01 verbose #10844 > >     |> file_system.create_temp_dir'
00:15:01 verbose #10845 > >
00:15:01 verbose #10846 > > inl path = temp_dir </> file_name
00:15:01 verbose #10847 > > text |> file_system.write_all_text path
00:15:01 verbose #10848 > > path
00:15:01 verbose #10849 > > |> get_file_hash
00:15:01 verbose #10850 > > |> resultm.unwrap'
00:15:01 verbose #10851 > > |> _assert_eq "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
00:15:01 verbose #10852 > > disposable |> use |> ignore
00:15:01 verbose #10853 > 00:15:00   debug #650 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3025ed6fa44729843e0d4626fa7e7ebd48247d289d5af6171dd96679d8827e36/main.spi
00:15:12 verbose #10854 > >
00:15:12 verbose #10855 > > ╭─[ 11.44s - return value ]────────────────────────────────────────────────────╮
00:15:12 verbose #10856 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:15:12 verbose #10857 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_a93e4b00 │
00:15:12 verbose #10858 > > │ 490ef7ea4f097b75c6738743299cd5b8b99bcee0caf6e9d8132b44cb\c0e26dac-4cb1-4b09- │
00:15:12 verbose #10859 > > │ be07-ff616700f056 }                                                          │
00:15:12 verbose #10860 > > │ __assert_eq / actual:                                                        │
00:15:12 verbose #10861 > > │ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" /         │
00:15:12 verbose #10862 > > │ expected: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" │
00:15:12 verbose #10863 > > │                                                                              │
00:15:12 verbose #10864 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:12 verbose #10865 > >
00:15:12 verbose #10866 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:12 verbose #10867 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:12 verbose #10868 > > │ ## typescript                                                                │
00:15:12 verbose #10869 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:12 verbose #10870 > >
00:15:12 verbose #10871 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:12 verbose #10872 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:12 verbose #10873 > > │ ### create_hash                                                              │
00:15:12 verbose #10874 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:12 verbose #10875 > >
00:15:12 verbose #10876 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:12 verbose #10877 > > inl create_hash (x : string) : any =
00:15:12 verbose #10878 > >     open typescript_operators
00:15:12 verbose #10879 > >     global "type ICryptoCreateHash = abstract createHash: x: string -> obj"
00:15:12 verbose #10880 > >     inl crypto : $'ICryptoCreateHash' = typescript.import_all "crypto"
00:15:12 verbose #10881 > >     !\\(x, $'"!crypto.createHash($0)"')
00:15:13 verbose #10882 > 00:15:12   debug #651 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2297eaefd07c61a47592dad92a503a84b44961f021ba08af31e81e9dfafc41fb/main.spi
00:15:13 verbose #10883 > >
00:15:13 verbose #10884 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:13 verbose #10885 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:13 verbose #10886 > > │ ### hash_update                                                              │
00:15:13 verbose #10887 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:13 verbose #10888 > >
00:15:13 verbose #10889 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:13 verbose #10890 > > inl hash_update (s : string) (x : any) : any =
00:15:13 verbose #10891 > >     open typescript_operators
00:15:13 verbose #10892 > >     !\\((x, s), $'"$0.update($1, \'utf8\')"')
00:15:13 verbose #10893 > 00:15:12   debug #652 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7c4767476e705712ce53382a33708ba0eae7df97de2e670c5b268c14ae8900c9/main.spi
00:15:14 verbose #10894 > >
00:15:14 verbose #10895 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:14 verbose #10896 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:14 verbose #10897 > > │ ### hash_digest                                                              │
00:15:14 verbose #10898 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:14 verbose #10899 > >
00:15:14 verbose #10900 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:14 verbose #10901 > > inl hash_digest (s : string) (x : any) : string =
00:15:14 verbose #10902 > >     open typescript_operators
00:15:14 verbose #10903 > >     !\\((x, s), $'"$0.digest($1)"')
00:15:14 verbose #10904 > 00:15:13   debug #653 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1e54bab2bbad50146d4819a221044d4437769c30edfa93bf0be2c8bf17afceb6/main.spi
00:15:14 verbose #10905 > >
00:15:14 verbose #10906 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:14 verbose #10907 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:14 verbose #10908 > > │ ## python                                                                    │
00:15:14 verbose #10909 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:14 verbose #10910 > >
00:15:14 verbose #10911 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:14 verbose #10912 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:14 verbose #10913 > > │ ### py_sha256                                                                │
00:15:14 verbose #10914 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:14 verbose #10915 > >
00:15:14 verbose #10916 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:14 verbose #10917 > > nominal py_sha256 = any
00:15:14 verbose #10918 > 00:15:13   debug #654 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/271160025d902ad9cb321a45f0655a6fc7b7337a9c2b54fb6d932ad4d4d85e79/main.spi
00:15:15 verbose #10919 > >
00:15:15 verbose #10920 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:15 verbose #10921 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:15 verbose #10922 > > │ ### hashlib_sha256                                                           │
00:15:15 verbose #10923 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:15 verbose #10924 > >
00:15:15 verbose #10925 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:15 verbose #10926 > > inl hashlib_sha256 () : py_sha256 =
00:15:15 verbose #10927 > >     backend_switch {
00:15:15 verbose #10928 > >         Fsharp = fun () =>
00:15:15 verbose #10929 > >             open python_operators
00:15:15 verbose #10930 > >             global "type IHashlibSha256 = abstract sha256: x: unit -> obj"
00:15:15 verbose #10931 > >             inl hashlib : $'IHashlibSha256' = python.import_all "hashlib"
00:15:15 verbose #10932 > >             !\($'"!hashlib.sha256()"') : py_sha256
00:15:15 verbose #10933 > >         Python = fun () =>
00:15:15 verbose #10934 > >             global "import hashlib"
00:15:15 verbose #10935 > >             $'hashlib.sha256()' : py_sha256
00:15:15 verbose #10936 > >     }
00:15:15 verbose #10937 > 00:15:14   debug #655 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/843ddf02e948b16f7b7c21c1bda533bd93fa69cef991abfa0193d9c46ac7c669/main.spi
00:15:15 verbose #10938 > >
00:15:15 verbose #10939 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:15 verbose #10940 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:15 verbose #10941 > > │ ### sha256_update                                                            │
00:15:15 verbose #10942 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:15 verbose #10943 > >
00:15:15 verbose #10944 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:15 verbose #10945 > > inl sha256_update (x : string) (sha256 : py_sha256) : py_sha256 =
00:15:15 verbose #10946 > >     backend_switch {
00:15:15 verbose #10947 > >         Fsharp = fun () =>
00:15:15 verbose #10948 > >             open python_operators
00:15:15 verbose #10949 > >             !\\(x, $'"!sha256.update($0)"') : ()
00:15:15 verbose #10950 > >         Python = fun () =>
00:15:15 verbose #10951 > >             $'!sha256.update(!x)' : ()
00:15:15 verbose #10952 > >     }
00:15:15 verbose #10953 > >     sha256
00:15:15 verbose #10954 > 00:15:14   debug #656 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7bc9867a7d1dfd7e295d504e99205c0cfe1e94cd93f6b6d9ed366169e2793739/main.spi
00:15:16 verbose #10955 > >
00:15:16 verbose #10956 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:16 verbose #10957 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:16 verbose #10958 > > │ ### sha256_hexdigest                                                         │
00:15:16 verbose #10959 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:16 verbose #10960 > >
00:15:16 verbose #10961 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:16 verbose #10962 > > inl sha256_hexdigest (sha256 : py_sha256) : string =
00:15:16 verbose #10963 > >     backend_switch {
00:15:16 verbose #10964 > >         Fsharp = fun () =>
00:15:16 verbose #10965 > >             open python_operators
00:15:16 verbose #10966 > >             !\($'"!sha256.hexdigest()"') : string
00:15:16 verbose #10967 > >         Python = fun () =>
00:15:16 verbose #10968 > >             $'!sha256.hexdigest()' : string
00:15:16 verbose #10969 > >     }
00:15:16 verbose #10970 > 00:15:15   debug #657 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8de1c244b284936313d6b867f58196f914626dba2defa35dae7045bb9a3c12b7/main.spi
00:15:16 verbose #10971 > >
00:15:16 verbose #10972 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:16 verbose #10973 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:16 verbose #10974 > > │ ## crypto                                                                    │
00:15:16 verbose #10975 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:16 verbose #10976 > >
00:15:16 verbose #10977 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:16 verbose #10978 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:16 verbose #10979 > > │ ### hash_text                                                                │
00:15:16 verbose #10980 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:16 verbose #10981 > >
00:15:16 verbose #10982 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:16 verbose #10983 > > let hash_text (~input : string) =
00:15:16 verbose #10984 > >     run_target function
00:15:16 verbose #10985 > >         | Fsharp (Native) => fun () =>
00:15:16 verbose #10986 > >             inl sha256 = sha256 () |> use
00:15:16 verbose #10987 > >             input
00:15:16 verbose #10988 > >             |> sm'.utf8_get_bytes
00:15:16 verbose #10989 > >             |> sha256_compute_hash sha256
00:15:16 verbose #10990 > >             |> am.map (sm'.byte_to_string "x2")
00:15:16 verbose #10991 > >             |> seq.of_array'
00:15:16 verbose #10992 > >             |> sm'.concat (join "")
00:15:16 verbose #10993 > >         | TypeScript (Native) => fun () =>
00:15:16 verbose #10994 > >             create_hash "sha256"
00:15:16 verbose #10995 > >             |> hash_update input
00:15:16 verbose #10996 > >             |> hash_digest "hex"
00:15:16 verbose #10997 > >         | Rust (Native) => fun () =>
00:15:16 verbose #10998 > >             input
00:15:16 verbose #10999 > >             |> sm'.utf8_get_bytes
00:15:16 verbose #11000 > >             |> fun (a x) => x
00:15:16 verbose #11001 > >             |> am'.to_vec
00:15:16 verbose #11002 > >             |> stream.new_cursor
00:15:16 verbose #11003 > >             |> hash_read
00:15:16 verbose #11004 > >             |> resultm.unwrap'
00:15:16 verbose #11005 > >         | Python (Native) | Cuda (Native) => fun () =>
00:15:16 verbose #11006 > >             hashlib_sha256 ()
00:15:16 verbose #11007 > >             |> sha256_update (input |> sm'.encode_utf8)
00:15:16 verbose #11008 > >             |> sha256_hexdigest
00:15:16 verbose #11009 > >         | _ => fun () => null ()
00:15:17 verbose #11010 > 00:15:16   debug #658 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/294ad3f7cfa07e10bd7b4dc7c57bad15d590f1d358d1b7c4543d3b590a082268/main.spi
00:15:17 verbose #11011 > >
00:15:17 verbose #11012 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:17 verbose #11013 > > //// test
00:15:17 verbose #11014 > > ///! fsharp
00:15:17 verbose #11015 > > ///! cuda
00:15:17 verbose #11016 > > ///! rust -d sha2
00:15:17 verbose #11017 > > ///! typescript
00:15:17 verbose #11018 > > ///! python
00:15:17 verbose #11019 > >
00:15:17 verbose #11020 > > "\n"
00:15:17 verbose #11021 > > |> hash_text
00:15:17 verbose #11022 > > |> _assert_eq "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
00:15:17 verbose #11023 > >
00:15:17 verbose #11024 > > ""
00:15:17 verbose #11025 > > |> hash_text
00:15:17 verbose #11026 > > |> _assert_eq "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
00:15:17 verbose #11027 > 00:15:16   debug #659 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/93830f46e64cebafdacbcfdf0b3a4e07d2f56d54e3431a4c95ae945d8386a2de/main.spi
00:15:17 verbose #11028 > 00:15:16   debug #660 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2106d3bc649161e31425b4ce065d97eaf8fb4d8844942da5b0a2a76e72e1c665/main.spi
00:15:29 verbose #11029 > >
00:15:29 verbose #11030 > > ╭─[ 11.76s - return value ]────────────────────────────────────────────────────╮
00:15:29 verbose #11031 > > │                                                                              │
00:15:29 verbose #11032 > > │ .py output (Cuda):                                                           │
00:15:29 verbose #11033 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11034 > > │ 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b / expected: │
00:15:29 verbose #11035 > > │ 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b             │
00:15:29 verbose #11036 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11037 > > │ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 / expected: │
00:15:29 verbose #11038 > > │ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855             │
00:15:29 verbose #11039 > > │                                                                              │
00:15:29 verbose #11040 > > │                                                                              │
00:15:29 verbose #11041 > > │ .rs output (rust -d sha2):                                                   │
00:15:29 verbose #11042 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11043 > > │ "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" /         │
00:15:29 verbose #11044 > > │ expected: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" │
00:15:29 verbose #11045 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11046 > > │ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" /         │
00:15:29 verbose #11047 > > │ expected: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" │
00:15:29 verbose #11048 > > │                                                                              │
00:15:29 verbose #11049 > > │                                                                              │
00:15:29 verbose #11050 > > │ .ts output:                                                                  │
00:15:29 verbose #11051 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11052 > > │ 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b / expected: │
00:15:29 verbose #11053 > > │ 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b             │
00:15:29 verbose #11054 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11055 > > │ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 / expected: │
00:15:29 verbose #11056 > > │ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855             │
00:15:29 verbose #11057 > > │                                                                              │
00:15:29 verbose #11058 > > │                                                                              │
00:15:29 verbose #11059 > > │ .py output:                                                                  │
00:15:29 verbose #11060 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11061 > > │ 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b / expected: │
00:15:29 verbose #11062 > > │ 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b             │
00:15:29 verbose #11063 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11064 > > │ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 / expected: │
00:15:29 verbose #11065 > > │ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855             │
00:15:29 verbose #11066 > > │                                                                              │
00:15:29 verbose #11067 > > │                                                                              │
00:15:29 verbose #11068 > > │                                                                              │
00:15:29 verbose #11069 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:29 verbose #11070 > >
00:15:29 verbose #11071 > > ╭─[ 11.77s - stdout ]──────────────────────────────────────────────────────────╮
00:15:29 verbose #11072 > > │ .fsx output:                                                                 │
00:15:29 verbose #11073 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11074 > > │ "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" /         │
00:15:29 verbose #11075 > > │ expected: "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b" │
00:15:29 verbose #11076 > > │ __assert_eq / actual:                                                        │
00:15:29 verbose #11077 > > │ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" /         │
00:15:29 verbose #11078 > > │ expected: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" │
00:15:29 verbose #11079 > > │                                                                              │
00:15:29 verbose #11080 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:29 verbose #11081 > >
00:15:29 verbose #11082 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:29 verbose #11083 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:29 verbose #11084 > > │ ### hash_to_port                                                             │
00:15:29 verbose #11085 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:29 verbose #11086 > >
00:15:29 verbose #11087 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:29 verbose #11088 > > inl hash_to_port (text : string) : u16 =
00:15:29 verbose #11089 > >     inl first_letter_code = text |> sm'.index 0i32 |> i32
00:15:29 verbose #11090 > >     inl hash_part = text |> sm'.slice 0i32 7
00:15:29 verbose #11091 > >     inl combined_value = convert_i32_base 16 hash_part + first_letter_code |>
00:15:29 verbose #11092 > > u16
00:15:29 verbose #11093 > >     trace Verbose
00:15:29 verbose #11094 > >         fun () => "crypto.hash_to_port"
00:15:29 verbose #11095 > >         fun () => { first_letter_code hash_part combined_value }
00:15:29 verbose #11096 > >     combined_value % 48128 + 1024
00:15:29 verbose #11097 > 00:15:28   debug #661 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/884da5f759d6752e19a695075457dd00697137b57e80049cc7b37b9e982f4c3d/main.spi
00:15:29 verbose #11098 > >
00:15:29 verbose #11099 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:29 verbose #11100 > > //// test
00:15:29 verbose #11101 > > ///! fsharp
00:15:29 verbose #11102 > > ////! cuda // Only stack allocated primitive types (i8,i16,i32,i64 and
00:15:29 verbose #11103 > > u8,u16,u32,u64 and f32,f64 and bool) are allowed in CuPy arrays.
00:15:29 verbose #11104 > > ///! rust -d sha2
00:15:29 verbose #11105 > > ///! typescript
00:15:29 verbose #11106 > > ///! python
00:15:29 verbose #11107 > >
00:15:29 verbose #11108 > > "\n"
00:15:29 verbose #11109 > > |> hash_text
00:15:29 verbose #11110 > > |> hash_to_port
00:15:29 verbose #11111 > > |> _assert_eq 19273
00:15:30 verbose #11112 > 00:15:29   debug #662 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/592d01049ded55f7047f6e987599996f66b4352bc6e7ea4f13d6b9ec8add4d17/main.spi
00:15:39 verbose #11113 > >
00:15:39 verbose #11114 > > ╭─[ 9.83s - return value ]─────────────────────────────────────────────────────╮
00:15:39 verbose #11115 > > │                                                                              │
00:15:39 verbose #11116 > > │ .rs output (rust -d sha2):                                                   │
00:15:39 verbose #11117 > > │ 00:00:00 verbose #1 crypto.hash_to_port / { first_letter_code = 48;    │
00:15:39 verbose #11118 > > │ hash_part = 01ba4719; combined_value = 18249 }                               │
00:15:39 verbose #11119 > > │ __assert_eq / actual: 19273 / expected: 19273                                │
00:15:39 verbose #11120 > > │                                                                              │
00:15:39 verbose #11121 > > │                                                                              │
00:15:39 verbose #11122 > > │ .ts output:                                                                  │
00:15:39 verbose #11123 > > │ 00:00:00 verbose #1 crypto.hash_to_port / { first_letter_code = 48;     │
00:15:39 verbose #11124 > > │ hash_part = 01ba4719; combined_value = 18249 }                               │
00:15:39 verbose #11125 > > │ __assert_eq / actual: 19273 / expected: 19273                                │
00:15:39 verbose #11126 > > │                                                                              │
00:15:39 verbose #11127 > > │                                                                              │
00:15:39 verbose #11128 > > │ .py output:                                                                  │
00:15:39 verbose #11129 > > │ 00:00:00 verbose #1 crypto.hash_to_port / { first_letter_code = 48;     │
00:15:39 verbose #11130 > > │ hash_part = 01ba4719; combined_value = 18249 }                               │
00:15:39 verbose #11131 > > │ __assert_eq / actual: 19273 / expected: 19273                                │
00:15:39 verbose #11132 > > │                                                                              │
00:15:39 verbose #11133 > > │                                                                              │
00:15:39 verbose #11134 > > │                                                                              │
00:15:39 verbose #11135 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:39 verbose #11136 > >
00:15:39 verbose #11137 > > ╭─[ 9.83s - stdout ]───────────────────────────────────────────────────────────╮
00:15:39 verbose #11138 > > │ .fsx output:                                                                 │
00:15:39 verbose #11139 > > │ 00:00:00 verbose #1 crypto.hash_to_port / { first_letter_code = 48;     │
00:15:39 verbose #11140 > > │ hash_part = 01ba4719; combined_value = 18249 }                               │
00:15:39 verbose #11141 > > │ __assert_eq / actual: 19273us / expected: 19273us                            │
00:15:39 verbose #11142 > > │                                                                              │
00:15:39 verbose #11143 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:39 verbose #11144 > >
00:15:39 verbose #11145 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:39 verbose #11146 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:39 verbose #11147 > > │ ## main                                                                      │
00:15:39 verbose #11148 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:39 verbose #11149 > >
00:15:39 verbose #11150 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:39 verbose #11151 > > inl main () =
00:15:39 verbose #11152 > >     $'let hash_text x = !hash_text x' : ()
00:15:39 verbose #11153 > >     $'let hash_to_port x = !hash_to_port x' : ()
00:15:39 verbose #11154 > 00:15:38   debug #663 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5ef66e9e253f923518cfd3ef2c122a0f3e3b155429a400c7e513743ebe6644cc/main.spi
00:15:41 verbose #11155 > 00:01:44 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 29996 }
00:15:41 verbose #11156 > 00:01:44   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:15:41 verbose #11157 >     "nbconvert",
00:15:41 verbose #11158 >     "c:/home/git/polyglot/lib/spiral/crypto.dib.ipynb",
00:15:41 verbose #11159 >     "--to",
00:15:41 verbose #11160 >     "html",
00:15:41 verbose #11161 >     "--HTMLExporter.theme=dark",
00:15:41 verbose #11162 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/crypto.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:15:44 verbose #11163 > 00:01:47 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/crypto.dib.ipynb to html
00:15:44 verbose #11164 > 00:01:47 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:15:44 verbose #11165 > 00:01:47 verbose #7 !   validate(nb)
00:15:47 verbose #11166 > 00:01:50 verbose #8 ! [NbConvertApp] Writing 341022 bytes to c:\home\git\polyglot\lib\spiral\crypto.dib.html
00:15:47 verbose #11167 > 00:01:50 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 643 }
00:15:47 verbose #11168 > 00:01:50   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 643 }
00:15:47 verbose #11169 > 00:01:50   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:15:47 verbose #11170 >     "-c",
00:15:47 verbose #11171 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/crypto.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:15:47 verbose #11172 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/crypto.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:15:49 verbose #11173 > 00:01:52 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:15:49 verbose #11174 > 00:01:52   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:15:50 verbose #11175 > 00:01:53   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 30698 }
00:15:50   debug #11176 runtime.execute_with_options_async / { exit_code = 0; output_length = 34562 }
00:15:50   debug #15 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path crypto.dib --retries 3
00:15:50   debug #11177 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path common.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:15:50 verbose #11178 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "common.dib", "--retries", "3"])) }
00:15:50 verbose #11179 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:15:50 verbose #11180 >     "repl",
00:15:50 verbose #11181 >     "--exit-after-run",
00:15:50 verbose #11182 >     "--run",
00:15:50 verbose #11183 >     "c:/home/git/polyglot/lib/spiral/common.dib",
00:15:50 verbose #11184 >     "--output-path",
00:15:50 verbose #11185 >     "c:/home/git/polyglot/lib/spiral/common.dib.ipynb",
00:15:50 verbose #11186 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/common.dib" --output-path "c:/home/git/polyglot/lib/spiral/common.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:15:53 verbose #11187 > >
00:15:53 verbose #11188 > > ── markdown ────────────────────────────────────────────────────────────────────
00:15:53 verbose #11189 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:53 verbose #11190 > > │ # common                                                                     │
00:15:53 verbose #11191 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:00 verbose #11192 > >
00:16:00 verbose #11193 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:00 verbose #11194 > > //// test
00:16:00 verbose #11195 > >
00:16:00 verbose #11196 > > open testing
00:16:01 verbose #11197 > 00:16:00   debug #664 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:16:01 verbose #11198 > >
00:16:01 verbose #11199 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:01 verbose #11200 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:01 verbose #11201 > > │ ## common                                                                    │
00:16:01 verbose #11202 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:01 verbose #11203 > >
00:16:01 verbose #11204 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:01 verbose #11205 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:01 verbose #11206 > > │ ### (:>)                                                                     │
00:16:01 verbose #11207 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:01 verbose #11208 > >
00:16:01 verbose #11209 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:01 verbose #11210 > > prototype (~:>) r : forall t. t -> r
00:16:02 verbose #11211 > 00:16:01   debug #665 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/485c3b839be7453998be3029b640e2cbf18f572f374cd710b6eead3ef824b3c9/main.spi
00:16:02 verbose #11212 > >
00:16:02 verbose #11213 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:02 verbose #11214 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:02 verbose #11215 > > │ ### to_any                                                                   │
00:16:02 verbose #11216 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:02 verbose #11217 > >
00:16:02 verbose #11218 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:02 verbose #11219 > > inl to_any forall t. (obj : t) : any =
00:16:02 verbose #11220 > >     $'!obj '
00:16:02 verbose #11221 > >
00:16:02 verbose #11222 > > instance (~:>) any = to_any
00:16:02 verbose #11223 > 00:16:01   debug #666 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/999fdbe1e6fd8ac2fd4a1053262e2365481b38f24c2b94592e87a9d5c638b759/main.spi
00:16:03 verbose #11224 > >
00:16:03 verbose #11225 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:03 verbose #11226 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:03 verbose #11227 > > │ ### (||>)                                                                    │
00:16:03 verbose #11228 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:03 verbose #11229 > >
00:16:03 verbose #11230 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:03 verbose #11231 > > //// test
00:16:03 verbose #11232 > > ///! fsharp
00:16:03 verbose #11233 > > ///! cuda
00:16:03 verbose #11234 > > ///! rust
00:16:03 verbose #11235 > > ///! typescript
00:16:03 verbose #11236 > > ///! python
00:16:03 verbose #11237 > >
00:16:03 verbose #11238 > > (3i32, 2i32)
00:16:03 verbose #11239 > > ||> fun a b => a - b
00:16:03 verbose #11240 > > |> _assert_eq 1
00:16:03 verbose #11241 > 00:16:02   debug #667 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6e5328645466046bb167e72c59272bb9418fcc62482deeaf9242fd50b88af353/main.spi
00:16:03 verbose #11242 > 00:16:02   debug #668 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dd15b576f5b655c9d65b55a74fee7c4d7f14d92fac83e4e835a81157fc278d70/main.spi
00:16:13 verbose #11243 > >
00:16:13 verbose #11244 > > ╭─[ 10.52s - return value ]────────────────────────────────────────────────────╮
00:16:13 verbose #11245 > > │ .py output (Cuda):                                                           │
00:16:13 verbose #11246 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:16:13 verbose #11247 > > │                                                                              │
00:16:13 verbose #11248 > > │ .rs output:                                                                  │
00:16:13 verbose #11249 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:16:13 verbose #11250 > > │                                                                              │
00:16:13 verbose #11251 > > │ .ts output:                                                                  │
00:16:13 verbose #11252 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:16:13 verbose #11253 > > │                                                                              │
00:16:13 verbose #11254 > > │ .py output:                                                                  │
00:16:13 verbose #11255 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:16:13 verbose #11256 > > │                                                                              │
00:16:13 verbose #11257 > > │                                                                              │
00:16:13 verbose #11258 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:13 verbose #11259 > >
00:16:13 verbose #11260 > > ╭─[ 10.53s - stdout ]──────────────────────────────────────────────────────────╮
00:16:13 verbose #11261 > > │ .fsx output:                                                                 │
00:16:13 verbose #11262 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:16:13 verbose #11263 > > │                                                                              │
00:16:13 verbose #11264 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:13 verbose #11265 > >
00:16:13 verbose #11266 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:13 verbose #11267 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:13 verbose #11268 > > │ ### flip                                                                     │
00:16:13 verbose #11269 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:13 verbose #11270 > >
00:16:13 verbose #11271 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:13 verbose #11272 > > inl flip fn a b =
00:16:13 verbose #11273 > >     fn b a
00:16:13 verbose #11274 > 00:16:12   debug #669 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f6606cc765abb9676ae88ffa81052c86d6e8478eefab56262b8820e2c6d633d0/main.spi
00:16:14 verbose #11275 > >
00:16:14 verbose #11276 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:14 verbose #11277 > > //// test
00:16:14 verbose #11278 > > ///! fsharp
00:16:14 verbose #11279 > > ///! cuda
00:16:14 verbose #11280 > > ///! rust
00:16:14 verbose #11281 > > ///! typescript
00:16:14 verbose #11282 > > ///! python
00:16:14 verbose #11283 > >
00:16:14 verbose #11284 > > (1i32, 2i32)
00:16:14 verbose #11285 > > ||> flip pair
00:16:14 verbose #11286 > > |> _assert_eq (2, 1)
00:16:14 verbose #11287 > 00:16:13   debug #670 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e0c23a859c70f290b4cb12206ccf0532abdf6c6cdc597c4206bb4a93afff90eb/main.spi
00:16:14 verbose #11288 > 00:16:13   debug #671 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/90fc36f41e64468572a728d793796180ea6fe2e1688b7f6c7dee930bffceb10e/main.spi
00:16:22 verbose #11289 > >
00:16:22 verbose #11290 > > ╭─[ 8.40s - return value ]─────────────────────────────────────────────────────╮
00:16:22 verbose #11291 > > │ .py output (Cuda):                                                           │
00:16:22 verbose #11292 > > │ __assert_eq / actual: (2, 1) / expected: (2, 1)                              │
00:16:22 verbose #11293 > > │                                                                              │
00:16:22 verbose #11294 > > │ .rs output:                                                                  │
00:16:22 verbose #11295 > > │ __assert_eq / actual: (2, 1) / expected: (2, 1)                              │
00:16:22 verbose #11296 > > │                                                                              │
00:16:22 verbose #11297 > > │ .ts output:                                                                  │
00:16:22 verbose #11298 > > │ __assert_eq / actual: 2,1 / expected: 2,1                                    │
00:16:22 verbose #11299 > > │                                                                              │
00:16:22 verbose #11300 > > │ .py output:                                                                  │
00:16:22 verbose #11301 > > │ __assert_eq / actual: (2, 1) / expected: (2, 1)                              │
00:16:22 verbose #11302 > > │                                                                              │
00:16:22 verbose #11303 > > │                                                                              │
00:16:22 verbose #11304 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:22 verbose #11305 > >
00:16:22 verbose #11306 > > ╭─[ 8.40s - stdout ]───────────────────────────────────────────────────────────╮
00:16:22 verbose #11307 > > │ .fsx output:                                                                 │
00:16:22 verbose #11308 > > │ __assert_eq / actual: struct (2, 1) / expected: struct (2, 1)                │
00:16:22 verbose #11309 > > │                                                                              │
00:16:22 verbose #11310 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:22 verbose #11311 > >
00:16:22 verbose #11312 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:22 verbose #11313 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:22 verbose #11314 > > │ ### join_body                                                                │
00:16:22 verbose #11315 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:22 verbose #11316 > >
00:16:22 verbose #11317 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:22 verbose #11318 > > inl join_body body acc x =
00:16:22 verbose #11319 > >     if var_is x |> not
00:16:22 verbose #11320 > >     then body acc x
00:16:22 verbose #11321 > >     else
00:16:22 verbose #11322 > >         inl acc = dyn acc
00:16:22 verbose #11323 > >         join body acc x
00:16:22 verbose #11324 > 00:16:21   debug #672 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd8a18e11de8f5a360338827472f5fba8bbcf1dfbd15f4fd4b369262477e18ea/main.spi
00:16:23 verbose #11325 > >
00:16:23 verbose #11326 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:23 verbose #11327 > > //// test
00:16:23 verbose #11328 > >
00:16:23 verbose #11329 > > inl rec fold_list f s = function
00:16:23 verbose #11330 > >     | Cons (x, x') => fold_list f (f s x) x'
00:16:23 verbose #11331 > >     | Nil => s
00:16:23 verbose #11332 > 00:16:22   debug #673 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cef1e8df0710981f51ac9c7d3fe4f814ff770789e9251b942881ff83670831e9/main.spi
00:16:23 verbose #11333 > >
00:16:23 verbose #11334 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:23 verbose #11335 > > //// test
00:16:23 verbose #11336 > > ///! fsharp
00:16:23 verbose #11337 > > ///! cuda
00:16:23 verbose #11338 > > ///! rust
00:16:23 verbose #11339 > > ///! typescript
00:16:23 verbose #11340 > > ///! python
00:16:23 verbose #11341 > > //// print_code=true
00:16:23 verbose #11342 > >
00:16:23 verbose #11343 > > [[ 5i32; 4; join 3; 2; 1 ]]
00:16:23 verbose #11344 > > |> fold_list (+) 0
00:16:23 verbose #11345 > > |> _assert_eq 15
00:16:23 verbose #11346 > 00:16:22   debug #674 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7320be57e43129587415aec54a480c6af6cf50b163339fb451812bb42d8509ae/main.spi
00:16:23 verbose #11347 > 00:16:22   debug #675 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e587e50d304e9e5124f073902fd8e3513440eb0c6cc7c5b7fa479d8df447b260/main.spi
00:16:31 verbose #11348 > >
00:16:31 verbose #11349 > > ╭─[ 8.45s - return value ]─────────────────────────────────────────────────────╮
00:16:31 verbose #11350 > > │ .py output (Cuda):                                                           │
00:16:31 verbose #11351 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:31 verbose #11352 > > │                                                                              │
00:16:31 verbose #11353 > > │ .rs output:                                                                  │
00:16:31 verbose #11354 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:31 verbose #11355 > > │                                                                              │
00:16:31 verbose #11356 > > │ .ts output:                                                                  │
00:16:31 verbose #11357 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:31 verbose #11358 > > │                                                                              │
00:16:31 verbose #11359 > > │ .py output:                                                                  │
00:16:31 verbose #11360 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:31 verbose #11361 > > │                                                                              │
00:16:31 verbose #11362 > > │                                                                              │
00:16:31 verbose #11363 > > │                                                                              │
00:16:31 verbose #11364 > > │                                                                              │
00:16:31 verbose #11365 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:31 verbose #11366 > >
00:16:31 verbose #11367 > > ╭─[ 8.45s - stdout ]───────────────────────────────────────────────────────────╮
00:16:31 verbose #11368 > > │ .fsx:                                                                        │
00:16:31 verbose #11369 > > │ let rec method1 () : int32 =                                                 │
00:16:31 verbose #11370 > > │     3                                                                        │
00:16:31 verbose #11371 > > │ and method2 (v0 : bool) : bool =                                             │
00:16:31 verbose #11372 > > │     v0                                                                       │
00:16:31 verbose #11373 > > │ and closure0 (v0 : string) () : unit =                                       │
00:16:31 verbose #11374 > > │     let v1 : (string -> unit) = System.Console.WriteLine                     │
00:16:31 verbose #11375 > > │     v1 v0                                                                    │
00:16:31 verbose #11376 > > │ and method0 () : unit =                                                      │
00:16:31 verbose #11377 > > │     let v0 : int32 = method1()                                               │
00:16:31 verbose #11378 > > │     let v1 : int32 = 9 + v0                                                  │
00:16:31 verbose #11379 > > │     let v2 : int32 = v1 + 2                                                  │
00:16:31 verbose #11380 > > │     let v3 : int32 = v2 + 1                                                  │
00:16:31 verbose #11381 > > │     let v4 : bool = v3 = 15                                                  │
00:16:31 verbose #11382 > > │     let v6 : bool =                                                          │
00:16:31 verbose #11383 > > │         if v4 then                                                           │
00:16:31 verbose #11384 > > │             true                                                             │
00:16:31 verbose #11385 > > │         else                                                                 │
00:16:31 verbose #11386 > > │             method2(v4)                                                      │
00:16:31 verbose #11387 > > │     let v7 : string = "__assert_eq"                                          │
00:16:31 verbose #11388 > > │     let v8 : string = $"{v7} / actual: %A{v3} / expected: %A{15}"            │
00:16:31 verbose #11389 > > │     let v11 : unit = ()                                                      │
00:16:31 verbose #11390 > > │     let v12 : (unit -> unit) = closure0(v8)                                  │
00:16:32 verbose #11391 > > │     let v13 : unit = (fun () -> v12 (); v11) ()                              │
00:16:32 verbose #11392 > > │     let v15 : bool = v6 = false                                              │
00:16:32 verbose #11393 > > │     if v15 then                                                              │
00:16:32 verbose #11394 > > │         failwith<unit> v8                                                    │
00:16:32 verbose #11395 > > │ method0()                                                                    │
00:16:32 verbose #11396 > > │                                                                              │
00:16:32 verbose #11397 > > │                                                                              │
00:16:32 verbose #11398 > > │ .rs:                                                                         │
00:16:32 verbose #11399 > > │ #![allow(dead_code)]                                                         │
00:16:32 verbose #11400 > > │ #![allow(non_camel_case_types)]                                              │
00:16:32 verbose #11401 > > │ #![allow(non_snake_case)]                                                    │
00:16:32 verbose #11402 > > │ #![allow(non_upper_case_globals)]                                            │
00:16:32 verbose #11403 > > │ #![allow(unreachable_code)]                                                  │
00:16:32 verbose #11404 > > │ #![allow(unused_attributes)]                                                 │
00:16:32 verbose #11405 > > │ #![allow(unused_imports)]                                                    │
00:16:32 verbose #11406 > > │ #![allow(unused_macros)]                                                     │
00:16:32 verbose #11407 > > │ #![allow(unused_parens)]                                                     │
00:16:32 verbose #11408 > > │ #![allow(unused_variables)]                                                  │
00:16:32 verbose #11409 > > │ mod module_b5c8272c {                                                        │
00:16:32 verbose #11410 > > │     pub mod Spiral_builder {                                                 │
00:16:32 verbose #11411 > > │         use super::*;                                                        │
00:16:32 verbose #11412 > > │         use fable_library_rust::Native_::on_startup;                         │
00:16:32 verbose #11413 > > │         use fable_library_rust::String_::printfn;                            │
00:16:32 verbose #11414 > > │         use fable_library_rust::String_::sprintf;                            │
00:16:32 verbose #11415 > > │         use fable_library_rust::String_::string;                             │
00:16:32 verbose #11416 > > │         pub fn method1() -> i32 {                                            │
00:16:32 verbose #11417 > > │             3_i32                                                            │
00:16:32 verbose #11418 > > │         }                                                                    │
00:16:32 verbose #11419 > > │         pub fn method2(v0: bool) -> bool {                                   │
00:16:32 verbose #11420 > > │             v0                                                               │
00:16:32 verbose #11421 > > │         }                                                                    │
00:16:32 verbose #11422 > > │         pub fn closure0(v0: string, unitVar: ()) {                           │
00:16:32 verbose #11423 > > │             printfn!("{0}", v0);                                             │
00:16:32 verbose #11424 > > │         }                                                                    │
00:16:32 verbose #11425 > > │         pub fn method0() {                                                   │
00:16:32 verbose #11426 > > │             let v3: i32 = 9_i32 + Spiral_builder::method1() + 2_i32 + 1_i32; │
00:16:32 verbose #11427 > > │             let v4: bool = v3 == 15_i32;                                     │
00:16:32 verbose #11428 > > │             let v6: bool = if v4 {                                           │
00:16:32 verbose #11429 > > │                 true                                                         │
00:16:32 verbose #11430 > > │             } else {                                                         │
00:16:32 verbose #11431 > > │                 Spiral_builder::method2(v4)                                  │
00:16:32 verbose #11432 > > │             };                                                               │
00:16:32 verbose #11433 > > │             let v8: string = sprintf!(                                       │
00:16:32 verbose #11434 > > │                 "{} / actual: {:?} / expected: {:?}",                        │
00:16:32 verbose #11435 > > │                 string("__assert_eq"),                                       │
00:16:32 verbose #11436 > > │                 v3,                                                          │
00:16:32 verbose #11437 > > │                 15_i32                                                       │
00:16:32 verbose #11438 > > │             );                                                               │
00:16:32 verbose #11439 > > │             let v13: () = {                                                  │
00:16:32 verbose #11440 > > │                 Spiral_builder::closure0(v8.clone(), ());                    │
00:16:32 verbose #11441 > > │                 ()                                                           │
00:16:32 verbose #11442 > > │             };                                                               │
00:16:32 verbose #11443 > > │             if v6 == false {                                                 │
00:16:32 verbose #11444 > > │                 panic!("{}", v8,);                                           │
00:16:32 verbose #11445 > > │             }                                                                │
00:16:32 verbose #11446 > > │         }                                                                    │
00:16:32 verbose #11447 > > │         on_startup!(Spiral_builder::method0());                              │
00:16:32 verbose #11448 > > │     }                                                                        │
00:16:32 verbose #11449 > > │ }                                                                            │
00:16:32 verbose #11450 > > │ pub use module_b5c8272c::*;                                                  │
00:16:32 verbose #11451 > > │                                                                              │
00:16:32 verbose #11452 > > │ pub fn main() -> Result<(), String> {                                        │
00:16:32 verbose #11453 > > │     Ok(())                                                                   │
00:16:32 verbose #11454 > > │ }                                                                            │
00:16:32 verbose #11455 > > │                                                                              │
00:16:32 verbose #11456 > > │ .ts:                                                                         │
00:16:32 verbose #11457 > > │ import { int32 } from "./fable_modules/fable-library-ts.4.19.3/Int32.js";    │
00:16:32 verbose #11458 > > │ import { interpolate, toText } from                                          │
00:16:32 verbose #11459 > > │ "./fable_modules/fable-library-ts.4.19.3/String.js";                         │
00:16:32 verbose #11460 > > │                                                                              │
00:16:32 verbose #11461 > > │ export function method1(): int32 {                                           │
00:16:32 verbose #11462 > > │     return 3;                                                                │
00:16:32 verbose #11463 > > │ }                                                                            │
00:16:32 verbose #11464 > > │                                                                              │
00:16:32 verbose #11465 > > │ export function method2(v0: boolean): boolean {                              │
00:16:32 verbose #11466 > > │     return v0;                                                               │
00:16:32 verbose #11467 > > │ }                                                                            │
00:16:32 verbose #11468 > > │                                                                              │
00:16:32 verbose #11469 > > │ export function closure0(v0: string, unitVar: void): void {                  │
00:16:32 verbose #11470 > > │     console.log(v0);                                                         │
00:16:32 verbose #11471 > > │ }                                                                            │
00:16:32 verbose #11472 > > │                                                                              │
00:16:32 verbose #11473 > > │ export function method0(): void {                                            │
00:16:32 verbose #11474 > > │     const v3: int32 = (((9 + method1()) + 2) + 1) | 0;                       │
00:16:32 verbose #11475 > > │     const v4: boolean = v3 === 15;                                           │
00:16:32 verbose #11476 > > │     const v6: boolean = v4 ? true : method2(v4);                             │
00:16:32 verbose #11477 > > │     const v8: string = toText(interpolate("%P() / actual: %A%P() / expected: │
00:16:32 verbose #11478 > > │ %A%P()", ["__assert_eq", v3, 15]));                                          │
00:16:32 verbose #11479 > > │     let v13: any;                                                            │
00:16:32 verbose #11480 > > │     closure0(v8, undefined);                                                 │
00:16:32 verbose #11481 > > │     v13 = undefined;                                                         │
00:16:32 verbose #11482 > > │     if (v6 === false) {                                                      │
00:16:32 verbose #11483 > > │         throw new Error(v8);                                                 │
00:16:32 verbose #11484 > > │     }                                                                        │
00:16:32 verbose #11485 > > │ }                                                                            │
00:16:32 verbose #11486 > > │                                                                              │
00:16:32 verbose #11487 > > │ method0();                                                                   │
00:16:32 verbose #11488 > > │                                                                              │
00:16:32 verbose #11489 > > │                                                                              │
00:16:32 verbose #11490 > > │                                                                              │
00:16:32 verbose #11491 > > │ // spiral_builder.process_typescript                                         │
00:16:32 verbose #11492 > > │                                                                              │
00:16:32 verbose #11493 > > │ .py:                                                                         │
00:16:32 verbose #11494 > > │ from fable_modules.fable_library.string_ import (to_text, interpolate)       │
00:16:32 verbose #11495 > > │                                                                              │
00:16:32 verbose #11496 > > │ def method1(__unit: None=None) -> int:                                       │
00:16:32 verbose #11497 > > │     return 3                                                                 │
00:16:32 verbose #11498 > > │                                                                              │
00:16:32 verbose #11499 > > │                                                                              │
00:16:32 verbose #11500 > > │ def method2(v0: bool) -> bool:                                               │
00:16:32 verbose #11501 > > │     return v0                                                                │
00:16:32 verbose #11502 > > │                                                                              │
00:16:32 verbose #11503 > > │                                                                              │
00:16:32 verbose #11504 > > │ def closure0(v0: str, unit_var: None) -> None:                               │
00:16:32 verbose #11505 > > │     print(v0)                                                                │
00:16:32 verbose #11506 > > │                                                                              │
00:16:32 verbose #11507 > > │                                                                              │
00:16:32 verbose #11508 > > │ def method0(__unit: None=None) -> None:                                      │
00:16:32 verbose #11509 > > │     v3: int = (((9 + method1()) + 2) + 1) or 0                               │
00:16:32 verbose #11510 > > │     v4: bool = v3 == 15                                                      │
00:16:32 verbose #11511 > > │     v6: bool = True if v4 else method2(v4)                                   │
00:16:32 verbose #11512 > > │     v8: str = to_text(interpolate("%P() / actual: %A%P() / expected:         │
00:16:32 verbose #11513 > > │ %A%P()", ["__assert_eq", v3, 15]))                                           │
00:16:32 verbose #11514 > > │     v13: None                                                                │
00:16:32 verbose #11515 > > │     closure0(v8, None)                                                       │
00:16:32 verbose #11516 > > │     v13 = None                                                               │
00:16:32 verbose #11517 > > │     if v6 == False:                                                          │
00:16:32 verbose #11518 > > │         raise Exception(v8)                                                  │
00:16:32 verbose #11519 > > │                                                                              │
00:16:32 verbose #11520 > > │                                                                              │
00:16:32 verbose #11521 > > │                                                                              │
00:16:32 verbose #11522 > > │ method0()                                                                    │
00:16:32 verbose #11523 > > │                                                                              │
00:16:32 verbose #11524 > > │                                                                              │
00:16:32 verbose #11525 > > │                                                                              │
00:16:32 verbose #11526 > > │ # spiral_builder.process_python                                              │
00:16:32 verbose #11527 > > │                                                                              │
00:16:32 verbose #11528 > > │ .py:                                                                         │
00:16:32 verbose #11529 > > │ kernel = r"""                                                                │
00:16:32 verbose #11530 > > │ """                                                                          │
00:16:32 verbose #11531 > > │ class static_array():                                                        │
00:16:32 verbose #11532 > > │     def __init__(self, length):                                              │
00:16:32 verbose #11533 > > │         self.ptr = []                                                        │
00:16:32 verbose #11534 > > │         for _ in range(length):                                              │
00:16:32 verbose #11535 > > │             self.ptr.append(None)                                            │
00:16:32 verbose #11536 > > │                                                                              │
00:16:32 verbose #11537 > > │     def __getitem__(self, index):                                            │
00:16:32 verbose #11538 > > │         assert 0 <= index < len(self.ptr), "The get index needs to be in     │
00:16:32 verbose #11539 > > │ range."                                                                      │
00:16:32 verbose #11540 > > │         return self.ptr[index]                                               │
00:16:32 verbose #11541 > > │                                                                              │
00:16:32 verbose #11542 > > │     def __setitem__(self, index, value):                                     │
00:16:32 verbose #11543 > > │         assert 0 <= index < len(self.ptr), "The set index needs to be in     │
00:16:32 verbose #11544 > > │ range."                                                                      │
00:16:32 verbose #11545 > > │         self.ptr[index] = value                                              │
00:16:32 verbose #11546 > > │                                                                              │
00:16:32 verbose #11547 > > │ class static_array_list(static_array):                                       │
00:16:32 verbose #11548 > > │     def __init__(self, length):                                              │
00:16:32 verbose #11549 > > │         super().__init__(length)                                             │
00:16:32 verbose #11550 > > │         self.length = 0                                                      │
00:16:32 verbose #11551 > > │                                                                              │
00:16:32 verbose #11552 > > │     def __getitem__(self, index):                                            │
00:16:32 verbose #11553 > > │         assert 0 <= index < self.length, "The get index needs to be in       │
00:16:32 verbose #11554 > > │ range."                                                                      │
00:16:32 verbose #11555 > > │         return self.ptr[index]                                               │
00:16:32 verbose #11556 > > │                                                                              │
00:16:32 verbose #11557 > > │     def __setitem__(self, index, value):                                     │
00:16:32 verbose #11558 > > │         assert 0 <= index < self.length, "The set index needs to be in       │
00:16:32 verbose #11559 > > │ range."                                                                      │
00:16:32 verbose #11560 > > │         self.ptr[index] = value                                              │
00:16:32 verbose #11561 > > │                                                                              │
00:16:32 verbose #11562 > > │     def push(self,value):                                                    │
00:16:32 verbose #11563 > > │         assert (self.length < len(self.ptr)), "The length before pushing has │
00:16:32 verbose #11564 > > │ to be less than the maximum length of the array."                            │
00:16:32 verbose #11565 > > │         self.ptr[self.length] = value                                        │
00:16:32 verbose #11566 > > │         self.length += 1                                                     │
00:16:32 verbose #11567 > > │                                                                              │
00:16:32 verbose #11568 > > │     def pop(self):                                                           │
00:16:32 verbose #11569 > > │         assert (0 < self.length), "The length before popping has to be       │
00:16:32 verbose #11570 > > │ greater than 0."                                                             │
00:16:32 verbose #11571 > > │         self.length -= 1                                                     │
00:16:32 verbose #11572 > > │         return self.ptr[self.length]                                         │
00:16:32 verbose #11573 > > │                                                                              │
00:16:32 verbose #11574 > > │     def unsafe_set_length(self,i):                                           │
00:16:32 verbose #11575 > > │         assert 0 <= i <= len(self.ptr), "The new length has to be in range." │
00:16:32 verbose #11576 > > │         self.length = i                                                      │
00:16:32 verbose #11577 > > │                                                                              │
00:16:32 verbose #11578 > > │ class dynamic_array(static_array):                                           │
00:16:32 verbose #11579 > > │     pass                                                                     │
00:16:32 verbose #11580 > > │                                                                              │
00:16:32 verbose #11581 > > │ class dynamic_array_list(static_array_list):                                 │
00:16:32 verbose #11582 > > │     def length_(self): return self.length                                    │
00:16:32 verbose #11583 > > │                                                                              │
00:16:32 verbose #11584 > > │ import cupy as cp                                                            │
00:16:32 verbose #11585 > > │ from dataclasses import dataclass                                            │
00:16:32 verbose #11586 > > │ from typing import NamedTuple, Union, Callable, Tuple                        │
00:16:32 verbose #11587 > > │ i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = │
00:16:32 verbose #11588 > > │ string = str                                                                 │
00:16:32 verbose #11589 > > │                                                                              │
00:16:32 verbose #11590 > > │ def method1() -> i32:                                                        │
00:16:32 verbose #11591 > > │     return 3                                                                 │
00:16:32 verbose #11592 > > │ def method2(v0 : bool) -> bool:                                              │
00:16:32 verbose #11593 > > │     return v0                                                                │
00:16:32 verbose #11594 > > │ def method0() -> None:                                                       │
00:16:32 verbose #11595 > > │     v0 = method1()                                                           │
00:16:32 verbose #11596 > > │     v1 = 9 + v0                                                              │
00:16:32 verbose #11597 > > │     del v0                                                                   │
00:16:32 verbose #11598 > > │     v2 = v1 + 2                                                              │
00:16:32 verbose #11599 > > │     del v1                                                                   │
00:16:32 verbose #11600 > > │     v3 = v2 + 1                                                              │
00:16:32 verbose #11601 > > │     del v2                                                                   │
00:16:32 verbose #11602 > > │     v4 = v3 == 15                                                            │
00:16:32 verbose #11603 > > │     if v4:                                                                   │
00:16:32 verbose #11604 > > │         v6 = True                                                            │
00:16:32 verbose #11605 > > │     else:                                                                    │
00:16:32 verbose #11606 > > │         v6 = method2(v4)                                                     │
00:16:32 verbose #11607 > > │     del v4                                                                   │
00:16:32 verbose #11608 > > │     v9 = "__assert_eq"                                                       │
00:16:32 verbose #11609 > > │     v10 = f"{v9} / actual: {v3} / expected: {15}"                            │
00:16:32 verbose #11610 > > │     del v3, v9                                                               │
00:16:32 verbose #11611 > > │     print(v10)                                                               │
00:16:32 verbose #11612 > > │     v16 = v6 == False                                                        │
00:16:32 verbose #11613 > > │     del v6                                                                   │
00:16:32 verbose #11614 > > │     if v16:                                                                  │
00:16:32 verbose #11615 > > │         del v16                                                              │
00:16:32 verbose #11616 > > │         raise Exception(v10)                                                 │
00:16:32 verbose #11617 > > │     else:                                                                    │
00:16:32 verbose #11618 > > │         del v10, v16                                                         │
00:16:32 verbose #11619 > > │         return                                                               │
00:16:32 verbose #11620 > > │ def main():                                                                  │
00:16:32 verbose #11621 > > │     return method0()                                                         │
00:16:32 verbose #11622 > > │                                                                              │
00:16:32 verbose #11623 > > │ if __name__ == '__main__': result = main(); None if result is None else      │
00:16:32 verbose #11624 > > │ print(result)                                                                │
00:16:32 verbose #11625 > > │                                                                              │
00:16:32 verbose #11626 > > │                                                                              │
00:16:32 verbose #11627 > > │ .py:                                                                         │
00:16:32 verbose #11628 > > │ kernel = r"""                                                                │
00:16:32 verbose #11629 > > │ """                                                                          │
00:16:32 verbose #11630 > > │ class static_array():                                                        │
00:16:32 verbose #11631 > > │     def __init__(self, length):                                              │
00:16:32 verbose #11632 > > │         self.ptr = []                                                        │
00:16:32 verbose #11633 > > │         for _ in range(length):                                              │
00:16:32 verbose #11634 > > │             self.ptr.append(None)                                            │
00:16:32 verbose #11635 > > │                                                                              │
00:16:32 verbose #11636 > > │     def __getitem__(self, index):                                            │
00:16:32 verbose #11637 > > │         assert 0 <= index < len(self.ptr), "The get index needs to be in     │
00:16:32 verbose #11638 > > │ range."                                                                      │
00:16:32 verbose #11639 > > │         return self.ptr[index]                                               │
00:16:32 verbose #11640 > > │                                                                              │
00:16:32 verbose #11641 > > │     def __setitem__(self, index, value):                                     │
00:16:32 verbose #11642 > > │         assert 0 <= index < len(self.ptr), "The set index needs to be in     │
00:16:32 verbose #11643 > > │ range."                                                                      │
00:16:32 verbose #11644 > > │         self.ptr[index] = value                                              │
00:16:32 verbose #11645 > > │                                                                              │
00:16:32 verbose #11646 > > │ class static_array_list(static_array):                                       │
00:16:32 verbose #11647 > > │     def __init__(self, length):                                              │
00:16:32 verbose #11648 > > │         super().__init__(length)                                             │
00:16:32 verbose #11649 > > │         self.length = 0                                                      │
00:16:32 verbose #11650 > > │                                                                              │
00:16:32 verbose #11651 > > │     def __getitem__(self, index):                                            │
00:16:32 verbose #11652 > > │         assert 0 <= index < self.length, "The get index needs to be in       │
00:16:32 verbose #11653 > > │ range."                                                                      │
00:16:32 verbose #11654 > > │         return self.ptr[index]                                               │
00:16:32 verbose #11655 > > │                                                                              │
00:16:32 verbose #11656 > > │     def __setitem__(self, index, value):                                     │
00:16:32 verbose #11657 > > │         assert 0 <= index < self.length, "The set index needs to be in       │
00:16:32 verbose #11658 > > │ range."                                                                      │
00:16:32 verbose #11659 > > │         self.ptr[index] = value                                              │
00:16:32 verbose #11660 > > │                                                                              │
00:16:32 verbose #11661 > > │     def push(self,value):                                                    │
00:16:32 verbose #11662 > > │         assert (self.length < len(self.ptr)), "The length before pushing has │
00:16:32 verbose #11663 > > │ to be less than the maximum length of the array."                            │
00:16:32 verbose #11664 > > │         self.ptr[self.length] = value                                        │
00:16:32 verbose #11665 > > │         self.length += 1                                                     │
00:16:32 verbose #11666 > > │                                                                              │
00:16:32 verbose #11667 > > │     def pop(self):                                                           │
00:16:32 verbose #11668 > > │         assert (0 < self.length), "The length before popping has to be       │
00:16:32 verbose #11669 > > │ greater than 0."                                                             │
00:16:32 verbose #11670 > > │         self.length -= 1                                                     │
00:16:32 verbose #11671 > > │         return self.ptr[self.length]                                         │
00:16:32 verbose #11672 > > │                                                                              │
00:16:32 verbose #11673 > > │     def unsafe_set_length(self,i):                                           │
00:16:32 verbose #11674 > > │         assert 0 <= i <= len(self.ptr), "The new length has to be in range." │
00:16:32 verbose #11675 > > │         self.length = i                                                      │
00:16:32 verbose #11676 > > │                                                                              │
00:16:32 verbose #11677 > > │ class dynamic_array(static_array):                                           │
00:16:32 verbose #11678 > > │     pass                                                                     │
00:16:32 verbose #11679 > > │                                                                              │
00:16:32 verbose #11680 > > │ class dynamic_array_list(static_array_list):                                 │
00:16:32 verbose #11681 > > │     def length_(self): return self.length                                    │
00:16:32 verbose #11682 > > │                                                                              │
00:16:32 verbose #11683 > > │ import cupy as cp                                                            │
00:16:32 verbose #11684 > > │ from dataclasses import dataclass                                            │
00:16:32 verbose #11685 > > │ from typing import NamedTuple, Union, Callable, Tuple                        │
00:16:32 verbose #11686 > > │ i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = │
00:16:32 verbose #11687 > > │ string = str                                                                 │
00:16:32 verbose #11688 > > │                                                                              │
00:16:32 verbose #11689 > > │ def method1() -> i32:                                                        │
00:16:32 verbose #11690 > > │     return 3                                                                 │
00:16:32 verbose #11691 > > │ def method2(v0 : bool) -> bool:                                              │
00:16:32 verbose #11692 > > │     return v0                                                                │
00:16:32 verbose #11693 > > │ def method0() -> None:                                                       │
00:16:32 verbose #11694 > > │     v0 = method1()                                                           │
00:16:32 verbose #11695 > > │     v1 = 9 + v0                                                              │
00:16:32 verbose #11696 > > │     del v0                                                                   │
00:16:32 verbose #11697 > > │     v2 = v1 + 2                                                              │
00:16:32 verbose #11698 > > │     del v1                                                                   │
00:16:32 verbose #11699 > > │     v3 = v2 + 1                                                              │
00:16:32 verbose #11700 > > │     del v2                                                                   │
00:16:32 verbose #11701 > > │     v4 = v3 == 15                                                            │
00:16:32 verbose #11702 > > │     if v4:                                                                   │
00:16:32 verbose #11703 > > │         v6 = True                                                            │
00:16:32 verbose #11704 > > │     else:                                                                    │
00:16:32 verbose #11705 > > │         v6 = method2(v4)                                                     │
00:16:32 verbose #11706 > > │     del v4                                                                   │
00:16:32 verbose #11707 > > │     v9 = "__assert_eq"                                                       │
00:16:32 verbose #11708 > > │     v10 = f"{v9} / actual: {v3} / expected: {15}"                            │
00:16:32 verbose #11709 > > │     del v3, v9                                                               │
00:16:32 verbose #11710 > > │     print(v10)                                                               │
00:16:32 verbose #11711 > > │     v16 = v6 == False                                                        │
00:16:32 verbose #11712 > > │     del v6                                                                   │
00:16:32 verbose #11713 > > │     if v16:                                                                  │
00:16:32 verbose #11714 > > │         del v16                                                              │
00:16:32 verbose #11715 > > │         raise Exception(v10)                                                 │
00:16:32 verbose #11716 > > │     else:                                                                    │
00:16:32 verbose #11717 > > │         del v10, v16                                                         │
00:16:32 verbose #11718 > > │         return                                                               │
00:16:32 verbose #11719 > > │ def main():                                                                  │
00:16:32 verbose #11720 > > │     return method0()                                                         │
00:16:32 verbose #11721 > > │                                                                              │
00:16:32 verbose #11722 > > │ if __name__ == '__main__': result = main(); None if result is None else      │
00:16:32 verbose #11723 > > │ print(result)                                                                │
00:16:32 verbose #11724 > > │                                                                              │
00:16:32 verbose #11725 > > │ .fsx output:                                                                 │
00:16:32 verbose #11726 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:32 verbose #11727 > > │                                                                              │
00:16:32 verbose #11728 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:32 verbose #11729 > >
00:16:32 verbose #11730 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:32 verbose #11731 > > //// test
00:16:32 verbose #11732 > > ///! fsharp
00:16:32 verbose #11733 > > ///! cuda
00:16:32 verbose #11734 > > ///! rust
00:16:32 verbose #11735 > > ///! typescript
00:16:32 verbose #11736 > > ///! python
00:16:32 verbose #11737 > > //// print_code=true
00:16:32 verbose #11738 > >
00:16:32 verbose #11739 > > [[ 5i32; 4; join 3; 2; 1 ]]
00:16:32 verbose #11740 > > |> fold_list (join_body (+)) 0
00:16:32 verbose #11741 > > |> _assert_eq 15
00:16:32 verbose #11742 > 00:16:31   debug #676 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/64d416b32f474bc59c370e32c50284af0bcd64f9b4b3078c5639ca77d16cce0e/main.spi
00:16:32 verbose #11743 > 00:16:31   debug #677 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/51aa154a9430d1863d66b93f9534554ea44a220c6657cdee343116430546cf11/main.spi
00:16:40 verbose #11744 > >
00:16:40 verbose #11745 > > ╭─[ 7.99s - return value ]─────────────────────────────────────────────────────╮
00:16:40 verbose #11746 > > │ .py output (Cuda):                                                           │
00:16:40 verbose #11747 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:40 verbose #11748 > > │                                                                              │
00:16:40 verbose #11749 > > │ .rs output:                                                                  │
00:16:40 verbose #11750 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:40 verbose #11751 > > │                                                                              │
00:16:40 verbose #11752 > > │ .ts output:                                                                  │
00:16:40 verbose #11753 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:40 verbose #11754 > > │                                                                              │
00:16:40 verbose #11755 > > │ .py output:                                                                  │
00:16:40 verbose #11756 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:40 verbose #11757 > > │                                                                              │
00:16:40 verbose #11758 > > │                                                                              │
00:16:40 verbose #11759 > > │                                                                              │
00:16:40 verbose #11760 > > │                                                                              │
00:16:40 verbose #11761 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:40 verbose #11762 > >
00:16:40 verbose #11763 > > ╭─[ 8.00s - stdout ]───────────────────────────────────────────────────────────╮
00:16:40 verbose #11764 > > │ .fsx:                                                                        │
00:16:40 verbose #11765 > > │ let rec method1 () : int32 =                                                 │
00:16:40 verbose #11766 > > │     3                                                                        │
00:16:40 verbose #11767 > > │ and method2 (v0 : int32, v1 : int32) : int32 =                               │
00:16:40 verbose #11768 > > │     let v2 : int32 = v1 + v0                                                 │
00:16:40 verbose #11769 > > │     v2                                                                       │
00:16:40 verbose #11770 > > │ and method3 (v0 : bool) : bool =                                             │
00:16:40 verbose #11771 > > │     v0                                                                       │
00:16:40 verbose #11772 > > │ and closure0 (v0 : string) () : unit =                                       │
00:16:40 verbose #11773 > > │     let v1 : (string -> unit) = System.Console.WriteLine                     │
00:16:40 verbose #11774 > > │     v1 v0                                                                    │
00:16:40 verbose #11775 > > │ and method0 () : unit =                                                      │
00:16:40 verbose #11776 > > │     let v0 : int32 = method1()                                               │
00:16:40 verbose #11777 > > │     let v1 : int32 = 9                                                       │
00:16:40 verbose #11778 > > │     let v2 : int32 = method2(v0, v1)                                         │
00:16:40 verbose #11779 > > │     let v3 : int32 = v2 + 2                                                  │
00:16:40 verbose #11780 > > │     let v4 : int32 = v3 + 1                                                  │
00:16:40 verbose #11781 > > │     let v5 : bool = v4 = 15                                                  │
00:16:40 verbose #11782 > > │     let v7 : bool =                                                          │
00:16:40 verbose #11783 > > │         if v5 then                                                           │
00:16:40 verbose #11784 > > │             true                                                             │
00:16:40 verbose #11785 > > │         else                                                                 │
00:16:40 verbose #11786 > > │             method3(v5)                                                      │
00:16:40 verbose #11787 > > │     let v8 : string = "__assert_eq"                                          │
00:16:40 verbose #11788 > > │     let v9 : string = $"{v8} / actual: %A{v4} / expected: %A{15}"            │
00:16:40 verbose #11789 > > │     let v12 : unit = ()                                                      │
00:16:40 verbose #11790 > > │     let v13 : (unit -> unit) = closure0(v9)                                  │
00:16:40 verbose #11791 > > │     let v14 : unit = (fun () -> v13 (); v12) ()                              │
00:16:40 verbose #11792 > > │     let v16 : bool = v7 = false                                              │
00:16:40 verbose #11793 > > │     if v16 then                                                              │
00:16:40 verbose #11794 > > │         failwith<unit> v9                                                    │
00:16:40 verbose #11795 > > │ method0()                                                                    │
00:16:40 verbose #11796 > > │                                                                              │
00:16:40 verbose #11797 > > │                                                                              │
00:16:40 verbose #11798 > > │ .rs:                                                                         │
00:16:40 verbose #11799 > > │ #![allow(dead_code)]                                                         │
00:16:40 verbose #11800 > > │ #![allow(non_camel_case_types)]                                              │
00:16:40 verbose #11801 > > │ #![allow(non_snake_case)]                                                    │
00:16:40 verbose #11802 > > │ #![allow(non_upper_case_globals)]                                            │
00:16:40 verbose #11803 > > │ #![allow(unreachable_code)]                                                  │
00:16:40 verbose #11804 > > │ #![allow(unused_attributes)]                                                 │
00:16:40 verbose #11805 > > │ #![allow(unused_imports)]                                                    │
00:16:40 verbose #11806 > > │ #![allow(unused_macros)]                                                     │
00:16:40 verbose #11807 > > │ #![allow(unused_parens)]                                                     │
00:16:40 verbose #11808 > > │ #![allow(unused_variables)]                                                  │
00:16:40 verbose #11809 > > │ mod module_737cfc4d {                                                        │
00:16:40 verbose #11810 > > │     pub mod Spiral_builder {                                                 │
00:16:40 verbose #11811 > > │         use super::*;                                                        │
00:16:40 verbose #11812 > > │         use fable_library_rust::Native_::on_startup;                         │
00:16:40 verbose #11813 > > │         use fable_library_rust::String_::printfn;                            │
00:16:40 verbose #11814 > > │         use fable_library_rust::String_::sprintf;                            │
00:16:40 verbose #11815 > > │         use fable_library_rust::String_::string;                             │
00:16:40 verbose #11816 > > │         pub fn method1() -> i32 {                                            │
00:16:40 verbose #11817 > > │             3_i32                                                            │
00:16:40 verbose #11818 > > │         }                                                                    │
00:16:40 verbose #11819 > > │         pub fn method2(v0: i32, v1: i32) -> i32 {                            │
00:16:40 verbose #11820 > > │             v1 + v0                                                          │
00:16:40 verbose #11821 > > │         }                                                                    │
00:16:40 verbose #11822 > > │         pub fn method3(v0: bool) -> bool {                                   │
00:16:40 verbose #11823 > > │             v0                                                               │
00:16:40 verbose #11824 > > │         }                                                                    │
00:16:40 verbose #11825 > > │         pub fn closure0(v0: string, unitVar: ()) {                           │
00:16:40 verbose #11826 > > │             printfn!("{0}", v0);                                             │
00:16:40 verbose #11827 > > │         }                                                                    │
00:16:40 verbose #11828 > > │         pub fn method0() {                                                   │
00:16:40 verbose #11829 > > │             let v4: i32 = Spiral_builder::method2(Spiral_builder::method1(), │
00:16:40 verbose #11830 > > │ 9_i32) + 2_i32 + 1_i32;                                                      │
00:16:40 verbose #11831 > > │             let v5: bool = v4 == 15_i32;                                     │
00:16:40 verbose #11832 > > │             let v7: bool = if v5 {                                           │
00:16:40 verbose #11833 > > │                 true                                                         │
00:16:40 verbose #11834 > > │             } else {                                                         │
00:16:40 verbose #11835 > > │                 Spiral_builder::method3(v5)                                  │
00:16:40 verbose #11836 > > │             };                                                               │
00:16:40 verbose #11837 > > │             let v9: string = sprintf!(                                       │
00:16:40 verbose #11838 > > │                 "{} / actual: {:?} / expected: {:?}",                        │
00:16:40 verbose #11839 > > │                 string("__assert_eq"),                                       │
00:16:40 verbose #11840 > > │                 v4,                                                          │
00:16:40 verbose #11841 > > │                 15_i32                                                       │
00:16:40 verbose #11842 > > │             );                                                               │
00:16:40 verbose #11843 > > │             let v14: () = {                                                  │
00:16:40 verbose #11844 > > │                 Spiral_builder::closure0(v9.clone(), ());                    │
00:16:40 verbose #11845 > > │                 ()                                                           │
00:16:40 verbose #11846 > > │             };                                                               │
00:16:40 verbose #11847 > > │             if v7 == false {                                                 │
00:16:40 verbose #11848 > > │                 panic!("{}", v9,);                                           │
00:16:40 verbose #11849 > > │             }                                                                │
00:16:40 verbose #11850 > > │         }                                                                    │
00:16:40 verbose #11851 > > │         on_startup!(Spiral_builder::method0());                              │
00:16:40 verbose #11852 > > │     }                                                                        │
00:16:40 verbose #11853 > > │ }                                                                            │
00:16:40 verbose #11854 > > │ pub use module_737cfc4d::*;                                                  │
00:16:40 verbose #11855 > > │                                                                              │
00:16:40 verbose #11856 > > │ pub fn main() -> Result<(), String> {                                        │
00:16:40 verbose #11857 > > │     Ok(())                                                                   │
00:16:40 verbose #11858 > > │ }                                                                            │
00:16:40 verbose #11859 > > │                                                                              │
00:16:40 verbose #11860 > > │ .ts:                                                                         │
00:16:40 verbose #11861 > > │ import { int32 } from "./fable_modules/fable-library-ts.4.19.3/Int32.js";    │
00:16:40 verbose #11862 > > │ import { interpolate, toText } from                                          │
00:16:40 verbose #11863 > > │ "./fable_modules/fable-library-ts.4.19.3/String.js";                         │
00:16:40 verbose #11864 > > │                                                                              │
00:16:40 verbose #11865 > > │ export function method1(): int32 {                                           │
00:16:40 verbose #11866 > > │     return 3;                                                                │
00:16:40 verbose #11867 > > │ }                                                                            │
00:16:40 verbose #11868 > > │                                                                              │
00:16:40 verbose #11869 > > │ export function method2(v0: int32, v1: int32): int32 {                       │
00:16:40 verbose #11870 > > │     return v1 + v0;                                                          │
00:16:40 verbose #11871 > > │ }                                                                            │
00:16:40 verbose #11872 > > │                                                                              │
00:16:40 verbose #11873 > > │ export function method3(v0: boolean): boolean {                              │
00:16:40 verbose #11874 > > │     return v0;                                                               │
00:16:40 verbose #11875 > > │ }                                                                            │
00:16:40 verbose #11876 > > │                                                                              │
00:16:40 verbose #11877 > > │ export function closure0(v0: string, unitVar: void): void {                  │
00:16:40 verbose #11878 > > │     console.log(v0);                                                         │
00:16:40 verbose #11879 > > │ }                                                                            │
00:16:40 verbose #11880 > > │                                                                              │
00:16:40 verbose #11881 > > │ export function method0(): void {                                            │
00:16:40 verbose #11882 > > │     const v4: int32 = ((method2(method1(), 9) + 2) + 1) | 0;                 │
00:16:40 verbose #11883 > > │     const v5: boolean = v4 === 15;                                           │
00:16:40 verbose #11884 > > │     const v7: boolean = v5 ? true : method3(v5);                             │
00:16:40 verbose #11885 > > │     const v9: string = toText(interpolate("%P() / actual: %A%P() / expected: │
00:16:40 verbose #11886 > > │ %A%P()", ["__assert_eq", v4, 15]));                                          │
00:16:40 verbose #11887 > > │     let v14: any;                                                            │
00:16:40 verbose #11888 > > │     closure0(v9, undefined);                                                 │
00:16:40 verbose #11889 > > │     v14 = undefined;                                                         │
00:16:40 verbose #11890 > > │     if (v7 === false) {                                                      │
00:16:40 verbose #11891 > > │         throw new Error(v9);                                                 │
00:16:40 verbose #11892 > > │     }                                                                        │
00:16:40 verbose #11893 > > │ }                                                                            │
00:16:40 verbose #11894 > > │                                                                              │
00:16:40 verbose #11895 > > │ method0();                                                                   │
00:16:40 verbose #11896 > > │                                                                              │
00:16:40 verbose #11897 > > │                                                                              │
00:16:40 verbose #11898 > > │                                                                              │
00:16:40 verbose #11899 > > │ // spiral_builder.process_typescript                                         │
00:16:40 verbose #11900 > > │                                                                              │
00:16:40 verbose #11901 > > │ .py:                                                                         │
00:16:40 verbose #11902 > > │ from fable_modules.fable_library.string_ import (to_text, interpolate)       │
00:16:40 verbose #11903 > > │                                                                              │
00:16:40 verbose #11904 > > │ def method1(__unit: None=None) -> int:                                       │
00:16:40 verbose #11905 > > │     return 3                                                                 │
00:16:40 verbose #11906 > > │                                                                              │
00:16:40 verbose #11907 > > │                                                                              │
00:16:40 verbose #11908 > > │ def method2(v0: int, v1: int) -> int:                                        │
00:16:40 verbose #11909 > > │     return v1 + v0                                                           │
00:16:40 verbose #11910 > > │                                                                              │
00:16:40 verbose #11911 > > │                                                                              │
00:16:40 verbose #11912 > > │ def method3(v0: bool) -> bool:                                               │
00:16:40 verbose #11913 > > │     return v0                                                                │
00:16:40 verbose #11914 > > │                                                                              │
00:16:40 verbose #11915 > > │                                                                              │
00:16:40 verbose #11916 > > │ def closure0(v0: str, unit_var: None) -> None:                               │
00:16:40 verbose #11917 > > │     print(v0)                                                                │
00:16:40 verbose #11918 > > │                                                                              │
00:16:40 verbose #11919 > > │                                                                              │
00:16:40 verbose #11920 > > │ def method0(__unit: None=None) -> None:                                      │
00:16:40 verbose #11921 > > │     v4: int = ((method2(method1(), 9) + 2) + 1) or 0                         │
00:16:40 verbose #11922 > > │     v5: bool = v4 == 15                                                      │
00:16:40 verbose #11923 > > │     v7: bool = True if v5 else method3(v5)                                   │
00:16:40 verbose #11924 > > │     v9: str = to_text(interpolate("%P() / actual: %A%P() / expected:         │
00:16:40 verbose #11925 > > │ %A%P()", ["__assert_eq", v4, 15]))                                           │
00:16:40 verbose #11926 > > │     v14: None                                                                │
00:16:40 verbose #11927 > > │     closure0(v9, None)                                                       │
00:16:40 verbose #11928 > > │     v14 = None                                                               │
00:16:40 verbose #11929 > > │     if v7 == False:                                                          │
00:16:40 verbose #11930 > > │         raise Exception(v9)                                                  │
00:16:40 verbose #11931 > > │                                                                              │
00:16:40 verbose #11932 > > │                                                                              │
00:16:40 verbose #11933 > > │                                                                              │
00:16:40 verbose #11934 > > │ method0()                                                                    │
00:16:40 verbose #11935 > > │                                                                              │
00:16:40 verbose #11936 > > │                                                                              │
00:16:40 verbose #11937 > > │                                                                              │
00:16:40 verbose #11938 > > │ # spiral_builder.process_python                                              │
00:16:40 verbose #11939 > > │                                                                              │
00:16:40 verbose #11940 > > │ .py:                                                                         │
00:16:40 verbose #11941 > > │ kernel = r"""                                                                │
00:16:40 verbose #11942 > > │ """                                                                          │
00:16:40 verbose #11943 > > │ class static_array():                                                        │
00:16:40 verbose #11944 > > │     def __init__(self, length):                                              │
00:16:40 verbose #11945 > > │         self.ptr = []                                                        │
00:16:40 verbose #11946 > > │         for _ in range(length):                                              │
00:16:40 verbose #11947 > > │             self.ptr.append(None)                                            │
00:16:40 verbose #11948 > > │                                                                              │
00:16:40 verbose #11949 > > │     def __getitem__(self, index):                                            │
00:16:40 verbose #11950 > > │         assert 0 <= index < len(self.ptr), "The get index needs to be in     │
00:16:40 verbose #11951 > > │ range."                                                                      │
00:16:40 verbose #11952 > > │         return self.ptr[index]                                               │
00:16:40 verbose #11953 > > │                                                                              │
00:16:40 verbose #11954 > > │     def __setitem__(self, index, value):                                     │
00:16:40 verbose #11955 > > │         assert 0 <= index < len(self.ptr), "The set index needs to be in     │
00:16:40 verbose #11956 > > │ range."                                                                      │
00:16:40 verbose #11957 > > │         self.ptr[index] = value                                              │
00:16:40 verbose #11958 > > │                                                                              │
00:16:40 verbose #11959 > > │ class static_array_list(static_array):                                       │
00:16:40 verbose #11960 > > │     def __init__(self, length):                                              │
00:16:40 verbose #11961 > > │         super().__init__(length)                                             │
00:16:40 verbose #11962 > > │         self.length = 0                                                      │
00:16:40 verbose #11963 > > │                                                                              │
00:16:40 verbose #11964 > > │     def __getitem__(self, index):                                            │
00:16:40 verbose #11965 > > │         assert 0 <= index < self.length, "The get index needs to be in       │
00:16:40 verbose #11966 > > │ range."                                                                      │
00:16:40 verbose #11967 > > │         return self.ptr[index]                                               │
00:16:40 verbose #11968 > > │                                                                              │
00:16:40 verbose #11969 > > │     def __setitem__(self, index, value):                                     │
00:16:40 verbose #11970 > > │         assert 0 <= index < self.length, "The set index needs to be in       │
00:16:40 verbose #11971 > > │ range."                                                                      │
00:16:40 verbose #11972 > > │         self.ptr[index] = value                                              │
00:16:40 verbose #11973 > > │                                                                              │
00:16:40 verbose #11974 > > │     def push(self,value):                                                    │
00:16:40 verbose #11975 > > │         assert (self.length < len(self.ptr)), "The length before pushing has │
00:16:40 verbose #11976 > > │ to be less than the maximum length of the array."                            │
00:16:40 verbose #11977 > > │         self.ptr[self.length] = value                                        │
00:16:40 verbose #11978 > > │         self.length += 1                                                     │
00:16:40 verbose #11979 > > │                                                                              │
00:16:40 verbose #11980 > > │     def pop(self):                                                           │
00:16:40 verbose #11981 > > │         assert (0 < self.length), "The length before popping has to be       │
00:16:40 verbose #11982 > > │ greater than 0."                                                             │
00:16:40 verbose #11983 > > │         self.length -= 1                                                     │
00:16:40 verbose #11984 > > │         return self.ptr[self.length]                                         │
00:16:40 verbose #11985 > > │                                                                              │
00:16:40 verbose #11986 > > │     def unsafe_set_length(self,i):                                           │
00:16:40 verbose #11987 > > │         assert 0 <= i <= len(self.ptr), "The new length has to be in range." │
00:16:40 verbose #11988 > > │         self.length = i                                                      │
00:16:40 verbose #11989 > > │                                                                              │
00:16:40 verbose #11990 > > │ class dynamic_array(static_array):                                           │
00:16:40 verbose #11991 > > │     pass                                                                     │
00:16:40 verbose #11992 > > │                                                                              │
00:16:40 verbose #11993 > > │ class dynamic_array_list(static_array_list):                                 │
00:16:40 verbose #11994 > > │     def length_(self): return self.length                                    │
00:16:40 verbose #11995 > > │                                                                              │
00:16:40 verbose #11996 > > │ import cupy as cp                                                            │
00:16:40 verbose #11997 > > │ from dataclasses import dataclass                                            │
00:16:40 verbose #11998 > > │ from typing import NamedTuple, Union, Callable, Tuple                        │
00:16:40 verbose #11999 > > │ i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = │
00:16:40 verbose #12000 > > │ string = str                                                                 │
00:16:40 verbose #12001 > > │                                                                              │
00:16:40 verbose #12002 > > │ def method1() -> i32:                                                        │
00:16:40 verbose #12003 > > │     return 3                                                                 │
00:16:40 verbose #12004 > > │ def method2(v0 : i32, v1 : i32) -> i32:                                      │
00:16:40 verbose #12005 > > │     v2 = v1 + v0                                                             │
00:16:40 verbose #12006 > > │     del v0, v1                                                               │
00:16:40 verbose #12007 > > │     return v2                                                                │
00:16:40 verbose #12008 > > │ def method3(v0 : bool) -> bool:                                              │
00:16:40 verbose #12009 > > │     return v0                                                                │
00:16:40 verbose #12010 > > │ def method0() -> None:                                                       │
00:16:40 verbose #12011 > > │     v0 = method1()                                                           │
00:16:40 verbose #12012 > > │     v1 = 9                                                                   │
00:16:40 verbose #12013 > > │     v2 = method2(v0, v1)                                                     │
00:16:40 verbose #12014 > > │     del v0, v1                                                               │
00:16:40 verbose #12015 > > │     v3 = v2 + 2                                                              │
00:16:40 verbose #12016 > > │     del v2                                                                   │
00:16:40 verbose #12017 > > │     v4 = v3 + 1                                                              │
00:16:40 verbose #12018 > > │     del v3                                                                   │
00:16:40 verbose #12019 > > │     v5 = v4 == 15                                                            │
00:16:40 verbose #12020 > > │     if v5:                                                                   │
00:16:40 verbose #12021 > > │         v7 = True                                                            │
00:16:40 verbose #12022 > > │     else:                                                                    │
00:16:40 verbose #12023 > > │         v7 = method3(v5)                                                     │
00:16:40 verbose #12024 > > │     del v5                                                                   │
00:16:40 verbose #12025 > > │     v10 = "__assert_eq"                                                      │
00:16:40 verbose #12026 > > │     v11 = f"{v10} / actual: {v4} / expected: {15}"                           │
00:16:40 verbose #12027 > > │     del v4, v10                                                              │
00:16:40 verbose #12028 > > │     print(v11)                                                               │
00:16:40 verbose #12029 > > │     v17 = v7 == False                                                        │
00:16:40 verbose #12030 > > │     del v7                                                                   │
00:16:40 verbose #12031 > > │     if v17:                                                                  │
00:16:40 verbose #12032 > > │         del v17                                                              │
00:16:40 verbose #12033 > > │         raise Exception(v11)                                                 │
00:16:40 verbose #12034 > > │     else:                                                                    │
00:16:40 verbose #12035 > > │         del v11, v17                                                         │
00:16:40 verbose #12036 > > │         return                                                               │
00:16:40 verbose #12037 > > │ def main():                                                                  │
00:16:40 verbose #12038 > > │     return method0()                                                         │
00:16:40 verbose #12039 > > │                                                                              │
00:16:40 verbose #12040 > > │ if __name__ == '__main__': result = main(); None if result is None else      │
00:16:40 verbose #12041 > > │ print(result)                                                                │
00:16:40 verbose #12042 > > │                                                                              │
00:16:40 verbose #12043 > > │                                                                              │
00:16:40 verbose #12044 > > │ .py:                                                                         │
00:16:40 verbose #12045 > > │ kernel = r"""                                                                │
00:16:40 verbose #12046 > > │ """                                                                          │
00:16:40 verbose #12047 > > │ class static_array():                                                        │
00:16:40 verbose #12048 > > │     def __init__(self, length):                                              │
00:16:40 verbose #12049 > > │         self.ptr = []                                                        │
00:16:40 verbose #12050 > > │         for _ in range(length):                                              │
00:16:40 verbose #12051 > > │             self.ptr.append(None)                                            │
00:16:40 verbose #12052 > > │                                                                              │
00:16:40 verbose #12053 > > │     def __getitem__(self, index):                                            │
00:16:40 verbose #12054 > > │         assert 0 <= index < len(self.ptr), "The get index needs to be in     │
00:16:40 verbose #12055 > > │ range."                                                                      │
00:16:40 verbose #12056 > > │         return self.ptr[index]                                               │
00:16:40 verbose #12057 > > │                                                                              │
00:16:40 verbose #12058 > > │     def __setitem__(self, index, value):                                     │
00:16:40 verbose #12059 > > │         assert 0 <= index < len(self.ptr), "The set index needs to be in     │
00:16:40 verbose #12060 > > │ range."                                                                      │
00:16:40 verbose #12061 > > │         self.ptr[index] = value                                              │
00:16:40 verbose #12062 > > │                                                                              │
00:16:40 verbose #12063 > > │ class static_array_list(static_array):                                       │
00:16:40 verbose #12064 > > │     def __init__(self, length):                                              │
00:16:40 verbose #12065 > > │         super().__init__(length)                                             │
00:16:40 verbose #12066 > > │         self.length = 0                                                      │
00:16:40 verbose #12067 > > │                                                                              │
00:16:40 verbose #12068 > > │     def __getitem__(self, index):                                            │
00:16:40 verbose #12069 > > │         assert 0 <= index < self.length, "The get index needs to be in       │
00:16:40 verbose #12070 > > │ range."                                                                      │
00:16:40 verbose #12071 > > │         return self.ptr[index]                                               │
00:16:40 verbose #12072 > > │                                                                              │
00:16:40 verbose #12073 > > │     def __setitem__(self, index, value):                                     │
00:16:40 verbose #12074 > > │         assert 0 <= index < self.length, "The set index needs to be in       │
00:16:40 verbose #12075 > > │ range."                                                                      │
00:16:40 verbose #12076 > > │         self.ptr[index] = value                                              │
00:16:40 verbose #12077 > > │                                                                              │
00:16:40 verbose #12078 > > │     def push(self,value):                                                    │
00:16:40 verbose #12079 > > │         assert (self.length < len(self.ptr)), "The length before pushing has │
00:16:40 verbose #12080 > > │ to be less than the maximum length of the array."                            │
00:16:40 verbose #12081 > > │         self.ptr[self.length] = value                                        │
00:16:40 verbose #12082 > > │         self.length += 1                                                     │
00:16:40 verbose #12083 > > │                                                                              │
00:16:40 verbose #12084 > > │     def pop(self):                                                           │
00:16:40 verbose #12085 > > │         assert (0 < self.length), "The length before popping has to be       │
00:16:40 verbose #12086 > > │ greater than 0."                                                             │
00:16:40 verbose #12087 > > │         self.length -= 1                                                     │
00:16:40 verbose #12088 > > │         return self.ptr[self.length]                                         │
00:16:40 verbose #12089 > > │                                                                              │
00:16:40 verbose #12090 > > │     def unsafe_set_length(self,i):                                           │
00:16:40 verbose #12091 > > │         assert 0 <= i <= len(self.ptr), "The new length has to be in range." │
00:16:40 verbose #12092 > > │         self.length = i                                                      │
00:16:40 verbose #12093 > > │                                                                              │
00:16:40 verbose #12094 > > │ class dynamic_array(static_array):                                           │
00:16:40 verbose #12095 > > │     pass                                                                     │
00:16:40 verbose #12096 > > │                                                                              │
00:16:40 verbose #12097 > > │ class dynamic_array_list(static_array_list):                                 │
00:16:40 verbose #12098 > > │     def length_(self): return self.length                                    │
00:16:40 verbose #12099 > > │                                                                              │
00:16:40 verbose #12100 > > │ import cupy as cp                                                            │
00:16:40 verbose #12101 > > │ from dataclasses import dataclass                                            │
00:16:40 verbose #12102 > > │ from typing import NamedTuple, Union, Callable, Tuple                        │
00:16:40 verbose #12103 > > │ i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = │
00:16:40 verbose #12104 > > │ string = str                                                                 │
00:16:40 verbose #12105 > > │                                                                              │
00:16:40 verbose #12106 > > │ def method1() -> i32:                                                        │
00:16:40 verbose #12107 > > │     return 3                                                                 │
00:16:40 verbose #12108 > > │ def method2(v0 : i32, v1 : i32) -> i32:                                      │
00:16:40 verbose #12109 > > │     v2 = v1 + v0                                                             │
00:16:40 verbose #12110 > > │     del v0, v1                                                               │
00:16:40 verbose #12111 > > │     return v2                                                                │
00:16:40 verbose #12112 > > │ def method3(v0 : bool) -> bool:                                              │
00:16:40 verbose #12113 > > │     return v0                                                                │
00:16:40 verbose #12114 > > │ def method0() -> None:                                                       │
00:16:40 verbose #12115 > > │     v0 = method1()                                                           │
00:16:40 verbose #12116 > > │     v1 = 9                                                                   │
00:16:40 verbose #12117 > > │     v2 = method2(v0, v1)                                                     │
00:16:40 verbose #12118 > > │     del v0, v1                                                               │
00:16:40 verbose #12119 > > │     v3 = v2 + 2                                                              │
00:16:40 verbose #12120 > > │     del v2                                                                   │
00:16:40 verbose #12121 > > │     v4 = v3 + 1                                                              │
00:16:40 verbose #12122 > > │     del v3                                                                   │
00:16:40 verbose #12123 > > │     v5 = v4 == 15                                                            │
00:16:40 verbose #12124 > > │     if v5:                                                                   │
00:16:40 verbose #12125 > > │         v7 = True                                                            │
00:16:40 verbose #12126 > > │     else:                                                                    │
00:16:40 verbose #12127 > > │         v7 = method3(v5)                                                     │
00:16:40 verbose #12128 > > │     del v5                                                                   │
00:16:40 verbose #12129 > > │     v10 = "__assert_eq"                                                      │
00:16:40 verbose #12130 > > │     v11 = f"{v10} / actual: {v4} / expected: {15}"                           │
00:16:40 verbose #12131 > > │     del v4, v10                                                              │
00:16:40 verbose #12132 > > │     print(v11)                                                               │
00:16:40 verbose #12133 > > │     v17 = v7 == False                                                        │
00:16:40 verbose #12134 > > │     del v7                                                                   │
00:16:40 verbose #12135 > > │     if v17:                                                                  │
00:16:40 verbose #12136 > > │         del v17                                                              │
00:16:40 verbose #12137 > > │         raise Exception(v11)                                                 │
00:16:40 verbose #12138 > > │     else:                                                                    │
00:16:40 verbose #12139 > > │         del v11, v17                                                         │
00:16:40 verbose #12140 > > │         return                                                               │
00:16:40 verbose #12141 > > │ def main():                                                                  │
00:16:40 verbose #12142 > > │     return method0()                                                         │
00:16:40 verbose #12143 > > │                                                                              │
00:16:40 verbose #12144 > > │ if __name__ == '__main__': result = main(); None if result is None else      │
00:16:40 verbose #12145 > > │ print(result)                                                                │
00:16:40 verbose #12146 > > │                                                                              │
00:16:40 verbose #12147 > > │ .fsx output:                                                                 │
00:16:40 verbose #12148 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:40 verbose #12149 > > │                                                                              │
00:16:40 verbose #12150 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:40 verbose #12151 > >
00:16:40 verbose #12152 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:40 verbose #12153 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:40 verbose #12154 > > │ ### join_body_unit                                                           │
00:16:40 verbose #12155 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:40 verbose #12156 > >
00:16:40 verbose #12157 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:40 verbose #12158 > > inl join_body_unit body d x =
00:16:40 verbose #12159 > >     if var_is d |> not
00:16:40 verbose #12160 > >     then body x
00:16:40 verbose #12161 > >     else
00:16:40 verbose #12162 > >         inl x = dyn x
00:16:40 verbose #12163 > >         join body x
00:16:40 verbose #12164 > 00:16:39   debug #678 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/342a8c67d734af4ae9c681123bb2e4e84b5341ca9b9de8884387ddb0a1328776/main.spi
00:16:40 verbose #12165 > >
00:16:40 verbose #12166 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:40 verbose #12167 > > //// test
00:16:40 verbose #12168 > > ///! fsharp
00:16:40 verbose #12169 > > ///! cuda
00:16:40 verbose #12170 > > ///! rust
00:16:40 verbose #12171 > > ///! typescript
00:16:40 verbose #12172 > > ///! python
00:16:40 verbose #12173 > > //// print_code=true
00:16:40 verbose #12174 > >
00:16:40 verbose #12175 > > [[ 5i32; 4; join 3; 2; 1 ]]
00:16:40 verbose #12176 > > |> fold_list (fun acc n => join_body_unit ((+) acc) n n) 0
00:16:40 verbose #12177 > > |> _assert_eq 15
00:16:40 verbose #12178 > 00:16:39   debug #679 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/35e0592a79aebcdb9fe9d6c1a39649e9824c9eeac908e8c53758d1cbbf15f5a8/main.spi
00:16:40 verbose #12179 > 00:16:39   debug #680 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/93650681598085c942fdeadd20c789f8c13cfebe01f1a42420b7924d62a463e0/main.spi
00:16:48 verbose #12180 > >
00:16:48 verbose #12181 > > ╭─[ 7.88s - return value ]─────────────────────────────────────────────────────╮
00:16:48 verbose #12182 > > │ .py output (Cuda):                                                           │
00:16:48 verbose #12183 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:48 verbose #12184 > > │                                                                              │
00:16:48 verbose #12185 > > │ .rs output:                                                                  │
00:16:48 verbose #12186 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:48 verbose #12187 > > │                                                                              │
00:16:48 verbose #12188 > > │ .ts output:                                                                  │
00:16:48 verbose #12189 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:48 verbose #12190 > > │                                                                              │
00:16:48 verbose #12191 > > │ .py output:                                                                  │
00:16:48 verbose #12192 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:48 verbose #12193 > > │                                                                              │
00:16:48 verbose #12194 > > │                                                                              │
00:16:48 verbose #12195 > > │                                                                              │
00:16:48 verbose #12196 > > │                                                                              │
00:16:48 verbose #12197 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:48 verbose #12198 > >
00:16:48 verbose #12199 > > ╭─[ 7.88s - stdout ]───────────────────────────────────────────────────────────╮
00:16:48 verbose #12200 > > │ .fsx:                                                                        │
00:16:48 verbose #12201 > > │ let rec method1 () : int32 =                                                 │
00:16:48 verbose #12202 > > │     3                                                                        │
00:16:48 verbose #12203 > > │ and method2 (v0 : int32) : int32 =                                           │
00:16:48 verbose #12204 > > │     let v1 : int32 = 9 + v0                                                  │
00:16:48 verbose #12205 > > │     v1                                                                       │
00:16:48 verbose #12206 > > │ and method3 (v0 : bool) : bool =                                             │
00:16:48 verbose #12207 > > │     v0                                                                       │
00:16:48 verbose #12208 > > │ and closure0 (v0 : string) () : unit =                                       │
00:16:48 verbose #12209 > > │     let v1 : (string -> unit) = System.Console.WriteLine                     │
00:16:48 verbose #12210 > > │     v1 v0                                                                    │
00:16:48 verbose #12211 > > │ and method0 () : unit =                                                      │
00:16:48 verbose #12212 > > │     let v0 : int32 = method1()                                               │
00:16:48 verbose #12213 > > │     let v1 : int32 = method2(v0)                                             │
00:16:48 verbose #12214 > > │     let v2 : int32 = v1 + 2                                                  │
00:16:48 verbose #12215 > > │     let v3 : int32 = v2 + 1                                                  │
00:16:48 verbose #12216 > > │     let v4 : bool = v3 = 15                                                  │
00:16:48 verbose #12217 > > │     let v6 : bool =                                                          │
00:16:48 verbose #12218 > > │         if v4 then                                                           │
00:16:48 verbose #12219 > > │             true                                                             │
00:16:48 verbose #12220 > > │         else                                                                 │
00:16:48 verbose #12221 > > │             method3(v4)                                                      │
00:16:48 verbose #12222 > > │     let v7 : string = "__assert_eq"                                          │
00:16:48 verbose #12223 > > │     let v8 : string = $"{v7} / actual: %A{v3} / expected: %A{15}"            │
00:16:48 verbose #12224 > > │     let v11 : unit = ()                                                      │
00:16:48 verbose #12225 > > │     let v12 : (unit -> unit) = closure0(v8)                                  │
00:16:48 verbose #12226 > > │     let v13 : unit = (fun () -> v12 (); v11) ()                              │
00:16:48 verbose #12227 > > │     let v15 : bool = v6 = false                                              │
00:16:48 verbose #12228 > > │     if v15 then                                                              │
00:16:48 verbose #12229 > > │         failwith<unit> v8                                                    │
00:16:48 verbose #12230 > > │ method0()                                                                    │
00:16:48 verbose #12231 > > │                                                                              │
00:16:48 verbose #12232 > > │                                                                              │
00:16:48 verbose #12233 > > │ .rs:                                                                         │
00:16:48 verbose #12234 > > │ #![allow(dead_code)]                                                         │
00:16:48 verbose #12235 > > │ #![allow(non_camel_case_types)]                                              │
00:16:48 verbose #12236 > > │ #![allow(non_snake_case)]                                                    │
00:16:48 verbose #12237 > > │ #![allow(non_upper_case_globals)]                                            │
00:16:48 verbose #12238 > > │ #![allow(unreachable_code)]                                                  │
00:16:48 verbose #12239 > > │ #![allow(unused_attributes)]                                                 │
00:16:48 verbose #12240 > > │ #![allow(unused_imports)]                                                    │
00:16:48 verbose #12241 > > │ #![allow(unused_macros)]                                                     │
00:16:48 verbose #12242 > > │ #![allow(unused_parens)]                                                     │
00:16:48 verbose #12243 > > │ #![allow(unused_variables)]                                                  │
00:16:48 verbose #12244 > > │ mod module_2c87da30 {                                                        │
00:16:48 verbose #12245 > > │     pub mod Spiral_builder {                                                 │
00:16:48 verbose #12246 > > │         use super::*;                                                        │
00:16:48 verbose #12247 > > │         use fable_library_rust::Native_::on_startup;                         │
00:16:48 verbose #12248 > > │         use fable_library_rust::String_::printfn;                            │
00:16:48 verbose #12249 > > │         use fable_library_rust::String_::sprintf;                            │
00:16:48 verbose #12250 > > │         use fable_library_rust::String_::string;                             │
00:16:48 verbose #12251 > > │         pub fn method1() -> i32 {                                            │
00:16:48 verbose #12252 > > │             3_i32                                                            │
00:16:48 verbose #12253 > > │         }                                                                    │
00:16:48 verbose #12254 > > │         pub fn method2(v0: i32) -> i32 {                                     │
00:16:48 verbose #12255 > > │             9_i32 + v0                                                       │
00:16:48 verbose #12256 > > │         }                                                                    │
00:16:48 verbose #12257 > > │         pub fn method3(v0: bool) -> bool {                                   │
00:16:48 verbose #12258 > > │             v0                                                               │
00:16:48 verbose #12259 > > │         }                                                                    │
00:16:48 verbose #12260 > > │         pub fn closure0(v0: string, unitVar: ()) {                           │
00:16:48 verbose #12261 > > │             printfn!("{0}", v0);                                             │
00:16:48 verbose #12262 > > │         }                                                                    │
00:16:48 verbose #12263 > > │         pub fn method0() {                                                   │
00:16:48 verbose #12264 > > │             let v3: i32 = Spiral_builder::method2(Spiral_builder::method1()) │
00:16:48 verbose #12265 > > │ + 2_i32 + 1_i32;                                                             │
00:16:48 verbose #12266 > > │             let v4: bool = v3 == 15_i32;                                     │
00:16:48 verbose #12267 > > │             let v6: bool = if v4 {                                           │
00:16:48 verbose #12268 > > │                 true                                                         │
00:16:48 verbose #12269 > > │             } else {                                                         │
00:16:48 verbose #12270 > > │                 Spiral_builder::method3(v4)                                  │
00:16:48 verbose #12271 > > │             };                                                               │
00:16:48 verbose #12272 > > │             let v8: string = sprintf!(                                       │
00:16:48 verbose #12273 > > │                 "{} / actual: {:?} / expected: {:?}",                        │
00:16:48 verbose #12274 > > │                 string("__assert_eq"),                                       │
00:16:48 verbose #12275 > > │                 v3,                                                          │
00:16:48 verbose #12276 > > │                 15_i32                                                       │
00:16:48 verbose #12277 > > │             );                                                               │
00:16:48 verbose #12278 > > │             let v13: () = {                                                  │
00:16:48 verbose #12279 > > │                 Spiral_builder::closure0(v8.clone(), ());                    │
00:16:48 verbose #12280 > > │                 ()                                                           │
00:16:48 verbose #12281 > > │             };                                                               │
00:16:48 verbose #12282 > > │             if v6 == false {                                                 │
00:16:48 verbose #12283 > > │                 panic!("{}", v8,);                                           │
00:16:48 verbose #12284 > > │             }                                                                │
00:16:48 verbose #12285 > > │         }                                                                    │
00:16:48 verbose #12286 > > │         on_startup!(Spiral_builder::method0());                              │
00:16:48 verbose #12287 > > │     }                                                                        │
00:16:48 verbose #12288 > > │ }                                                                            │
00:16:48 verbose #12289 > > │ pub use module_2c87da30::*;                                                  │
00:16:48 verbose #12290 > > │                                                                              │
00:16:48 verbose #12291 > > │ pub fn main() -> Result<(), String> {                                        │
00:16:48 verbose #12292 > > │     Ok(())                                                                   │
00:16:48 verbose #12293 > > │ }                                                                            │
00:16:48 verbose #12294 > > │                                                                              │
00:16:48 verbose #12295 > > │ .ts:                                                                         │
00:16:48 verbose #12296 > > │ import { int32 } from "./fable_modules/fable-library-ts.4.19.3/Int32.js";    │
00:16:48 verbose #12297 > > │ import { interpolate, toText } from                                          │
00:16:48 verbose #12298 > > │ "./fable_modules/fable-library-ts.4.19.3/String.js";                         │
00:16:48 verbose #12299 > > │                                                                              │
00:16:48 verbose #12300 > > │ export function method1(): int32 {                                           │
00:16:48 verbose #12301 > > │     return 3;                                                                │
00:16:48 verbose #12302 > > │ }                                                                            │
00:16:48 verbose #12303 > > │                                                                              │
00:16:48 verbose #12304 > > │ export function method2(v0: int32): int32 {                                  │
00:16:48 verbose #12305 > > │     return 9 + v0;                                                           │
00:16:48 verbose #12306 > > │ }                                                                            │
00:16:48 verbose #12307 > > │                                                                              │
00:16:48 verbose #12308 > > │ export function method3(v0: boolean): boolean {                              │
00:16:48 verbose #12309 > > │     return v0;                                                               │
00:16:48 verbose #12310 > > │ }                                                                            │
00:16:48 verbose #12311 > > │                                                                              │
00:16:48 verbose #12312 > > │ export function closure0(v0: string, unitVar: void): void {                  │
00:16:48 verbose #12313 > > │     console.log(v0);                                                         │
00:16:48 verbose #12314 > > │ }                                                                            │
00:16:48 verbose #12315 > > │                                                                              │
00:16:48 verbose #12316 > > │ export function method0(): void {                                            │
00:16:48 verbose #12317 > > │     const v3: int32 = ((method2(method1()) + 2) + 1) | 0;                    │
00:16:48 verbose #12318 > > │     const v4: boolean = v3 === 15;                                           │
00:16:48 verbose #12319 > > │     const v6: boolean = v4 ? true : method3(v4);                             │
00:16:48 verbose #12320 > > │     const v8: string = toText(interpolate("%P() / actual: %A%P() / expected: │
00:16:48 verbose #12321 > > │ %A%P()", ["__assert_eq", v3, 15]));                                          │
00:16:48 verbose #12322 > > │     let v13: any;                                                            │
00:16:48 verbose #12323 > > │     closure0(v8, undefined);                                                 │
00:16:48 verbose #12324 > > │     v13 = undefined;                                                         │
00:16:48 verbose #12325 > > │     if (v6 === false) {                                                      │
00:16:48 verbose #12326 > > │         throw new Error(v8);                                                 │
00:16:48 verbose #12327 > > │     }                                                                        │
00:16:48 verbose #12328 > > │ }                                                                            │
00:16:48 verbose #12329 > > │                                                                              │
00:16:48 verbose #12330 > > │ method0();                                                                   │
00:16:48 verbose #12331 > > │                                                                              │
00:16:48 verbose #12332 > > │                                                                              │
00:16:48 verbose #12333 > > │                                                                              │
00:16:48 verbose #12334 > > │ // spiral_builder.process_typescript                                         │
00:16:48 verbose #12335 > > │                                                                              │
00:16:48 verbose #12336 > > │ .py:                                                                         │
00:16:48 verbose #12337 > > │ from fable_modules.fable_library.string_ import (to_text, interpolate)       │
00:16:48 verbose #12338 > > │                                                                              │
00:16:48 verbose #12339 > > │ def method1(__unit: None=None) -> int:                                       │
00:16:48 verbose #12340 > > │     return 3                                                                 │
00:16:48 verbose #12341 > > │                                                                              │
00:16:48 verbose #12342 > > │                                                                              │
00:16:48 verbose #12343 > > │ def method2(v0: int) -> int:                                                 │
00:16:48 verbose #12344 > > │     return 9 + v0                                                            │
00:16:48 verbose #12345 > > │                                                                              │
00:16:48 verbose #12346 > > │                                                                              │
00:16:48 verbose #12347 > > │ def method3(v0: bool) -> bool:                                               │
00:16:48 verbose #12348 > > │     return v0                                                                │
00:16:48 verbose #12349 > > │                                                                              │
00:16:48 verbose #12350 > > │                                                                              │
00:16:48 verbose #12351 > > │ def closure0(v0: str, unit_var: None) -> None:                               │
00:16:48 verbose #12352 > > │     print(v0)                                                                │
00:16:48 verbose #12353 > > │                                                                              │
00:16:48 verbose #12354 > > │                                                                              │
00:16:48 verbose #12355 > > │ def method0(__unit: None=None) -> None:                                      │
00:16:48 verbose #12356 > > │     v3: int = ((method2(method1()) + 2) + 1) or 0                            │
00:16:48 verbose #12357 > > │     v4: bool = v3 == 15                                                      │
00:16:48 verbose #12358 > > │     v6: bool = True if v4 else method3(v4)                                   │
00:16:48 verbose #12359 > > │     v8: str = to_text(interpolate("%P() / actual: %A%P() / expected:         │
00:16:48 verbose #12360 > > │ %A%P()", ["__assert_eq", v3, 15]))                                           │
00:16:48 verbose #12361 > > │     v13: None                                                                │
00:16:48 verbose #12362 > > │     closure0(v8, None)                                                       │
00:16:48 verbose #12363 > > │     v13 = None                                                               │
00:16:48 verbose #12364 > > │     if v6 == False:                                                          │
00:16:48 verbose #12365 > > │         raise Exception(v8)                                                  │
00:16:48 verbose #12366 > > │                                                                              │
00:16:48 verbose #12367 > > │                                                                              │
00:16:48 verbose #12368 > > │                                                                              │
00:16:48 verbose #12369 > > │ method0()                                                                    │
00:16:48 verbose #12370 > > │                                                                              │
00:16:48 verbose #12371 > > │                                                                              │
00:16:48 verbose #12372 > > │                                                                              │
00:16:48 verbose #12373 > > │ # spiral_builder.process_python                                              │
00:16:48 verbose #12374 > > │                                                                              │
00:16:48 verbose #12375 > > │ .py:                                                                         │
00:16:48 verbose #12376 > > │ kernel = r"""                                                                │
00:16:48 verbose #12377 > > │ """                                                                          │
00:16:48 verbose #12378 > > │ class static_array():                                                        │
00:16:48 verbose #12379 > > │     def __init__(self, length):                                              │
00:16:48 verbose #12380 > > │         self.ptr = []                                                        │
00:16:48 verbose #12381 > > │         for _ in range(length):                                              │
00:16:48 verbose #12382 > > │             self.ptr.append(None)                                            │
00:16:48 verbose #12383 > > │                                                                              │
00:16:48 verbose #12384 > > │     def __getitem__(self, index):                                            │
00:16:48 verbose #12385 > > │         assert 0 <= index < len(self.ptr), "The get index needs to be in     │
00:16:48 verbose #12386 > > │ range."                                                                      │
00:16:48 verbose #12387 > > │         return self.ptr[index]                                               │
00:16:48 verbose #12388 > > │                                                                              │
00:16:48 verbose #12389 > > │     def __setitem__(self, index, value):                                     │
00:16:48 verbose #12390 > > │         assert 0 <= index < len(self.ptr), "The set index needs to be in     │
00:16:48 verbose #12391 > > │ range."                                                                      │
00:16:48 verbose #12392 > > │         self.ptr[index] = value                                              │
00:16:48 verbose #12393 > > │                                                                              │
00:16:48 verbose #12394 > > │ class static_array_list(static_array):                                       │
00:16:48 verbose #12395 > > │     def __init__(self, length):                                              │
00:16:48 verbose #12396 > > │         super().__init__(length)                                             │
00:16:48 verbose #12397 > > │         self.length = 0                                                      │
00:16:48 verbose #12398 > > │                                                                              │
00:16:48 verbose #12399 > > │     def __getitem__(self, index):                                            │
00:16:48 verbose #12400 > > │         assert 0 <= index < self.length, "The get index needs to be in       │
00:16:48 verbose #12401 > > │ range."                                                                      │
00:16:48 verbose #12402 > > │         return self.ptr[index]                                               │
00:16:48 verbose #12403 > > │                                                                              │
00:16:48 verbose #12404 > > │     def __setitem__(self, index, value):                                     │
00:16:48 verbose #12405 > > │         assert 0 <= index < self.length, "The set index needs to be in       │
00:16:48 verbose #12406 > > │ range."                                                                      │
00:16:48 verbose #12407 > > │         self.ptr[index] = value                                              │
00:16:48 verbose #12408 > > │                                                                              │
00:16:48 verbose #12409 > > │     def push(self,value):                                                    │
00:16:48 verbose #12410 > > │         assert (self.length < len(self.ptr)), "The length before pushing has │
00:16:48 verbose #12411 > > │ to be less than the maximum length of the array."                            │
00:16:48 verbose #12412 > > │         self.ptr[self.length] = value                                        │
00:16:48 verbose #12413 > > │         self.length += 1                                                     │
00:16:48 verbose #12414 > > │                                                                              │
00:16:48 verbose #12415 > > │     def pop(self):                                                           │
00:16:48 verbose #12416 > > │         assert (0 < self.length), "The length before popping has to be       │
00:16:48 verbose #12417 > > │ greater than 0."                                                             │
00:16:48 verbose #12418 > > │         self.length -= 1                                                     │
00:16:48 verbose #12419 > > │         return self.ptr[self.length]                                         │
00:16:48 verbose #12420 > > │                                                                              │
00:16:48 verbose #12421 > > │     def unsafe_set_length(self,i):                                           │
00:16:48 verbose #12422 > > │         assert 0 <= i <= len(self.ptr), "The new length has to be in range." │
00:16:48 verbose #12423 > > │         self.length = i                                                      │
00:16:48 verbose #12424 > > │                                                                              │
00:16:48 verbose #12425 > > │ class dynamic_array(static_array):                                           │
00:16:48 verbose #12426 > > │     pass                                                                     │
00:16:48 verbose #12427 > > │                                                                              │
00:16:48 verbose #12428 > > │ class dynamic_array_list(static_array_list):                                 │
00:16:48 verbose #12429 > > │     def length_(self): return self.length                                    │
00:16:48 verbose #12430 > > │                                                                              │
00:16:48 verbose #12431 > > │ import cupy as cp                                                            │
00:16:48 verbose #12432 > > │ from dataclasses import dataclass                                            │
00:16:48 verbose #12433 > > │ from typing import NamedTuple, Union, Callable, Tuple                        │
00:16:48 verbose #12434 > > │ i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = │
00:16:48 verbose #12435 > > │ string = str                                                                 │
00:16:48 verbose #12436 > > │                                                                              │
00:16:48 verbose #12437 > > │ def method1() -> i32:                                                        │
00:16:48 verbose #12438 > > │     return 3                                                                 │
00:16:48 verbose #12439 > > │ def method2(v0 : i32) -> i32:                                                │
00:16:48 verbose #12440 > > │     v1 = 9 + v0                                                              │
00:16:48 verbose #12441 > > │     del v0                                                                   │
00:16:48 verbose #12442 > > │     return v1                                                                │
00:16:48 verbose #12443 > > │ def method3(v0 : bool) -> bool:                                              │
00:16:48 verbose #12444 > > │     return v0                                                                │
00:16:48 verbose #12445 > > │ def method0() -> None:                                                       │
00:16:48 verbose #12446 > > │     v0 = method1()                                                           │
00:16:48 verbose #12447 > > │     v1 = method2(v0)                                                         │
00:16:48 verbose #12448 > > │     del v0                                                                   │
00:16:48 verbose #12449 > > │     v2 = v1 + 2                                                              │
00:16:48 verbose #12450 > > │     del v1                                                                   │
00:16:48 verbose #12451 > > │     v3 = v2 + 1                                                              │
00:16:48 verbose #12452 > > │     del v2                                                                   │
00:16:48 verbose #12453 > > │     v4 = v3 == 15                                                            │
00:16:48 verbose #12454 > > │     if v4:                                                                   │
00:16:48 verbose #12455 > > │         v6 = True                                                            │
00:16:48 verbose #12456 > > │     else:                                                                    │
00:16:48 verbose #12457 > > │         v6 = method3(v4)                                                     │
00:16:48 verbose #12458 > > │     del v4                                                                   │
00:16:48 verbose #12459 > > │     v9 = "__assert_eq"                                                       │
00:16:48 verbose #12460 > > │     v10 = f"{v9} / actual: {v3} / expected: {15}"                            │
00:16:48 verbose #12461 > > │     del v3, v9                                                               │
00:16:48 verbose #12462 > > │     print(v10)                                                               │
00:16:48 verbose #12463 > > │     v16 = v6 == False                                                        │
00:16:48 verbose #12464 > > │     del v6                                                                   │
00:16:48 verbose #12465 > > │     if v16:                                                                  │
00:16:48 verbose #12466 > > │         del v16                                                              │
00:16:48 verbose #12467 > > │         raise Exception(v10)                                                 │
00:16:48 verbose #12468 > > │     else:                                                                    │
00:16:48 verbose #12469 > > │         del v10, v16                                                         │
00:16:48 verbose #12470 > > │         return                                                               │
00:16:48 verbose #12471 > > │ def main():                                                                  │
00:16:48 verbose #12472 > > │     return method0()                                                         │
00:16:48 verbose #12473 > > │                                                                              │
00:16:48 verbose #12474 > > │ if __name__ == '__main__': result = main(); None if result is None else      │
00:16:48 verbose #12475 > > │ print(result)                                                                │
00:16:48 verbose #12476 > > │                                                                              │
00:16:48 verbose #12477 > > │                                                                              │
00:16:48 verbose #12478 > > │ .py:                                                                         │
00:16:48 verbose #12479 > > │ kernel = r"""                                                                │
00:16:48 verbose #12480 > > │ """                                                                          │
00:16:48 verbose #12481 > > │ class static_array():                                                        │
00:16:48 verbose #12482 > > │     def __init__(self, length):                                              │
00:16:48 verbose #12483 > > │         self.ptr = []                                                        │
00:16:48 verbose #12484 > > │         for _ in range(length):                                              │
00:16:48 verbose #12485 > > │             self.ptr.append(None)                                            │
00:16:48 verbose #12486 > > │                                                                              │
00:16:48 verbose #12487 > > │     def __getitem__(self, index):                                            │
00:16:48 verbose #12488 > > │         assert 0 <= index < len(self.ptr), "The get index needs to be in     │
00:16:48 verbose #12489 > > │ range."                                                                      │
00:16:48 verbose #12490 > > │         return self.ptr[index]                                               │
00:16:48 verbose #12491 > > │                                                                              │
00:16:48 verbose #12492 > > │     def __setitem__(self, index, value):                                     │
00:16:48 verbose #12493 > > │         assert 0 <= index < len(self.ptr), "The set index needs to be in     │
00:16:48 verbose #12494 > > │ range."                                                                      │
00:16:48 verbose #12495 > > │         self.ptr[index] = value                                              │
00:16:48 verbose #12496 > > │                                                                              │
00:16:48 verbose #12497 > > │ class static_array_list(static_array):                                       │
00:16:48 verbose #12498 > > │     def __init__(self, length):                                              │
00:16:48 verbose #12499 > > │         super().__init__(length)                                             │
00:16:48 verbose #12500 > > │         self.length = 0                                                      │
00:16:48 verbose #12501 > > │                                                                              │
00:16:48 verbose #12502 > > │     def __getitem__(self, index):                                            │
00:16:48 verbose #12503 > > │         assert 0 <= index < self.length, "The get index needs to be in       │
00:16:48 verbose #12504 > > │ range."                                                                      │
00:16:48 verbose #12505 > > │         return self.ptr[index]                                               │
00:16:48 verbose #12506 > > │                                                                              │
00:16:48 verbose #12507 > > │     def __setitem__(self, index, value):                                     │
00:16:48 verbose #12508 > > │         assert 0 <= index < self.length, "The set index needs to be in       │
00:16:48 verbose #12509 > > │ range."                                                                      │
00:16:48 verbose #12510 > > │         self.ptr[index] = value                                              │
00:16:48 verbose #12511 > > │                                                                              │
00:16:48 verbose #12512 > > │     def push(self,value):                                                    │
00:16:48 verbose #12513 > > │         assert (self.length < len(self.ptr)), "The length before pushing has │
00:16:48 verbose #12514 > > │ to be less than the maximum length of the array."                            │
00:16:48 verbose #12515 > > │         self.ptr[self.length] = value                                        │
00:16:48 verbose #12516 > > │         self.length += 1                                                     │
00:16:48 verbose #12517 > > │                                                                              │
00:16:48 verbose #12518 > > │     def pop(self):                                                           │
00:16:48 verbose #12519 > > │         assert (0 < self.length), "The length before popping has to be       │
00:16:48 verbose #12520 > > │ greater than 0."                                                             │
00:16:48 verbose #12521 > > │         self.length -= 1                                                     │
00:16:48 verbose #12522 > > │         return self.ptr[self.length]                                         │
00:16:48 verbose #12523 > > │                                                                              │
00:16:48 verbose #12524 > > │     def unsafe_set_length(self,i):                                           │
00:16:48 verbose #12525 > > │         assert 0 <= i <= len(self.ptr), "The new length has to be in range." │
00:16:48 verbose #12526 > > │         self.length = i                                                      │
00:16:48 verbose #12527 > > │                                                                              │
00:16:48 verbose #12528 > > │ class dynamic_array(static_array):                                           │
00:16:48 verbose #12529 > > │     pass                                                                     │
00:16:48 verbose #12530 > > │                                                                              │
00:16:48 verbose #12531 > > │ class dynamic_array_list(static_array_list):                                 │
00:16:48 verbose #12532 > > │     def length_(self): return self.length                                    │
00:16:48 verbose #12533 > > │                                                                              │
00:16:48 verbose #12534 > > │ import cupy as cp                                                            │
00:16:48 verbose #12535 > > │ from dataclasses import dataclass                                            │
00:16:48 verbose #12536 > > │ from typing import NamedTuple, Union, Callable, Tuple                        │
00:16:48 verbose #12537 > > │ i8 = i16 = i32 = i64 = u8 = u16 = u32 = u64 = int; f32 = f64 = float; char = │
00:16:48 verbose #12538 > > │ string = str                                                                 │
00:16:48 verbose #12539 > > │                                                                              │
00:16:48 verbose #12540 > > │ def method1() -> i32:                                                        │
00:16:48 verbose #12541 > > │     return 3                                                                 │
00:16:48 verbose #12542 > > │ def method2(v0 : i32) -> i32:                                                │
00:16:48 verbose #12543 > > │     v1 = 9 + v0                                                              │
00:16:48 verbose #12544 > > │     del v0                                                                   │
00:16:48 verbose #12545 > > │     return v1                                                                │
00:16:48 verbose #12546 > > │ def method3(v0 : bool) -> bool:                                              │
00:16:48 verbose #12547 > > │     return v0                                                                │
00:16:48 verbose #12548 > > │ def method0() -> None:                                                       │
00:16:48 verbose #12549 > > │     v0 = method1()                                                           │
00:16:48 verbose #12550 > > │     v1 = method2(v0)                                                         │
00:16:48 verbose #12551 > > │     del v0                                                                   │
00:16:48 verbose #12552 > > │     v2 = v1 + 2                                                              │
00:16:48 verbose #12553 > > │     del v1                                                                   │
00:16:48 verbose #12554 > > │     v3 = v2 + 1                                                              │
00:16:48 verbose #12555 > > │     del v2                                                                   │
00:16:48 verbose #12556 > > │     v4 = v3 == 15                                                            │
00:16:48 verbose #12557 > > │     if v4:                                                                   │
00:16:48 verbose #12558 > > │         v6 = True                                                            │
00:16:48 verbose #12559 > > │     else:                                                                    │
00:16:48 verbose #12560 > > │         v6 = method3(v4)                                                     │
00:16:48 verbose #12561 > > │     del v4                                                                   │
00:16:48 verbose #12562 > > │     v9 = "__assert_eq"                                                       │
00:16:48 verbose #12563 > > │     v10 = f"{v9} / actual: {v3} / expected: {15}"                            │
00:16:48 verbose #12564 > > │     del v3, v9                                                               │
00:16:48 verbose #12565 > > │     print(v10)                                                               │
00:16:48 verbose #12566 > > │     v16 = v6 == False                                                        │
00:16:48 verbose #12567 > > │     del v6                                                                   │
00:16:48 verbose #12568 > > │     if v16:                                                                  │
00:16:48 verbose #12569 > > │         del v16                                                              │
00:16:48 verbose #12570 > > │         raise Exception(v10)                                                 │
00:16:48 verbose #12571 > > │     else:                                                                    │
00:16:48 verbose #12572 > > │         del v10, v16                                                         │
00:16:48 verbose #12573 > > │         return                                                               │
00:16:48 verbose #12574 > > │ def main():                                                                  │
00:16:48 verbose #12575 > > │     return method0()                                                         │
00:16:48 verbose #12576 > > │                                                                              │
00:16:48 verbose #12577 > > │ if __name__ == '__main__': result = main(); None if result is None else      │
00:16:48 verbose #12578 > > │ print(result)                                                                │
00:16:48 verbose #12579 > > │                                                                              │
00:16:48 verbose #12580 > > │ .fsx output:                                                                 │
00:16:48 verbose #12581 > > │ __assert_eq / actual: 15 / expected: 15                                      │
00:16:48 verbose #12582 > > │                                                                              │
00:16:48 verbose #12583 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:48 verbose #12584 > >
00:16:48 verbose #12585 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:48 verbose #12586 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:48 verbose #12587 > > │ ### retry_fn'                                                                │
00:16:48 verbose #12588 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:48 verbose #12589 > >
00:16:48 verbose #12590 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:48 verbose #12591 > > inl retry_fn' retries fn =
00:16:48 verbose #12592 > >     let rec loop retry =
00:16:48 verbose #12593 > >         inl is_error, result =
00:16:48 verbose #12594 > >             match fn () with
00:16:48 verbose #12595 > >             | Ok x => false, x
00:16:48 verbose #12596 > >             | Error x => true, x
00:16:48 verbose #12597 > >         if not is_error || retry >= retries
00:16:48 verbose #12598 > >         then result
00:16:48 verbose #12599 > >         else
00:16:48 verbose #12600 > >             trace Debug
00:16:48 verbose #12601 > >                 fun () => $'"common.retry_fn\' / loop"'
00:16:48 verbose #12602 > >                 fun () => { is_error retry = $'$"{!retry}/{!retries}"' : string;
00:16:48 verbose #12603 > > result }
00:16:48 verbose #12604 > >             loop (retry + 1)
00:16:48 verbose #12605 > >     loop 1
00:16:48 verbose #12606 > 00:16:47   debug #681 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/882fc9e50695b909410786adec6ae5cf9932c33f29d7185b3cb2f8637bfc1f0f/main.spi
00:16:48 verbose #12607 > >
00:16:49 verbose #12608 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:49 verbose #12609 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:49 verbose #12610 > > │ ## fsharp                                                                    │
00:16:49 verbose #12611 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #12612 > >
00:16:49 verbose #12613 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:49 verbose #12614 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:49 verbose #12615 > > │ ### upcast                                                                   │
00:16:49 verbose #12616 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #12617 > >
00:16:49 verbose #12618 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:49 verbose #12619 > > inl upcast forall t u. (x : t) : u =
00:16:49 verbose #12620 > >     $'!x :> `u '
00:16:49 verbose #12621 > 00:16:48   debug #682 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/75eb3a94300260d6c14ad7d01d02ff27d57b7f73f6696c0a5cc3c3a03d801c62/main.spi
00:16:49 verbose #12622 > >
00:16:49 verbose #12623 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:49 verbose #12624 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:49 verbose #12625 > > │ ### downcast                                                                 │
00:16:49 verbose #12626 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #12627 > >
00:16:49 verbose #12628 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:49 verbose #12629 > > inl downcast forall t u. (x : t) : u =
00:16:49 verbose #12630 > >     $'!x :?> `u '
00:16:49 verbose #12631 > 00:16:48   debug #683 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/11f9f131e4dce6aef2b6d9f9708fd69c43e75fdde3e95d8a0f4b7d67714b43db/main.spi
00:16:49 verbose #12632 > >
00:16:49 verbose #12633 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:49 verbose #12634 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:49 verbose #12635 > > │ ### random                                                                   │
00:16:49 verbose #12636 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #12637 > >
00:16:49 verbose #12638 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:49 verbose #12639 > > nominal random = $'System.Random'
00:16:49 verbose #12640 > >
00:16:49 verbose #12641 > > inl random () : random =
00:16:49 verbose #12642 > >     $'`random ' ()
00:16:50 verbose #12643 > 00:16:49   debug #684 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9371be023147fb67eb8d89deabe0bc57823c597ce11894a9a10137ecebfdf0c3/main.spi
00:16:50 verbose #12644 > >
00:16:50 verbose #12645 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:50 verbose #12646 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:50 verbose #12647 > > │ ### random_next                                                              │
00:16:50 verbose #12648 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:50 verbose #12649 > >
00:16:50 verbose #12650 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:50 verbose #12651 > > inl random_next (min : i32) (max : i32) (random : random) : i32 =
00:16:50 verbose #12652 > >     $'!random.Next (!min, !max)'
00:16:50 verbose #12653 > 00:16:49   debug #685 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fae45f02fe3d29a5119308e05369006ff1b915bd9bbbd037fb3e8b99f699a863/main.spi
00:16:50 verbose #12654 > >
00:16:50 verbose #12655 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:50 verbose #12656 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:50 verbose #12657 > > │ ### disposable                                                               │
00:16:50 verbose #12658 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:50 verbose #12659 > >
00:16:50 verbose #12660 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:50 verbose #12661 > > nominal disposable t = $"backend_switch `({ Fsharp : $'System.IDisposable';
00:16:50 verbose #12662 > > Python : $'object' })"
00:16:51 verbose #12663 > 00:16:50   debug #686 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7a9acbf289349c6bc32603ecd705aff434bcbbd3ec83d21870ad442148738e14/main.spi
00:16:51 verbose #12664 > >
00:16:51 verbose #12665 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:51 verbose #12666 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:51 verbose #12667 > > │ ### dispose                                                                  │
00:16:51 verbose #12668 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:51 verbose #12669 > >
00:16:51 verbose #12670 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:51 verbose #12671 > > inl dispose (disposable : disposable _) : () =
00:16:51 verbose #12672 > >     backend_switch {
00:16:51 verbose #12673 > >         Fsharp = fun () => disposable |> $'_.Dispose()' : ()
00:16:51 verbose #12674 > >         Python = fun () => $'!disposable.__exit__(None, None, None)' : ()
00:16:51 verbose #12675 > >     }
00:16:51 verbose #12676 > 00:16:50   debug #687 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ceb7ae63b5bd6c0454c1bb9cb34e046a7ca8ad57e55b1b7ffdea2ce19faa07c3/main.spi
00:16:52 verbose #12677 > >
00:16:52 verbose #12678 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:52 verbose #12679 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:52 verbose #12680 > > │ ### return                                                                   │
00:16:52 verbose #12681 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:52 verbose #12682 > >
00:16:52 verbose #12683 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:52 verbose #12684 > > inl return forall t. (x : t) : () =
00:16:52 verbose #12685 > >     $'return !x '
00:16:52 verbose #12686 > >
00:16:52 verbose #12687 > > inl return' forall t. (x : t) : t =
00:16:52 verbose #12688 > >     $'return !x '
00:16:52 verbose #12689 > 00:16:51   debug #688 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/51b9a5c731b8d2f2801f12525c9fd86cdbe3ba34ac30eb27bff0cb796847d463/main.spi
00:16:52 verbose #12690 > >
00:16:52 verbose #12691 > > ── markdown ────────────────────────────────────────────────────────────────────
00:16:52 verbose #12692 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:52 verbose #12693 > > │ ### retry_fn                                                                 │
00:16:52 verbose #12694 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:52 verbose #12695 > >
00:16:52 verbose #12696 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:52 verbose #12697 > > inl retry_fn forall t. retries (fn : () -> t) : option t =
00:16:52 verbose #12698 > >     let rec loop retry =
00:16:52 verbose #12699 > >         try
00:16:52 verbose #12700 > >             fun () =>
00:16:52 verbose #12701 > >                 if retry < retries
00:16:52 verbose #12702 > >                 then fn () |> Some
00:16:52 verbose #12703 > >                 else None
00:16:52 verbose #12704 > >             fun ex =>
00:16:52 verbose #12705 > >                 trace Warning
00:16:52 verbose #12706 > >                     fun () => "common.retry_fn"
00:16:52 verbose #12707 > >                     fun () => { retry ex }
00:16:52 verbose #12708 > >                 None
00:16:52 verbose #12709 > >         |> function
00:16:52 verbose #12710 > >             | Some x => x
00:16:52 verbose #12711 > >             | None => loop (retry + 1)
00:16:52 verbose #12712 > >     loop 0
00:16:52 verbose #12713 > 00:16:51   debug #689 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a81dda996058f5fed40219e2c0d6bff93e0233e1d108b49193e30dc1773b4f8f/main.spi
00:16:52 verbose #12714 > >
00:16:52 verbose #12715 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:52 verbose #12716 > > //// test
00:16:52 verbose #12717 > > ///! fsharp
00:16:52 verbose #12718 > > ////! cuda // v3 = $"retry: {v0} / ex: %A{v1} / {v2 ()}"
00:16:52 verbose #12719 > > ///! rust
00:16:52 verbose #12720 > > ///! typescript
00:16:52 verbose #12721 > > ///! python
00:16:52 verbose #12722 > >
00:16:52 verbose #12723 > > inl retry_fn_test = mut 0i32
00:16:52 verbose #12724 > > fun () =>
00:16:52 verbose #12725 > >     retry_fn_test <- *retry_fn_test + 1
00:16:52 verbose #12726 > >     *retry_fn_test
00:16:52 verbose #12727 > > |> retry_fn 3i32
00:16:52 verbose #12728 > > |> _assert_eq' (Some 1i32)
00:16:53 verbose #12729 > 00:16:52   debug #690 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf1de30180202439bb49139d961a5583df727a47f6c74ab86d520524f5276be9/main.spi
00:17:02 verbose #12730 > >
00:17:02 verbose #12731 > > ╭─[ 9.23s - return value ]─────────────────────────────────────────────────────╮
00:17:02 verbose #12732 > > │ .rs output:                                                                  │
00:17:02 verbose #12733 > > │ __assert_eq' / actual: US0_0(1) / expected: US0_0(1)                         │
00:17:02 verbose #12734 > > │                                                                              │
00:17:02 verbose #12735 > > │ .ts output:                                                                  │
00:17:02 verbose #12736 > > │ __assert_eq' / actual: US0_0 1 / expected: US0_0 1                           │
00:17:02 verbose #12737 > > │                                                                              │
00:17:02 verbose #12738 > > │ .py output:                                                                  │
00:17:02 verbose #12739 > > │ __assert_eq' / actual: US0_0 1 / expected: US0_0 1                           │
00:17:02 verbose #12740 > > │                                                                              │
00:17:02 verbose #12741 > > │                                                                              │
00:17:02 verbose #12742 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:02 verbose #12743 > >
00:17:02 verbose #12744 > > ╭─[ 9.23s - stdout ]───────────────────────────────────────────────────────────╮
00:17:02 verbose #12745 > > │ .fsx output:                                                                 │
00:17:02 verbose #12746 > > │ __assert_eq' / actual: US0_0 1 / expected: US0_0 1                           │
00:17:02 verbose #12747 > > │                                                                              │
00:17:02 verbose #12748 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:02 verbose #12749 > >
00:17:02 verbose #12750 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:02 verbose #12751 > > //// test
00:17:02 verbose #12752 > > ///! fsharp
00:17:02 verbose #12753 > > ////! cuda // v3 = $"retry: {v0} / ex: %A{v1} / {v2 ()}"
00:17:02 verbose #12754 > > ///! rust
00:17:02 verbose #12755 > > ///! typescript
00:17:02 verbose #12756 > > ///! python
00:17:02 verbose #12757 > >
00:17:02 verbose #12758 > > inl retry_fn_test = mut 0i32
00:17:02 verbose #12759 > > fun () =>
00:17:02 verbose #12760 > >     if *retry_fn_test >= 2
00:17:02 verbose #12761 > >     then *retry_fn_test
00:17:02 verbose #12762 > >     else
00:17:02 verbose #12763 > >         retry_fn_test <- *retry_fn_test + 1
00:17:02 verbose #12764 > >         failwith "test"
00:17:02 verbose #12765 > > |> retry_fn 3i32
00:17:02 verbose #12766 > > |> _assert_eq' (Some 2i32)
00:17:02 verbose #12767 > 00:17:01   debug #691 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/caaaa1c5653b1627f514dc0c0892e03375ad19d8ef4ac77e77ec84058ae1db03/main.spi
00:17:10 verbose #12768 > >
00:17:10 verbose #12769 > > ╭─[ 8.23s - return value ]─────────────────────────────────────────────────────╮
00:17:10 verbose #12770 > > │                                                                              │
00:17:10 verbose #12771 > > │ .rs output:                                                                  │
00:17:10 verbose #12772 > > │ 00:00:00 warning #1 common.retry_fn / { retry = 0; ex = Exception {    │
00:17:10 verbose #12773 > > │     message: "test",                                                         │
00:17:10 verbose #12774 > > │ } }                                                                          │
00:17:10 verbose #12775 > > │ 00:00:00 warning #2 common.retry_fn / { retry = 1; ex = Exception {    │
00:17:10 verbose #12776 > > │     message: "test",                                                         │
00:17:10 verbose #12777 > > │ } }                                                                          │
00:17:10 verbose #12778 > > │ __assert_eq' / actual: US0_0(2) / expected: US0_0(2)                         │
00:17:10 verbose #12779 > > │                                                                              │
00:17:10 verbose #12780 > > │                                                                              │
00:17:10 verbose #12781 > > │ .ts output:                                                                  │
00:17:10 verbose #12782 > > │ 00:00:00 warning #1 common.retry_fn / { retry = 0; ex = Error: test }   │
00:17:10 verbose #12783 > > │ 00:00:00 warning #2 common.retry_fn / { retry = 1; ex = Error: test }   │
00:17:10 verbose #12784 > > │ __assert_eq' / actual: US0_0 2 / expected: US0_0 2                           │
00:17:10 verbose #12785 > > │                                                                              │
00:17:10 verbose #12786 > > │                                                                              │
00:17:10 verbose #12787 > > │ .py output:                                                                  │
00:17:10 verbose #12788 > > │ 00:00:00 warning #1 common.retry_fn / { retry = 0; ex = test }          │
00:17:10 verbose #12789 > > │ 00:00:00 warning #2 common.retry_fn / { retry = 1; ex = test }          │
00:17:10 verbose #12790 > > │ __assert_eq' / actual: US0_0 2 / expected: US0_0 2                           │
00:17:10 verbose #12791 > > │                                                                              │
00:17:10 verbose #12792 > > │                                                                              │
00:17:10 verbose #12793 > > │                                                                              │
00:17:10 verbose #12794 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:10 verbose #12795 > >
00:17:10 verbose #12796 > > ╭─[ 8.23s - stdout ]───────────────────────────────────────────────────────────╮
00:17:10 verbose #12797 > > │ .fsx output:                                                                 │
00:17:10 verbose #12798 > > │ 00:00:00 warning #1 common.retry_fn / { retry = 0; ex =                 │
00:17:10 verbose #12799 > > │ System.Exception: test                                                       │
00:17:10 verbose #12800 > > │    at FSI_0031.closure1(Mut0 v0, Int32 v1, Unit unitVar2)                    │
00:17:10 verbose #12801 > > │    at FSI_0031.method1(Mut0 v0, Int32 v1) }                                  │
00:17:10 verbose #12802 > > │ 00:00:00 warning #2 common.retry_fn / { retry = 1; ex =                 │
00:17:10 verbose #12803 > > │ System.Exception: test                                                       │
00:17:10 verbose #12804 > > │    at FSI_0031.closure1(Mut0 v0, Int32 v1, Unit unitVar2)                    │
00:17:10 verbose #12805 > > │    at FSI_0031.method1(Mut0 v0, Int32 v1) }                                  │
00:17:10 verbose #12806 > > │ __assert_eq' / actual: US0_0 2 / expected: US0_0 2                           │
00:17:10 verbose #12807 > > │                                                                              │
00:17:10 verbose #12808 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:10 verbose #12809 > >
00:17:10 verbose #12810 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:10 verbose #12811 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:10 verbose #12812 > > │ ## common                                                                    │
00:17:10 verbose #12813 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:10 verbose #12814 > >
00:17:10 verbose #12815 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:10 verbose #12816 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:10 verbose #12817 > > │ ### random'                                                                  │
00:17:10 verbose #12818 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:10 verbose #12819 > >
00:17:10 verbose #12820 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:10 verbose #12821 > > inl random' forall t. (min : t) (max : t) : t =
00:17:10 verbose #12822 > >     run_target function
00:17:10 verbose #12823 > >         | Rust (Contract) => fun () =>
00:17:10 verbose #12824 > >             failwith "common.random' / target=Rust(Contract)"
00:17:10 verbose #12825 > >         | Rust _ => fun () =>
00:17:10 verbose #12826 > >             open rust.rust_operators
00:17:10 verbose #12827 > >             !\\((min, max), $'"rand::Rng::gen_range(&mut rand::thread_rng(),
00:17:10 verbose #12828 > > $0..$1)"')
00:17:10 verbose #12829 > >         | _ => fun () =>
00:17:10 verbose #12830 > >             random () |> random_next (i32 min) (i32 max) |> convert
00:17:10 verbose #12831 > 00:17:09   debug #692 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/83aeabaf8b0e88c5d003b6cce9d9a54ba723723901ccaca47d58da1f20445fc6/main.spi
00:17:10 verbose #12832 > >
00:17:10 verbose #12833 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:10 verbose #12834 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:10 verbose #12835 > > │ ### new_disposable                                                           │
00:17:10 verbose #12836 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:10 verbose #12837 > >
00:17:10 verbose #12838 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:10 verbose #12839 > > inl new_disposable (fn : () -> ()) : disposable _ =
00:17:10 verbose #12840 > >     run_target function
00:17:10 verbose #12841 > >         | Rust _ => fun () =>
00:17:10 verbose #12842 > >             global "type Disposable (f : unit -> unit) = interface
00:17:10 verbose #12843 > > System.IDisposable with member _.Dispose () = f ()"
00:17:10 verbose #12844 > >             inl fn = join fn
00:17:10 verbose #12845 > >             $'new Disposable (fun () -> Fable.Core.RustInterop.emitRustExpr !fn
00:17:10 verbose #12846 > > "$0()" )'
00:17:10 verbose #12847 > >         | Fsharp _ | TypeScript _ | Python _ => fun () =>
00:17:10 verbose #12848 > >             inl fn = join fn
00:17:10 verbose #12849 > >             $'{ new System.IDisposable with member _.Dispose () = !fn () }'
00:17:10 verbose #12850 > >         | Cuda _ => fun () =>
00:17:10 verbose #12851 > >             $'class Disposable:'
00:17:10 verbose #12852 > >             $'    def __init__(self, fn):'
00:17:10 verbose #12853 > >             $'        self.fn = fn'
00:17:10 verbose #12854 > >             $'    def __exit__(self, exc_type, exc_value, traceback):'
00:17:10 verbose #12855 > >             $'        self.fn()'
00:17:10 verbose #12856 > >             $'        return False'
00:17:10 verbose #12857 > >             $'Disposable(!fn)'
00:17:10 verbose #12858 > >         | _ => fun () => null ()
00:17:10 verbose #12859 > 00:17:10   debug #693 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/22d0ad3d2fd42a7f60ede600dfd3179997d1892c332c73183fbb02430d147882/main.spi
00:17:11 verbose #12860 > >
00:17:11 verbose #12861 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:11 verbose #12862 > > //// test
00:17:11 verbose #12863 > > ///! fsharp
00:17:11 verbose #12864 > > ///! cuda
00:17:11 verbose #12865 > > ///! rust
00:17:11 verbose #12866 > > ///! typescript
00:17:11 verbose #12867 > > ///! python
00:17:11 verbose #12868 > >
00:17:11 verbose #12869 > > inl new_disposable_test = mut 0i32
00:17:11 verbose #12870 > > new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:17:11 verbose #12871 > > |> fun x => x : disposable ()
00:17:11 verbose #12872 > > |> dispose
00:17:11 verbose #12873 > > *new_disposable_test |> _assert_eq 1
00:17:11 verbose #12874 > 00:17:10   debug #694 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0958cdd9c712348e2aef8c595a237a5745fde4d18c2aa95301eec8dc2dda28d2/main.spi
00:17:11 verbose #12875 > 00:17:10   debug #695 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1413dbf9139b92942f1b491b5521983cae564d50a49c6820517cf70aabda45ae/main.spi
00:17:19 verbose #12876 > >
00:17:19 verbose #12877 > > ╭─[ 8.49s - return value ]─────────────────────────────────────────────────────╮
00:17:19 verbose #12878 > > │ .py output (Cuda):                                                           │
00:17:19 verbose #12879 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:17:19 verbose #12880 > > │                                                                              │
00:17:19 verbose #12881 > > │ .rs output:                                                                  │
00:17:19 verbose #12882 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:17:19 verbose #12883 > > │                                                                              │
00:17:19 verbose #12884 > > │ .ts output:                                                                  │
00:17:19 verbose #12885 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:17:19 verbose #12886 > > │                                                                              │
00:17:19 verbose #12887 > > │ .py output:                                                                  │
00:17:19 verbose #12888 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:17:19 verbose #12889 > > │                                                                              │
00:17:19 verbose #12890 > > │                                                                              │
00:17:19 verbose #12891 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:19 verbose #12892 > >
00:17:19 verbose #12893 > > ╭─[ 8.49s - stdout ]───────────────────────────────────────────────────────────╮
00:17:19 verbose #12894 > > │ .fsx output:                                                                 │
00:17:19 verbose #12895 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:17:19 verbose #12896 > > │                                                                              │
00:17:19 verbose #12897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:19 verbose #12898 > >
00:17:19 verbose #12899 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:19 verbose #12900 > > //// test
00:17:19 verbose #12901 > >
00:17:19 verbose #12902 > > inl new_disposable_test = mut 0i32
00:17:19 verbose #12903 > > fun () =>
00:17:19 verbose #12904 > >     new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:17:19 verbose #12905 > >     |> fun x => x : disposable ()
00:17:19 verbose #12906 > >     |> use
00:17:19 verbose #12907 > >     |> ignore
00:17:19 verbose #12908 > >     |> return
00:17:19 verbose #12909 > > |> async.new_task
00:17:19 verbose #12910 > > |> async.await_task
00:17:19 verbose #12911 > > |> async.run_synchronously
00:17:19 verbose #12912 > > *new_disposable_test |> _assert_eq 1
00:17:19 verbose #12913 > 00:17:19   debug #696 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3d374876d87c14e8bbb7c8d322dd6bd22c8dee4a75eefa0ec1ac1b0761b4fd09/main.spi
00:17:20 verbose #12914 > >
00:17:20 verbose #12915 > > ╭─[ 790.20ms - stdout ]────────────────────────────────────────────────────────╮
00:17:20 verbose #12916 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:17:20 verbose #12917 > > │                                                                              │
00:17:20 verbose #12918 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:20 verbose #12919 > >
00:17:20 verbose #12920 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:20 verbose #12921 > > //// test
00:17:20 verbose #12922 > >
00:17:20 verbose #12923 > > inl new_disposable_test = mut 0i32
00:17:20 verbose #12924 > > fun () =>
00:17:20 verbose #12925 > >     new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:17:20 verbose #12926 > >     |> fun x => x : disposable ()
00:17:20 verbose #12927 > >     |> use
00:17:20 verbose #12928 > >     |> ignore
00:17:20 verbose #12929 > >     |> return
00:17:20 verbose #12930 > > |> async.new_async
00:17:20 verbose #12931 > > |> async.run_synchronously
00:17:20 verbose #12932 > > *new_disposable_test |> _assert_eq 1
00:17:20 verbose #12933 > 00:17:19   debug #697 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/49def03d1c32c73d0134327b1eb5438b2af0f9a50c6ce738815b5294a1ed303d/main.spi
00:17:21 verbose #12934 > >
00:17:21 verbose #12935 > > ╭─[ 572.61ms - stdout ]────────────────────────────────────────────────────────╮
00:17:21 verbose #12936 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:17:21 verbose #12937 > > │                                                                              │
00:17:21 verbose #12938 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:21 verbose #12939 > >
00:17:21 verbose #12940 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:21 verbose #12941 > > //// test
00:17:21 verbose #12942 > >
00:17:21 verbose #12943 > > inl new_disposable_test = mut 0i32
00:17:21 verbose #12944 > > fun () =>
00:17:21 verbose #12945 > >     new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:17:21 verbose #12946 > >     |> fun x => x : disposable ()
00:17:21 verbose #12947 > >     |> ignore
00:17:21 verbose #12948 > >     |> return
00:17:21 verbose #12949 > > |> async.new_async
00:17:21 verbose #12950 > > |> async.run_synchronously
00:17:21 verbose #12951 > > *new_disposable_test |> _assert_eq 0
00:17:21 verbose #12952 > 00:17:20   debug #698 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf94afbd9f5910b6835cf8e56285dd1a802ffca539a68b6c18d8213239821f8b/main.spi
00:17:21 verbose #12953 > >
00:17:21 verbose #12954 > > ╭─[ 566.05ms - stdout ]────────────────────────────────────────────────────────╮
00:17:21 verbose #12955 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:17:21 verbose #12956 > > │                                                                              │
00:17:21 verbose #12957 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:21 verbose #12958 > >
00:17:21 verbose #12959 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:21 verbose #12960 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:21 verbose #12961 > > │ ## main                                                                      │
00:17:21 verbose #12962 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:21 verbose #12963 > >
00:17:21 verbose #12964 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:21 verbose #12965 > > inl main () =
00:17:21 verbose #12966 > >     init_trace_state None
00:17:21 verbose #12967 > >     inl new_disposable x : _ () = new_disposable x
00:17:21 verbose #12968 > >     $'let new_disposable x = !new_disposable x' : ()
00:17:21 verbose #12969 > >     inl retry_fn (r : i32) (x : () -> _) : optionm'.option' () = retry_fn r x |>
00:17:21 verbose #12970 > > optionm'.box
00:17:21 verbose #12971 > >     $'let retry_fn x = !retry_fn x' : ()
00:17:21 verbose #12972 > >     inl memoize (fn : () -> ()) : () -> () = memoize fn
00:17:21 verbose #12973 > >     $'let memoize x = !memoize x' : ()
00:17:21 verbose #12974 > 00:17:21   debug #699 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ad3da2a151ced47f1b54c04ea15750392ee2b28bc8c6c509db18c3bc9f1abf7d/main.spi
00:17:23 verbose #12975 > 00:01:33 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 122394 }
00:17:23 verbose #12976 > 00:01:33   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:17:23 verbose #12977 >     "nbconvert",
00:17:23 verbose #12978 >     "c:/home/git/polyglot/lib/spiral/common.dib.ipynb",
00:17:23 verbose #12979 >     "--to",
00:17:23 verbose #12980 >     "html",
00:17:23 verbose #12981 >     "--HTMLExporter.theme=dark",
00:17:23 verbose #12982 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/common.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:17:27 verbose #12983 > 00:01:36 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/common.dib.ipynb to html
00:17:27 verbose #12984 > 00:01:36 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:17:27 verbose #12985 > 00:01:36 verbose #7 !   validate(nb)
00:17:29 verbose #12986 > 00:01:39 verbose #8 ! [NbConvertApp] Writing 365624 bytes to c:\home\git\polyglot\lib\spiral\common.dib.html
00:17:29 verbose #12987 > 00:01:39 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 643 }
00:17:29 verbose #12988 > 00:01:39   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 643 }
00:17:29 verbose #12989 > 00:01:39   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:17:29 verbose #12990 >     "-c",
00:17:29 verbose #12991 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/common.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:17:29 verbose #12992 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/common.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:17:31 verbose #12993 > 00:01:41 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:17:31 verbose #12994 > 00:01:41   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:17:32 verbose #12995 > 00:01:42   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 123096 }
00:17:32   debug #12996 runtime.execute_with_options_async / { exit_code = 0; output_length = 129280 }
00:17:32   debug #16 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path common.dib --retries 3
00:17:32   debug #12997 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path resultm.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:17:32 verbose #12998 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "resultm.dib", "--retries", "3"])) }
00:17:32 verbose #12999 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:17:32 verbose #13000 >     "repl",
00:17:32 verbose #13001 >     "--exit-after-run",
00:17:32 verbose #13002 >     "--run",
00:17:32 verbose #13003 >     "c:/home/git/polyglot/lib/spiral/resultm.dib",
00:17:32 verbose #13004 >     "--output-path",
00:17:32 verbose #13005 >     "c:/home/git/polyglot/lib/spiral/resultm.dib.ipynb",
00:17:32 verbose #13006 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/resultm.dib" --output-path "c:/home/git/polyglot/lib/spiral/resultm.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:17:36 verbose #13007 > >
00:17:36 verbose #13008 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:36 verbose #13009 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:36 verbose #13010 > > │ # resultm                                                                    │
00:17:36 verbose #13011 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:43 verbose #13012 > >
00:17:43 verbose #13013 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:43 verbose #13014 > > open rust
00:17:43 verbose #13015 > > open rust_operators
00:17:44 verbose #13016 > 00:17:43   debug #700 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd47537238fcdc924c2a6b0a99d4f87ecbbde40a43ba8772a0907b5bf4a50e9d/main.spi
00:17:45 verbose #13017 > >
00:17:45 verbose #13018 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:45 verbose #13019 > > //// test
00:17:45 verbose #13020 > >
00:17:45 verbose #13021 > > open testing
00:17:45 verbose #13022 > 00:17:44   debug #701 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f990f43922e45080129606975ec74b3f88780cb3b27c2ae1151c776db6e5e262/main.spi
00:17:45 verbose #13023 > >
00:17:45 verbose #13024 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:45 verbose #13025 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:45 verbose #13026 > > │ ## resultm                                                                   │
00:17:45 verbose #13027 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:45 verbose #13028 > >
00:17:45 verbose #13029 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:45 verbose #13030 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:45 verbose #13031 > > │ ### from_option_error                                                        │
00:17:45 verbose #13032 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:45 verbose #13033 > >
00:17:45 verbose #13034 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:45 verbose #13035 > > inl from_option_error error opt =
00:17:45 verbose #13036 > >     match opt with
00:17:45 verbose #13037 > >     | Some x => Ok x
00:17:45 verbose #13038 > >     | None => Error error
00:17:45 verbose #13039 > 00:17:44   debug #702 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ee5fd5ad991a56e0c139b9132097a8d11dfcfb1582a85a77a76a50e8cf273832/main.spi
00:17:45 verbose #13040 > >
00:17:45 verbose #13041 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:45 verbose #13042 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:45 verbose #13043 > > │ ### from_option                                                              │
00:17:45 verbose #13044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:45 verbose #13045 > >
00:17:45 verbose #13046 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:45 verbose #13047 > > inl from_option opt =
00:17:45 verbose #13048 > >     opt |> from_option_error "resultm.from_option / Option does not have a
00:17:45 verbose #13049 > > value."
00:17:46 verbose #13050 > 00:17:45   debug #703 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b23332dcd3fbac6d1a091e89e5b34aff731cad6d7bbcb091da4c4bc9b6fb082b/main.spi
00:17:46 verbose #13051 > >
00:17:46 verbose #13052 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:46 verbose #13053 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:46 verbose #13054 > > │ ### flatten_option                                                           │
00:17:46 verbose #13055 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:46 verbose #13056 > >
00:17:46 verbose #13057 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:46 verbose #13058 > > inl flatten_option forall t u. (x : option (result (option t) u)) : result
00:17:46 verbose #13059 > > (option t) u =
00:17:46 verbose #13060 > >     match x with
00:17:46 verbose #13061 > >     | Some (Error x) => Error x
00:17:46 verbose #13062 > >     | Some (Ok (Some x)) => Ok (Some x)
00:17:46 verbose #13063 > >     | _ => Ok None
00:17:46 verbose #13064 > 00:17:45   debug #704 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1ad42673f2d2b034c37499af2bd9fd4f4a70bcf533e428b50c3ec7916b54cecd/main.spi
00:17:46 verbose #13065 > >
00:17:46 verbose #13066 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:46 verbose #13067 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:46 verbose #13068 > > │ ### flatten                                                                  │
00:17:46 verbose #13069 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:46 verbose #13070 > >
00:17:46 verbose #13071 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:46 verbose #13072 > > inl flatten forall t u. (x : result (result t u) u) : result t u =
00:17:46 verbose #13073 > >     match x with
00:17:46 verbose #13074 > >     | Ok x => x
00:17:46 verbose #13075 > >     | Error x => Error x
00:17:47 verbose #13076 > 00:17:46   debug #705 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/867244ee0c628497596700ed8dad3e2da46db1f3fbf41f262ee19f486c872ba6/main.spi
00:17:47 verbose #13077 > >
00:17:47 verbose #13078 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:47 verbose #13079 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:47 verbose #13080 > > │ ### get                                                                      │
00:17:47 verbose #13081 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:47 verbose #13082 > >
00:17:47 verbose #13083 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:47 verbose #13084 > > inl get forall t e. (source : result t e) : t =
00:17:47 verbose #13085 > >     match source with
00:17:47 verbose #13086 > >     | Ok x => x
00:17:47 verbose #13087 > >     | Error x => failwith $'$"resultm.get / Result value was Error: {!x}"'
00:17:47 verbose #13088 > 00:17:46   debug #706 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2b1b8c022ae89c5802a3d57b9fc70b8de1c5d9cfed30363d9de9e03085079c82/main.spi
00:17:47 verbose #13089 > >
00:17:47 verbose #13090 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:47 verbose #13091 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:47 verbose #13092 > > │ ### map                                                                      │
00:17:47 verbose #13093 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:47 verbose #13094 > >
00:17:47 verbose #13095 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:47 verbose #13096 > > inl map forall t e u. (fn : t -> u) (source : result t e) : result u e =
00:17:47 verbose #13097 > >     match source with
00:17:47 verbose #13098 > >     | Ok x => x |> fn |> Ok
00:17:47 verbose #13099 > >     | Error x => Error x
00:17:47 verbose #13100 > 00:17:47   debug #707 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7cd35ff9f7c4c565237daa5b6de0786b1c78e6828005906fbaff0cf066bc8ee1/main.spi
00:17:48 verbose #13101 > >
00:17:48 verbose #13102 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:48 verbose #13103 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:48 verbose #13104 > > │ ### map_error                                                                │
00:17:48 verbose #13105 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:48 verbose #13106 > >
00:17:48 verbose #13107 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:48 verbose #13108 > > inl map_error forall t e u. (fn : e -> u) (source : result t e) : result t u =
00:17:48 verbose #13109 > >     match source with
00:17:48 verbose #13110 > >     | Ok x => Ok x
00:17:48 verbose #13111 > >     | Error x => x |> fn |> Error
00:17:48 verbose #13112 > 00:17:47   debug #708 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b325b4de0be1802a17eaa1ab31a364a00373994c0024144e7e7a4bfc5a425927/main.spi
00:17:48 verbose #13113 > >
00:17:48 verbose #13114 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:48 verbose #13115 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:48 verbose #13116 > > │ ### unwrap_err                                                               │
00:17:48 verbose #13117 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:48 verbose #13118 > >
00:17:48 verbose #13119 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:48 verbose #13120 > > inl unwrap_err forall t u. (x : result t u) : u =
00:17:48 verbose #13121 > >     match x with
00:17:48 verbose #13122 > >     | Ok x => failwith $'$"resultm.unwrap_err / x: {!x}"'
00:17:48 verbose #13123 > >     | Error x => x
00:17:48 verbose #13124 > 00:17:47   debug #709 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/607b3f3457ceebfc36e95aeb74fa5699209aa33932c1586d63acd29db70fb9cf/main.spi
00:17:48 verbose #13125 > >
00:17:48 verbose #13126 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:48 verbose #13127 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:48 verbose #13128 > > │ ### ok                                                                       │
00:17:48 verbose #13129 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:48 verbose #13130 > >
00:17:48 verbose #13131 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:48 verbose #13132 > > inl ok forall t. (x : result t _) : option t =
00:17:48 verbose #13133 > >     match x with
00:17:48 verbose #13134 > >     | Ok x => Some x
00:17:48 verbose #13135 > >     | Error _ => None
00:17:49 verbose #13136 > 00:17:48   debug #710 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3502f738ff527c53ef2b2c24599e7536c506619465eb2431b401ce53f9dfface/main.spi
00:17:49 verbose #13137 > >
00:17:49 verbose #13138 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:49 verbose #13139 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:49 verbose #13140 > > │ ## fsharp                                                                    │
00:17:49 verbose #13141 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:49 verbose #13142 > >
00:17:49 verbose #13143 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:49 verbose #13144 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:49 verbose #13145 > > │ ### result'                                                                  │
00:17:49 verbose #13146 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:49 verbose #13147 > >
00:17:49 verbose #13148 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:49 verbose #13149 > > nominal result' t u = $'Result<`t, `u>'
00:17:49 verbose #13150 > 00:17:48   debug #711 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8e74dfbc649b8eab1367dc2a78675c778d8a15ba46b2c7146557c32c27b00ec/main.spi
00:17:49 verbose #13151 > >
00:17:49 verbose #13152 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:49 verbose #13153 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:49 verbose #13154 > > │ ### unbox                                                                    │
00:17:49 verbose #13155 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:49 verbose #13156 > >
00:17:49 verbose #13157 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:49 verbose #13158 > > inl unbox forall t u. (x : result' t u) : result t u =
00:17:49 verbose #13159 > >     inl ok x : result t u = Ok x
00:17:49 verbose #13160 > >     inl error x : result t u = Error x
00:17:49 verbose #13161 > >     real
00:17:49 verbose #13162 > >         typecase t with
00:17:49 verbose #13163 > >         | () => $'match !x with Ok () -> !ok () | Error x -> !error x' : result
00:17:49 verbose #13164 > > t u
00:17:49 verbose #13165 > >         | _ => $'match !x with Ok x -> !ok x | Error x -> !error x' : result t u
00:17:50 verbose #13166 > 00:17:49   debug #712 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1d47e3bda6787db254764074903d0aa57f9c39410b02ec5780360b52a11a5234/main.spi
00:17:50 verbose #13167 > >
00:17:50 verbose #13168 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:50 verbose #13169 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:50 verbose #13170 > > │ ### box                                                                      │
00:17:50 verbose #13171 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:50 verbose #13172 > >
00:17:50 verbose #13173 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:50 verbose #13174 > > inl box forall t u. (x : result t u) : result' t u =
00:17:50 verbose #13175 > >     match x with
00:17:50 verbose #13176 > >     | Ok x => $'Ok !x '
00:17:50 verbose #13177 > >     | Error err => $'Error !err '
00:17:50 verbose #13178 > 00:17:49   debug #713 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32d156e4ab2ecd6686abe06b7dcdf36dd5a3ab9096154764b23afdbd6df27558/main.spi
00:17:50 verbose #13179 > >
00:17:50 verbose #13180 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:50 verbose #13181 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:50 verbose #13182 > > │ ## rust                                                                      │
00:17:50 verbose #13183 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:50 verbose #13184 > >
00:17:50 verbose #13185 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:50 verbose #13186 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:50 verbose #13187 > > │ ### anyhow_result                                                            │
00:17:50 verbose #13188 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:50 verbose #13189 > >
00:17:50 verbose #13190 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:50 verbose #13191 > > nominal anyhow_result t =
00:17:50 verbose #13192 > >     `(
00:17:50 verbose #13193 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:17:50 verbose #13194 > > Fable.Core.Emit(\"anyhow::Result<$0>\")>]]\n#endif\ntype anyhow_Result<'T> =
00:17:50 verbose #13195 > > class end"
00:17:50 verbose #13196 > >         $'' : $'anyhow_Result<`t>'
00:17:50 verbose #13197 > >     )
00:17:50 verbose #13198 > 00:17:49   debug #714 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6aa0a21c5aaa74e814a0e206dd1d21117a534ed4a840bbdd11883d79c65be3eb/main.spi
00:17:50 verbose #13199 > >
00:17:50 verbose #13200 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:50 verbose #13201 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:50 verbose #13202 > > │ ### anyhow_error                                                             │
00:17:50 verbose #13203 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:50 verbose #13204 > >
00:17:50 verbose #13205 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:50 verbose #13206 > > nominal anyhow_error =
00:17:50 verbose #13207 > >     `(
00:17:50 verbose #13208 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:17:50 verbose #13209 > > Fable.Core.Emit(\"anyhow::Error\")>]]\n#endif\ntype anyhow_Error = class end"
00:17:50 verbose #13210 > >         $'' : $'anyhow_Error'
00:17:50 verbose #13211 > >     )
00:17:50 verbose #13212 > >
00:17:50 verbose #13213 > > inl anyhow_error error =
00:17:50 verbose #13214 > >     !\\(error, $'"anyhow::anyhow\!($0)"')
00:17:51 verbose #13215 > 00:17:50   debug #715 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3a06e5f1d8aed91b43c7663a70ac9fded2e68e367bc1033d517ff792e9842075/main.spi
00:17:51 verbose #13216 > >
00:17:51 verbose #13217 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:51 verbose #13218 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:51 verbose #13219 > > │ ### try'                                                                     │
00:17:51 verbose #13220 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:51 verbose #13221 > >
00:17:51 verbose #13222 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:51 verbose #13223 > > inl try' forall t u. (x : result' t u) : t =
00:17:51 verbose #13224 > >     inl is_unit =
00:17:51 verbose #13225 > >         real
00:17:51 verbose #13226 > >             typecase t with
00:17:51 verbose #13227 > >             | () => true
00:17:51 verbose #13228 > >             | _ => false
00:17:51 verbose #13229 > >     if is_unit
00:17:51 verbose #13230 > >     then (!\\(x, $'"true; $0?"') : bool) |> fun _ => $''
00:17:51 verbose #13231 > >     else !\\(x, $'"$0?"')
00:17:51 verbose #13232 > 00:17:50   debug #716 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/34ac6e68c964316e9bd3c4ee5fdd10686d215e9637f32c26af6c696aaa69ba67/main.spi
00:17:51 verbose #13233 > >
00:17:51 verbose #13234 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:51 verbose #13235 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:51 verbose #13236 > > │ ### to_try                                                                   │
00:17:51 verbose #13237 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:51 verbose #13238 > >
00:17:51 verbose #13239 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:51 verbose #13240 > > inl to_try forall t u. (x : result' t u) : rust.try t =
00:17:51 verbose #13241 > >     !\\(x, $'"$0"')
00:17:51 verbose #13242 > 00:17:51   debug #717 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e52f2cb1c96e37df006304392a0430e6e2b9a619f86b13324b36369fff304c7b/main.spi
00:17:52 verbose #13243 > >
00:17:52 verbose #13244 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:52 verbose #13245 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:52 verbose #13246 > > │ ### unwrap'                                                                  │
00:17:52 verbose #13247 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:52 verbose #13248 > >
00:17:52 verbose #13249 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:52 verbose #13250 > > inl unwrap' forall t u. (x : result' t u) : t =
00:17:52 verbose #13251 > >     !\\(x, $'"$0.unwrap()"')
00:17:52 verbose #13252 > 00:17:51   debug #718 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/92c6c4d7b483e6c594c34a18be1cc9b9c4bba1582aa70b6af9089d89f201e17a/main.spi
00:17:52 verbose #13253 > >
00:17:52 verbose #13254 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:52 verbose #13255 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:52 verbose #13256 > > │ ### unbox'                                                                   │
00:17:52 verbose #13257 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:52 verbose #13258 > >
00:17:52 verbose #13259 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:52 verbose #13260 > > inl unbox' forall t u. (x : result' t u) : result t u =
00:17:52 verbose #13261 > >     inl ok x : result t u = Ok x
00:17:52 verbose #13262 > >     inl ok = join ok
00:17:52 verbose #13263 > >     inl error x : result t u = Error x
00:17:52 verbose #13264 > >     inl error = join error
00:17:52 verbose #13265 > >     real
00:17:52 verbose #13266 > >         typecase t with
00:17:52 verbose #13267 > >         | () =>
00:17:52 verbose #13268 > >             (~!\\)
00:17:52 verbose #13269 > >                 `((result' t u -> result t u) * (result' t u -> result t u))
00:17:52 verbose #13270 > >                 `(result t u)
00:17:52 verbose #13271 > >                 ((ok, error), ($'"match !x { Ok(()) => $0(()), Err(e) => $1(e)
00:17:52 verbose #13272 > > }"' : string))
00:17:52 verbose #13273 > >         | _ =>
00:17:52 verbose #13274 > >             (~!\\)
00:17:52 verbose #13275 > >                 `((result' t u -> result t u) * (result' t u -> result t u))
00:17:52 verbose #13276 > >                 `(result t u)
00:17:52 verbose #13277 > >                 ((ok, error), ($'"match !x { Ok(x) => $0(x), Err(e) => $1(e) }"'
00:17:52 verbose #13278 > > : string))
00:17:52 verbose #13279 > 00:17:51   debug #719 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e73be27281830b39fa191718ca7410741f76b498c2bb4abab8e1c639ec21f8da/main.spi
00:17:52 verbose #13280 > >
00:17:52 verbose #13281 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:52 verbose #13282 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:52 verbose #13283 > > │ ### map'                                                                     │
00:17:52 verbose #13284 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:52 verbose #13285 > >
00:17:52 verbose #13286 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:52 verbose #13287 > > inl map' forall t e u. (fn : t -> u) (source : result' t e) : result' u e =
00:17:52 verbose #13288 > >     (!\\(source, $'"true; let _result_map_ = $0.map(|x| { //"') : bool) |>
00:17:52 verbose #13289 > > ignore
00:17:52 verbose #13290 > >     (!\\(fn !\($'"x"'), $'"true; $0 })"') : bool) |> ignore
00:17:52 verbose #13291 > >     !\($'"_result_map_"')
00:17:53 verbose #13292 > 00:17:52   debug #720 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7e276e5f58288b484c800763ff21940ea0ea4c916a65c4e7d9dc08d643f3f266/main.spi
00:17:53 verbose #13293 > >
00:17:53 verbose #13294 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:53 verbose #13295 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:53 verbose #13296 > > │ ### map''                                                                    │
00:17:53 verbose #13297 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:53 verbose #13298 > >
00:17:53 verbose #13299 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:53 verbose #13300 > > inl map'' forall t e u. (fn : t -> u) (source : result' t e) : result' u e =
00:17:53 verbose #13301 > >     inl fn = join fn
00:17:53 verbose #13302 > >     inl source = join source
00:17:53 verbose #13303 > >     !\($'"!source.map(|x| !fn(x))"')
00:17:53 verbose #13304 > 00:17:52   debug #721 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0f3726cca250c1757edbd8c660d93c56424713e8d2dc5b58fcb24821400a07ef/main.spi
00:17:53 verbose #13305 > >
00:17:53 verbose #13306 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:53 verbose #13307 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:53 verbose #13308 > > │ ### map_error'                                                               │
00:17:53 verbose #13309 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:53 verbose #13310 > >
00:17:53 verbose #13311 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:53 verbose #13312 > > inl map_error' forall t e u. (fn : e -> u) (source : result' t e) : result' t u
00:17:53 verbose #13313 > > =
00:17:53 verbose #13314 > >     inl fn = join fn
00:17:53 verbose #13315 > >     !\\((source, fn), $'"$0.map_err(|x| $1(x))"')
00:17:54 verbose #13316 > 00:17:53   debug #722 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/050bfb17fec316aba1208997b8c3b76ad86d554b3b92c41079f872ee48a1afd2/main.spi
00:17:54 verbose #13317 > >
00:17:54 verbose #13318 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:54 verbose #13319 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:54 verbose #13320 > > │ ### map_error''                                                              │
00:17:54 verbose #13321 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:54 verbose #13322 > >
00:17:54 verbose #13323 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:54 verbose #13324 > > inl map_error'' forall t e u. (fn : e -> u) (source : result' t e) : result' t u
00:17:54 verbose #13325 > > =
00:17:54 verbose #13326 > >     (!\\(source, $'"true; let _result_map_error__ = $0.map_err(|x| { //"') :
00:17:54 verbose #13327 > > bool) |> ignore
00:17:54 verbose #13328 > >     (!\\(fn !\($'"x"'), $'"true; $0 })"') : bool) |> ignore
00:17:54 verbose #13329 > >     !\($'"_result_map_error__"')
00:17:54 verbose #13330 > 00:17:53   debug #723 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/21388cccc926b19460f089bf51ad89d4be14b1ed4c561b44c680607dcd3230ee/main.spi
00:17:54 verbose #13331 > >
00:17:54 verbose #13332 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:54 verbose #13333 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:54 verbose #13334 > > │ ### option_ok_or                                                             │
00:17:54 verbose #13335 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:54 verbose #13336 > >
00:17:54 verbose #13337 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:54 verbose #13338 > > inl option_ok_or forall t e. (e : e) (source : optionm'.option' t) : result' t e
00:17:54 verbose #13339 > > =
00:17:54 verbose #13340 > >     !\\(source, $'"$0.ok_or(!e)"')
00:17:54 verbose #13341 > 00:17:53   debug #724 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0c89a46dc102b22c115d329bd2eba1975c5abb0c90e04d194d657d0f795eba2c/main.spi
00:17:55 verbose #13342 > >
00:17:55 verbose #13343 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:55 verbose #13344 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:55 verbose #13345 > > │ ### unwrap_or_else                                                           │
00:17:55 verbose #13346 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:55 verbose #13347 > >
00:17:55 verbose #13348 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:55 verbose #13349 > > inl unwrap_or_else forall t e u. (fn : e -> u) (source : result' t e) : u =
00:17:55 verbose #13350 > >     (!\\(source, $'"true; let _result_unwrap_or_else = $0.unwrap_or_else(|x| {
00:17:55 verbose #13351 > > //"') : bool) |> ignore
00:17:55 verbose #13352 > >     (!\\(fn !\($'"x"'), $'"true; $0 })"') : bool) |> ignore
00:17:55 verbose #13353 > >     !\($'"_result_unwrap_or_else"')
00:17:55 verbose #13354 > 00:17:54   debug #725 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/29601673109cd816fa832550c0bddef5075dca95afb3ed8786ab0bde3a569e02/main.spi
00:17:55 verbose #13355 > >
00:17:55 verbose #13356 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:55 verbose #13357 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:55 verbose #13358 > > │ ### map_or_else                                                              │
00:17:55 verbose #13359 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:55 verbose #13360 > >
00:17:55 verbose #13361 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:55 verbose #13362 > > inl map_or_else forall t e u v. (fn : e -> v) (fn2 : u -> v) (source : result' t
00:17:55 verbose #13363 > > e) : v =
00:17:55 verbose #13364 > >     (!\\(source, $'"true; let _result_map_or_else = $0.map_or_else(|x| { //"') :
00:17:55 verbose #13365 > > bool) |> ignore
00:17:55 verbose #13366 > >     (!\\(fn !\($'"x"'), $'"true; $0 }, |x| { //"') : bool) |> ignore
00:17:55 verbose #13367 > >     (!\\(fn2 !\($'"x"'), $'"true; $0 })"') : bool) |> ignore
00:17:55 verbose #13368 > >     !\($'"_result_map_or_else"')
00:17:55 verbose #13369 > 00:17:54   debug #726 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/53e2f582064fa155bbfaaa76157488e1acb327d2f1f116297a788b6dc51ebdfe/main.spi
00:17:55 verbose #13370 > >
00:17:55 verbose #13371 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:55 verbose #13372 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:55 verbose #13373 > > │ ### as_ref                                                                   │
00:17:55 verbose #13374 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:55 verbose #13375 > >
00:17:55 verbose #13376 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:55 verbose #13377 > > inl as_ref forall t e. (source : result' t e) : result' (rust.ref t) (rust.ref
00:17:55 verbose #13378 > > e) =
00:17:55 verbose #13379 > >     !\($'"!source.as_ref()"')
00:17:56 verbose #13380 > 00:17:55   debug #727 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d4beb2ce43b5f4d4d9c83d3970f646aa46da10c29cb82e884dd893ec6bfab7fb/main.spi
00:17:56 verbose #13381 > >
00:17:56 verbose #13382 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:56 verbose #13383 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:56 verbose #13384 > > │ ### as_ref'                                                                  │
00:17:56 verbose #13385 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:56 verbose #13386 > >
00:17:56 verbose #13387 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:56 verbose #13388 > > inl as_ref' forall t e. (source : rust.ref (result' t e)) : result' (rust.ref t)
00:17:56 verbose #13389 > > (rust.ref e) =
00:17:56 verbose #13390 > >     !\($'"!source.as_ref()"')
00:17:56 verbose #13391 > 00:17:55   debug #728 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/857c3dd89386d283f040dc7c9d036cf3606f4eee74180ecc77477bbe3b2b2994/main.spi
00:17:57 verbose #13392 > >
00:17:57 verbose #13393 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:57 verbose #13394 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:57 verbose #13395 > > │ ### unwrap_or'                                                               │
00:17:57 verbose #13396 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:57 verbose #13397 > >
00:17:57 verbose #13398 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:57 verbose #13399 > > inl unwrap_or' forall t u. (default : t) (x : result' t u) : t =
00:17:57 verbose #13400 > >     !\\((x, default), $'"$0.unwrap_or($1)"')
00:17:57 verbose #13401 > 00:17:56   debug #729 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/37525d5b0b5384bd5ab8724c62513535ff73c5822421d8a927e312dce3a5e08b/main.spi
00:17:57 verbose #13402 > >
00:17:57 verbose #13403 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:57 verbose #13404 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:57 verbose #13405 > > │ ### expect                                                                   │
00:17:57 verbose #13406 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:57 verbose #13407 > >
00:17:57 verbose #13408 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:57 verbose #13409 > > inl expect forall t u. (error : rust.ref string) (x : result' t u) : t =
00:17:57 verbose #13410 > >     !\($'"!x.expect(&!error)"')
00:17:57 verbose #13411 > 00:17:56   debug #730 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5dc6a8f913c8bdf77501e545155cc087d58d29381650afaae9c0a29d657f1d9d/main.spi
00:17:58 verbose #13412 > >
00:17:58 verbose #13413 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:58 verbose #13414 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:58 verbose #13415 > > │ ### is_err                                                                   │
00:17:58 verbose #13416 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:58 verbose #13417 > >
00:17:58 verbose #13418 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:58 verbose #13419 > > inl is_err forall t u. (x : result' t u) : bool =
00:17:58 verbose #13420 > >     !\($'"!x.is_err()"')
00:17:58 verbose #13421 > 00:17:57   debug #731 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0526aff411e759ca7f6b9c27d3858b4fb238c31b74b74a7540ac579fee574efd/main.spi
00:17:58 verbose #13422 > >
00:17:58 verbose #13423 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:58 verbose #13424 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:58 verbose #13425 > > │ ### ok'                                                                      │
00:17:58 verbose #13426 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:58 verbose #13427 > >
00:17:58 verbose #13428 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:58 verbose #13429 > > inl ok' forall t. (x : result' t _) : optionm'.option' t =
00:17:58 verbose #13430 > >     !\\(x, $'"$0.ok()"')
00:17:58 verbose #13431 > 00:17:57   debug #732 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab90166b43491aac0239b8b58c730afa8884488dbbaf413784dcceb49feacaf7/main.spi
00:17:58 verbose #13432 > >
00:17:58 verbose #13433 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:58 verbose #13434 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:58 verbose #13435 > > │ ### err                                                                      │
00:17:58 verbose #13436 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:58 verbose #13437 > >
00:17:58 verbose #13438 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:58 verbose #13439 > > inl err forall t u. (x : u) : result' t u =
00:17:58 verbose #13440 > >     !\\(x, $'"Err($0)"')
00:17:59 verbose #13441 > 00:17:58   debug #733 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0f81a62c5d431c03449abbc505c9e0ba650a198204a2206f33e451dfb00bcbf6/main.spi
00:17:59 verbose #13442 > >
00:17:59 verbose #13443 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:59 verbose #13444 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:59 verbose #13445 > > │ ### transpose                                                                │
00:17:59 verbose #13446 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:59 verbose #13447 > >
00:17:59 verbose #13448 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:59 verbose #13449 > > inl transpose forall t u. (x : optionm'.option' (result' t u)) : result'
00:17:59 verbose #13450 > > (optionm'.option' t) u =
00:17:59 verbose #13451 > >     !\\(x, $'"$0.transpose()"')
00:17:59 verbose #13452 > 00:17:58   debug #734 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/195aab50cd41046979d04488a64bb3a96a1dc1e9bfa645f23dd88224f8e3a2dd/main.spi
00:17:59 verbose #13453 > >
00:17:59 verbose #13454 > > ── markdown ────────────────────────────────────────────────────────────────────
00:17:59 verbose #13455 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:17:59 verbose #13456 > > │ ### rc_try_unwrap                                                            │
00:17:59 verbose #13457 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:59 verbose #13458 > >
00:17:59 verbose #13459 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:17:59 verbose #13460 > > inl rc_try_unwrap forall t. (x : rust.rc t) : result' t (rust.rc t) =
00:17:59 verbose #13461 > >     !\\(x, $'"std::rc::Rc::try_unwrap($0)"')
00:18:00 verbose #13462 > 00:17:59   debug #735 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/38495ac83ed3f6fb48eb583dcc14763fffb56bb89263c741af29217a964f781e/main.spi
00:18:00 verbose #13463 > >
00:18:00 verbose #13464 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:00 verbose #13465 > > //// test
00:18:00 verbose #13466 > > ///! rust
00:18:00 verbose #13467 > >
00:18:00 verbose #13468 > > rust.new_rc true
00:18:00 verbose #13469 > > |> rc_try_unwrap
00:18:00 verbose #13470 > > |> unbox
00:18:00 verbose #13471 > > |> _assert_eq (Ok true)
00:18:00 verbose #13472 > 00:17:59   debug #736 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b631187752c0525c9339493b6a876fa6951c75e8043682fc4f51b30032dea500/main.spi
00:18:06 verbose #13473 > >
00:18:06 verbose #13474 > > ╭─[ 5.88s - return value ]─────────────────────────────────────────────────────╮
00:18:06 verbose #13475 > > │ __assert_eq / actual: US0_0(true) / expected: US0_0(true)                    │
00:18:06 verbose #13476 > > │                                                                              │
00:18:06 verbose #13477 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:06 verbose #13478 > 00:00:34 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 21670 }
00:18:06 verbose #13479 > 00:00:34   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:18:06 verbose #13480 >     "nbconvert",
00:18:06 verbose #13481 >     "c:/home/git/polyglot/lib/spiral/resultm.dib.ipynb",
00:18:06 verbose #13482 >     "--to",
00:18:06 verbose #13483 >     "html",
00:18:06 verbose #13484 >     "--HTMLExporter.theme=dark",
00:18:06 verbose #13485 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/resultm.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:18:09 verbose #13486 > 00:00:37 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/resultm.dib.ipynb to html
00:18:09 verbose #13487 > 00:00:37 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:18:09 verbose #13488 > 00:00:37 verbose #7 !   validate(nb)
00:18:12 verbose #13489 > 00:00:39 verbose #8 ! [NbConvertApp] Writing 343110 bytes to c:\home\git\polyglot\lib\spiral\resultm.dib.html
00:18:12 verbose #13490 > 00:00:39 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 645 }
00:18:12 verbose #13491 > 00:00:39   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 645 }
00:18:12 verbose #13492 > 00:00:39   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:18:12 verbose #13493 >     "-c",
00:18:12 verbose #13494 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/resultm.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:18:12 verbose #13495 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/resultm.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:18:13 verbose #13496 > 00:00:41 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:18:13 verbose #13497 > 00:00:41   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:18:14 verbose #13498 > 00:00:41   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 22374 }
00:18:14   debug #13499 runtime.execute_with_options_async / { exit_code = 0; output_length = 25929 }
00:18:14   debug #17 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path resultm.dib --retries 3
00:18:14   debug #13500 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path console.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:18:14 verbose #13501 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "console.dib", "--retries", "3"])) }
00:18:14 verbose #13502 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:18:14 verbose #13503 >     "repl",
00:18:14 verbose #13504 >     "--exit-after-run",
00:18:14 verbose #13505 >     "--run",
00:18:14 verbose #13506 >     "c:/home/git/polyglot/lib/spiral/console.dib",
00:18:14 verbose #13507 >     "--output-path",
00:18:14 verbose #13508 >     "c:/home/git/polyglot/lib/spiral/console.dib.ipynb",
00:18:14 verbose #13509 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/console.dib" --output-path "c:/home/git/polyglot/lib/spiral/console.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:18:17 verbose #13510 > >
00:18:17 verbose #13511 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:17 verbose #13512 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:17 verbose #13513 > > │ # console                                                                    │
00:18:17 verbose #13514 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:21 verbose #13515 > >
00:18:21 verbose #13516 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:21 verbose #13517 > > //// test
00:18:21 verbose #13518 > >
00:18:21 verbose #13519 > > open testing
00:18:22 verbose #13520 > 00:18:21   debug #737 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:18:23 verbose #13521 > >
00:18:23 verbose #13522 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:23 verbose #13523 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:23 verbose #13524 > > │ ## fsharp                                                                    │
00:18:23 verbose #13525 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:23 verbose #13526 > >
00:18:23 verbose #13527 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:23 verbose #13528 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:23 verbose #13529 > > │ ### console_color                                                            │
00:18:23 verbose #13530 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:23 verbose #13531 > >
00:18:23 verbose #13532 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:23 verbose #13533 > > nominal console_color = $'System.ConsoleColor'
00:18:23 verbose #13534 > 00:18:22   debug #738 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/96ee93cc39aabd1a2400d81adcac40e5e064bc89969421c61af0a57daada1596/main.spi
00:18:23 verbose #13535 > >
00:18:23 verbose #13536 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:23 verbose #13537 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:23 verbose #13538 > > │ ### reset_color                                                              │
00:18:23 verbose #13539 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:23 verbose #13540 > >
00:18:23 verbose #13541 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:23 verbose #13542 > > inl reset_color () : () =
00:18:23 verbose #13543 > >     run_target function
00:18:23 verbose #13544 > >         | Fsharp => fun () => $'System.Console.ResetColor ()'
00:18:23 verbose #13545 > >         | _ => fun () => ()
00:18:23 verbose #13546 > 00:18:23   debug #739 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/eedba5d09c77233354c5748202f7f6adee96a1796fb37e9b5032f6ba1418b680/main.spi
00:18:24 verbose #13547 > >
00:18:24 verbose #13548 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:24 verbose #13549 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:24 verbose #13550 > > │ ### set_foreground_color                                                     │
00:18:24 verbose #13551 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:24 verbose #13552 > >
00:18:24 verbose #13553 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:24 verbose #13554 > > inl set_foreground_color (color : console_color) : () =
00:18:24 verbose #13555 > >     run_target function
00:18:24 verbose #13556 > >         | Fsharp => fun () => $'System.Console.ForegroundColor <- !color '
00:18:24 verbose #13557 > >         | _ => fun () => ()
00:18:24 verbose #13558 > 00:18:23   debug #740 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/501a34676fc57e8aa8de7fd335dc80ddedeb4faf4c73fa7aecdef7aeb9f10d4c/main.spi
00:18:24 verbose #13559 > >
00:18:24 verbose #13560 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:24 verbose #13561 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:24 verbose #13562 > > │ ## console                                                                   │
00:18:24 verbose #13563 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:24 verbose #13564 > >
00:18:24 verbose #13565 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:24 verbose #13566 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:24 verbose #13567 > > │ ### write_line                                                               │
00:18:24 verbose #13568 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:24 verbose #13569 > >
00:18:24 verbose #13570 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:24 verbose #13571 > > inl write_line obj : () =
00:18:24 verbose #13572 > >     backend_switch {
00:18:24 verbose #13573 > >         Fsharp = fun () =>
00:18:24 verbose #13574 > >             fun () => obj |> $'System.Console.WriteLine'
00:18:24 verbose #13575 > >             |> exec_unit
00:18:24 verbose #13576 > >         Python = fun () => $'print(!obj)' : ()
00:18:24 verbose #13577 > >     }
00:18:24 verbose #13578 > 00:18:23   debug #741 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b3d3d688ae5fc90fd6417646839efb4aa6c9f5e83b8ba6c785551b836a5273fe/main.spi
00:18:24 verbose #13579 > >
00:18:24 verbose #13580 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:24 verbose #13581 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:24 verbose #13582 > > │ ### write                                                                    │
00:18:24 verbose #13583 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:24 verbose #13584 > >
00:18:24 verbose #13585 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:24 verbose #13586 > > inl write forall t. (x : t) : () =
00:18:24 verbose #13587 > >     inl s = x |> sm'.format
00:18:24 verbose #13588 > >     backend_switch {
00:18:24 verbose #13589 > >         Python = fun () => $'print(!s, end="")' : ()
00:18:24 verbose #13590 > >         Fsharp = fun () => $'!s |> System.Console.Write' : ()
00:18:24 verbose #13591 > >     }
00:18:25 verbose #13592 > 00:18:24   debug #742 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c7df1d06f3f7fb72657e84b332bc95f0ef0be7cce3055bf535ae6d41b67c1f83/main.spi
00:18:25 verbose #13593 > >
00:18:25 verbose #13594 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:25 verbose #13595 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:25 verbose #13596 > > │ ### write_ln                                                                 │
00:18:25 verbose #13597 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:25 verbose #13598 > >
00:18:25 verbose #13599 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:25 verbose #13600 > > inl write_ln l : () =
00:18:25 verbose #13601 > >     write l
00:18:25 verbose #13602 > >     backend_switch {
00:18:25 verbose #13603 > >         Cuda = fun () => $'printf("\\n")' : ()
00:18:25 verbose #13604 > >         Python = fun () => $"print()" : ()
00:18:25 verbose #13605 > >         Fsharp = fun () => write_line () : ()
00:18:25 verbose #13606 > >     }
00:18:25 verbose #13607 > 00:18:24   debug #743 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1232a057f16fc2bb551400ff1eff8725e1b47e31882af1800ceee1a9bb567675/main.spi
00:18:26 verbose #13608 > 00:00:11 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 4503 }
00:18:26 verbose #13609 > 00:00:11   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:18:26 verbose #13610 >     "nbconvert",
00:18:26 verbose #13611 >     "c:/home/git/polyglot/lib/spiral/console.dib.ipynb",
00:18:26 verbose #13612 >     "--to",
00:18:26 verbose #13613 >     "html",
00:18:26 verbose #13614 >     "--HTMLExporter.theme=dark",
00:18:26 verbose #13615 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/console.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:18:29 verbose #13616 > 00:00:14 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/console.dib.ipynb to html
00:18:29 verbose #13617 > 00:00:14 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:18:29 verbose #13618 > 00:00:14 verbose #7 !   validate(nb)
00:18:30 verbose #13619 > 00:00:16 verbose #8 ! [NbConvertApp] Writing 283391 bytes to c:\home\git\polyglot\lib\spiral\console.dib.html
00:18:31 verbose #13620 > 00:00:16 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 645 }
00:18:31 verbose #13621 > 00:00:16   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 645 }
00:18:31 verbose #13622 > 00:00:16   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:18:31 verbose #13623 >     "-c",
00:18:31 verbose #13624 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/console.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:18:31 verbose #13625 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/console.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:18:32 verbose #13626 > 00:00:17 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:18:32 verbose #13627 > 00:00:17   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:18:33 verbose #13628 > 00:00:18   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 5207 }
00:18:33   debug #13629 runtime.execute_with_options_async / { exit_code = 0; output_length = 8074 }
00:18:33   debug #18 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path console.dib --retries 3
00:18:33   debug #13630 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path base.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:18:33 verbose #13631 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "base.dib", "--retries", "3"])) }
00:18:33 verbose #13632 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:18:33 verbose #13633 >     "repl",
00:18:33 verbose #13634 >     "--exit-after-run",
00:18:33 verbose #13635 >     "--run",
00:18:33 verbose #13636 >     "c:/home/git/polyglot/lib/spiral/base.dib",
00:18:33 verbose #13637 >     "--output-path",
00:18:33 verbose #13638 >     "c:/home/git/polyglot/lib/spiral/base.dib.ipynb",
00:18:33 verbose #13639 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/base.dib" --output-path "c:/home/git/polyglot/lib/spiral/base.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:18:35 verbose #13640 > >
00:18:35 verbose #13641 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:35 verbose #13642 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:35 verbose #13643 > > │ # base                                                                       │
00:18:35 verbose #13644 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:40 verbose #13645 > >
00:18:40 verbose #13646 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:40 verbose #13647 > > //// test
00:18:40 verbose #13648 > >
00:18:40 verbose #13649 > > open testing
00:18:41 verbose #13650 > 00:18:40   debug #744 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:18:41 verbose #13651 > >
00:18:41 verbose #13652 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:41 verbose #13653 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:41 verbose #13654 > > │ ## execution                                                                 │
00:18:41 verbose #13655 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:41 verbose #13656 > >
00:18:41 verbose #13657 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:41 verbose #13658 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:41 verbose #13659 > > │ ### emit                                                                     │
00:18:41 verbose #13660 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:41 verbose #13661 > >
00:18:41 verbose #13662 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:41 verbose #13663 > > inl emit forall t. (x : t) : t =
00:18:41 verbose #13664 > >     $'!x '
00:18:41 verbose #13665 > 00:18:41   debug #745 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/648b92af66c7db6a77722a4a6300f8b9819861d85a6afe069d09153158c2e8fb/main.spi
00:18:42 verbose #13666 > >
00:18:42 verbose #13667 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:42 verbose #13668 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:42 verbose #13669 > > │ ### emit_unit                                                                │
00:18:42 verbose #13670 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:42 verbose #13671 > >
00:18:42 verbose #13672 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:42 verbose #13673 > > inl emit_unit forall t. (x : t) : () =
00:18:42 verbose #13674 > >     $'!x '
00:18:42 verbose #13675 > 00:18:41   debug #746 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a68981bb224e67662ae65b1efd646f57c712748e5adb5a7453c50f0cb03cb098/main.spi
00:18:42 verbose #13676 > >
00:18:42 verbose #13677 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:42 verbose #13678 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:42 verbose #13679 > > │ ### use                                                                      │
00:18:42 verbose #13680 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:42 verbose #13681 > >
00:18:42 verbose #13682 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:42 verbose #13683 > > inl use forall t. (x : t) : t =
00:18:42 verbose #13684 > >     $'use !x = !x ' : ()
00:18:42 verbose #13685 > >     $'!x '
00:18:42 verbose #13686 > 00:18:41   debug #747 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/255dc504edb81506a2836ae4ca98dc7ae9f1c46b0aa971409c339af5c43180db/main.spi
00:18:42 verbose #13687 > >
00:18:42 verbose #13688 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:42 verbose #13689 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:42 verbose #13690 > > │ ## target                                                                    │
00:18:42 verbose #13691 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:42 verbose #13692 > >
00:18:42 verbose #13693 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:42 verbose #13694 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:42 verbose #13695 > > │ ### backend_switch                                                           │
00:18:42 verbose #13696 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:42 verbose #13697 > >
00:18:42 verbose #13698 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:42 verbose #13699 > > inl backend_switch forall t. x : t =
00:18:42 verbose #13700 > >     real
00:18:42 verbose #13701 > >         inl backend key : t =
00:18:42 verbose #13702 > >             inl s = real_core.string_lit_to_symbol key
00:18:42 verbose #13703 > >             real_core.record_type_try_find `(`x) s
00:18:42 verbose #13704 > >                 (forall v'. => (x s) ())
00:18:42 verbose #13705 > >                 (fun () => $'' : t)
00:18:42 verbose #13706 > >         !!!!BackendSwitch (
00:18:42 verbose #13707 > >             ("Fsharp", backend "Fsharp"),
00:18:42 verbose #13708 > >             ("Python", backend "Python"),
00:18:42 verbose #13709 > >             ("Cuda", backend "Cuda")
00:18:42 verbose #13710 > >         )
00:18:43 verbose #13711 > 00:18:42   debug #748 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9054738f9d81744854b1b3685214364aa68b910cf4837f26208db48e06f2b5f1/main.spi
00:18:43 verbose #13712 > >
00:18:43 verbose #13713 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:43 verbose #13714 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:43 verbose #13715 > > │ ### target_runtime                                                           │
00:18:43 verbose #13716 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:43 verbose #13717 > >
00:18:43 verbose #13718 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:43 verbose #13719 > > union target_runtime =
00:18:43 verbose #13720 > >     | Native
00:18:43 verbose #13721 > >     | Wasm
00:18:43 verbose #13722 > >     | Contract
00:18:43 verbose #13723 > 00:18:42   debug #749 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6de5deb231ab8703150b71c20a5ffb753dc6ec6a6b755eff1bc556125ae92f88/main.spi
00:18:43 verbose #13724 > >
00:18:43 verbose #13725 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:43 verbose #13726 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:43 verbose #13727 > > │ ### target                                                                   │
00:18:43 verbose #13728 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:43 verbose #13729 > >
00:18:43 verbose #13730 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:43 verbose #13731 > > union target =
00:18:43 verbose #13732 > >     | Fsharp : target_runtime
00:18:43 verbose #13733 > >     | Cuda : target_runtime
00:18:43 verbose #13734 > >     | Rust : target_runtime
00:18:43 verbose #13735 > >     | TypeScript : target_runtime
00:18:43 verbose #13736 > >     | Python : target_runtime
00:18:43 verbose #13737 > 00:18:42   debug #750 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/212555e699979423ab21936100a02d5c099ee43a8d755a9b1207a996416acfd4/main.spi
00:18:44 verbose #13738 > >
00:18:44 verbose #13739 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:44 verbose #13740 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:44 verbose #13741 > > │ ### run_target_args                                                          │
00:18:44 verbose #13742 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:44 verbose #13743 > >
00:18:44 verbose #13744 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:44 verbose #13745 > > inl run_target_args forall t u. (args : () -> u) (fn : target -> (u -> t)) : t =
00:18:44 verbose #13746 > >     inl args = args () |> dyn
00:18:44 verbose #13747 > >     backend_switch {
00:18:44 verbose #13748 > >         Fsharp = fun () =>
00:18:44 verbose #13749 > >             inl result = $'()' : $'unit'
00:18:44 verbose #13750 > >             inl emit_result x : () =
00:18:44 verbose #13751 > >                 $'let _!result = !x '
00:18:44 verbose #13752 > >             $'\n#if FABLE_COMPILER || WASM || CONTRACT'
00:18:44 verbose #13753 > >             $'\n#if FABLE_COMPILER_RUST && \!WASM && \!CONTRACT'
00:18:44 verbose #13754 > >             inl target = Rust Native
00:18:44 verbose #13755 > >             fn target args |> emit_result
00:18:44 verbose #13756 > >             $'#endif\n#if FABLE_COMPILER_RUST && WASM'
00:18:44 verbose #13757 > >             inl target = Rust Wasm
00:18:44 verbose #13758 > >             fn target args |> emit_result
00:18:44 verbose #13759 > >             $'#endif\n#if FABLE_COMPILER_RUST && CONTRACT'
00:18:44 verbose #13760 > >             inl target = Rust Contract
00:18:44 verbose #13761 > >             fn target args |> emit_result
00:18:44 verbose #13762 > >             $'#endif\n#if FABLE_COMPILER_TYPESCRIPT'
00:18:44 verbose #13763 > >             inl target = TypeScript Native
00:18:44 verbose #13764 > >             fn target args |> emit_result
00:18:44 verbose #13765 > >             $'#endif\n#if FABLE_COMPILER_PYTHON'
00:18:44 verbose #13766 > >             inl target = Python Native
00:18:44 verbose #13767 > >             fn target args |> emit_result
00:18:44 verbose #13768 > >             $'#endif\n#else'
00:18:44 verbose #13769 > >             inl target = Fsharp Native
00:18:44 verbose #13770 > >             fn target args |> emit_result
00:18:44 verbose #13771 > >             $'#endif'
00:18:44 verbose #13772 > >             $'_!result ' : t
00:18:44 verbose #13773 > >         Python = fun () =>
00:18:44 verbose #13774 > >             inl target = Cuda Native
00:18:44 verbose #13775 > >             fn target args
00:18:44 verbose #13776 > >     }
00:18:44 verbose #13777 > 00:18:43   debug #751 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/37be9d34d915243db09ed846b6b18cf92199612932229f389b6d5aa1a52f8416/main.spi
00:18:44 verbose #13778 > >
00:18:44 verbose #13779 > > ── markdown ────────────────────────────────────────────────────────────────────
00:18:44 verbose #13780 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:44 verbose #13781 > > │ ### run_target                                                               │
00:18:44 verbose #13782 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:44 verbose #13783 > >
00:18:44 verbose #13784 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:44 verbose #13785 > > inl run_target forall t. (fn : target -> (() -> t)) : t =
00:18:44 verbose #13786 > >     run_target_args id fn
00:18:44 verbose #13787 > 00:18:43   debug #752 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d8deaf846f6125f280afb433bd62c2909482c86072fd40a039995e6cac77f811/main.spi
00:18:44 verbose #13788 > >
00:18:44 verbose #13789 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:44 verbose #13790 > > //// test
00:18:44 verbose #13791 > > ///! fsharp
00:18:44 verbose #13792 > > ///! cuda
00:18:44 verbose #13793 > > ///! rust
00:18:44 verbose #13794 > > ///! typescript
00:18:44 verbose #13795 > > ///! python
00:18:44 verbose #13796 > >
00:18:44 verbose #13797 > > run_target function
00:18:44 verbose #13798 > >     | Fsharp (Native) => fun () => $'1uy'
00:18:44 verbose #13799 > >     | Cuda (Native) => fun () => $'1'
00:18:44 verbose #13800 > >     | Rust (Native) => fun () => $'1uy'
00:18:44 verbose #13801 > >     | TypeScript (Native) => fun () => $'1uy'
00:18:44 verbose #13802 > >     | Python (Native) => fun () => $'1uy'
00:18:44 verbose #13803 > >     | _ => fun () => $'2uy'
00:18:44 verbose #13804 > > |> _assert_eq 1u8
00:18:44 verbose #13805 > 00:18:44   debug #753 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/278916ae96c79f94888be2be94d549cb851b2c779543eab5c68d26ae68ee3c2e/main.spi
00:18:44 verbose #13806 > 00:18:44   debug #754 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0bfa53060f211259f7c6ab0297db32061996dbd2707d6d4df710c3c24a2d18c7/main.spi
00:19:13 verbose #13807 > >
00:19:13 verbose #13808 > > ╭─[ 28.34s - return value ]────────────────────────────────────────────────────╮
00:19:13 verbose #13809 > > │ .py output (Cuda):                                                           │
00:19:13 verbose #13810 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:19:13 verbose #13811 > > │                                                                              │
00:19:13 verbose #13812 > > │ .rs output:                                                                  │
00:19:13 verbose #13813 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:19:13 verbose #13814 > > │                                                                              │
00:19:13 verbose #13815 > > │ .ts output:                                                                  │
00:19:13 verbose #13816 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:19:13 verbose #13817 > > │                                                                              │
00:19:13 verbose #13818 > > │ .py output:                                                                  │
00:19:13 verbose #13819 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:19:13 verbose #13820 > > │                                                                              │
00:19:13 verbose #13821 > > │                                                                              │
00:19:13 verbose #13822 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #13823 > >
00:19:13 verbose #13824 > > ╭─[ 28.35s - stdout ]──────────────────────────────────────────────────────────╮
00:19:13 verbose #13825 > > │ .fsx output:                                                                 │
00:19:13 verbose #13826 > > │ __assert_eq / actual: 1uy / expected: 1uy                                    │
00:19:13 verbose #13827 > > │                                                                              │
00:19:13 verbose #13828 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #13829 > >
00:19:13 verbose #13830 > > ── markdown ────────────────────────────────────────────────────────────────────
00:19:13 verbose #13831 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:13 verbose #13832 > > │ ## function                                                                  │
00:19:13 verbose #13833 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #13834 > >
00:19:13 verbose #13835 > > ── markdown ────────────────────────────────────────────────────────────────────
00:19:13 verbose #13836 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:13 verbose #13837 > > │ ### eval                                                                     │
00:19:13 verbose #13838 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #13839 > >
00:19:13 verbose #13840 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:13 verbose #13841 > > inl eval fn =
00:19:13 verbose #13842 > >     fn ()
00:19:13 verbose #13843 > 00:19:12   debug #755 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cddc986246b470f6d104bdc6d03e46601c398cc87c35bce4a98c374d80dc6fe0/main.spi
00:19:13 verbose #13844 > >
00:19:13 verbose #13845 > > ── markdown ────────────────────────────────────────────────────────────────────
00:19:13 verbose #13846 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:13 verbose #13847 > > │ ### exec_unit                                                                │
00:19:13 verbose #13848 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #13849 > >
00:19:13 verbose #13850 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:13 verbose #13851 > > inl exec_unit (fn : () -> ()) : () =
00:19:13 verbose #13852 > >     backend_switch {
00:19:13 verbose #13853 > >         Fsharp = fun () =>
00:19:13 verbose #13854 > >             inl unit = $'()' : $'unit'
00:19:13 verbose #13855 > >             ($'(fun () -> !fn (); !unit) ()' : $'unit') |> ignore
00:19:13 verbose #13856 > >         Python = fun () => fn ()
00:19:13 verbose #13857 > >     }
00:19:13 verbose #13858 > 00:19:12   debug #756 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab8133456496905641847a91573ebfc8bbe7f9fcec25945d5666db5163274288/main.spi
00:19:13 verbose #13859 > >
00:19:13 verbose #13860 > > ── markdown ────────────────────────────────────────────────────────────────────
00:19:13 verbose #13861 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:13 verbose #13862 > > │ ### lazy                                                                     │
00:19:13 verbose #13863 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #13864 > >
00:19:13 verbose #13865 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:13 verbose #13866 > > nominal lazy t = $'Lazy<`t>'
00:19:14 verbose #13867 > 00:19:13   debug #757 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c62beafe966c29f2a425c77d8d2141a6e652537ba366e55b5df645936c2102c1/main.spi
00:19:14 verbose #13868 > >
00:19:14 verbose #13869 > > ── markdown ────────────────────────────────────────────────────────────────────
00:19:14 verbose #13870 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:14 verbose #13871 > > │ ### memoize                                                                  │
00:19:14 verbose #13872 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:14 verbose #13873 > >
00:19:14 verbose #13874 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:14 verbose #13875 > > nominal lazy t = $'Lazy<`t>'
00:19:14 verbose #13876 > >
00:19:14 verbose #13877 > > inl memoize forall t. (fn : () -> t) : () -> t =
00:19:14 verbose #13878 > >     inl fn = join fn
00:19:14 verbose #13879 > >     backend_switch {
00:19:14 verbose #13880 > >         Fsharp = fun () =>
00:19:14 verbose #13881 > >             inl result : lazy t = $'lazy !fn ()'
00:19:14 verbose #13882 > >             fun () => $'!result.Value' : t
00:19:14 verbose #13883 > >         Python = fun () =>
00:19:14 verbose #13884 > >             inl result = mut None
00:19:14 verbose #13885 > >             inl computed = mut false
00:19:14 verbose #13886 > >             fun () =>
00:19:14 verbose #13887 > >                 if *computed
00:19:14 verbose #13888 > >                 then *result
00:19:14 verbose #13889 > >                 else
00:19:14 verbose #13890 > >                     result <- fn () |> Some
00:19:14 verbose #13891 > >                     computed <- true
00:19:14 verbose #13892 > >                     *result
00:19:14 verbose #13893 > >                 |> optionm.value
00:19:14 verbose #13894 > >     }
00:19:14 verbose #13895 > 00:19:13   debug #758 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/43aec187d9f99c145f6b4f43e3f23d024bba7baacc74f0cd1d7a94e5bc92da85/main.spi
00:19:14 verbose #13896 > >
00:19:14 verbose #13897 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:14 verbose #13898 > > //// test
00:19:14 verbose #13899 > > ///! fsharp
00:19:14 verbose #13900 > > ///! cuda
00:19:14 verbose #13901 > > ///! rust
00:19:14 verbose #13902 > > ///! typescript
00:19:14 verbose #13903 > > ///! python
00:19:14 verbose #13904 > >
00:19:14 verbose #13905 > > inl count = mut 0i32
00:19:14 verbose #13906 > > inl add =
00:19:14 verbose #13907 > >     fun () =>
00:19:14 verbose #13908 > >         count <- *count + 1
00:19:14 verbose #13909 > >         count
00:19:14 verbose #13910 > >     |> memoize
00:19:14 verbose #13911 > >
00:19:14 verbose #13912 > > add () |> ignore
00:19:14 verbose #13913 > > add () |> ignore
00:19:14 verbose #13914 > > add () |> ignore
00:19:14 verbose #13915 > >
00:19:14 verbose #13916 > > *count
00:19:14 verbose #13917 > > |> _assert_eq 1
00:19:14 verbose #13918 > 00:19:13   debug #759 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/599b4ac5ee3d1ec8d75b1af14b4cbd5f426f14ed5d09564f20ecedc16952e0e7/main.spi
00:19:14 verbose #13919 > 00:19:13   debug #760 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/227956c6d869849badb47ad838e12e9622b0759c8d3df014d029f7bcfaf41955/main.spi
00:20:17 verbose #13920 > >
00:20:17 verbose #13921 > > ╭─[ 1.05m - return value ]─────────────────────────────────────────────────────╮
00:20:17 verbose #13922 > > │ .py output (Cuda):                                                           │
00:20:17 verbose #13923 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:20:17 verbose #13924 > > │                                                                              │
00:20:17 verbose #13925 > > │ .rs output:                                                                  │
00:20:17 verbose #13926 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:20:17 verbose #13927 > > │                                                                              │
00:20:17 verbose #13928 > > │ .ts output:                                                                  │
00:20:17 verbose #13929 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:20:17 verbose #13930 > > │                                                                              │
00:20:17 verbose #13931 > > │ .py output:                                                                  │
00:20:17 verbose #13932 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:20:17 verbose #13933 > > │                                                                              │
00:20:17 verbose #13934 > > │                                                                              │
00:20:17 verbose #13935 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:17 verbose #13936 > >
00:20:17 verbose #13937 > > ╭─[ 1.05m - stdout ]───────────────────────────────────────────────────────────╮
00:20:17 verbose #13938 > > │ .fsx output:                                                                 │
00:20:17 verbose #13939 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:20:17 verbose #13940 > > │                                                                              │
00:20:17 verbose #13941 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:17 verbose #13942 > >
00:20:17 verbose #13943 > > ── markdown ────────────────────────────────────────────────────────────────────
00:20:17 verbose #13944 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:17 verbose #13945 > > │ ### capture                                                                  │
00:20:17 verbose #13946 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:17 verbose #13947 > >
00:20:17 verbose #13948 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:17 verbose #13949 > > inl capture forall t. (fn : () -> t) : t =
00:20:17 verbose #13950 > >     inl result = dyn true
00:20:17 verbose #13951 > >     $'let mutable _!result : `t option = None '
00:20:17 verbose #13952 > >     $'('
00:20:17 verbose #13953 > >     $'(fun () ->'
00:20:17 verbose #13954 > >     $'(fun () ->'
00:20:17 verbose #13955 > >     fn () |> emit_unit
00:20:17 verbose #13956 > >     $')'
00:20:17 verbose #13957 > >     $'|> fun x -> x ()'
00:20:17 verbose #13958 > >     $') () )'
00:20:17 verbose #13959 > >     $'|> fun x -> _!result <- Some x'
00:20:17 verbose #13960 > >     $'match _!result with Some x -> x | None -> failwith "base.capture
00:20:17 verbose #13961 > > _!result=None"'
00:20:18 verbose #13962 > 00:20:17   debug #761 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fd8e606744a1e3e6f9f4963beba18c21ddc66b0da862b70e843c8455fb1d7912/main.spi
00:20:18 verbose #13963 > >
00:20:18 verbose #13964 > > ── markdown ────────────────────────────────────────────────────────────────────
00:20:18 verbose #13965 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:18 verbose #13966 > > │ ## arithmetic                                                                │
00:20:18 verbose #13967 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:18 verbose #13968 > >
00:20:18 verbose #13969 > > ── markdown ────────────────────────────────────────────────────────────────────
00:20:18 verbose #13970 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:18 verbose #13971 > > │ ### (+.)                                                                     │
00:20:18 verbose #13972 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:18 verbose #13973 > >
00:20:18 verbose #13974 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:18 verbose #13975 > > inl (+.) forall t. (a : t) (b : t) : t =
00:20:18 verbose #13976 > >     $'!a + !b '
00:20:18 verbose #13977 > 00:20:17   debug #762 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/040e0b3404acfeab04991812d48b18e7502fbe6ec4fd2dab6c666c1152b60f64/main.spi
00:20:18 verbose #13978 > >
00:20:18 verbose #13979 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:18 verbose #13980 > > //// test
00:20:18 verbose #13981 > > ///! fsharp
00:20:18 verbose #13982 > > ///! cuda
00:20:18 verbose #13983 > > ///! rust
00:20:18 verbose #13984 > > ///! typescript
00:20:18 verbose #13985 > > ///! python
00:20:18 verbose #13986 > >
00:20:18 verbose #13987 > > ($'3' : i32) +. ($'-6' : i32)
00:20:18 verbose #13988 > > |> _assert_eq -3i32
00:20:18 verbose #13989 > 00:20:17   debug #763 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/077e8dafad0122b47fc8e6d9b9df33d9bfeb965eea6ee24e4cbe2dc5f1471128/main.spi
00:20:18 verbose #13990 > 00:20:17   debug #764 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f8d7abcbfaad9d8883e26d99d8738fbba9525541d2e7ddd4e2a32b9d132e54ec/main.spi
00:20:44 verbose #13991 > >
00:20:44 verbose #13992 > > ╭─[ 26.40s - return value ]────────────────────────────────────────────────────╮
00:20:44 verbose #13993 > > │ .py output (Cuda):                                                           │
00:20:44 verbose #13994 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:20:44 verbose #13995 > > │                                                                              │
00:20:44 verbose #13996 > > │ .rs output:                                                                  │
00:20:44 verbose #13997 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:20:44 verbose #13998 > > │                                                                              │
00:20:44 verbose #13999 > > │ .ts output:                                                                  │
00:20:44 verbose #14000 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:20:44 verbose #14001 > > │                                                                              │
00:20:44 verbose #14002 > > │ .py output:                                                                  │
00:20:44 verbose #14003 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:20:44 verbose #14004 > > │                                                                              │
00:20:44 verbose #14005 > > │                                                                              │
00:20:44 verbose #14006 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:44 verbose #14007 > >
00:20:44 verbose #14008 > > ╭─[ 26.40s - stdout ]──────────────────────────────────────────────────────────╮
00:20:44 verbose #14009 > > │ .fsx output:                                                                 │
00:20:44 verbose #14010 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:20:44 verbose #14011 > > │                                                                              │
00:20:44 verbose #14012 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:44 verbose #14013 > >
00:20:44 verbose #14014 > > ── markdown ────────────────────────────────────────────────────────────────────
00:20:44 verbose #14015 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:44 verbose #14016 > > │ ### (-.)                                                                     │
00:20:44 verbose #14017 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:44 verbose #14018 > >
00:20:44 verbose #14019 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:44 verbose #14020 > > inl (-.) forall t. (a : t) (b : t) : t =
00:20:44 verbose #14021 > >     $'!a - !b '
00:20:45 verbose #14022 > 00:20:44   debug #765 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/495e668f3fe8d3c21653a5141cbb15ba1b45b691de9eeab1a89ddb57794d8cad/main.spi
00:20:45 verbose #14023 > >
00:20:45 verbose #14024 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:45 verbose #14025 > > //// test
00:20:45 verbose #14026 > > ///! fsharp
00:20:45 verbose #14027 > > ///! cuda
00:20:45 verbose #14028 > > ///! rust
00:20:45 verbose #14029 > > ///! typescript
00:20:45 verbose #14030 > > ///! python
00:20:45 verbose #14031 > >
00:20:45 verbose #14032 > > ($'3' : i32) -. ($'6' : i32)
00:20:45 verbose #14033 > > |> _assert_eq -3i32
00:20:45 verbose #14034 > 00:20:44   debug #766 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/400d11f3c08875f9c57bec2a70a4c4404e0c92829889d6d2c6d85cd2fbd7e1d1/main.spi
00:20:45 verbose #14035 > 00:20:44   debug #767 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b86a8d13f3bd9521b02ac6916fd38e82853ba72469eb7bb0edfb6bf7653011d6/main.spi
00:21:47 verbose #14036 > >
00:21:47 verbose #14037 > > ╭─[ 1.03m - return value ]─────────────────────────────────────────────────────╮
00:21:47 verbose #14038 > > │ .py output (Cuda):                                                           │
00:21:47 verbose #14039 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:21:47 verbose #14040 > > │                                                                              │
00:21:47 verbose #14041 > > │ .rs output:                                                                  │
00:21:47 verbose #14042 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:21:47 verbose #14043 > > │                                                                              │
00:21:47 verbose #14044 > > │ .ts output:                                                                  │
00:21:47 verbose #14045 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:21:47 verbose #14046 > > │                                                                              │
00:21:47 verbose #14047 > > │ .py output:                                                                  │
00:21:47 verbose #14048 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:21:47 verbose #14049 > > │                                                                              │
00:21:47 verbose #14050 > > │                                                                              │
00:21:47 verbose #14051 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:47 verbose #14052 > >
00:21:47 verbose #14053 > > ╭─[ 1.03m - stdout ]───────────────────────────────────────────────────────────╮
00:21:47 verbose #14054 > > │ .fsx output:                                                                 │
00:21:47 verbose #14055 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:21:47 verbose #14056 > > │                                                                              │
00:21:47 verbose #14057 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:47 verbose #14058 > >
00:21:47 verbose #14059 > > ── markdown ────────────────────────────────────────────────────────────────────
00:21:47 verbose #14060 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:47 verbose #14061 > > │ ### (*.)                                                                     │
00:21:47 verbose #14062 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:47 verbose #14063 > >
00:21:47 verbose #14064 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:47 verbose #14065 > > inl (*.) forall t. (a : t) (b : t) : t =
00:21:47 verbose #14066 > >     $'!a * !b '
00:21:47 verbose #14067 > 00:21:46   debug #768 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/95a464b346edc0d9fde2ec30a4422cefc59060eaf5dc4699124131f8b1f49d9b/main.spi
00:21:47 verbose #14068 > >
00:21:47 verbose #14069 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:47 verbose #14070 > > //// test
00:21:47 verbose #14071 > > ///! fsharp
00:21:47 verbose #14072 > > ///! cuda
00:21:47 verbose #14073 > > ///! rust
00:21:47 verbose #14074 > > ///! typescript
00:21:47 verbose #14075 > > ///! python
00:21:47 verbose #14076 > >
00:21:47 verbose #14077 > > ($'3' : i32) *. ($'-1' : i32)
00:21:47 verbose #14078 > > |> _assert_eq -3i32
00:21:48 verbose #14079 > 00:21:47   debug #769 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe27f16c828b111e950355ac5627c53912db1423df16c531b7f9bbdbb22125e7/main.spi
00:21:48 verbose #14080 > 00:21:47   debug #770 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7eabb726e80351ec710d80658fab65ca2cbc1d60e822e47c9b13acbfadf17c83/main.spi
00:22:55 verbose #14081 > >
00:22:55 verbose #14082 > > ╭─[ 1.12m - return value ]─────────────────────────────────────────────────────╮
00:22:55 verbose #14083 > > │ .py output (Cuda):                                                           │
00:22:55 verbose #14084 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:22:55 verbose #14085 > > │                                                                              │
00:22:55 verbose #14086 > > │ .rs output:                                                                  │
00:22:55 verbose #14087 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:22:55 verbose #14088 > > │                                                                              │
00:22:55 verbose #14089 > > │ .ts output:                                                                  │
00:22:55 verbose #14090 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:22:55 verbose #14091 > > │                                                                              │
00:22:55 verbose #14092 > > │ .py output:                                                                  │
00:22:55 verbose #14093 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:22:55 verbose #14094 > > │                                                                              │
00:22:55 verbose #14095 > > │                                                                              │
00:22:55 verbose #14096 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:55 verbose #14097 > >
00:22:55 verbose #14098 > > ╭─[ 1.12m - stdout ]───────────────────────────────────────────────────────────╮
00:22:55 verbose #14099 > > │ .fsx output:                                                                 │
00:22:55 verbose #14100 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:22:55 verbose #14101 > > │                                                                              │
00:22:55 verbose #14102 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:55 verbose #14103 > >
00:22:55 verbose #14104 > > ── markdown ────────────────────────────────────────────────────────────────────
00:22:55 verbose #14105 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:55 verbose #14106 > > │ ### (/.)                                                                     │
00:22:55 verbose #14107 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:55 verbose #14108 > >
00:22:55 verbose #14109 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:55 verbose #14110 > > inl (/.) forall t. (a : t) (b : t) : t =
00:22:55 verbose #14111 > >     $'!a / !b '
00:22:55 verbose #14112 > 00:22:54   debug #771 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d2034d43ac978d79199369338d0e51eba884c627d36cc25f4e27369c150bc4c0/main.spi
00:22:55 verbose #14113 > >
00:22:55 verbose #14114 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:55 verbose #14115 > > //// test
00:22:55 verbose #14116 > > ///! fsharp
00:22:55 verbose #14117 > > ///! cuda
00:22:55 verbose #14118 > > ///! rust
00:22:55 verbose #14119 > > ///! typescript
00:22:55 verbose #14120 > > ///! python
00:22:55 verbose #14121 > >
00:22:55 verbose #14122 > > ($'-3' : i32) /. ($'1' : i32)
00:22:55 verbose #14123 > > |> _assert_eq -3i32
00:22:55 verbose #14124 > 00:22:55   debug #772 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aab65d1567e0d3b4cfd107350fa835c7c9a58859a58fa290f5ab31af507b88f7/main.spi
00:22:55 verbose #14125 > 00:22:55   debug #773 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/41f0e72cd92fcf025eb5e6bddd39ac862b0275b031803de19aaf8f227111ee2a/main.spi
00:23:46 verbose #14126 > >
00:23:46 verbose #14127 > > ╭─[ 50.80s - return value ]────────────────────────────────────────────────────╮
00:23:46 verbose #14128 > > │ .py output (Cuda):                                                           │
00:23:46 verbose #14129 > > │ __assert_eq / actual: -3.0 / expected: -3                                    │
00:23:46 verbose #14130 > > │                                                                              │
00:23:46 verbose #14131 > > │ .rs output:                                                                  │
00:23:46 verbose #14132 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:23:46 verbose #14133 > > │                                                                              │
00:23:46 verbose #14134 > > │ .ts output:                                                                  │
00:23:46 verbose #14135 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:23:46 verbose #14136 > > │                                                                              │
00:23:46 verbose #14137 > > │ .py output:                                                                  │
00:23:46 verbose #14138 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:23:46 verbose #14139 > > │                                                                              │
00:23:46 verbose #14140 > > │                                                                              │
00:23:46 verbose #14141 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:46 verbose #14142 > >
00:23:46 verbose #14143 > > ╭─[ 50.81s - stdout ]──────────────────────────────────────────────────────────╮
00:23:46 verbose #14144 > > │ .fsx output:                                                                 │
00:23:46 verbose #14145 > > │ __assert_eq / actual: -3 / expected: -3                                      │
00:23:46 verbose #14146 > > │                                                                              │
00:23:46 verbose #14147 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:46 verbose #14148 > >
00:23:46 verbose #14149 > > ── markdown ────────────────────────────────────────────────────────────────────
00:23:46 verbose #14150 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:46 verbose #14151 > > │ ## comparison                                                                │
00:23:46 verbose #14152 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:46 verbose #14153 > >
00:23:46 verbose #14154 > > ── markdown ────────────────────────────────────────────────────────────────────
00:23:46 verbose #14155 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:46 verbose #14156 > > │ ### (=.)                                                                     │
00:23:46 verbose #14157 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:46 verbose #14158 > >
00:23:46 verbose #14159 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:46 verbose #14160 > > inl (=.) forall t. (a : t) (b : t) : bool =
00:23:46 verbose #14161 > >     backend_switch {
00:23:46 verbose #14162 > >         Fsharp = fun () => $'!a = !b ' : bool
00:23:46 verbose #14163 > >         Python = fun () => $'!a == !b ' : bool
00:23:46 verbose #14164 > >     }
00:23:46 verbose #14165 > 00:23:45   debug #774 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7b0be7dd05d767d419a000038d5663e56d61e7ecfb48f539c65e72358c6019a0/main.spi
00:23:46 verbose #14166 > >
00:23:46 verbose #14167 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:46 verbose #14168 > > //// test
00:23:46 verbose #14169 > > ///! fsharp
00:23:46 verbose #14170 > > ///! cuda
00:23:46 verbose #14171 > > ///! rust
00:23:46 verbose #14172 > > ///! typescript
00:23:46 verbose #14173 > > ///! python
00:23:46 verbose #14174 > >
00:23:46 verbose #14175 > > ($'-3' : i32) =. ($'-3' : i32)
00:23:46 verbose #14176 > > |> _assert_eq true
00:23:47 verbose #14177 > 00:23:46   debug #775 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/887e7f233a4eaa87a3af35199ccc8d541ff9c96c550e10ebf6570b98c1a30278/main.spi
00:23:47 verbose #14178 > 00:23:46   debug #776 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/191e11282dec9475904ed14e29cdf012f1037cbb1316dcd02678914dccb30979/main.spi
00:24:40 verbose #14179 > >
00:24:40 verbose #14180 > > ╭─[ 53.28s - return value ]────────────────────────────────────────────────────╮
00:24:40 verbose #14181 > > │ .py output (Cuda):                                                           │
00:24:40 verbose #14182 > > │ __assert_eq / actual: True / expected: True                                  │
00:24:40 verbose #14183 > > │                                                                              │
00:24:40 verbose #14184 > > │ .rs output:                                                                  │
00:24:40 verbose #14185 > > │ __assert_eq / actual: true / expected: true                                  │
00:24:40 verbose #14186 > > │                                                                              │
00:24:40 verbose #14187 > > │ .ts output:                                                                  │
00:24:40 verbose #14188 > > │ __assert_eq / actual: true / expected: true                                  │
00:24:40 verbose #14189 > > │                                                                              │
00:24:40 verbose #14190 > > │ .py output:                                                                  │
00:24:40 verbose #14191 > > │ __assert_eq / actual: true / expected: true                                  │
00:24:40 verbose #14192 > > │                                                                              │
00:24:40 verbose #14193 > > │                                                                              │
00:24:40 verbose #14194 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:40 verbose #14195 > >
00:24:40 verbose #14196 > > ╭─[ 53.29s - stdout ]──────────────────────────────────────────────────────────╮
00:24:40 verbose #14197 > > │ .fsx output:                                                                 │
00:24:40 verbose #14198 > > │ __assert_eq / actual: true / expected: true                                  │
00:24:40 verbose #14199 > > │                                                                              │
00:24:40 verbose #14200 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:40 verbose #14201 > >
00:24:40 verbose #14202 > > ── markdown ────────────────────────────────────────────────────────────────────
00:24:40 verbose #14203 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:40 verbose #14204 > > │ ### (<>.)                                                                    │
00:24:40 verbose #14205 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:40 verbose #14206 > >
00:24:40 verbose #14207 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:40 verbose #14208 > > inl (<>.) forall t. (a : t) (b : t) : bool =
00:24:40 verbose #14209 > >     backend_switch {
00:24:40 verbose #14210 > >         Fsharp = fun () => $'!a <> !b ' : bool
00:24:40 verbose #14211 > >         Python = fun () => $'!a \!= !b ' : bool
00:24:40 verbose #14212 > >     }
00:24:40 verbose #14213 > 00:24:39   debug #777 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5ffc9e81d02e1384e906850f0ecc5ce02bb1b972126b630e7cd52d2528c33065/main.spi
00:24:40 verbose #14214 > >
00:24:40 verbose #14215 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:40 verbose #14216 > > //// test
00:24:40 verbose #14217 > > ///! fsharp
00:24:40 verbose #14218 > > ///! cuda
00:24:40 verbose #14219 > > ///! rust
00:24:40 verbose #14220 > > ///! typescript
00:24:40 verbose #14221 > > ///! python
00:24:40 verbose #14222 > >
00:24:40 verbose #14223 > > ($'-3' : i32) <>. ($'3' : i32)
00:24:40 verbose #14224 > > |> _assert_eq true
00:24:40 verbose #14225 > 00:24:39   debug #778 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/67eac87bf77726c0098f0366c7d38279faa7f8d72261ba59f02b8f46071ae534/main.spi
00:24:40 verbose #14226 > 00:24:39   debug #779 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1ec378fb64da126d035e09d1c2c2084fa9b78347f7f79d8060196637cf76beb0/main.spi
00:25:21 verbose #14227 > >
00:25:21 verbose #14228 > > ╭─[ 40.60s - return value ]────────────────────────────────────────────────────╮
00:25:21 verbose #14229 > > │ .py output (Cuda):                                                           │
00:25:21 verbose #14230 > > │ __assert_eq / actual: True / expected: True                                  │
00:25:21 verbose #14231 > > │                                                                              │
00:25:21 verbose #14232 > > │ .rs output:                                                                  │
00:25:21 verbose #14233 > > │ __assert_eq / actual: true / expected: true                                  │
00:25:21 verbose #14234 > > │                                                                              │
00:25:21 verbose #14235 > > │ .ts output:                                                                  │
00:25:21 verbose #14236 > > │ __assert_eq / actual: true / expected: true                                  │
00:25:21 verbose #14237 > > │                                                                              │
00:25:21 verbose #14238 > > │ .py output:                                                                  │
00:25:21 verbose #14239 > > │ __assert_eq / actual: true / expected: true                                  │
00:25:21 verbose #14240 > > │                                                                              │
00:25:21 verbose #14241 > > │                                                                              │
00:25:21 verbose #14242 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:21 verbose #14243 > >
00:25:21 verbose #14244 > > ╭─[ 40.60s - stdout ]──────────────────────────────────────────────────────────╮
00:25:21 verbose #14245 > > │ .fsx output:                                                                 │
00:25:21 verbose #14246 > > │ __assert_eq / actual: true / expected: true                                  │
00:25:21 verbose #14247 > > │                                                                              │
00:25:21 verbose #14248 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:21 verbose #14249 > >
00:25:21 verbose #14250 > > ── markdown ────────────────────────────────────────────────────────────────────
00:25:21 verbose #14251 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:21 verbose #14252 > > │ ## (<>..)                                                                    │
00:25:21 verbose #14253 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:21 verbose #14254 > >
00:25:21 verbose #14255 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:21 verbose #14256 > > inl (<>..) a b =
00:25:21 verbose #14257 > >     fun () => a = b
00:25:21 verbose #14258 > >     |> dyn
00:25:21 verbose #14259 > >     |> eval
00:25:21 verbose #14260 > >     |> not
00:25:21 verbose #14261 > 00:25:20   debug #780 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4619af67a573a39575301b442540af5793dcfc23bdd7a2c413a86bbd8cbca46c/main.spi
00:25:21 verbose #14262 > >
00:25:21 verbose #14263 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:21 verbose #14264 > > //// test
00:25:21 verbose #14265 > > ///! fsharp
00:25:21 verbose #14266 > > ///! cuda
00:25:21 verbose #14267 > > ///! rust
00:25:21 verbose #14268 > > ///! typescript
00:25:21 verbose #14269 > > ///! python
00:25:21 verbose #14270 > >
00:25:21 verbose #14271 > > ($'-3' : i32) <>.. ($'3' : i32)
00:25:21 verbose #14272 > > |> _assert_eq true
00:25:21 verbose #14273 > 00:25:20   debug #781 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d0542850220b0d7e5612d7177472340989937e19b1154faca973d1f8a556c8c9/main.spi
00:25:21 verbose #14274 > 00:25:20   debug #782 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4ca9a617097c2ecd1c4dd4f689b52e3eae351a39db6dd1a46fb92037d77dd4a2/main.spi
00:26:12 verbose #14275 > >
00:26:12 verbose #14276 > > ╭─[ 51.00s - return value ]────────────────────────────────────────────────────╮
00:26:12 verbose #14277 > > │ .py output (Cuda):                                                           │
00:26:12 verbose #14278 > > │ __assert_eq / actual: True / expected: True                                  │
00:26:12 verbose #14279 > > │                                                                              │
00:26:12 verbose #14280 > > │ .rs output:                                                                  │
00:26:12 verbose #14281 > > │ __assert_eq / actual: true / expected: true                                  │
00:26:12 verbose #14282 > > │                                                                              │
00:26:12 verbose #14283 > > │ .ts output:                                                                  │
00:26:12 verbose #14284 > > │ __assert_eq / actual: true / expected: true                                  │
00:26:12 verbose #14285 > > │                                                                              │
00:26:12 verbose #14286 > > │ .py output:                                                                  │
00:26:12 verbose #14287 > > │ __assert_eq / actual: true / expected: true                                  │
00:26:12 verbose #14288 > > │                                                                              │
00:26:12 verbose #14289 > > │                                                                              │
00:26:12 verbose #14290 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #14291 > >
00:26:12 verbose #14292 > > ╭─[ 51.00s - stdout ]──────────────────────────────────────────────────────────╮
00:26:12 verbose #14293 > > │ .fsx output:                                                                 │
00:26:12 verbose #14294 > > │ __assert_eq / actual: true / expected: true                                  │
00:26:12 verbose #14295 > > │                                                                              │
00:26:12 verbose #14296 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #14297 > >
00:26:12 verbose #14298 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:12 verbose #14299 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:12 verbose #14300 > > │ ## composition                                                               │
00:26:12 verbose #14301 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #14302 > >
00:26:12 verbose #14303 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:12 verbose #14304 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:12 verbose #14305 > > │ ### append                                                                   │
00:26:12 verbose #14306 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #14307 > >
00:26:12 verbose #14308 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:12 verbose #14309 > > prototype append t : t -> t -> t
00:26:12 verbose #14310 > 00:26:11   debug #783 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b2686b69c0064af595055c77e896c913d2cac088b99a7837d87d4bcfc49b1b35/main.spi
00:26:12 verbose #14311 > >
00:26:12 verbose #14312 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:12 verbose #14313 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:12 verbose #14314 > > │ ### (++)                                                                     │
00:26:12 verbose #14315 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #14316 > >
00:26:12 verbose #14317 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:12 verbose #14318 > > inl (++) a b =
00:26:12 verbose #14319 > >     b |> append a
00:26:13 verbose #14320 > 00:26:12   debug #784 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e5a1e54af3fdaa3a8872827b8db1c6b3842ca11b9d1fa5f52b7ab55be08e39ac/main.spi
00:26:13 verbose #14321 > >
00:26:13 verbose #14322 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:13 verbose #14323 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:13 verbose #14324 > > │ ## application                                                               │
00:26:13 verbose #14325 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:13 verbose #14326 > >
00:26:13 verbose #14327 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:13 verbose #14328 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:13 verbose #14329 > > │ ### (||>)                                                                    │
00:26:13 verbose #14330 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:13 verbose #14331 > >
00:26:13 verbose #14332 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:13 verbose #14333 > > inl (||>) (arg1, arg2) fn =
00:26:13 verbose #14334 > >     arg2 |> fn arg1
00:26:13 verbose #14335 > 00:26:12   debug #785 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/31ee76cb9ff32305a20fca147f371fba50b4e51a0c82d80e6c59923c6cc48f43/main.spi
00:26:13 verbose #14336 > >
00:26:13 verbose #14337 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:13 verbose #14338 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:13 verbose #14339 > > │ ### fix_condition                                                            │
00:26:13 verbose #14340 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:13 verbose #14341 > >
00:26:13 verbose #14342 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:13 verbose #14343 > > inl fix_condition x a b =
00:26:13 verbose #14344 > >     if x ()
00:26:13 verbose #14345 > >     then a () |> fun x => $'(*' : ()
00:26:13 verbose #14346 > >     else
00:26:13 verbose #14347 > >         $'*) else' : ()
00:26:13 verbose #14348 > >         b () |> fun x => $'(*' : ()
00:26:13 verbose #14349 > >     |> fun x => $'*)' : ()
00:26:13 verbose #14350 > 00:26:12   debug #786 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/697014c9535d1d79494a907bd1dd5c565d80da0f5f214f68d739df83e38ecd0b/main.spi
00:26:13 verbose #14351 > >
00:26:13 verbose #14352 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:13 verbose #14353 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:13 verbose #14354 > > │ ## type                                                                      │
00:26:13 verbose #14355 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:13 verbose #14356 > >
00:26:13 verbose #14357 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:13 verbose #14358 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:13 verbose #14359 > > │ ### infer                                                                    │
00:26:13 verbose #14360 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:13 verbose #14361 > >
00:26:13 verbose #14362 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:13 verbose #14363 > > nominal infer = $'_'
00:26:14 verbose #14364 > 00:26:13   debug #787 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/293154a82012d4a510234c35e17f881979807b45d47941cd0549df6d6f3e5e66/main.spi
00:26:14 verbose #14365 > >
00:26:14 verbose #14366 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:14 verbose #14367 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:14 verbose #14368 > > │ ### infer'                                                                   │
00:26:14 verbose #14369 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:14 verbose #14370 > >
00:26:14 verbose #14371 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:14 verbose #14372 > > nominal infer' t = $'_'
00:26:14 verbose #14373 > 00:26:13   debug #788 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aa0b8aaa335ab46a2bf1d502e98df9a59d53d008709d51db962a0fa2ae6a632c/main.spi
00:26:14 verbose #14374 > >
00:26:14 verbose #14375 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:14 verbose #14376 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:14 verbose #14377 > > │ ### any                                                                      │
00:26:14 verbose #14378 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:14 verbose #14379 > >
00:26:14 verbose #14380 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:14 verbose #14381 > > nominal any = $'obj'
00:26:14 verbose #14382 > 00:26:13   debug #789 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/67f1fd80d4007eab817550246039e85ad1a45321fad94f4d1486a0dc48a4bd69/main.spi
00:26:14 verbose #14383 > >
00:26:14 verbose #14384 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:14 verbose #14385 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:14 verbose #14386 > > │ ### unit                                                                     │
00:26:14 verbose #14387 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:14 verbose #14388 > >
00:26:14 verbose #14389 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:14 verbose #14390 > > nominal unit = $'unit'
00:26:15 verbose #14391 > 00:26:14   debug #790 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2217bd60d03fbc644aac0a9993362f56dccbef51145834715eeba80835a53ba0/main.spi
00:26:15 verbose #14392 > >
00:26:15 verbose #14393 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:15 verbose #14394 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:15 verbose #14395 > > │ ### null                                                                     │
00:26:15 verbose #14396 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:15 verbose #14397 > >
00:26:15 verbose #14398 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:15 verbose #14399 > > inl null forall t. () : t =
00:26:15 verbose #14400 > >     backend_switch {
00:26:15 verbose #14401 > >         Fsharp = fun () => $'null |> unbox<`t>' : t
00:26:15 verbose #14402 > >         Python = fun () => $'None' : t
00:26:15 verbose #14403 > >     }
00:26:15 verbose #14404 > 00:26:14   debug #791 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ad2417c3047b05ed4c3986cd6dcd463ba583db5c490dcec1fceca3651f3b92bc/main.spi
00:26:15 verbose #14405 > >
00:26:15 verbose #14406 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:15 verbose #14407 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:15 verbose #14408 > > │ ### defaultof                                                                │
00:26:15 verbose #14409 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:15 verbose #14410 > >
00:26:15 verbose #14411 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:15 verbose #14412 > > inl defaultof forall t. () : t =
00:26:15 verbose #14413 > >     $'Unchecked.defaultof<`t>'
00:26:15 verbose #14414 > 00:26:14   debug #792 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/90acfb8d607144697db43d722c2aea88e374023fe4fec25c1afbe018c327ea3f/main.spi
00:26:15 verbose #14415 > >
00:26:15 verbose #14416 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:15 verbose #14417 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:15 verbose #14418 > > │ ### choice2'                                                                 │
00:26:15 verbose #14419 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:15 verbose #14420 > >
00:26:15 verbose #14421 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:15 verbose #14422 > > nominal choice2' a b = $'Choice<`a, `b>'
00:26:16 verbose #14423 > 00:26:15   debug #793 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/45149901e8227607060d2c67008dc3e55593e0799858a6a28dfa9ba5add1f952/main.spi
00:26:16 verbose #14424 > >
00:26:16 verbose #14425 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:16 verbose #14426 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:16 verbose #14427 > > │ ### choice2_unbox                                                            │
00:26:16 verbose #14428 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:16 verbose #14429 > >
00:26:16 verbose #14430 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:16 verbose #14431 > > inl choice2_unbox forall t1 t2. (choice : choice2' t1 t2) : choice2 t1 t2 =
00:26:16 verbose #14432 > >     run_target function
00:26:16 verbose #14433 > >         | Fsharp (Native) => fun () =>
00:26:16 verbose #14434 > >             inl c1of2 (x : t1) : _ _ t2 = C1of2 x
00:26:16 verbose #14435 > >             inl c2of2 (x : t2) : _ t1 _ = C2of2 x
00:26:16 verbose #14436 > >             $'match !choice with Choice1Of2 x -> !c1of2 x | Choice2Of2 x ->
00:26:16 verbose #14437 > > !c2of2 x'
00:26:16 verbose #14438 > >         | _ => fun () => null ()
00:26:16 verbose #14439 > 00:26:15   debug #794 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/37fe7f8df16cf0f8b0910a6688a824ba4985db6ba4ae7f83c3fd6b33fb8c8128/main.spi
00:26:16 verbose #14440 > >
00:26:16 verbose #14441 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:16 verbose #14442 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:16 verbose #14443 > > │ ## pair                                                                      │
00:26:16 verbose #14444 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:16 verbose #14445 > >
00:26:16 verbose #14446 > > ── markdown ────────────────────────────────────────────────────────────────────
00:26:16 verbose #14447 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:16 verbose #14448 > > │ ### pair                                                                     │
00:26:16 verbose #14449 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:16 verbose #14450 > >
00:26:16 verbose #14451 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:16 verbose #14452 > > nominal pair a b = $'(`a * `b)'
00:26:16 verbose #14453 > >
00:26:16 verbose #14454 > > inl pair x y =
00:26:16 verbose #14455 > >     x, y
00:26:16 verbose #14456 > 00:26:16   debug #795 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/279f24795486d91581f983ac34f6b05554221e0ab995f6fa97129970a72dfc65/main.spi
00:26:17 verbose #14457 > >
00:26:17 verbose #14458 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:17 verbose #14459 > > //// test
00:26:17 verbose #14460 > > ///! fsharp
00:26:17 verbose #14461 > > ///! cuda
00:26:17 verbose #14462 > > ///! rust
00:26:17 verbose #14463 > > ///! typescript
00:26:17 verbose #14464 > > ///! python
00:26:17 verbose #14465 > >
00:26:17 verbose #14466 > > pair 1i32 2i32
00:26:17 verbose #14467 > > |> _assert_eq (1, 2)
00:26:17 verbose #14468 > 00:26:16   debug #796 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d3890e5f6e5a0ea69e0d936765c0146a3ecf502e2f88b0ef41e48fad9ac15158/main.spi
00:26:17 verbose #14469 > 00:26:16   debug #797 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/06d16464120edd05a2e882016bf507de2de298d169f44158af9b02bd831d26d0/main.spi
00:27:01 verbose #14470 > >
00:27:01 verbose #14471 > > ╭─[ 44.90s - return value ]────────────────────────────────────────────────────╮
00:27:01 verbose #14472 > > │ .py output (Cuda):                                                           │
00:27:01 verbose #14473 > > │ __assert_eq / actual: (1, 2) / expected: (1, 2)                              │
00:27:01 verbose #14474 > > │                                                                              │
00:27:01 verbose #14475 > > │ .rs output:                                                                  │
00:27:01 verbose #14476 > > │ __assert_eq / actual: (1, 2) / expected: (1, 2)                              │
00:27:01 verbose #14477 > > │                                                                              │
00:27:01 verbose #14478 > > │ .ts output:                                                                  │
00:27:01 verbose #14479 > > │ __assert_eq / actual: 1,2 / expected: 1,2                                    │
00:27:01 verbose #14480 > > │                                                                              │
00:27:01 verbose #14481 > > │ .py output:                                                                  │
00:27:01 verbose #14482 > > │ __assert_eq / actual: (1, 2) / expected: (1, 2)                              │
00:27:01 verbose #14483 > > │                                                                              │
00:27:01 verbose #14484 > > │                                                                              │
00:27:01 verbose #14485 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:01 verbose #14486 > >
00:27:01 verbose #14487 > > ╭─[ 44.90s - stdout ]──────────────────────────────────────────────────────────╮
00:27:01 verbose #14488 > > │ .fsx output:                                                                 │
00:27:01 verbose #14489 > > │ __assert_eq / actual: struct (1, 2) / expected: struct (1, 2)                │
00:27:01 verbose #14490 > > │                                                                              │
00:27:01 verbose #14491 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:01 verbose #14492 > >
00:27:01 verbose #14493 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:01 verbose #14494 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:01 verbose #14495 > > │ ### new_pair                                                                 │
00:27:01 verbose #14496 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:01 verbose #14497 > >
00:27:01 verbose #14498 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:01 verbose #14499 > > inl new_pair forall a b. (a : a) (b : b) : pair a b =
00:27:01 verbose #14500 > >     $'!a, !b '
00:27:02 verbose #14501 > 00:27:01   debug #798 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d38b7e0fddb1e801c123e6b702e823ec7bba5c385020bb4d8b554c2f47b45f79/main.spi
00:27:02 verbose #14502 > >
00:27:02 verbose #14503 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:02 verbose #14504 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:02 verbose #14505 > > │ ### from_pair                                                                │
00:27:02 verbose #14506 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:02 verbose #14507 > >
00:27:02 verbose #14508 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:02 verbose #14509 > > inl from_pair forall a b. (pair : pair a b) : a * b =
00:27:02 verbose #14510 > >     backend_switch {
00:27:02 verbose #14511 > >         Fsharp = fun () =>
00:27:02 verbose #14512 > >             $'let (a, b) = !pair '
00:27:02 verbose #14513 > >             ($'a' : a), ($'b' : b)
00:27:02 verbose #14514 > >         Python = fun () =>
00:27:02 verbose #14515 > >             $'a, b = !pair '
00:27:02 verbose #14516 > >             ($'a' : a), ($'b' : b)
00:27:02 verbose #14517 > >     }
00:27:02 verbose #14518 > 00:27:01   debug #799 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/16307a18b84b93e97fbe4310a65adc8c3aee388757ce384beb17e4eb3032b593/main.spi
00:27:02 verbose #14519 > >
00:27:02 verbose #14520 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:02 verbose #14521 > > //// test
00:27:02 verbose #14522 > > ///! fsharp
00:27:02 verbose #14523 > > ///! cuda
00:27:02 verbose #14524 > > ///! rust
00:27:02 verbose #14525 > > ///! typescript
00:27:02 verbose #14526 > > ///! python
00:27:02 verbose #14527 > >
00:27:02 verbose #14528 > > new_pair "a" (new_pair 1i32 "b")
00:27:02 verbose #14529 > > |> from_pair
00:27:02 verbose #14530 > > |> _assert_eq' ("a", (new_pair 1i32 "b"))
00:27:02 verbose #14531 > 00:27:01   debug #800 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/994d670b2afdd74aae5b62e35198dee8ef18dae5e4e0f04ee6446795c370b1ad/main.spi
00:27:02 verbose #14532 > 00:27:01   debug #801 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dd4524aaca5396856a4afbff41012a235dcd27daadcaa9810051c53896b07c18/main.spi
00:27:50 verbose #14533 > >
00:27:50 verbose #14534 > > ╭─[ 47.70s - return value ]────────────────────────────────────────────────────╮
00:27:50 verbose #14535 > > │ .py output (Cuda):                                                           │
00:27:50 verbose #14536 > > │ __assert_eq' / actual: ('a', (1, 'b')) / expected: ('a', (1, 'b'))           │
00:27:50 verbose #14537 > > │                                                                              │
00:27:50 verbose #14538 > > │ .rs output:                                                                  │
00:27:50 verbose #14539 > > │ __assert_eq' / actual: ("a", (1, "b")) / expected: ("a", (1, "b"))           │
00:27:50 verbose #14540 > > │                                                                              │
00:27:50 verbose #14541 > > │ .ts output:                                                                  │
00:27:50 verbose #14542 > > │ __assert_eq' / actual: a,1,b / expected: a,1,b                               │
00:27:50 verbose #14543 > > │                                                                              │
00:27:50 verbose #14544 > > │ .py output:                                                                  │
00:27:50 verbose #14545 > > │ __assert_eq' / actual: ('a', (1, 'b')) / expected: ('a', (1, 'b'))           │
00:27:50 verbose #14546 > > │                                                                              │
00:27:50 verbose #14547 > > │                                                                              │
00:27:50 verbose #14548 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:50 verbose #14549 > >
00:27:50 verbose #14550 > > ╭─[ 47.71s - stdout ]──────────────────────────────────────────────────────────╮
00:27:50 verbose #14551 > > │ .fsx output:                                                                 │
00:27:50 verbose #14552 > > │ __assert_eq' / actual: struct ("a", (1, "b")) / expected: struct ("a", (1,   │
00:27:50 verbose #14553 > > │ "b"))                                                                        │
00:27:50 verbose #14554 > > │                                                                              │
00:27:50 verbose #14555 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:50 verbose #14556 > >
00:27:50 verbose #14557 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:50 verbose #14558 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:50 verbose #14559 > > │ ## ref                                                                       │
00:27:50 verbose #14560 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:50 verbose #14561 > >
00:27:50 verbose #14562 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:50 verbose #14563 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:50 verbose #14564 > > │ ### ref                                                                      │
00:27:50 verbose #14565 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:50 verbose #14566 > >
00:27:50 verbose #14567 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:50 verbose #14568 > > nominal ref t = $'`t ref'
00:27:50 verbose #14569 > 00:27:49   debug #802 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/426fffba24b60464f82addaa235768ac2d3b021bcb01cbc52afccd98a6edb1be/main.spi
00:27:50 verbose #14570 > >
00:27:50 verbose #14571 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:50 verbose #14572 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:50 verbose #14573 > > │ ### new_ref                                                                  │
00:27:50 verbose #14574 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:50 verbose #14575 > >
00:27:50 verbose #14576 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:50 verbose #14577 > > inl new_ref forall t. (x : t) : ref t =
00:27:50 verbose #14578 > >     $'ref !x '
00:27:50 verbose #14579 > 00:27:50   debug #803 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/698bff3028626d7e9e1a1f60240e0ff58d63db4ffe43afccfb7d31f7131e016d/main.spi
00:27:51 verbose #14580 > >
00:27:51 verbose #14581 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:51 verbose #14582 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:51 verbose #14583 > > │ ### ref_value                                                                │
00:27:51 verbose #14584 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:51 verbose #14585 > >
00:27:51 verbose #14586 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:51 verbose #14587 > > inl ref_value forall t. (x : ref t) : t =
00:27:51 verbose #14588 > >     $'!x.Value'
00:27:51 verbose #14589 > 00:27:50   debug #804 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/57ac075b202d1d4c4995c5241c46139f5e2d312af1d06559000e1d4eff473b1a/main.spi
00:27:51 verbose #14590 > >
00:27:51 verbose #14591 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:51 verbose #14592 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:51 verbose #14593 > > │ ### ref_set_value                                                            │
00:27:51 verbose #14594 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:51 verbose #14595 > >
00:27:51 verbose #14596 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:51 verbose #14597 > > inl ref_set_value forall t. (value : t) (ref : ref t) : ref t =
00:27:51 verbose #14598 > >     $'!ref.Value <- !value '
00:27:51 verbose #14599 > >     ref
00:27:51 verbose #14600 > 00:27:50   debug #805 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/684bf2fdc0ff0b600f31d24fe7f05b2e8b581d150476250fba2095ba6780ea15/main.spi
00:27:51 verbose #14601 > >
00:27:51 verbose #14602 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:51 verbose #14603 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:51 verbose #14604 > > │ ## convert                                                                   │
00:27:51 verbose #14605 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:51 verbose #14606 > >
00:27:51 verbose #14607 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:51 verbose #14608 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:51 verbose #14609 > > │ ### convert                                                                  │
00:27:51 verbose #14610 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:51 verbose #14611 > >
00:27:51 verbose #14612 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:51 verbose #14613 > > inl convert forall t u. (x : t) : u =
00:27:51 verbose #14614 > >     backend_switch {
00:27:51 verbose #14615 > >         Fsharp = fun () => $'!x |> `u ' : u
00:27:51 verbose #14616 > >         Python = fun () => $'!x ' : u
00:27:51 verbose #14617 > >     }
00:27:52 verbose #14618 > 00:27:51   debug #806 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/49f7acc21f8db6d5f3a709dbfa996e93f25682d97dcf008c38b1ae62a32ac479/main.spi
00:27:52 verbose #14619 > >
00:27:52 verbose #14620 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:52 verbose #14621 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:52 verbose #14622 > > │ ### unbox                                                                    │
00:27:52 verbose #14623 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:52 verbose #14624 > >
00:27:52 verbose #14625 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:52 verbose #14626 > > inl unbox forall t u. (x : t) : u =
00:27:52 verbose #14627 > >     backend_switch {
00:27:52 verbose #14628 > >         Fsharp = fun () => $'!x |> unbox<`u>' : u
00:27:52 verbose #14629 > >         Python = fun () => $'!x ' : u
00:27:52 verbose #14630 > >     }
00:27:52 verbose #14631 > 00:27:51   debug #807 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4ccc90a2836ec3a04e69bc470ace7d1b9129a24526fa4343fc7329de37e99ae2/main.spi
00:27:52 verbose #14632 > >
00:27:52 verbose #14633 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:52 verbose #14634 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:52 verbose #14635 > > │ ### u8                                                                       │
00:27:52 verbose #14636 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:52 verbose #14637 > >
00:27:52 verbose #14638 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:52 verbose #14639 > > inl u8 forall t. (x : t) : u8 =
00:27:52 verbose #14640 > >     x |> $'uint8'
00:27:52 verbose #14641 > 00:27:51   debug #808 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f7586954b8a11bae5fb502579bb84a7f2a8e431a2317ae24b2c4f715e94ae7bc/main.spi
00:27:52 verbose #14642 > >
00:27:52 verbose #14643 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:52 verbose #14644 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:52 verbose #14645 > > │ ### u16                                                                      │
00:27:52 verbose #14646 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:52 verbose #14647 > >
00:27:52 verbose #14648 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:52 verbose #14649 > > inl u16 forall t. (x : t) : u16 =
00:27:52 verbose #14650 > >     x |> $'uint16'
00:27:53 verbose #14651 > 00:27:52   debug #809 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4c4b4c850919df924425d0143f5c9a792cac3723362d8b3c22206eb7b50406b0/main.spi
00:27:53 verbose #14652 > >
00:27:53 verbose #14653 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:53 verbose #14654 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:53 verbose #14655 > > │ ### u64                                                                      │
00:27:53 verbose #14656 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:53 verbose #14657 > >
00:27:53 verbose #14658 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:53 verbose #14659 > > inl u64 forall t. (x : t) : u64 =
00:27:53 verbose #14660 > >     x |> $'uint64'
00:27:53 verbose #14661 > 00:27:52   debug #810 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc58abd049c4a5abe105e5ff36e0c7d9411c09b0dfba615030c74dfdae1b6959/main.spi
00:27:53 verbose #14662 > >
00:27:53 verbose #14663 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:53 verbose #14664 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:53 verbose #14665 > > │ ### i32                                                                      │
00:27:53 verbose #14666 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:53 verbose #14667 > >
00:27:53 verbose #14668 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:53 verbose #14669 > > inl i32 forall t. (x : t) : i32 =
00:27:53 verbose #14670 > >     x |> $'int32'
00:27:53 verbose #14671 > 00:27:53   debug #811 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/66db2dba3334bbe77d9802444e43967630673748fa0b13d8b846f88603a3db9a/main.spi
00:27:54 verbose #14672 > >
00:27:54 verbose #14673 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:54 verbose #14674 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:54 verbose #14675 > > │ ### i64                                                                      │
00:27:54 verbose #14676 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:54 verbose #14677 > >
00:27:54 verbose #14678 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:54 verbose #14679 > > inl i64 forall t. (x : t) : i64 =
00:27:54 verbose #14680 > >     x |> $'int64'
00:27:54 verbose #14681 > 00:27:53   debug #812 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9d20543d5de0e002041d1ecce5860d3cbfc548c298cb53576edc4e715cbf5e86/main.spi
00:27:54 verbose #14682 > >
00:27:54 verbose #14683 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:54 verbose #14684 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:54 verbose #14685 > > │ ### f32                                                                      │
00:27:54 verbose #14686 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:54 verbose #14687 > >
00:27:54 verbose #14688 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:54 verbose #14689 > > inl f32 forall t. (x : t) : f32 =
00:27:54 verbose #14690 > >     x |> $'float32'
00:27:54 verbose #14691 > 00:27:53   debug #813 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4bd874a542139ab23325e5d0b1cac8cbeabe9b3df6df4d00657c1bbd5e9cbde6/main.spi
00:27:54 verbose #14692 > >
00:27:54 verbose #14693 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:54 verbose #14694 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:54 verbose #14695 > > │ ### f64                                                                      │
00:27:54 verbose #14696 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:54 verbose #14697 > >
00:27:54 verbose #14698 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:54 verbose #14699 > > inl f64 forall t. (x : t) : f64 =
00:27:54 verbose #14700 > >     x |> $'float'
00:27:54 verbose #14701 > 00:27:53   debug #814 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/371c22d8f59b92be8210db18048800b50d40528aff687fd76b20a0ba3ba575ad/main.spi
00:27:55 verbose #14702 > >
00:27:55 verbose #14703 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:55 verbose #14704 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:55 verbose #14705 > > │ ### unativeint                                                               │
00:27:55 verbose #14706 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:55 verbose #14707 > >
00:27:55 verbose #14708 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:55 verbose #14709 > > nominal unativeint = $'unativeint'
00:27:55 verbose #14710 > 00:27:54   debug #815 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ca9ab08e4fc2d12c3f0e29862673ad2f681f59c1d87cc9483396e01a36e4d8d0/main.spi
00:27:55 verbose #14711 > >
00:27:55 verbose #14712 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:55 verbose #14713 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:55 verbose #14714 > > │ ### convert_i32                                                              │
00:27:55 verbose #14715 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:55 verbose #14716 > >
00:27:55 verbose #14717 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:55 verbose #14718 > > inl convert_i32 forall t. (x : t) : i32 =
00:27:55 verbose #14719 > >     x |> $'System.Convert.ToInt32'
00:27:55 verbose #14720 > 00:27:54   debug #816 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aecae304bac12d48ebe3fa6ed8d25d6e38694583783e63bfc56f93d95095c9fa/main.spi
00:27:55 verbose #14721 > >
00:27:55 verbose #14722 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:55 verbose #14723 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:55 verbose #14724 > > │ ### convert_i32_base                                                         │
00:27:55 verbose #14725 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:55 verbose #14726 > >
00:27:55 verbose #14727 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:55 verbose #14728 > > inl convert_i32_base forall t. (base : i32) (x : t) : i32 =
00:27:55 verbose #14729 > >     $'System.Convert.ToInt32 (!x, !base)'
00:27:56 verbose #14730 > 00:27:55   debug #817 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/73966318d4fec89f6cea879d5d90bf2e12e0977e55016e3818250663b5f8bb28/main.spi
00:27:56 verbose #14731 > >
00:27:56 verbose #14732 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:56 verbose #14733 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:56 verbose #14734 > > │ ## error                                                                     │
00:27:56 verbose #14735 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:56 verbose #14736 > >
00:27:56 verbose #14737 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:56 verbose #14738 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:56 verbose #14739 > > │ ### exn                                                                      │
00:27:56 verbose #14740 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:56 verbose #14741 > >
00:27:56 verbose #14742 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:56 verbose #14743 > > nominal exn = $"backend_switch `({ Fsharp : $'exn'; Python : $'BaseException'
00:27:56 verbose #14744 > > })"
00:27:56 verbose #14745 > >
00:27:56 verbose #14746 > > inl exn x =
00:27:56 verbose #14747 > >     x |> $'`exn '
00:27:56 verbose #14748 > 00:27:55   debug #818 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d279aaa30de04ab043b19a23627e215b2a1fdf09e87e440689c652d7c207c0e2/main.spi
00:27:56 verbose #14749 > >
00:27:56 verbose #14750 > > ── markdown ────────────────────────────────────────────────────────────────────
00:27:56 verbose #14751 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:56 verbose #14752 > > │ ### try                                                                      │
00:27:56 verbose #14753 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:56 verbose #14754 > >
00:27:56 verbose #14755 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:56 verbose #14756 > > inl try forall t. (fn : () -> t) (ex_fn : exn -> option t) : option t =
00:27:56 verbose #14757 > >     backend_switch {
00:27:56 verbose #14758 > >         Fsharp = fun () =>
00:27:56 verbose #14759 > >             inl some x : option t = Some x
00:27:56 verbose #14760 > >             inl some = dyn some
00:27:56 verbose #14761 > >             inl fn = dyn fn
00:27:56 verbose #14762 > >             inl ex_fn = dyn ex_fn
00:27:56 verbose #14763 > >             $'let result = ref !(None : option t)'
00:27:56 verbose #14764 > >             $'try'
00:27:56 verbose #14765 > >             $'    result.Value <- !fn () |> !some '
00:27:56 verbose #14766 > >             $'with ex ->'
00:27:56 verbose #14767 > >             $'    result.Value <- !ex_fn ex '
00:27:56 verbose #14768 > >             $'result.Value' : option t
00:27:56 verbose #14769 > >         Python = fun () =>
00:27:56 verbose #14770 > >             $'result = !(None : option t)'
00:27:56 verbose #14771 > >             inl fn = dyn fn
00:27:56 verbose #14772 > >             inl ex_fn = dyn ex_fn
00:27:56 verbose #14773 > >             $'try:'
00:27:56 verbose #14774 > >             $'    result = !fn()\n        \'\'\''
00:27:56 verbose #14775 > >             $'\'\'\''
00:27:56 verbose #14776 > >             $'except Exception as e:'
00:27:56 verbose #14777 > >             $'    result = !ex_fn(e)'
00:27:56 verbose #14778 > >             $'result' : option t
00:27:56 verbose #14779 > >     }
00:27:56 verbose #14780 > 00:27:55   debug #819 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d280e17962d71c65bcc18bbe69be558c32fcf4ad4b9af9025f7fc3db5762c1f0/main.spi
00:27:56 verbose #14781 > >
00:27:56 verbose #14782 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:56 verbose #14783 > > //// test
00:27:56 verbose #14784 > > ///! fsharp
00:27:56 verbose #14785 > > ////! cuda // cudaErrorInsufficientDriver: CUDA driver version is insufficient
00:27:56 verbose #14786 > > for CUDA runtime version
00:27:56 verbose #14787 > > ///! rust
00:27:56 verbose #14788 > > ///! typescript
00:27:56 verbose #14789 > > ///! python
00:27:56 verbose #14790 > >
00:27:56 verbose #14791 > > try
00:27:56 verbose #14792 > >     fun () => a ;[[ 0i32 ]] |> am'.index 1i32 |> sm'.format
00:27:56 verbose #14793 > >     (fun ex => $'!ex ' |> sm'.format_exception |> Some)
00:27:56 verbose #14794 > > |> optionm.value
00:27:56 verbose #14795 > > |> _assert_eq (run_target function
00:27:56 verbose #14796 > >     | Fsharp => fun () => "System.IndexOutOfRangeException: Index was outside
00:27:56 verbose #14797 > > the bounds of the array."
00:27:56 verbose #14798 > >     | Cuda => fun () => "array index out of range"
00:27:56 verbose #14799 > >     | Rust => fun () => "Exception { message: \"index out of bounds: the len is
00:27:56 verbose #14800 > > 1 but the index is 1\" }"
00:27:56 verbose #14801 > >     | TypeScript => fun () => "Error: Index was outside the bounds of the
00:27:56 verbose #14802 > > array.\\nParameter name: index"
00:27:56 verbose #14803 > >     | Python => fun () => "array index out of range"
00:27:56 verbose #14804 > > )
00:27:57 verbose #14805 > 00:27:56   debug #820 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7b56eb40e71cde4f82539ba7f3b4aec0163c64b7bb1baf690fd355abdcfc31be/main.spi
00:28:22 verbose #14806 > >
00:28:22 verbose #14807 > > ╭─[ 25.72s - return value ]────────────────────────────────────────────────────╮
00:28:22 verbose #14808 > > │ .rs output:                                                                  │
00:28:22 verbose #14809 > > │ __assert_eq / actual: "Exception { message: "index out of bounds: the len is │
00:28:22 verbose #14810 > > │ 1 but the index is 1" }" / expected: "Exception { message: "index out of     │
00:28:22 verbose #14811 > > │ bounds: the len is 1 but the index is 1" }"                                  │
00:28:22 verbose #14812 > > │                                                                              │
00:28:22 verbose #14813 > > │ .ts output:                                                                  │
00:28:22 verbose #14814 > > │ __assert_eq / actual: Error: Index was outside the bounds of the             │
00:28:22 verbose #14815 > > │ array.\nParameter name: index / expected: Error: Index was outside the       │
00:28:22 verbose #14816 > > │ bounds of the array.\nParameter name: index                                  │
00:28:22 verbose #14817 > > │                                                                              │
00:28:22 verbose #14818 > > │ .py output:                                                                  │
00:28:22 verbose #14819 > > │ __assert_eq / actual: array index out of range / expected: array index out   │
00:28:22 verbose #14820 > > │ of range                                                                     │
00:28:22 verbose #14821 > > │                                                                              │
00:28:22 verbose #14822 > > │                                                                              │
00:28:22 verbose #14823 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:22 verbose #14824 > >
00:28:22 verbose #14825 > > ╭─[ 25.72s - stdout ]──────────────────────────────────────────────────────────╮
00:28:22 verbose #14826 > > │ .fsx output:                                                                 │
00:28:22 verbose #14827 > > │ __assert_eq / actual: "System.IndexOutOfRangeException: Index was outside    │
00:28:22 verbose #14828 > > │ the bounds of the array." / expected: "System.IndexOutOfRangeException:      │
00:28:22 verbose #14829 > > │ Index was outside the bounds of the array."                                  │
00:28:22 verbose #14830 > > │                                                                              │
00:28:22 verbose #14831 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:22 verbose #14832 > >
00:28:22 verbose #14833 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:22 verbose #14834 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:22 verbose #14835 > > │ ### try_unit                                                                 │
00:28:22 verbose #14836 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:22 verbose #14837 > >
00:28:22 verbose #14838 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:22 verbose #14839 > > inl try_unit forall t. (fn : () -> ()) (ex_fn : exn -> ()) : t =
00:28:22 verbose #14840 > >     $'try'
00:28:22 verbose #14841 > >     fn ()
00:28:22 verbose #14842 > >     |> ignore
00:28:22 verbose #14843 > >     $'with ex ->'
00:28:22 verbose #14844 > >     ex_fn $'ex'
00:28:22 verbose #14845 > >     |> ignore
00:28:22 verbose #14846 > >     $'(*'
00:28:22 verbose #14847 > >     $'*)'
00:28:22 verbose #14848 > 00:28:21   debug #821 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c38f2061437cd76f270d039e2c29c1547a820a486777dc3cd46a9edcd078b580/main.spi
00:28:22 verbose #14849 > >
00:28:22 verbose #14850 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:22 verbose #14851 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:22 verbose #14852 > > │ ### try_finally                                                              │
00:28:22 verbose #14853 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:22 verbose #14854 > >
00:28:22 verbose #14855 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:22 verbose #14856 > > inl try_finally forall t. (fn : () -> ()) (finally : () -> ()) : t =
00:28:22 verbose #14857 > >     $'try'
00:28:22 verbose #14858 > >     fn ()
00:28:22 verbose #14859 > >     |> ignore
00:28:22 verbose #14860 > >     $'finally'
00:28:22 verbose #14861 > >     finally ()
00:28:22 verbose #14862 > >     |> ignore
00:28:22 verbose #14863 > >     $'(*'
00:28:22 verbose #14864 > >     $'*)'
00:28:23 verbose #14865 > 00:28:22   debug #822 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ad9aa9a4b93cd14e0ddb9a415e8961614855799f9b1946d2438665e4d675a2e0/main.spi
00:28:23 verbose #14866 > 00:09:50 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 57837 }
00:28:23 verbose #14867 > 00:09:50   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:28:23 verbose #14868 >     "nbconvert",
00:28:23 verbose #14869 >     "c:/home/git/polyglot/lib/spiral/base.dib.ipynb",
00:28:23 verbose #14870 >     "--to",
00:28:23 verbose #14871 >     "html",
00:28:23 verbose #14872 >     "--HTMLExporter.theme=dark",
00:28:23 verbose #14873 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/base.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:28:25 verbose #14874 > 00:09:52 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/base.dib.ipynb to html
00:28:25 verbose #14875 > 00:09:52 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:28:25 verbose #14876 > 00:09:52 verbose #7 !   validate(nb)
00:28:26 verbose #14877 > 00:09:53 verbose #8 ! [NbConvertApp] Writing 408943 bytes to c:\home\git\polyglot\lib\spiral\base.dib.html
00:28:27 verbose #14878 > 00:09:53 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 639 }
00:28:27 verbose #14879 > 00:09:53   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 639 }
00:28:27 verbose #14880 > 00:09:53   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:28:27 verbose #14881 >     "-c",
00:28:27 verbose #14882 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/base.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:28:27 verbose #14883 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/base.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:28:28 verbose #14884 > 00:09:54 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:28:28 verbose #14885 > 00:09:54   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:28:28 verbose #14886 > 00:09:55   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 58535 }
00:28:28   debug #14887 runtime.execute_with_options_async / { exit_code = 0; output_length = 63489 }
00:28:28   debug #19 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path base.dib --retries 3
00:28:28   debug #14888 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path date_time.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:28:28 verbose #14889 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "date_time.dib", "--retries", "3"])) }
00:28:28 verbose #14890 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:28:28 verbose #14891 >     "repl",
00:28:28 verbose #14892 >     "--exit-after-run",
00:28:28 verbose #14893 >     "--run",
00:28:28 verbose #14894 >     "c:/home/git/polyglot/lib/spiral/date_time.dib",
00:28:28 verbose #14895 >     "--output-path",
00:28:28 verbose #14896 >     "c:/home/git/polyglot/lib/spiral/date_time.dib.ipynb",
00:28:28 verbose #14897 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/date_time.dib" --output-path "c:/home/git/polyglot/lib/spiral/date_time.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:28:30 verbose #14898 > >
00:28:30 verbose #14899 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:30 verbose #14900 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:30 verbose #14901 > > │ # date_time                                                                  │
00:28:30 verbose #14902 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:33 verbose #14903 > >
00:28:33 verbose #14904 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:33 verbose #14905 > > open rust.rust_operators
00:28:33 verbose #14906 > > open sm'_operators
00:28:34 verbose #14907 > 00:28:33   debug #823 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9ee17e9f72cb90671f0e951d428c4dec9e30a8a49cb5162328fc842debe96b71/main.spi
00:28:34 verbose #14908 > >
00:28:34 verbose #14909 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:34 verbose #14910 > > //// test
00:28:34 verbose #14911 > >
00:28:34 verbose #14912 > > open testing
00:28:35 verbose #14913 > 00:28:34   debug #824 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9311f6f0df871546736c558f82d2c72ee24fa80c8badc5ab322a731a4c5ac065/main.spi
00:28:35 verbose #14914 > >
00:28:35 verbose #14915 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:35 verbose #14916 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:35 verbose #14917 > > │ ## date_time                                                                 │
00:28:35 verbose #14918 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:35 verbose #14919 > >
00:28:35 verbose #14920 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:35 verbose #14921 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:35 verbose #14922 > > │ ### timestamp                                                                │
00:28:35 verbose #14923 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:35 verbose #14924 > >
00:28:35 verbose #14925 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:35 verbose #14926 > > nominal timestamp = i64
00:28:35 verbose #14927 > 00:28:34   debug #825 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0ea20a353c1392e3d66c7af0c6dea8cff141ac2f116fa34048379a0ad38c7777/main.spi
00:28:35 verbose #14928 > >
00:28:35 verbose #14929 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:35 verbose #14930 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:35 verbose #14931 > > │ ### timestamp_guid                                                           │
00:28:35 verbose #14932 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:35 verbose #14933 > >
00:28:35 verbose #14934 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:35 verbose #14935 > > type timestamp_guid = guid.guid
00:28:35 verbose #14936 > 00:28:34   debug #826 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/44ec36bf2058578c966b302604d5c837f161eff58262caf9ca39fbe7e8595784/main.spi
00:28:35 verbose #14937 > >
00:28:35 verbose #14938 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:35 verbose #14939 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:35 verbose #14940 > > │ ### date_time_guid                                                           │
00:28:35 verbose #14941 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:35 verbose #14942 > >
00:28:35 verbose #14943 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:35 verbose #14944 > > type date_time_guid = guid.guid
00:28:36 verbose #14945 > 00:28:35   debug #827 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f908b8ebf6ca5fcb1f33576d6116b59f0172445313a4ac89bbb6a81734d1317f/main.spi
00:28:36 verbose #14946 > >
00:28:36 verbose #14947 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:36 verbose #14948 > > //// test
00:28:36 verbose #14949 > >
00:28:36 verbose #14950 > > inl test_guid () =
00:28:36 verbose #14951 > >     guid.new_guid "FEDCBA98-7654-3210-FEDC-BA9876543210"
00:28:36 verbose #14952 > 00:28:35   debug #828 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32f1fd31325e20b4ce3a5776d37f322d04b1f23d628863a8d8d6de28a28a7e5e/main.spi
00:28:36 verbose #14953 > >
00:28:36 verbose #14954 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:36 verbose #14955 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:36 verbose #14956 > > │ ## fsharp                                                                    │
00:28:36 verbose #14957 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:36 verbose #14958 > >
00:28:36 verbose #14959 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:36 verbose #14960 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:36 verbose #14961 > > │ ### date_time                                                                │
00:28:36 verbose #14962 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:36 verbose #14963 > >
00:28:36 verbose #14964 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:36 verbose #14965 > > nominal date_time_python =
00:28:36 verbose #14966 > >     `(
00:28:36 verbose #14967 > >         backend_switch {
00:28:36 verbose #14968 > >             Python = fun () =>
00:28:36 verbose #14969 > >                 global "import datetime"
00:28:36 verbose #14970 > >         }
00:28:36 verbose #14971 > >         $'' : $'datetime.datetime'
00:28:36 verbose #14972 > >     )
00:28:36 verbose #14973 > > type date_time_switch =
00:28:36 verbose #14974 > >     {
00:28:36 verbose #14975 > >         Fsharp : $'System.DateTime'
00:28:36 verbose #14976 > >         Python : date_time_python
00:28:36 verbose #14977 > >     }
00:28:36 verbose #14978 > > nominal date_time = $'backend_switch `(date_time_switch)'
00:28:36 verbose #14979 > 00:28:36   debug #829 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3bd6895fba094d37c9f6af17244860fb602ee2106c1034681664831cda4a6eb1/main.spi
00:28:37 verbose #14980 > >
00:28:37 verbose #14981 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:37 verbose #14982 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:37 verbose #14983 > > │ ### date_time_milliseconds                                                   │
00:28:37 verbose #14984 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:37 verbose #14985 > >
00:28:37 verbose #14986 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:37 verbose #14987 > > inl date_time_milliseconds
00:28:37 verbose #14988 > >     (year : int) (month : int) (day : int) (hour : int) (minute : int) (second :
00:28:37 verbose #14989 > > int) (millisecond : int)
00:28:37 verbose #14990 > >     : date_time
00:28:37 verbose #14991 > >     =
00:28:37 verbose #14992 > >     backend_switch {
00:28:37 verbose #14993 > >         Fsharp = fun () =>
00:28:37 verbose #14994 > >             $'System.DateTime (!year, !month, !day, !hour, !minute, !second,
00:28:37 verbose #14995 > > !millisecond)' : date_time
00:28:37 verbose #14996 > >         Python = fun () =>
00:28:37 verbose #14997 > >             $'datetime.datetime(!year, !month, !day, !hour, !minute, !second,
00:28:37 verbose #14998 > > !millisecond)' : date_time
00:28:37 verbose #14999 > >     }
00:28:37 verbose #15000 > 00:28:36   debug #830 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/423a9f410b0c4c821f0bdaaf161e249d0edd69abaf8a9ccf64175adff9bb3c47/main.spi
00:28:37 verbose #15001 > >
00:28:37 verbose #15002 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:37 verbose #15003 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:37 verbose #15004 > > │ ### date_time_utc                                                            │
00:28:37 verbose #15005 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:37 verbose #15006 > >
00:28:37 verbose #15007 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:37 verbose #15008 > > inl date_time_utc
00:28:37 verbose #15009 > >     (year : int) (month : int) (day : int) (hour : int) (minute : int) (second :
00:28:37 verbose #15010 > > int)
00:28:37 verbose #15011 > >     : date_time
00:28:37 verbose #15012 > >     =
00:28:37 verbose #15013 > >     backend_switch {
00:28:37 verbose #15014 > >         Fsharp = fun () =>
00:28:37 verbose #15015 > >             $'System.DateTime (!year, !month, !day, !hour, !minute, !second,
00:28:37 verbose #15016 > > System.DateTimeKind.Utc)' : date_time
00:28:37 verbose #15017 > >         Python = fun () =>
00:28:37 verbose #15018 > >             $'datetime.datetime(!year, !month, !day, !hour, !minute, !second,
00:28:37 verbose #15019 > > tzinfo=datetime.timezone.utc)' : date_time
00:28:37 verbose #15020 > >     }
00:28:37 verbose #15021 > 00:28:36   debug #831 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d47a40cec5e56ce8cfdb44e515b627cc548a5234a1c1e2e955e36b72eb72ea0b/main.spi
00:28:37 verbose #15022 > >
00:28:37 verbose #15023 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:37 verbose #15024 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:37 verbose #15025 > > │ ### ticks                                                                    │
00:28:37 verbose #15026 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:37 verbose #15027 > >
00:28:37 verbose #15028 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:37 verbose #15029 > > inl ticks (date_time : date_time) : timestamp =
00:28:37 verbose #15030 > >     backend_switch {
00:28:37 verbose #15031 > >         Fsharp = fun () => date_time |> $'_.Ticks' : timestamp
00:28:37 verbose #15032 > >         Python = fun () => $'!date_time.timestamp()' : timestamp
00:28:37 verbose #15033 > >     }
00:28:37 verbose #15034 > 00:28:37   debug #832 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4b0eada9e384869f21669be0e74391539ee8ba411e8e942a224c3ecc024d88dc/main.spi
00:28:38 verbose #15035 > >
00:28:38 verbose #15036 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:38 verbose #15037 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:38 verbose #15038 > > │ ### format                                                                   │
00:28:38 verbose #15039 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:38 verbose #15040 > >
00:28:38 verbose #15041 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:38 verbose #15042 > > inl format (format : string) (date_time : date_time) : string =
00:28:38 verbose #15043 > >     backend_switch {
00:28:38 verbose #15044 > >         Fsharp = fun () => $'!date_time.ToString' format : string
00:28:38 verbose #15045 > >         Python = fun () => $'!date_time.strftime(!format)' : string
00:28:38 verbose #15046 > >     }
00:28:38 verbose #15047 > 00:28:37   debug #833 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/852c83c1997bde9998fed2dad2b23739bbe12b414c2e30342bd4dc5a769a3800/main.spi
00:28:38 verbose #15048 > >
00:28:38 verbose #15049 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:38 verbose #15050 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:38 verbose #15051 > > │ ### format_iso8601                                                           │
00:28:38 verbose #15052 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:38 verbose #15053 > >
00:28:38 verbose #15054 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:38 verbose #15055 > > inl format_iso8601 (date_time : date_time) : string =
00:28:38 verbose #15056 > >     backend_switch {
00:28:38 verbose #15057 > >         Fsharp = fun () => date_time |> format "yyyy-MM-ddTHH-mm-ss.fff" :
00:28:38 verbose #15058 > > string
00:28:38 verbose #15059 > >         Python = fun () => date_time |> format "%Y-%m-%dT%H-%M-%S.%f" : string
00:28:38 verbose #15060 > >     }
00:28:38 verbose #15061 > 00:28:37   debug #834 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd8d2812ac0e1665657e0772ff8f2a943cf37a27798513aa411224f1f39d653e/main.spi
00:28:38 verbose #15062 > >
00:28:38 verbose #15063 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:38 verbose #15064 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:38 verbose #15065 > > │ ### min_value                                                                │
00:28:38 verbose #15066 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:38 verbose #15067 > >
00:28:38 verbose #15068 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:38 verbose #15069 > > inl min_value () : date_time =
00:28:38 verbose #15070 > >     backend_switch {
00:28:38 verbose #15071 > >         Fsharp = fun () => $'System.DateTime.MinValue' : date_time
00:28:38 verbose #15072 > >         Python = fun () => $'datetime.datetime.min' : date_time
00:28:38 verbose #15073 > >     }
00:28:39 verbose #15074 > 00:28:38   debug #835 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/33ebf4f96eb30d846a9f6e88483c96815ecf663e19fe5b4716cc69bf01a17975/main.spi
00:28:39 verbose #15075 > >
00:28:39 verbose #15076 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:39 verbose #15077 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:39 verbose #15078 > > │ ### max_value                                                                │
00:28:39 verbose #15079 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:39 verbose #15080 > >
00:28:39 verbose #15081 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:39 verbose #15082 > > inl max_value () : date_time =
00:28:39 verbose #15083 > >     backend_switch {
00:28:39 verbose #15084 > >         Fsharp = fun () => $'System.DateTime.MaxValue' : date_time
00:28:39 verbose #15085 > >         Python = fun () => $'datetime.datetime.max' : date_time
00:28:39 verbose #15086 > >     }
00:28:39 verbose #15087 > 00:28:38   debug #836 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3153e432ae78fea943ca8be136d6c2b856bd6c188620097c1246c6cb616ca7a6/main.spi
00:28:39 verbose #15088 > >
00:28:39 verbose #15089 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:39 verbose #15090 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:39 verbose #15091 > > │ ### unix_epoch                                                               │
00:28:39 verbose #15092 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:39 verbose #15093 > >
00:28:39 verbose #15094 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:39 verbose #15095 > > inl unix_epoch () : date_time =
00:28:39 verbose #15096 > >     backend_switch {
00:28:39 verbose #15097 > >         Fsharp = fun () => $'System.DateTime.UnixEpoch' : date_time
00:28:39 verbose #15098 > >         Python = fun () => $'datetime.datetime(1970, 1, 1)' : date_time
00:28:39 verbose #15099 > >     }
00:28:39 verbose #15100 > 00:28:38   debug #837 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6de097aec422fb85a79bc6ded3fa19ea377c66470079a7308b7805ccf07b1371/main.spi
00:28:39 verbose #15101 > >
00:28:39 verbose #15102 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:39 verbose #15103 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:39 verbose #15104 > > │ ### to_universal_time                                                        │
00:28:39 verbose #15105 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:39 verbose #15106 > >
00:28:39 verbose #15107 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:39 verbose #15108 > > inl to_universal_time (date_time : date_time) : date_time =
00:28:39 verbose #15109 > >     backend_switch {
00:28:39 verbose #15110 > >         Fsharp = fun () => date_time |> $'_.ToUniversalTime()' : date_time
00:28:39 verbose #15111 > >         Python = fun () => $'!date_time.astimezone(datetime.timezone.utc)' :
00:28:39 verbose #15112 > > date_time
00:28:39 verbose #15113 > >     }
00:28:40 verbose #15114 > 00:28:39   debug #838 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/db414fced994aba241d8e6bd600a7794221e303c5b253df6588d502085042b7c/main.spi
00:28:40 verbose #15115 > >
00:28:40 verbose #15116 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:40 verbose #15117 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:40 verbose #15118 > > │ ### date_time_kind                                                           │
00:28:40 verbose #15119 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:40 verbose #15120 > >
00:28:40 verbose #15121 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:40 verbose #15122 > > union date_time_kind =
00:28:40 verbose #15123 > >     | Unspecified
00:28:40 verbose #15124 > >     | Utc
00:28:40 verbose #15125 > >     | Local
00:28:40 verbose #15126 > 00:28:39   debug #839 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7b21ef6625510b8fac3f92851ac2245c172f7379e30534d2d0b5a5314ae115de/main.spi
00:28:40 verbose #15127 > >
00:28:40 verbose #15128 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:40 verbose #15129 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:40 verbose #15130 > > │ ### specify_date_kind                                                        │
00:28:40 verbose #15131 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:40 verbose #15132 > >
00:28:40 verbose #15133 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:40 verbose #15134 > > inl specify_date_kind (kind : date_time_kind) (date_time : date_time) :
00:28:40 verbose #15135 > > date_time =
00:28:40 verbose #15136 > >     inl kind : $'System.DateTimeKind' =
00:28:40 verbose #15137 > >         match kind with
00:28:40 verbose #15138 > >         | Unspecified => $'System.DateTimeKind.Unspecified'
00:28:40 verbose #15139 > >         | Utc => $'System.DateTimeKind.Utc'
00:28:40 verbose #15140 > >         | Local => $'System.DateTimeKind.Local'
00:28:40 verbose #15141 > >     $'System.DateTime.SpecifyKind (!date_time, !kind)'
00:28:40 verbose #15142 > 00:28:39   debug #840 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a07d7f575f6e614c94cdead3bb2a689b957d820fe6bcd4d89db109431bc68d59/main.spi
00:28:40 verbose #15143 > >
00:28:40 verbose #15144 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:40 verbose #15145 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:40 verbose #15146 > > │ ### time_span                                                                │
00:28:40 verbose #15147 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:40 verbose #15148 > >
00:28:40 verbose #15149 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:40 verbose #15150 > > nominal time_span = $"backend_switch `({ Fsharp : $"System.TimeSpan"; Python :
00:28:40 verbose #15151 > > $"datetime.timedelta" })"
00:28:40 verbose #15152 > >
00:28:40 verbose #15153 > > inl time_span x : time_span =
00:28:40 verbose #15154 > >     backend_switch {
00:28:40 verbose #15155 > >         Fsharp = fun () => x |> $'`time_span ' : time_span
00:28:40 verbose #15156 > >         Python = fun () => $'datetime.timedelta(!x)' : time_span
00:28:40 verbose #15157 > >     }
00:28:41 verbose #15158 > 00:28:40   debug #841 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a709df3cdee332624da22e9548048b345d1a78e0fd5f1d9f878aaf2c34ca5213/main.spi
00:28:41 verbose #15159 > >
00:28:41 verbose #15160 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:41 verbose #15161 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:41 verbose #15162 > > │ ### new_time_span                                                            │
00:28:41 verbose #15163 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:41 verbose #15164 > >
00:28:41 verbose #15165 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:41 verbose #15166 > > inl new_time_span (a : date_time) (b : date_time) : time_span =
00:28:41 verbose #15167 > >     $'!b - !a '
00:28:41 verbose #15168 > 00:28:40   debug #842 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4ceb53686e1f061a4d42c093b7a71ee17808baca974ecd9e98fbafb5d38387e2/main.spi
00:28:41 verbose #15169 > >
00:28:41 verbose #15170 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:41 verbose #15171 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:41 verbose #15172 > > │ ### time_span_format                                                         │
00:28:41 verbose #15173 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:41 verbose #15174 > >
00:28:41 verbose #15175 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:41 verbose #15176 > > inl time_span_format (format : string) (time_span : time_span) : string =
00:28:41 verbose #15177 > >     run_target function
00:28:41 verbose #15178 > >         | (TypeScript _ | Python _) => fun () =>
00:28:41 verbose #15179 > >             $'!time_span.ToString ("c",
00:28:41 verbose #15180 > > System.Globalization.CultureInfo.InvariantCulture)'
00:28:41 verbose #15181 > >         | _ => fun () =>
00:28:41 verbose #15182 > >             $'!time_span.ToString !format '
00:28:41 verbose #15183 > 00:28:40   debug #843 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2b4778d90b4925b9fdfcf94d13eb989cc4b3994ddbfd30c1cbeb1f0dc4c63654/main.spi
00:28:42 verbose #15184 > >
00:28:42 verbose #15185 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:42 verbose #15186 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:42 verbose #15187 > > │ ### hours                                                                    │
00:28:42 verbose #15188 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:42 verbose #15189 > >
00:28:42 verbose #15190 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:42 verbose #15191 > > inl hours (time_span : time_span) : i32 =
00:28:42 verbose #15192 > >     backend_switch {
00:28:42 verbose #15193 > >         Fsharp = fun () => time_span |> $'_.Hours' : i32
00:28:42 verbose #15194 > >         Python = fun () => $'!time_span.days * 24 + !time_span.seconds // 3600'
00:28:42 verbose #15195 > > : i32
00:28:42 verbose #15196 > >     }
00:28:42 verbose #15197 > 00:28:41   debug #844 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c65e3450c157ff362572225f439bea897209717fc442354e6eda686011c3348d/main.spi
00:28:42 verbose #15198 > >
00:28:42 verbose #15199 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:42 verbose #15200 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:42 verbose #15201 > > │ ### milliseconds                                                             │
00:28:42 verbose #15202 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:42 verbose #15203 > >
00:28:42 verbose #15204 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:42 verbose #15205 > > inl milliseconds (time_span : time_span) : i32 =
00:28:42 verbose #15206 > >     backend_switch {
00:28:42 verbose #15207 > >         Fsharp = fun () => time_span |> $'_.Milliseconds' : i32
00:28:42 verbose #15208 > >         Python = fun () => $'!time_span.microseconds // 1000' : i32
00:28:42 verbose #15209 > >     }
00:28:42 verbose #15210 > 00:28:41   debug #845 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32bd8c4a5cef8065f25c73e9dfee39b4523eb1839ce4d05e81a1024261d7d84a/main.spi
00:28:42 verbose #15211 > >
00:28:42 verbose #15212 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:42 verbose #15213 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:42 verbose #15214 > > │ ### minutes                                                                  │
00:28:42 verbose #15215 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:42 verbose #15216 > >
00:28:42 verbose #15217 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:42 verbose #15218 > > inl minutes (time_span : time_span) : i32 =
00:28:42 verbose #15219 > >     backend_switch {
00:28:42 verbose #15220 > >         Fsharp = fun () => time_span |> $'_.Minutes' : i32
00:28:42 verbose #15221 > >         Python = fun () => $'!time_span.seconds // 60' : i32
00:28:42 verbose #15222 > >     }
00:28:43 verbose #15223 > 00:28:42   debug #846 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8c3bc8bf841648f33e0d4957eee7064bbc2c2aa82f3ead8d100496a0ca44442e/main.spi
00:28:43 verbose #15224 > >
00:28:43 verbose #15225 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:43 verbose #15226 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:43 verbose #15227 > > │ ### seconds                                                                  │
00:28:43 verbose #15228 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:43 verbose #15229 > >
00:28:43 verbose #15230 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:43 verbose #15231 > > inl seconds (time_span : time_span) : i32 =
00:28:43 verbose #15232 > >     backend_switch {
00:28:43 verbose #15233 > >         Fsharp = fun () => time_span |> $'_.Seconds' : i32
00:28:43 verbose #15234 > >         Python = fun () => $'!time_span.seconds % 60' : i32
00:28:43 verbose #15235 > >     }
00:28:43 verbose #15236 > 00:28:42   debug #847 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9db8a12d8c45c0b40694d982bc108ccc848afcbd6f74ba3a2666a09cd46cf0ea/main.spi
00:28:43 verbose #15237 > >
00:28:43 verbose #15238 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:43 verbose #15239 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:43 verbose #15240 > > │ ### total_seconds                                                            │
00:28:43 verbose #15241 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:43 verbose #15242 > >
00:28:43 verbose #15243 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:43 verbose #15244 > > inl total_seconds (time_span : time_span) : f64 =
00:28:43 verbose #15245 > >     backend_switch {
00:28:43 verbose #15246 > >         Fsharp = fun () => time_span |> $'_.TotalSeconds' : f64
00:28:43 verbose #15247 > >         Python = fun () => $'!time_span.total_seconds()' : f64
00:28:43 verbose #15248 > >     }
00:28:43 verbose #15249 > 00:28:42   debug #848 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ad35e9dd8f27e773115f04f06623be45958b683bdafd2f87a68fb1ad8bc73897/main.spi
00:28:43 verbose #15250 > >
00:28:43 verbose #15251 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:43 verbose #15252 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:43 verbose #15253 > > │ ### time_zone_info                                                           │
00:28:43 verbose #15254 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:43 verbose #15255 > >
00:28:43 verbose #15256 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:43 verbose #15257 > > nominal time_zone_info = $'System.TimeZoneInfo'
00:28:44 verbose #15258 > 00:28:43   debug #849 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/064aced419f3ba5911eae230810b11ff3133d0dc1e7ce045f3148e71fb75afb4/main.spi
00:28:44 verbose #15259 > >
00:28:44 verbose #15260 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:44 verbose #15261 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:44 verbose #15262 > > │ ### add_days                                                                 │
00:28:44 verbose #15263 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:44 verbose #15264 > >
00:28:44 verbose #15265 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:44 verbose #15266 > > inl add_days (days : i32) (date_time : date_time) : date_time =
00:28:44 verbose #15267 > >     $'!date_time.AddDays' days
00:28:44 verbose #15268 > 00:28:43   debug #850 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ef5b7449686e95110d71519d03edd9fd07c4ec0174c6b0ede8f19f6eaa0e348b/main.spi
00:28:44 verbose #15269 > >
00:28:44 verbose #15270 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:44 verbose #15271 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:44 verbose #15272 > > │ ### now                                                                      │
00:28:44 verbose #15273 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:44 verbose #15274 > >
00:28:44 verbose #15275 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:44 verbose #15276 > > inl now () : date_time =
00:28:44 verbose #15277 > >     backend_switch {
00:28:44 verbose #15278 > >         Fsharp = fun () => $'System.DateTime.Now' : date_time
00:28:44 verbose #15279 > >         Python = fun () =>
00:28:44 verbose #15280 > >             backend_switch {
00:28:44 verbose #15281 > >                 Python = fun () =>
00:28:44 verbose #15282 > >                     global "import datetime"
00:28:44 verbose #15283 > >             }
00:28:44 verbose #15284 > >             $'datetime.datetime.now()' : date_time
00:28:44 verbose #15285 > >     }
00:28:44 verbose #15286 > 00:28:43   debug #851 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6f958e3db0f40ed0a4d10335484e625b8fa903599e35bd817780561587760510/main.spi
00:28:45 verbose #15287 > >
00:28:45 verbose #15288 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:45 verbose #15289 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:45 verbose #15290 > > │ ### utc_now                                                                  │
00:28:45 verbose #15291 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:45 verbose #15292 > >
00:28:45 verbose #15293 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:45 verbose #15294 > > inl utc_now () : date_time =
00:28:45 verbose #15295 > >     backend_switch {
00:28:45 verbose #15296 > >         Fsharp = fun () => $'System.DateTime.UtcNow' : date_time
00:28:45 verbose #15297 > >         Python = fun () =>
00:28:45 verbose #15298 > >             backend_switch {
00:28:45 verbose #15299 > >                 Python = fun () =>
00:28:45 verbose #15300 > >                     global "import datetime"
00:28:45 verbose #15301 > >             }
00:28:45 verbose #15302 > >             $'datetime.datetime.utcnow()' : date_time
00:28:45 verbose #15303 > >     }
00:28:45 verbose #15304 > 00:28:44   debug #852 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a054db26841d9dcf6ca7b58de0f558cd48b8e517ced270e96c600cdd20c0a571/main.spi
00:28:45 verbose #15305 > >
00:28:45 verbose #15306 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:45 verbose #15307 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:45 verbose #15308 > > │ ### stopwatch                                                                │
00:28:45 verbose #15309 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:45 verbose #15310 > >
00:28:45 verbose #15311 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:45 verbose #15312 > > nominal stopwatch_python =
00:28:45 verbose #15313 > >     `(
00:28:45 verbose #15314 > >         global "import timeit"
00:28:45 verbose #15315 > >         $'' : $'timeit.default_timer'
00:28:45 verbose #15316 > >     )
00:28:45 verbose #15317 > > type stopwatch_switch =
00:28:45 verbose #15318 > >     {
00:28:45 verbose #15319 > >         Fsharp : $'System.Diagnostics.Stopwatch'
00:28:45 verbose #15320 > >         Python : stopwatch_python
00:28:45 verbose #15321 > >     }
00:28:45 verbose #15322 > > nominal stopwatch = $'backend_switch `(stopwatch_switch)'
00:28:45 verbose #15323 > >
00:28:45 verbose #15324 > > inl stopwatch () : stopwatch =
00:28:45 verbose #15325 > >     backend_switch {
00:28:45 verbose #15326 > >         Fsharp = fun () => $'`stopwatch ' () : stopwatch
00:28:45 verbose #15327 > >         Python = fun () => $'`stopwatch ' : stopwatch
00:28:45 verbose #15328 > >     }
00:28:45 verbose #15329 > 00:28:44   debug #853 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6b0de527178d6565ceb6ca5b77ca571a45c7bf9c9c27d6db2615bd5556eed18f/main.spi
00:28:45 verbose #15330 > >
00:28:45 verbose #15331 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:45 verbose #15332 > > inl stopwatch_elapsed_milliseconds (stopwatch : stopwatch) : i64 =
00:28:45 verbose #15333 > >     $'!stopwatch.ElapsedMilliseconds'
00:28:45 verbose #15334 > 00:28:45   debug #854 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/884e2513af2cc7c5509c3a1379171106fea4afde89fc08072a48b26a1615f2e5/main.spi
00:28:46 verbose #15335 > >
00:28:46 verbose #15336 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:46 verbose #15337 > > inl stopwatch_start (stopwatch : stopwatch) : () =
00:28:46 verbose #15338 > >     $'!stopwatch.Start' ()
00:28:46 verbose #15339 > 00:28:45   debug #855 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e332efd7ec011c7bcc8111395ab3df1e16a2abfb096299433edda459f0180ed5/main.spi
00:28:46 verbose #15340 > >
00:28:46 verbose #15341 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:46 verbose #15342 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:46 verbose #15343 > > │ ## rust                                                                      │
00:28:46 verbose #15344 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:46 verbose #15345 > >
00:28:46 verbose #15346 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:46 verbose #15347 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:46 verbose #15348 > > │ ### duration                                                                 │
00:28:46 verbose #15349 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:46 verbose #15350 > >
00:28:46 verbose #15351 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:46 verbose #15352 > > nominal duration =
00:28:46 verbose #15353 > >     `(
00:28:46 verbose #15354 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:28:46 verbose #15355 > > Fable.Core.Emit(\"std::time::Duration\")>]]\n#endif\ntype std_time_Duration =
00:28:46 verbose #15356 > > class end"
00:28:46 verbose #15357 > >         $'' : $'std_time_Duration'
00:28:46 verbose #15358 > >     )
00:28:46 verbose #15359 > 00:28:45   debug #856 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/26b2cbe978d6f91dbcec2630a387b885da60fc18f770ef6b722faf952de832b6/main.spi
00:28:46 verbose #15360 > >
00:28:46 verbose #15361 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:46 verbose #15362 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:46 verbose #15363 > > │ ### date_time'                                                               │
00:28:46 verbose #15364 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:46 verbose #15365 > >
00:28:46 verbose #15366 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:46 verbose #15367 > > nominal date_time' t =
00:28:46 verbose #15368 > >     `(
00:28:46 verbose #15369 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:28:46 verbose #15370 > > Fable.Core.Emit(\"chrono::DateTime<$0>\")>]]\n#endif\ntype chrono_DateTime<'T> =
00:28:46 verbose #15371 > > class end"
00:28:46 verbose #15372 > >         $'' : $'chrono_DateTime<`t>'
00:28:46 verbose #15373 > >     )
00:28:47 verbose #15374 > 00:28:46   debug #857 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c918fd7aabbbc94fd9e38cf43bba954a4de6700440753b967efd559511d14845/main.spi
00:28:47 verbose #15375 > >
00:28:47 verbose #15376 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:47 verbose #15377 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:47 verbose #15378 > > │ ### local                                                                    │
00:28:47 verbose #15379 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:47 verbose #15380 > >
00:28:47 verbose #15381 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:47 verbose #15382 > > nominal local =
00:28:47 verbose #15383 > >     `(
00:28:47 verbose #15384 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:28:47 verbose #15385 > > Fable.Core.Emit(\"chrono::Local\")>]]\n#endif\ntype chrono_Local = class end"
00:28:47 verbose #15386 > >         $'' : $'chrono_Local'
00:28:47 verbose #15387 > >     )
00:28:47 verbose #15388 > 00:28:46   debug #858 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2f50c4d773c113f60c9e0fff1a95a118219387aa4b15fb583b8bb11aab65e488/main.spi
00:28:47 verbose #15389 > >
00:28:47 verbose #15390 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:47 verbose #15391 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:47 verbose #15392 > > │ ### naive_date_time                                                          │
00:28:47 verbose #15393 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:47 verbose #15394 > >
00:28:47 verbose #15395 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:47 verbose #15396 > > nominal naive_date_time =
00:28:47 verbose #15397 > >     `(
00:28:47 verbose #15398 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:28:47 verbose #15399 > > Fable.Core.Emit(\"chrono::NaiveDateTime\")>]]\n#endif\ntype chrono_NaiveDateTime
00:28:47 verbose #15400 > > = class end"
00:28:47 verbose #15401 > >         $'' : $'chrono_NaiveDateTime'
00:28:47 verbose #15402 > >     )
00:28:47 verbose #15403 > 00:28:46   debug #859 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2622e38cb4ae6e0d1bbfd51abbe3f8e88b72f6b2a01a16e677fdc100f8bf3a89/main.spi
00:28:47 verbose #15404 > >
00:28:47 verbose #15405 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:47 verbose #15406 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:47 verbose #15407 > > │ ## utc                                                                       │
00:28:47 verbose #15408 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:47 verbose #15409 > >
00:28:47 verbose #15410 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:47 verbose #15411 > > nominal utc =
00:28:47 verbose #15412 > >     `(
00:28:47 verbose #15413 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:28:47 verbose #15414 > > Fable.Core.Emit(\"chrono::Utc\")>]]\n#endif\ntype chrono_Utc = class end"
00:28:47 verbose #15415 > >         $'' : $'chrono_Utc'
00:28:47 verbose #15416 > >     )
00:28:48 verbose #15417 > 00:28:47   debug #860 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/68539cb2b33c79b9a3dffb2a211e4839f3fca0adc1998f3edfde20b061d53ae8/main.spi
00:28:48 verbose #15418 > >
00:28:48 verbose #15419 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:48 verbose #15420 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:48 verbose #15421 > > │ ### naive_utc                                                                │
00:28:48 verbose #15422 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:48 verbose #15423 > >
00:28:48 verbose #15424 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:48 verbose #15425 > > inl naive_utc (date_time : date_time' utc) : naive_date_time =
00:28:48 verbose #15426 > >     !\\(date_time, $'"$0.naive_utc()"')
00:28:48 verbose #15427 > 00:28:47   debug #861 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3d12aec449013a79a56b8c6a8c17abec3e92fe160615b7fc898ac8bcfddf6729/main.spi
00:28:48 verbose #15428 > >
00:28:48 verbose #15429 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:48 verbose #15430 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:48 verbose #15431 > > │ ### to_local                                                                 │
00:28:48 verbose #15432 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:48 verbose #15433 > >
00:28:48 verbose #15434 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:48 verbose #15435 > > inl to_local (date_time : date_time' utc) : date_time' local =
00:28:48 verbose #15436 > >     inl naive_date_time = date_time |> naive_utc
00:28:48 verbose #15437 > >     !\\(naive_date_time,
00:28:48 verbose #15438 > > $'"chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &$0)"')
00:28:48 verbose #15439 > 00:28:47   debug #862 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2c2ea112262291b0b7fda535a9f795ee7655a738eef9dbd808ab62ca5c0997eb/main.spi
00:28:49 verbose #15440 > >
00:28:49 verbose #15441 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:49 verbose #15442 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:49 verbose #15443 > > │ ### from_timestamp_micros                                                    │
00:28:49 verbose #15444 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:49 verbose #15445 > >
00:28:49 verbose #15446 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:49 verbose #15447 > > inl from_timestamp_micros forall t {number; int}. (timestamp : t) : option
00:28:49 verbose #15448 > > (date_time' utc) =
00:28:49 verbose #15449 > >     inl result : optionm'.option' (date_time' utc) =
00:28:49 verbose #15450 > >         !\\(timestamp, $'"chrono::DateTime::from_timestamp_micros($0)"')
00:28:49 verbose #15451 > >     result |> optionm'.unbox
00:28:49 verbose #15452 > 00:28:48   debug #863 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9f6f82024ea0dba9169233129b76f353e6092e615571706dd707f77989c87105/main.spi
00:28:49 verbose #15453 > >
00:28:49 verbose #15454 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:49 verbose #15455 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:49 verbose #15456 > > │ ### format'                                                                  │
00:28:49 verbose #15457 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:49 verbose #15458 > >
00:28:49 verbose #15459 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:49 verbose #15460 > > inl format' (format : string) (date_time : date_time' utc) : sm'.std_string =
00:28:49 verbose #15461 > >     !\\((date_time, #format), $'"$0.format($1).to_string()"')
00:28:49 verbose #15462 > 00:28:48   debug #864 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b2a59a13274ed14090dd204c2a6388c55201abe0f50149e5653cf0ad006dc33a/main.spi
00:28:49 verbose #15463 > >
00:28:49 verbose #15464 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:49 verbose #15465 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:49 verbose #15466 > > │ ### format''                                                                 │
00:28:49 verbose #15467 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:49 verbose #15468 > >
00:28:49 verbose #15469 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:49 verbose #15470 > > inl format'' (format : string) (date_time : date_time' _) : sm'.std_string =
00:28:49 verbose #15471 > >     !\\((date_time, #format), $'"$0.format($1).to_string()"')
00:28:49 verbose #15472 > 00:28:49   debug #865 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d3150d44342a5f013379f2004aedee59dd29b5ae2978f604f0d0dbb54331d2d3/main.spi
00:28:50 verbose #15473 > >
00:28:50 verbose #15474 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:50 verbose #15475 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:50 verbose #15476 > > │ ### format_timestamp                                                         │
00:28:50 verbose #15477 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:50 verbose #15478 > >
00:28:50 verbose #15479 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:50 verbose #15480 > > inl format_timestamp forall t {number; int}. (timestamp : t) =
00:28:50 verbose #15481 > >     inl timestamp = join timestamp
00:28:50 verbose #15482 > >     (timestamp / 1000)
00:28:50 verbose #15483 > >     |> from_timestamp_micros
00:28:50 verbose #15484 > >     |> optionm.map fun x =>
00:28:50 verbose #15485 > >         x
00:28:50 verbose #15486 > >         |> to_local
00:28:50 verbose #15487 > >         |> format'' "%Y-%m-%d %H:%M:%S"
00:28:50 verbose #15488 > >         |> sm'.from_std_string
00:28:50 verbose #15489 > >     |> resultm.from_option
00:28:50 verbose #15490 > 00:28:49   debug #866 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e4a1ce10b532ea5176c705985f2e1d06b4508ce00534f4b0aa2e39f40380abbc/main.spi
00:28:50 verbose #15491 > >
00:28:50 verbose #15492 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:50 verbose #15493 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:50 verbose #15494 > > │ ### duration_from_millis                                                     │
00:28:50 verbose #15495 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:50 verbose #15496 > >
00:28:50 verbose #15497 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:50 verbose #15498 > > inl duration_from_millis (ms : u64) : duration =
00:28:50 verbose #15499 > >     inl ms = join ms
00:28:50 verbose #15500 > >     !\($'"std::time::Duration::from_millis(!ms)"')
00:28:50 verbose #15501 > 00:28:49   debug #867 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/827ce869a987340eb0290533358cb4d8026ade33ac6b856bbc7b51bf63832b33/main.spi
00:28:50 verbose #15502 > >
00:28:50 verbose #15503 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:50 verbose #15504 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:50 verbose #15505 > > │ ## date_time                                                                 │
00:28:50 verbose #15506 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:50 verbose #15507 > >
00:28:50 verbose #15508 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:50 verbose #15509 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:50 verbose #15510 > > │ ### time_zone_local                                                          │
00:28:50 verbose #15511 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:50 verbose #15512 > >
00:28:50 verbose #15513 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:50 verbose #15514 > > inl time_zone_local () : time_zone_info =
00:28:50 verbose #15515 > >     run_target function
00:28:50 verbose #15516 > >         | Rust (Native) => fun () =>
00:28:50 verbose #15517 > >             open rust.rust_operators
00:28:50 verbose #15518 > >             !\($'"0i64.into()"')
00:28:50 verbose #15519 > >         | Fsharp _ => fun () =>
00:28:50 verbose #15520 > >             $'System.TimeZoneInfo.Local'
00:28:50 verbose #15521 > >         | _ => fun () => null ()
00:28:51 verbose #15522 > 00:28:50   debug #868 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe4e2b173e70ac28bf715cb630b4f30fd857234fcd14d879484ee1cefff6a045/main.spi
00:28:51 verbose #15523 > >
00:28:51 verbose #15524 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:51 verbose #15525 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:51 verbose #15526 > > │ ### get_utc_offset                                                           │
00:28:51 verbose #15527 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:51 verbose #15528 > >
00:28:51 verbose #15529 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:51 verbose #15530 > > inl get_utc_offset (time_zone_info : time_zone_info) (date_time : date_time) :
00:28:51 verbose #15531 > > time_span =
00:28:51 verbose #15532 > >     run_target function
00:28:51 verbose #15533 > >         | Rust _ => fun () => time_span ()
00:28:51 verbose #15534 > >         | Fsharp _ => fun () => date_time |> $'_.GetUtcOffset' (time_zone_local
00:28:51 verbose #15535 > > ())
00:28:51 verbose #15536 > >         | target => fun () => failwith $'$"date_time.get_utc_offset / target:
00:28:51 verbose #15537 > > {!target}"'
00:28:51 verbose #15538 > 00:28:50   debug #869 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d3466c7b5c5d04c69e90459be87afce0051efd35f83c9f94b69d0fe89337f751/main.spi
00:28:51 verbose #15539 > >
00:28:51 verbose #15540 > > ── markdown ────────────────────────────────────────────────────────────────────
00:28:51 verbose #15541 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:51 verbose #15542 > > │ ### date_time_guid_from_date_time                                            │
00:28:51 verbose #15543 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:51 verbose #15544 > >
00:28:51 verbose #15545 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:51 verbose #15546 > > let date_time_guid_from_date_time (guid : guid.guid) (date_time : date_time) =
00:28:51 verbose #15547 > >     inl create prefix time_zone : date_time_guid =
00:28:51 verbose #15548 > >         inl guid = guid |> sm'.obj_to_string
00:28:51 verbose #15549 > >         $'`date_time_guid $"{!prefix}{!time_zone}{!guid.[[!prefix.Length +
00:28:51 verbose #15550 > > !time_zone.Length..]]}"'
00:28:51 verbose #15551 > >     run_target function
00:28:51 verbose #15552 > >         | Rust (Contract) => fun () => null ()
00:28:51 verbose #15553 > >         | Rust (Native | Wasm) => fun () =>
00:28:51 verbose #15554 > >             inl epoch =
00:28:51 verbose #15555 > >                 date_time_utc 1970 1 1 0 0 0
00:28:51 verbose #15556 > >                 |> to_universal_time
00:28:51 verbose #15557 > >             inl date_time =
00:28:51 verbose #15558 > >                 date_time
00:28:51 verbose #15559 > >                 |> specify_date_kind Local
00:28:51 verbose #15560 > >                 |> to_universal_time
00:28:51 verbose #15561 > >             inl unixticks =
00:28:51 verbose #15562 > >                 match date_time |> ticks, epoch |> ticks with
00:28:51 verbose #15563 > >                 | timestamp date_time, timestamp epoch => date_time - epoch
00:28:51 verbose #15564 > >             inl prefix =
00:28:51 verbose #15565 > >                 unixticks / 10
00:28:51 verbose #15566 > >                 |> from_timestamp_micros
00:28:51 verbose #15567 > >                 |> optionm.map (
00:28:51 verbose #15568 > >                     to_local
00:28:51 verbose #15569 > >                     >> format'' "%Y%m%d-%H%M-%S%f"
00:28:51 verbose #15570 > >                     >> sm'.from_std_string
00:28:51 verbose #15571 > >                     >> fun s => $'$"{!s.[[0..17]]}-{!s.[[18..21]]}-{!s.[[22]]}"'
00:28:51 verbose #15572 > >                 )
00:28:51 verbose #15573 > >                 |> optionm'.default_value ""
00:28:51 verbose #15574 > >             inl time_zone = date_time |> get_utc_offset (time_zone_local ())
00:28:51 verbose #15575 > >             inl time_zone_signal = if hours time_zone > 0 then 1u8 else 0
00:28:51 verbose #15576 > >             inl time_zone_value = time_zone |> time_span_format (join "hh:mm")
00:28:51 verbose #15577 > >             inl time_zone =
00:28:51 verbose #15578 > > $'$"{!time_zone_signal}{!time_zone_value.[[0..1]]}{!time_zone_value.[[3..4]]}"'
00:28:51 verbose #15579 > > : string
00:28:51 verbose #15580 > >             create prefix time_zone
00:28:51 verbose #15581 > >         | target => fun () =>
00:28:51 verbose #15582 > >             inl prefix = date_time |> format (join "yyyyMMdd-HHmm-ssff-ffff-f")
00:28:51 verbose #15583 > >             inl time_zone = date_time |> get_utc_offset (time_zone_local ())
00:28:51 verbose #15584 > >             inl time_zone_signal = if hours time_zone > 0 then 1u8 else 0
00:28:51 verbose #15585 > >             inl time_zone_value = time_zone |> time_span_format (join "hhmm")
00:28:51 verbose #15586 > >             inl time_zone = $'$"{!time_zone_signal}{!time_zone_value}"' : string
00:28:51 verbose #15587 > >             create prefix time_zone
00:28:51 verbose #15588 > 00:28:50   debug #870 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f9f7264413780860351ddcf4919759738f7ff3da8f7303047d9c5091b57de8dc/main.spi
00:28:51 verbose #15589 > >
00:28:51 verbose #15590 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:51 verbose #15591 > > //// test
00:28:51 verbose #15592 > >
00:28:51 verbose #15593 > > now () |> to_universal_time |> date_time_guid_from_date_time (test_guid ()) |>
00:28:51 verbose #15594 > > sm'.obj_to_string
00:28:51 verbose #15595 > > |> console.write_line
00:28:52 verbose #15596 > 00:28:51   debug #871 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b28757145750aefea7c097cfd3ac16d2e03bb384c644a57451635e62fd6683b3/main.spi
00:28:53 verbose #15597 > >
00:28:53 verbose #15598 > > ╭─[ 1.65s - stdout ]───────────────────────────────────────────────────────────╮
00:28:53 verbose #15599 > > │ 20240912-0251-0099-9934-900400543210                                         │
00:28:53 verbose #15600 > > │                                                                              │
00:28:53 verbose #15601 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:53 verbose #15602 > >
00:28:53 verbose #15603 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:53 verbose #15604 > > //// test
00:28:53 verbose #15605 > > ///! rust -d chrono
00:28:53 verbose #15606 > >
00:28:53 verbose #15607 > > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:28:53 verbose #15608 > > - 6i32) (am'.End id)
00:28:53 verbose #15609 > > now ()
00:28:53 verbose #15610 > > |> to_universal_time
00:28:53 verbose #15611 > > |> date_time_guid_from_date_time (test_guid ())
00:28:53 verbose #15612 > > |> sm'.obj_to_string
00:28:53 verbose #15613 > > |> fun s => s |> _assert_eq' $'$"{!s.[[0..29]]}{!suffix}"'
00:28:53 verbose #15614 > 00:28:52   debug #872 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab33dd4699cf08edaccaa22ca2d7d0098c5e5c8b95f4f9a1b1a09e28d2c3775a/main.spi
00:28:57 verbose #15615 > >
00:28:57 verbose #15616 > > ╭─[ 3.98s - return value ]─────────────────────────────────────────────────────╮
00:28:57 verbose #15617 > > │ __assert_eq' / actual: "20240912-0251-0488-2681-000000543210" / expected:    │
00:28:57 verbose #15618 > > │ "20240912-0251-0488-2681-000000543210"                                       │
00:28:57 verbose #15619 > > │                                                                              │
00:28:57 verbose #15620 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:57 verbose #15621 > >
00:28:57 verbose #15622 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:57 verbose #15623 > > //// test
00:28:57 verbose #15624 > > ///! fsharp
00:28:57 verbose #15625 > > ///! rust -d chrono
00:28:57 verbose #15626 > >
00:28:57 verbose #15627 > > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:28:57 verbose #15628 > > - 6i32) (am'.End id)
00:28:57 verbose #15629 > > min_value ()
00:28:57 verbose #15630 > > |> specify_date_kind Local
00:28:57 verbose #15631 > > |> date_time_guid_from_date_time (test_guid ())
00:28:57 verbose #15632 > > |> sm'.obj_to_string
00:28:57 verbose #15633 > > |> fun s => s |> _assert_eq'
00:28:57 verbose #15634 > > $'$"00010101-0000-0000-0000-0{!s.[[25..29]]}{!suffix}"'
00:28:57 verbose #15635 > 00:28:56   debug #873 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5f83ccd3a5d10663386e8b07bbba290081cbfaf22d1ddac76282faba34d6746b/main.spi
00:29:01 verbose #15636 > >
00:29:01 verbose #15637 > > ╭─[ 3.45s - return value ]─────────────────────────────────────────────────────╮
00:29:01 verbose #15638 > > │ .rs output (rust -d chrono):                                                 │
00:29:01 verbose #15639 > > │ __assert_eq' / actual: "00010101-0000-0000-0000-000000543210" / expected:    │
00:29:01 verbose #15640 > > │ "00010101-0000-0000-0000-000000543210"                                       │
00:29:01 verbose #15641 > > │                                                                              │
00:29:01 verbose #15642 > > │                                                                              │
00:29:01 verbose #15643 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:01 verbose #15644 > >
00:29:01 verbose #15645 > > ╭─[ 3.45s - stdout ]───────────────────────────────────────────────────────────╮
00:29:01 verbose #15646 > > │ .fsx output:                                                                 │
00:29:01 verbose #15647 > > │ __assert_eq' / actual: "00010101-0000-0000-0000-000400543210" / expected:    │
00:29:01 verbose #15648 > > │ "00010101-0000-0000-0000-000400543210"                                       │
00:29:01 verbose #15649 > > │                                                                              │
00:29:01 verbose #15650 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:01 verbose #15651 > >
00:29:01 verbose #15652 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:01 verbose #15653 > > //// test
00:29:01 verbose #15654 > > ///! fsharp
00:29:01 verbose #15655 > >
00:29:01 verbose #15656 > > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:29:01 verbose #15657 > > - 6i32) (am'.End id)
00:29:01 verbose #15658 > > max_value ()
00:29:01 verbose #15659 > > |> specify_date_kind Utc
00:29:01 verbose #15660 > > |> add_days -1
00:29:01 verbose #15661 > > |> date_time_guid_from_date_time (test_guid ())
00:29:01 verbose #15662 > > |> sm'.obj_to_string
00:29:01 verbose #15663 > > |> fun s => s |> _assert_eq
00:29:01 verbose #15664 > > $'$"99991230-2359-5999-9999-9{!s.[[25..29]]}{!suffix}"'
00:29:01 verbose #15665 > 00:29:00   debug #874 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e1c78e20efd41a05f557cf87db48dca5b41bbb5273702b92d106e43f99872fdb/main.spi
00:29:01 verbose #15666 > >
00:29:01 verbose #15667 > > ╭─[ 511.95ms - stdout ]────────────────────────────────────────────────────────╮
00:29:01 verbose #15668 > > │ __assert_eq / actual: "99991230-2359-5999-9999-900400543210" / expected:     │
00:29:01 verbose #15669 > > │ "99991230-2359-5999-9999-900400543210"                                       │
00:29:01 verbose #15670 > > │                                                                              │
00:29:01 verbose #15671 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:01 verbose #15672 > >
00:29:01 verbose #15673 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:01 verbose #15674 > > //// test
00:29:01 verbose #15675 > > ///! rust -d chrono
00:29:01 verbose #15676 > >
00:29:01 verbose #15677 > > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:29:01 verbose #15678 > > - 6i32) (am'.End id)
00:29:01 verbose #15679 > > max_value ()
00:29:01 verbose #15680 > > |> specify_date_kind Utc
00:29:01 verbose #15681 > > |> add_days -1
00:29:01 verbose #15682 > > |> date_time_guid_from_date_time (test_guid ())
00:29:01 verbose #15683 > > |> sm'.obj_to_string
00:29:01 verbose #15684 > > |> fun s => s |> _assert_eq
00:29:01 verbose #15685 > > $'$"99991230-2359-5999-9999-0{!s.[[25..29]]}{!suffix}"'
00:29:01 verbose #15686 > 00:29:00   debug #875 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/22dcdf3c9b12d2d15c36cea64731c007f71176283036a6e5f5ed34147c6c0626/main.spi
00:29:04 verbose #15687 > >
00:29:04 verbose #15688 > > ╭─[ 3.43s - return value ]─────────────────────────────────────────────────────╮
00:29:04 verbose #15689 > > │ __assert_eq / actual: "99991230-2359-5999-9999-000000543210" / expected:     │
00:29:04 verbose #15690 > > │ "99991230-2359-5999-9999-000000543210"                                       │
00:29:04 verbose #15691 > > │                                                                              │
00:29:04 verbose #15692 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:04 verbose #15693 > >
00:29:04 verbose #15694 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:04 verbose #15695 > > //// test
00:29:04 verbose #15696 > >
00:29:04 verbose #15697 > > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:29:04 verbose #15698 > > - 6i32) (am'.End id)
00:29:04 verbose #15699 > > unix_epoch ()
00:29:04 verbose #15700 > > |> specify_date_kind Utc
00:29:04 verbose #15701 > > |> add_days 1
00:29:04 verbose #15702 > > |> date_time_guid_from_date_time (test_guid ())
00:29:04 verbose #15703 > > |> sm'.obj_to_string
00:29:04 verbose #15704 > > |> fun s => s |> _assert_eq
00:29:04 verbose #15705 > > $'$"19700102-0000-0000-0000-0{!s.[[25..29]]}{!suffix}"'
00:29:05 verbose #15706 > 00:29:04   debug #876 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ff3eccf058e98a642e895d0288105988bbc9f7e19376a49500c253412fb4ad37/main.spi
00:29:05 verbose #15707 > >
00:29:05 verbose #15708 > > ╭─[ 560.64ms - stdout ]────────────────────────────────────────────────────────╮
00:29:05 verbose #15709 > > │ __assert_eq / actual: "19700102-0000-0000-0000-000400543210" / expected:     │
00:29:05 verbose #15710 > > │ "19700102-0000-0000-0000-000400543210"                                       │
00:29:05 verbose #15711 > > │                                                                              │
00:29:05 verbose #15712 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:05 verbose #15713 > >
00:29:05 verbose #15714 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:05 verbose #15715 > > //// test
00:29:05 verbose #15716 > > ///! rust -d chrono
00:29:05 verbose #15717 > >
00:29:05 verbose #15718 > > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:29:05 verbose #15719 > > - 6i32) (am'.End id)
00:29:05 verbose #15720 > > unix_epoch ()
00:29:05 verbose #15721 > > |> specify_date_kind Utc
00:29:05 verbose #15722 > > |> add_days 1
00:29:05 verbose #15723 > > |> date_time_guid_from_date_time (test_guid ())
00:29:05 verbose #15724 > > |> sm'.obj_to_string
00:29:05 verbose #15725 > > |> fun s => s |> _assert_eq
00:29:05 verbose #15726 > > $'$"19700102-0000-0000-0000-0{!s.[[25..29]]}{!suffix}"'
00:29:05 verbose #15727 > 00:29:04   debug #877 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6ae5532fb12cfe7ce8cc7aaea4bca886edd2f775d9d2734b34ddbc7ad5482a41/main.spi
00:29:08 verbose #15728 > >
00:29:08 verbose #15729 > > ╭─[ 3.45s - return value ]─────────────────────────────────────────────────────╮
00:29:08 verbose #15730 > > │ __assert_eq / actual: "19700102-0000-0000-0000-000000543210" / expected:     │
00:29:08 verbose #15731 > > │ "19700102-0000-0000-0000-000000543210"                                       │
00:29:08 verbose #15732 > > │                                                                              │
00:29:08 verbose #15733 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:08 verbose #15734 > >
00:29:08 verbose #15735 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:08 verbose #15736 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:08 verbose #15737 > > │ ### date_time_from_guid                                                      │
00:29:08 verbose #15738 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:08 verbose #15739 > >
00:29:08 verbose #15740 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:08 verbose #15741 > > inl date_time_from_guid (date_time_guid : date_time_guid) =
00:29:08 verbose #15742 > >     inl date_time_guid = date_time_guid |> sm'.obj_to_string
00:29:08 verbose #15743 > >     inl sm_replace = sm'.replace "-" ""
00:29:08 verbose #15744 > >     run_target_args (fun () => sm_replace) function
00:29:08 verbose #15745 > >         | (Rust _ | TypeScript _) => fun sm_replace =>
00:29:08 verbose #15746 > >             $'System.DateTime.Parse (!date_time_guid.[[..24]] |> !sm_replace)' :
00:29:08 verbose #15747 > > date_time
00:29:08 verbose #15748 > >         | _ => fun sm_replace => $'System.DateTime.ParseExact
00:29:08 verbose #15749 > > (!date_time_guid.[[..24]] |> !sm_replace, "yyyyMMddHHmmssfffffff", null)' :
00:29:08 verbose #15750 > > date_time
00:29:09 verbose #15751 > 00:29:08   debug #878 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ebcfbc9075e076b5a70012553733df5eb8d29e045f1d314297d0dbba29dd4146/main.spi
00:29:09 verbose #15752 > >
00:29:09 verbose #15753 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:09 verbose #15754 > > //// test
00:29:09 verbose #15755 > >
00:29:09 verbose #15756 > > date_time_from_guid (guid.new_guid "00010101-0000-0000-0000-0a9876543210")
00:29:09 verbose #15757 > > |> _assert_eq' (min_value ())
00:29:09 verbose #15758 > 00:29:08   debug #879 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/66bbec75d62f400b2a8aa088bca5a9e93d885df564131443e0e8e7919b56f2f9/main.spi
00:29:09 verbose #15759 > >
00:29:09 verbose #15760 > > ╭─[ 428.57ms - stdout ]────────────────────────────────────────────────────────╮
00:29:09 verbose #15761 > > │ __assert_eq' / actual: 0001-01-01 12:00:00 AM / expected: 0001-01-01         │
00:29:09 verbose #15762 > > │ 12:00:00 AM                                                                  │
00:29:09 verbose #15763 > > │                                                                              │
00:29:09 verbose #15764 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:09 verbose #15765 > >
00:29:09 verbose #15766 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:09 verbose #15767 > > //// test
00:29:09 verbose #15768 > >
00:29:09 verbose #15769 > > date_time_from_guid (guid.new_guid $'$"99991231-2359-5999-9999-9{(!test_guid ()
00:29:09 verbose #15770 > > |> string).[[^10..]]}"')
00:29:09 verbose #15771 > > |> _assert_eq' (max_value ())
00:29:10 verbose #15772 > 00:29:09   debug #880 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e519960ea79ae69db269d3d89a534a07c941a96ae58f353fc7555d2e792751ee/main.spi
00:29:10 verbose #15773 > >
00:29:10 verbose #15774 > > ╭─[ 414.21ms - stdout ]────────────────────────────────────────────────────────╮
00:29:10 verbose #15775 > > │ __assert_eq' / actual: 9999-12-31 11:59:59 PM / expected: 9999-12-31         │
00:29:10 verbose #15776 > > │ 11:59:59 PM                                                                  │
00:29:10 verbose #15777 > > │                                                                              │
00:29:10 verbose #15778 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:10 verbose #15779 > >
00:29:10 verbose #15780 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:10 verbose #15781 > > //// test
00:29:10 verbose #15782 > >
00:29:10 verbose #15783 > > date_time_from_guid (guid.new_guid $'$"19700101-0000-0000-0000-0{(!test_guid ()
00:29:10 verbose #15784 > > |> string).[[^10..]]}"')
00:29:10 verbose #15785 > > |> _assert_eq' $'System.DateTime.UnixEpoch'
00:29:10 verbose #15786 > 00:29:09   debug #881 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1e6a59aa16048b4c0b83a141d809e76220e7783292983c4b4d95d99a58a9f20c/main.spi
00:29:10 verbose #15787 > >
00:29:10 verbose #15788 > > ╭─[ 476.62ms - stdout ]────────────────────────────────────────────────────────╮
00:29:10 verbose #15789 > > │ __assert_eq' / actual: 1970-01-01 12:00:00 AM / expected: 1970-01-01         │
00:29:10 verbose #15790 > > │ 12:00:00 AM                                                                  │
00:29:10 verbose #15791 > > │                                                                              │
00:29:10 verbose #15792 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:10 verbose #15793 > >
00:29:10 verbose #15794 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:10 verbose #15795 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:10 verbose #15796 > > │ ### timestamp_guid_from_timestamp                                            │
00:29:10 verbose #15797 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:10 verbose #15798 > >
00:29:10 verbose #15799 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:10 verbose #15800 > > inl timestamp_guid_from_timestamp (guid : guid.guid) (timestamp : timestamp) :
00:29:10 verbose #15801 > > timestamp_guid =
00:29:10 verbose #15802 > >     inl guid = guid |> sm'.obj_to_string
00:29:10 verbose #15803 > >     inl timestamp = timestamp |> sm'.obj_to_string |> sm'.pad_left 18i32 '0'
00:29:10 verbose #15804 > >     $'`timestamp_guid
00:29:10 verbose #15805 > > $"{!timestamp.[[0..7]]}-{!timestamp.[[8..11]]}-{!timestamp.[[12..15]]}-{!timesta
00:29:10 verbose #15806 > > mp.[[16..17]]}{!guid.[[21..]]}"'
00:29:10 verbose #15807 > 00:29:10   debug #882 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e3cca4ab2123cc943c6584d37fa48579dea9ecc47219ae43daf5312db999b06f/main.spi
00:29:11 verbose #15808 > >
00:29:11 verbose #15809 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:11 verbose #15810 > > //// test
00:29:11 verbose #15811 > >
00:29:11 verbose #15812 > > timestamp_guid_from_timestamp (test_guid ()) (timestamp 0i64)
00:29:11 verbose #15813 > > |> _assert_eq' (guid.new_guid "00000000-0000-0000-00dc-ba9876543210")
00:29:11 verbose #15814 > 00:29:10   debug #883 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fcd45e236feddfdd0702c60a120db00c07ec2ea2bfd557c67b9df543e4c56eb2/main.spi
00:29:11 verbose #15815 > >
00:29:11 verbose #15816 > > ╭─[ 380.17ms - stdout ]────────────────────────────────────────────────────────╮
00:29:11 verbose #15817 > > │ __assert_eq' / actual: 00000000-0000-0000-00dc-ba9876543210 / expected:      │
00:29:11 verbose #15818 > > │ 00000000-0000-0000-00dc-ba9876543210                                         │
00:29:11 verbose #15819 > > │                                                                              │
00:29:11 verbose #15820 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:11 verbose #15821 > >
00:29:11 verbose #15822 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:11 verbose #15823 > > //// test
00:29:11 verbose #15824 > >
00:29:11 verbose #15825 > > timestamp_guid_from_timestamp (test_guid ()) (timestamp 999999999999999999i64)
00:29:11 verbose #15826 > > |> _assert_eq' (guid.new_guid $'$"99999999-9999-9999-99dc-b{(!test_guid () |>
00:29:11 verbose #15827 > > string).[[^10..]]}"')
00:29:11 verbose #15828 > 00:29:10   debug #884 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fb294f861d2d3f291c07e4b833120d99c04a814e1d69afa0de9fcf668a2d7d68/main.spi
00:29:11 verbose #15829 > >
00:29:11 verbose #15830 > > ╭─[ 413.52ms - stdout ]────────────────────────────────────────────────────────╮
00:29:11 verbose #15831 > > │ __assert_eq' / actual: 99999999-9999-9999-99dc-ba9876543210 / expected:      │
00:29:11 verbose #15832 > > │ 99999999-9999-9999-99dc-ba9876543210                                         │
00:29:11 verbose #15833 > > │                                                                              │
00:29:11 verbose #15834 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:11 verbose #15835 > >
00:29:11 verbose #15836 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:11 verbose #15837 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:11 verbose #15838 > > │ ### timestamp_from_guid                                                      │
00:29:11 verbose #15839 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:11 verbose #15840 > >
00:29:11 verbose #15841 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:11 verbose #15842 > > inl timestamp_from_guid (guid : date_time_guid) : timestamp =
00:29:11 verbose #15843 > >     inl guid = guid |> sm'.obj_to_string
00:29:11 verbose #15844 > >     $'`i64
00:29:11 verbose #15845 > > $"{!guid.[[0..7]]}{!guid.[[9..12]]}{!guid.[[14..17]]}{!guid.[[19..20]]}"'
00:29:12 verbose #15846 > 00:29:11   debug #885 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b4ad1e67580c521c65642d6015ca9e9b08d12e0edadbbcaddf3e9fdc4c3e1944/main.spi
00:29:12 verbose #15847 > >
00:29:12 verbose #15848 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:12 verbose #15849 > > //// test
00:29:12 verbose #15850 > >
00:29:12 verbose #15851 > > timestamp_from_guid (guid.new_guid "00000000-0000-0000-00dc-ba9876543210")
00:29:12 verbose #15852 > > |> _assert_eq (timestamp 0)
00:29:12 verbose #15853 > 00:29:11   debug #886 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a36ed935c2702739b7335f34541e597f96188e2206844ca4c8c2bce0743a01f6/main.spi
00:29:12 verbose #15854 > >
00:29:12 verbose #15855 > > ╭─[ 406.09ms - stdout ]────────────────────────────────────────────────────────╮
00:29:12 verbose #15856 > > │ __assert_eq / actual: 0L / expected: 0L                                      │
00:29:12 verbose #15857 > > │                                                                              │
00:29:12 verbose #15858 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:12 verbose #15859 > >
00:29:12 verbose #15860 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:12 verbose #15861 > > //// test
00:29:12 verbose #15862 > >
00:29:12 verbose #15863 > > timestamp_from_guid (guid.new_guid $'$"99999999-9999-9999-99{(!test_guid () |>
00:29:12 verbose #15864 > > string).[[^14..]]}"')
00:29:12 verbose #15865 > > |> _assert_eq (timestamp 999999999999999999)
00:29:12 verbose #15866 > 00:29:11   debug #887 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/472702d6205e1a7731b766a5b43dab9848f77d5af24d502a5c3327b627f16c42/main.spi
00:29:13 verbose #15867 > >
00:29:13 verbose #15868 > > ╭─[ 474.02ms - stdout ]────────────────────────────────────────────────────────╮
00:29:13 verbose #15869 > > │ __assert_eq / actual: 999999999999999999L / expected: 999999999999999999L    │
00:29:13 verbose #15870 > > │                                                                              │
00:29:13 verbose #15871 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:13 verbose #15872 > >
00:29:13 verbose #15873 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:13 verbose #15874 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:13 verbose #15875 > > │ ### new_guid_from_date_time                                                  │
00:29:13 verbose #15876 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:13 verbose #15877 > >
00:29:13 verbose #15878 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:13 verbose #15879 > > inl new_guid_from_date_time (date_time : date_time) =
00:29:13 verbose #15880 > >     inl guid = guid.new_raw_guid ()
00:29:13 verbose #15881 > >     date_time_guid_from_date_time guid date_time
00:29:13 verbose #15882 > 00:29:12   debug #888 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ae6deacc1728614284db3c0fb333feabf8e3ba82430b3ed5865094d9f18c24b6/main.spi
00:29:13 verbose #15883 > >
00:29:13 verbose #15884 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:13 verbose #15885 > > //// test
00:29:13 verbose #15886 > >
00:29:13 verbose #15887 > > utc_now ()
00:29:13 verbose #15888 > > |> new_guid_from_date_time
00:29:13 verbose #15889 > > |> date_time_from_guid
00:29:13 verbose #15890 > > |> fun date_time => new_time_span date_time (utc_now ()) |> total_seconds |> i32
00:29:13 verbose #15891 > > |> _assert_eq 0
00:29:13 verbose #15892 > 00:29:12   debug #889 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2ae70c315851cc9c7551985098bdec57416679dd6a1e8fd40679a02d3c1766f6/main.spi
00:29:13 verbose #15893 > >
00:29:13 verbose #15894 > > ╭─[ 522.11ms - stdout ]────────────────────────────────────────────────────────╮
00:29:13 verbose #15895 > > │ __assert_eq / actual: 0 / expected: 0                                        │
00:29:13 verbose #15896 > > │                                                                              │
00:29:13 verbose #15897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:13 verbose #15898 > >
00:29:13 verbose #15899 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:13 verbose #15900 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:13 verbose #15901 > > │ ### new_guid_from_timestamp                                                  │
00:29:13 verbose #15902 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:13 verbose #15903 > >
00:29:13 verbose #15904 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:13 verbose #15905 > > inl new_guid_from_timestamp (timestamp : timestamp) =
00:29:13 verbose #15906 > >     inl guid = guid.new_raw_guid ()
00:29:13 verbose #15907 > >     timestamp_guid_from_timestamp guid timestamp
00:29:14 verbose #15908 > 00:29:13   debug #890 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/03254b8c91a8c46d33e15db4db09dc9985cfa52fa40c83fbea6c078f1f5ddfbd/main.spi
00:29:14 verbose #15909 > >
00:29:14 verbose #15910 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:14 verbose #15911 > > //// test
00:29:14 verbose #15912 > >
00:29:14 verbose #15913 > > utc_now ()
00:29:14 verbose #15914 > > |> ticks
00:29:14 verbose #15915 > > |> new_guid_from_timestamp
00:29:14 verbose #15916 > > |> timestamp_from_guid
00:29:14 verbose #15917 > > |> fun (timestamp timestamp) => (timestamp - (utc_now () |> ticks |> fun
00:29:14 verbose #15918 > > (timestamp x) => x)) / 100000i64
00:29:14 verbose #15919 > > |> _assert_eq 0i64
00:29:14 verbose #15920 > 00:29:13   debug #891 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0eb02472e3fec95c92249f55c7bced75557e7d39f4fefcaa1b8f3c92b7ecafb0/main.spi
00:29:14 verbose #15921 > >
00:29:14 verbose #15922 > > ╭─[ 447.64ms - stdout ]────────────────────────────────────────────────────────╮
00:29:14 verbose #15923 > > │ __assert_eq / actual: 0L / expected: 0L                                      │
00:29:14 verbose #15924 > > │                                                                              │
00:29:14 verbose #15925 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:14 verbose #15926 > >
00:29:14 verbose #15927 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:14 verbose #15928 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:14 verbose #15929 > > │ ## main                                                                      │
00:29:14 verbose #15930 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:14 verbose #15931 > >
00:29:14 verbose #15932 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:14 verbose #15933 > > inl main () =
00:29:14 verbose #15934 > >     $'let date_time_guid_from_date_time x = !date_time_guid_from_date_time x' :
00:29:14 verbose #15935 > > ()
00:29:14 verbose #15936 > >     $'let date_time_from_guid x = !date_time_from_guid x' : ()
00:29:14 verbose #15937 > >     $'let timestamp_guid_from_timestamp x = !timestamp_guid_from_timestamp x' :
00:29:14 verbose #15938 > > ()
00:29:14 verbose #15939 > >     $'let timestamp_from_guid x = !timestamp_from_guid x' : ()
00:29:14 verbose #15940 > >     $'let new_guid_from_date_time x = !new_guid_from_date_time x' : ()
00:29:14 verbose #15941 > >     $'let new_guid_from_timestamp x = !new_guid_from_timestamp x' : ()
00:29:14 verbose #15942 > >     $'let format x = !format x' : ()
00:29:14 verbose #15943 > >     $'let format_iso8601 x = !format_iso8601 x' : ()
00:29:14 verbose #15944 > 00:29:14   debug #892 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8f27cf91fc16de75143eebc47e027a9f64dfd52d85fd92d956b0578a833e3ab6/main.spi
00:29:15 verbose #15945 > 00:00:47 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 46864 }
00:29:15 verbose #15946 > 00:00:47   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:29:15 verbose #15947 >     "nbconvert",
00:29:15 verbose #15948 >     "c:/home/git/polyglot/lib/spiral/date_time.dib.ipynb",
00:29:15 verbose #15949 >     "--to",
00:29:15 verbose #15950 >     "html",
00:29:15 verbose #15951 >     "--HTMLExporter.theme=dark",
00:29:15 verbose #15952 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/date_time.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:29:17 verbose #15953 > 00:00:49 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/date_time.dib.ipynb to html
00:29:17 verbose #15954 > 00:00:49 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:29:17 verbose #15955 > 00:00:49 verbose #7 !   validate(nb)
00:29:19 verbose #15956 > 00:00:51 verbose #8 ! [NbConvertApp] Writing 411611 bytes to c:\home\git\polyglot\lib\spiral\date_time.dib.html
00:29:19 verbose #15957 > 00:00:51 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 649 }
00:29:19 verbose #15958 > 00:00:51   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 649 }
00:29:19 verbose #15959 > 00:00:51   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:29:19 verbose #15960 >     "-c",
00:29:19 verbose #15961 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/date_time.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:29:19 verbose #15962 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/date_time.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:29:20 verbose #15963 > 00:00:52 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:29:20 verbose #15964 > 00:00:52   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:29:21 verbose #15965 > 00:00:52   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 47572 }
00:29:21   debug #15966 runtime.execute_with_options_async / { exit_code = 0; output_length = 52231 }
00:29:21   debug #20 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path date_time.dib --retries 3
00:29:21   debug #15967 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path math.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:29:21 verbose #15968 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "math.dib", "--retries", "3"])) }
00:29:21 verbose #15969 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:29:21 verbose #15970 >     "repl",
00:29:21 verbose #15971 >     "--exit-after-run",
00:29:21 verbose #15972 >     "--run",
00:29:21 verbose #15973 >     "c:/home/git/polyglot/lib/spiral/math.dib",
00:29:21 verbose #15974 >     "--output-path",
00:29:21 verbose #15975 >     "c:/home/git/polyglot/lib/spiral/math.dib.ipynb",
00:29:21 verbose #15976 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/math.dib" --output-path "c:/home/git/polyglot/lib/spiral/math.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:29:23 verbose #15977 > >
00:29:23 verbose #15978 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:23 verbose #15979 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:23 verbose #15980 > > │ # math                                                                       │
00:29:23 verbose #15981 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:27 verbose #15982 > >
00:29:27 verbose #15983 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:27 verbose #15984 > > //// test
00:29:27 verbose #15985 > >
00:29:27 verbose #15986 > > open testing
00:29:27 verbose #15987 > 00:29:26   debug #893 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:29:28 verbose #15988 > >
00:29:28 verbose #15989 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:28 verbose #15990 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:28 verbose #15991 > > │ ## math                                                                      │
00:29:28 verbose #15992 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:28 verbose #15993 > >
00:29:28 verbose #15994 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:28 verbose #15995 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:28 verbose #15996 > > │ ### e                                                                        │
00:29:28 verbose #15997 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:28 verbose #15998 > >
00:29:28 verbose #15999 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:28 verbose #16000 > > inl e () =
00:29:28 verbose #16001 > >     exp 1f64
00:29:28 verbose #16002 > 00:29:27   debug #894 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ad8fe92be0dbc38e45aef60c1ef8263bc2c36b963b582c4daaa7a6231f197c37/main.spi
00:29:28 verbose #16003 > >
00:29:28 verbose #16004 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:28 verbose #16005 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:28 verbose #16006 > > │ ## square                                                                    │
00:29:28 verbose #16007 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:28 verbose #16008 > >
00:29:28 verbose #16009 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:28 verbose #16010 > > inl square x =
00:29:28 verbose #16011 > >     x ** 2
00:29:28 verbose #16012 > 00:29:27   debug #895 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4f777aa39b8f5387d4c32b6e3bccee1d0130085d98ddfcb94a8f66472f905006/main.spi
00:29:28 verbose #16013 > >
00:29:28 verbose #16014 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:28 verbose #16015 > > //// test
00:29:28 verbose #16016 > >
00:29:28 verbose #16017 > > 5f64
00:29:28 verbose #16018 > > |> sqrt
00:29:28 verbose #16019 > > |> square
00:29:28 verbose #16020 > > |> _assert_approx_eq None 5
00:29:29 verbose #16021 > 00:29:28   debug #896 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/27abda1843b1bbfcadf8a746514b5f9b4aed7baa93785d6b352c5b478793c0cb/main.spi
00:29:29 verbose #16022 > >
00:29:29 verbose #16023 > > ╭─[ 889.30ms - stdout ]────────────────────────────────────────────────────────╮
00:29:29 verbose #16024 > > │ __assert_approx_eq / actual: 5.0 / expected: 5.0                             │
00:29:29 verbose #16025 > > │                                                                              │
00:29:29 verbose #16026 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:29 verbose #16027 > >
00:29:29 verbose #16028 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:29 verbose #16029 > > //// test
00:29:29 verbose #16030 > >
00:29:29 verbose #16031 > > e () |> square
00:29:29 verbose #16032 > > |> _assert_approx_eq None 7.3890560989306495
00:29:30 verbose #16033 > 00:29:29   debug #897 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/417634bcbae2b61fa4822bd5baddd804653f1e470adfbfe6e60ce30aaee154e7/main.spi
00:29:30 verbose #16034 > >
00:29:30 verbose #16035 > > ╭─[ 407.70ms - stdout ]────────────────────────────────────────────────────────╮
00:29:30 verbose #16036 > > │ __assert_approx_eq / actual: 7.389056099 / expected: 7.389056099             │
00:29:30 verbose #16037 > > │                                                                              │
00:29:30 verbose #16038 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:30 verbose #16039 > >
00:29:30 verbose #16040 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:30 verbose #16041 > > //// test
00:29:30 verbose #16042 > >
00:29:30 verbose #16043 > > 2 * 2 / 0.4f64 |> sqrt
00:29:30 verbose #16044 > > |> _assert_approx_eq None 3.1622776601683795
00:29:30 verbose #16045 > 00:29:29   debug #898 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9803c2eeb0df6f028e71deedc9cf6fcfc95fd406c15fc3e28ef038d887e254c1/main.spi
00:29:30 verbose #16046 > >
00:29:30 verbose #16047 > > ╭─[ 374.04ms - stdout ]────────────────────────────────────────────────────────╮
00:29:30 verbose #16048 > > │ __assert_approx_eq / actual: 3.16227766 / expected: 3.16227766               │
00:29:30 verbose #16049 > > │                                                                              │
00:29:30 verbose #16050 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:30 verbose #16051 > >
00:29:30 verbose #16052 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:30 verbose #16053 > > //// test
00:29:30 verbose #16054 > >
00:29:30 verbose #16055 > > 2f64 / 3
00:29:30 verbose #16056 > > |> _assert_approx_eq None 0.6666666666666666
00:29:30 verbose #16057 > 00:29:29   debug #899 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/15fd9877050a993af976323a53d388a892895592a32716a1dac4a8a54ff66635/main.spi
00:29:30 verbose #16058 > >
00:29:30 verbose #16059 > > ╭─[ 356.80ms - stdout ]────────────────────────────────────────────────────────╮
00:29:30 verbose #16060 > > │ __assert_approx_eq / actual: 0.6666666667 / expected: 0.6666666667           │
00:29:30 verbose #16061 > > │                                                                              │
00:29:30 verbose #16062 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:30 verbose #16063 > >
00:29:30 verbose #16064 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:30 verbose #16065 > > //// test
00:29:30 verbose #16066 > >
00:29:30 verbose #16067 > > 2f64 |> log
00:29:30 verbose #16068 > > |> _assert_approx_eq None 0.6931471805599453
00:29:31 verbose #16069 > 00:29:30   debug #900 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/91a5ac1fb9da5da905602bf6ccf6603aa4ef71599235328ca2f25392355606ee/main.spi
00:29:31 verbose #16070 > >
00:29:31 verbose #16071 > > ╭─[ 393.61ms - stdout ]────────────────────────────────────────────────────────╮
00:29:31 verbose #16072 > > │ __assert_approx_eq / actual: 0.6931471806 / expected: 0.6931471806           │
00:29:31 verbose #16073 > > │                                                                              │
00:29:31 verbose #16074 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:31 verbose #16075 > >
00:29:31 verbose #16076 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:31 verbose #16077 > > //// test
00:29:31 verbose #16078 > >
00:29:31 verbose #16079 > > pi
00:29:31 verbose #16080 > > |> _assert_approx_eq None 3.141592653589793f64
00:29:31 verbose #16081 > 00:29:30   debug #901 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6cbd694cb8cd1fd510130e43dceb50f76dd4ba103395c011b7163372aa93e671/main.spi
00:29:31 verbose #16082 > >
00:29:31 verbose #16083 > > ╭─[ 389.10ms - stdout ]────────────────────────────────────────────────────────╮
00:29:31 verbose #16084 > > │ __assert_approx_eq / actual: 3.141592654 / expected: 3.141592654             │
00:29:31 verbose #16085 > > │                                                                              │
00:29:31 verbose #16086 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:31 verbose #16087 > >
00:29:31 verbose #16088 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:31 verbose #16089 > > //// test
00:29:31 verbose #16090 > >
00:29:31 verbose #16091 > > pi |> cos
00:29:31 verbose #16092 > > |> _assert_eq -1f64
00:29:31 verbose #16093 > 00:29:31   debug #902 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4e86be50b2c4461fca5f17fc2283ebc955689147f173956fc397f2872bc810ad/main.spi
00:29:32 verbose #16094 > >
00:29:32 verbose #16095 > > ╭─[ 348.59ms - stdout ]────────────────────────────────────────────────────────╮
00:29:32 verbose #16096 > > │ __assert_eq / actual: -1.0 / expected: -1.0                                  │
00:29:32 verbose #16097 > > │                                                                              │
00:29:32 verbose #16098 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:32 verbose #16099 > >
00:29:32 verbose #16100 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:32 verbose #16101 > > //// test
00:29:32 verbose #16102 > >
00:29:32 verbose #16103 > > pi
00:29:32 verbose #16104 > > |> cos
00:29:32 verbose #16105 > > |> fun n => n / 2f64
00:29:32 verbose #16106 > > |> _assert_approx_eq None -0.5
00:29:32 verbose #16107 > 00:29:31   debug #903 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d11db61b5561f4a704bae6d53d12be936cd4c75f771130279db53516c47e3dae/main.spi
00:29:32 verbose #16108 > >
00:29:32 verbose #16109 > > ╭─[ 372.30ms - stdout ]────────────────────────────────────────────────────────╮
00:29:32 verbose #16110 > > │ __assert_approx_eq / actual: -0.5 / expected: -0.5                           │
00:29:32 verbose #16111 > > │                                                                              │
00:29:32 verbose #16112 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:32 verbose #16113 > >
00:29:32 verbose #16114 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:32 verbose #16115 > > //// test
00:29:32 verbose #16116 > >
00:29:32 verbose #16117 > > pi / 2 |> cos
00:29:32 verbose #16118 > > |> _assert_approx_eq None 0.00000000000000006123233995736766f64
00:29:32 verbose #16119 > 00:29:31   debug #904 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/01f000f121901a943bdbae5303e9ffeab7ff49e3de12eda710518263da40599e/main.spi
00:29:32 verbose #16120 > >
00:29:32 verbose #16121 > > ╭─[ 341.32ms - stdout ]────────────────────────────────────────────────────────╮
00:29:32 verbose #16122 > > │ __assert_approx_eq / actual: 6.123233996e-17 / expected: 6.123233996e-17     │
00:29:32 verbose #16123 > > │                                                                              │
00:29:32 verbose #16124 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:32 verbose #16125 > >
00:29:32 verbose #16126 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:32 verbose #16127 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:32 verbose #16128 > > │ ## fsharp                                                                    │
00:29:32 verbose #16129 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:32 verbose #16130 > >
00:29:32 verbose #16131 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:32 verbose #16132 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:32 verbose #16133 > > │ ### atan2                                                                    │
00:29:32 verbose #16134 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:32 verbose #16135 > >
00:29:32 verbose #16136 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:32 verbose #16137 > > inl atan2 (y : f64) (x : f64) : f64 =
00:29:32 verbose #16138 > >     $'System.Math.Atan2 (!y, !x)'
00:29:33 verbose #16139 > 00:29:32   debug #905 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1f795928ff928f6502b00f51adcfc5670325e0f8442775a415b42f837b298003/main.spi
00:29:33 verbose #16140 > >
00:29:33 verbose #16141 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:33 verbose #16142 > > //// test
00:29:33 verbose #16143 > >
00:29:33 verbose #16144 > > 0 |> atan2 1
00:29:33 verbose #16145 > > |> _assert_eq 1.5707963267948966
00:29:33 verbose #16146 > 00:29:32   debug #906 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ad4a765474445f31270422024044c4a17172f04d73cd93202313b0b3214a65a3/main.spi
00:29:33 verbose #16147 > >
00:29:33 verbose #16148 > > ╭─[ 491.98ms - stdout ]────────────────────────────────────────────────────────╮
00:29:33 verbose #16149 > > │ __assert_eq / actual: 1.570796327 / expected: 1.570796327                    │
00:29:33 verbose #16150 > > │                                                                              │
00:29:33 verbose #16151 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:33 verbose #16152 > >
00:29:33 verbose #16153 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:33 verbose #16154 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:33 verbose #16155 > > │ ## floor                                                                     │
00:29:33 verbose #16156 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:33 verbose #16157 > >
00:29:33 verbose #16158 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:33 verbose #16159 > > inl floor forall t {float}. (n : t) : t =
00:29:33 verbose #16160 > >     n |> $'floor'
00:29:33 verbose #16161 > 00:29:33   debug #907 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2776e4a18130fb34519738dae7dd13a1f55428748c384c33e7bf585241f0773d/main.spi
00:29:34 verbose #16162 > >
00:29:34 verbose #16163 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:34 verbose #16164 > > //// test
00:29:34 verbose #16165 > >
00:29:34 verbose #16166 > > 0.6 |> floor
00:29:34 verbose #16167 > > |> _assert_eq 0f64
00:29:34 verbose #16168 > 00:29:33   debug #908 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3279513f4fa0ca5bd482d1e9650f8cc8cb091f0ac77320be5f3172f57cdc315a/main.spi
00:29:34 verbose #16169 > >
00:29:34 verbose #16170 > > ╭─[ 402.43ms - stdout ]────────────────────────────────────────────────────────╮
00:29:34 verbose #16171 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:29:34 verbose #16172 > > │                                                                              │
00:29:34 verbose #16173 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:34 verbose #16174 > >
00:29:34 verbose #16175 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:34 verbose #16176 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:34 verbose #16177 > > │ ## ceil                                                                      │
00:29:34 verbose #16178 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:34 verbose #16179 > >
00:29:34 verbose #16180 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:34 verbose #16181 > > inl ceil forall t {float}. (n : t) : t =
00:29:34 verbose #16182 > >     n |> $'ceil'
00:29:34 verbose #16183 > 00:29:33   debug #909 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f2deebd6f0612d0de94281b43c9d93bd7c0bf6592fd118f24594071024793104/main.spi
00:29:34 verbose #16184 > >
00:29:34 verbose #16185 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:34 verbose #16186 > > //// test
00:29:34 verbose #16187 > >
00:29:34 verbose #16188 > > 0.6 |> ceil
00:29:34 verbose #16189 > > |> _assert_eq 1f64
00:29:34 verbose #16190 > 00:29:34   debug #910 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/113dd8ce105485a83550e0df0f84a16a37d7c444280a0adf5cdc5df828f21ebd/main.spi
00:29:35 verbose #16191 > >
00:29:35 verbose #16192 > > ╭─[ 350.83ms - stdout ]────────────────────────────────────────────────────────╮
00:29:35 verbose #16193 > > │ __assert_eq / actual: 1.0 / expected: 1.0                                    │
00:29:35 verbose #16194 > > │                                                                              │
00:29:35 verbose #16195 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:35 verbose #16196 > >
00:29:35 verbose #16197 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:35 verbose #16198 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:35 verbose #16199 > > │ ## round                                                                     │
00:29:35 verbose #16200 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:35 verbose #16201 > >
00:29:35 verbose #16202 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:35 verbose #16203 > > inl round forall t {float}. (n : t) : t =
00:29:35 verbose #16204 > >     n |> $'round'
00:29:35 verbose #16205 > 00:29:34   debug #911 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/551698a8022b42ff500312d981ac7e4a2f55ac6ae42fac2aca58eef0acb3db00/main.spi
00:29:35 verbose #16206 > >
00:29:35 verbose #16207 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:35 verbose #16208 > > //// test
00:29:35 verbose #16209 > >
00:29:35 verbose #16210 > > 0.5 |> round
00:29:35 verbose #16211 > > |> _assert_eq 0f64
00:29:35 verbose #16212 > >
00:29:35 verbose #16213 > > 1.5 |> round
00:29:35 verbose #16214 > > |> _assert_eq 2f64
00:29:35 verbose #16215 > >
00:29:35 verbose #16216 > > 2.5 |> round
00:29:35 verbose #16217 > > |> _assert_eq 2f64
00:29:35 verbose #16218 > >
00:29:35 verbose #16219 > > 3.5 |> round
00:29:35 verbose #16220 > > |> _assert_eq 4f64
00:29:35 verbose #16221 > 00:29:34   debug #912 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/edd7c077b840ea0e214886b7dc326331fc41d2875ee2656c67efa57d721e38bd/main.spi
00:29:35 verbose #16222 > >
00:29:35 verbose #16223 > > ╭─[ 435.19ms - stdout ]────────────────────────────────────────────────────────╮
00:29:35 verbose #16224 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:29:35 verbose #16225 > > │ __assert_eq / actual: 2.0 / expected: 2.0                                    │
00:29:35 verbose #16226 > > │ __assert_eq / actual: 2.0 / expected: 2.0                                    │
00:29:35 verbose #16227 > > │ __assert_eq / actual: 4.0 / expected: 4.0                                    │
00:29:35 verbose #16228 > > │                                                                              │
00:29:35 verbose #16229 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:35 verbose #16230 > >
00:29:35 verbose #16231 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:35 verbose #16232 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:35 verbose #16233 > > │ ## log_base                                                                  │
00:29:35 verbose #16234 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:35 verbose #16235 > >
00:29:35 verbose #16236 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:35 verbose #16237 > > inl log_base (new_base : f64) (a : f64) : f64 =
00:29:35 verbose #16238 > >     $'System.Math.Log (!a, !new_base)'
00:29:36 verbose #16239 > 00:29:35   debug #913 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ff6b4ebd65a25b655dafa88c4e6298d550e53475dc6f3245933eabb5a2e10eac/main.spi
00:29:36 verbose #16240 > >
00:29:36 verbose #16241 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:36 verbose #16242 > > //// test
00:29:36 verbose #16243 > >
00:29:36 verbose #16244 > > 100 |> log_base 10
00:29:36 verbose #16245 > > |> _assert_eq 2
00:29:36 verbose #16246 > 00:29:35   debug #914 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/21fe238390c53f8aeff5f03c0fc04aa447181b01c3b5cc44059e7adb74cf221a/main.spi
00:29:36 verbose #16247 > >
00:29:36 verbose #16248 > > ╭─[ 413.98ms - stdout ]────────────────────────────────────────────────────────╮
00:29:36 verbose #16249 > > │ __assert_eq / actual: 2.0 / expected: 2.0                                    │
00:29:36 verbose #16250 > > │                                                                              │
00:29:36 verbose #16251 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:36 verbose #16252 > >
00:29:36 verbose #16253 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:36 verbose #16254 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:36 verbose #16255 > > │ ## round                                                                     │
00:29:36 verbose #16256 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:36 verbose #16257 > >
00:29:36 verbose #16258 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:36 verbose #16259 > > inl round forall t {float}. (x : t) : t =
00:29:36 verbose #16260 > >     x |> $'round'
00:29:36 verbose #16261 > 00:29:35   debug #915 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d5e986840ddc840e7f478982678bb4d73d260343f1aa22faac9484c656d5104/main.spi
00:29:37 verbose #16262 > >
00:29:37 verbose #16263 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:37 verbose #16264 > > //// test
00:29:37 verbose #16265 > >
00:29:37 verbose #16266 > > 0.5 |> round
00:29:37 verbose #16267 > > |> _assert_eq 0f64
00:29:37 verbose #16268 > 00:29:36   debug #916 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/60e03150460852473585587083e836e23a357fb9462f4bec701279fd323ba429/main.spi
00:29:37 verbose #16269 > >
00:29:37 verbose #16270 > > ╭─[ 370.89ms - stdout ]────────────────────────────────────────────────────────╮
00:29:37 verbose #16271 > > │ __assert_eq / actual: 0.0 / expected: 0.0                                    │
00:29:37 verbose #16272 > > │                                                                              │
00:29:37 verbose #16273 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:37 verbose #16274 > >
00:29:37 verbose #16275 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:37 verbose #16276 > > //// test
00:29:37 verbose #16277 > >
00:29:37 verbose #16278 > > 0.6 |> round
00:29:37 verbose #16279 > > |> _assert_eq 1f64
00:29:37 verbose #16280 > 00:29:36   debug #917 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/43afd09b490ef5fd462dd34af86683fb8d7f29219ecc63a18b33a0c70615ec42/main.spi
00:29:37 verbose #16281 > >
00:29:37 verbose #16282 > > ╭─[ 393.37ms - stdout ]────────────────────────────────────────────────────────╮
00:29:37 verbose #16283 > > │ __assert_eq / actual: 1.0 / expected: 1.0                                    │
00:29:37 verbose #16284 > > │                                                                              │
00:29:37 verbose #16285 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:37 verbose #16286 > 00:00:16 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 12563 }
00:29:37 verbose #16287 > 00:00:16   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:29:37 verbose #16288 >     "nbconvert",
00:29:37 verbose #16289 >     "c:/home/git/polyglot/lib/spiral/math.dib.ipynb",
00:29:37 verbose #16290 >     "--to",
00:29:37 verbose #16291 >     "html",
00:29:37 verbose #16292 >     "--HTMLExporter.theme=dark",
00:29:37 verbose #16293 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/math.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:29:39 verbose #16294 > 00:00:18 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/math.dib.ipynb to html
00:29:39 verbose #16295 > 00:00:18 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:29:39 verbose #16296 > 00:00:18 verbose #7 !   validate(nb)
00:29:41 verbose #16297 > 00:00:19 verbose #8 ! [NbConvertApp] Writing 304842 bytes to c:\home\git\polyglot\lib\spiral\math.dib.html
00:29:41 verbose #16298 > 00:00:20 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 639 }
00:29:41 verbose #16299 > 00:00:20   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 639 }
00:29:41 verbose #16300 > 00:00:20   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:29:41 verbose #16301 >     "-c",
00:29:41 verbose #16302 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/math.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:29:41 verbose #16303 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/math.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:29:42 verbose #16304 > 00:00:21 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:29:42 verbose #16305 > 00:00:21   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:29:42 verbose #16306 > 00:00:21   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 13261 }
00:29:42   debug #16307 runtime.execute_with_options_async / { exit_code = 0; output_length = 16489 }
00:29:42   debug #21 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path math.dib --retries 3
00:29:42   debug #16308 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path mapm.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:29:42 verbose #16309 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "mapm.dib", "--retries", "3"])) }
00:29:42 verbose #16310 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:29:42 verbose #16311 >     "repl",
00:29:42 verbose #16312 >     "--exit-after-run",
00:29:42 verbose #16313 >     "--run",
00:29:42 verbose #16314 >     "c:/home/git/polyglot/lib/spiral/mapm.dib",
00:29:42 verbose #16315 >     "--output-path",
00:29:42 verbose #16316 >     "c:/home/git/polyglot/lib/spiral/mapm.dib.ipynb",
00:29:42 verbose #16317 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/mapm.dib" --output-path "c:/home/git/polyglot/lib/spiral/mapm.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:29:44 verbose #16318 > >
00:29:44 verbose #16319 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:44 verbose #16320 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:44 verbose #16321 > > │ # mapm                                                                       │
00:29:44 verbose #16322 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:48 verbose #16323 > >
00:29:48 verbose #16324 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:48 verbose #16325 > > open rust.rust_operators
00:29:49 verbose #16326 > 00:29:48   debug #918 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/40daf77a2acec5ac15e1cf56631d4105f4f565759117828320eb559038e65549/main.spi
00:29:49 verbose #16327 > >
00:29:49 verbose #16328 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:49 verbose #16329 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:49 verbose #16330 > > │ ## rust                                                                      │
00:29:49 verbose #16331 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:49 verbose #16332 > >
00:29:49 verbose #16333 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:49 verbose #16334 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:49 verbose #16335 > > │ ### hash_map                                                                 │
00:29:49 verbose #16336 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:49 verbose #16337 > >
00:29:49 verbose #16338 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:49 verbose #16339 > > nominal hash_map k v =
00:29:49 verbose #16340 > >     `(
00:29:49 verbose #16341 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:29:49 verbose #16342 > > Fable.Core.Emit(\"std::collections::HashMap<$0, $1>\")>]]\n#endif\ntype
00:29:49 verbose #16343 > > std_collections_HashMap<'K, 'V> = class end"
00:29:49 verbose #16344 > >         $'' : $'std_collections_HashMap<`k, `v>'
00:29:49 verbose #16345 > >     )
00:29:50 verbose #16346 > 00:29:49   debug #919 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/92d3c1ba079870b06ae04173ba67eeba7527f9d50e018839a815127b2f5da48f/main.spi
00:29:50 verbose #16347 > >
00:29:50 verbose #16348 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:50 verbose #16349 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:50 verbose #16350 > > │ ### b_tree_map                                                               │
00:29:50 verbose #16351 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:50 verbose #16352 > >
00:29:50 verbose #16353 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:50 verbose #16354 > > nominal b_tree_map k v =
00:29:50 verbose #16355 > >     `(
00:29:50 verbose #16356 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:29:50 verbose #16357 > > Fable.Core.Emit(\"std::collections::BTreeMap<$0, $1>\")>]]\n#endif\ntype
00:29:50 verbose #16358 > > std_collections_BTreeMap<'K, 'V> = class end"
00:29:50 verbose #16359 > >         $'' : $'std_collections_BTreeMap<`k, `v>'
00:29:50 verbose #16360 > >     )
00:29:50 verbose #16361 > 00:29:49   debug #920 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ae9b85e49d017e91849f19efd7f169fbb58cac53fd6266f734e7c1ffbe468053/main.spi
00:29:50 verbose #16362 > >
00:29:50 verbose #16363 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:50 verbose #16364 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:50 verbose #16365 > > │ ### new_hash_map                                                             │
00:29:50 verbose #16366 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:50 verbose #16367 > >
00:29:50 verbose #16368 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:50 verbose #16369 > > inl new_hash_map () : hash_map _ _ =
00:29:50 verbose #16370 > >     !\($'"std::collections::HashMap::new()"')
00:29:50 verbose #16371 > 00:29:50   debug #921 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/400453027a4e419f692c33e910faedbc5e61db307359208732f1f18f30378230/main.spi
00:29:51 verbose #16372 > >
00:29:51 verbose #16373 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:51 verbose #16374 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:51 verbose #16375 > > │ ### new_b_tree_map                                                           │
00:29:51 verbose #16376 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:51 verbose #16377 > >
00:29:51 verbose #16378 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:51 verbose #16379 > > inl new_b_tree_map () : b_tree_map _ _ =
00:29:51 verbose #16380 > >     !\($'"std::collections::BTreeMap::new()"')
00:29:51 verbose #16381 > 00:29:50   debug #922 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3e158c29c764d6ba1d61d5e19528074f56744d9ce4cfa204aa0d08fbb7891fca/main.spi
00:29:51 verbose #16382 > >
00:29:51 verbose #16383 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:51 verbose #16384 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:51 verbose #16385 > > │ ### get                                                                      │
00:29:51 verbose #16386 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:51 verbose #16387 > >
00:29:51 verbose #16388 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:51 verbose #16389 > > inl get forall k v. (key : k) (map : hash_map k v) : optionm'.option' v =
00:29:51 verbose #16390 > >     inl key = join key
00:29:51 verbose #16391 > >     !\\(map, $'"std::collections::HashMap::get(&$0, &!key).map(|x|
00:29:51 verbose #16392 > > x).cloned()"')
00:29:51 verbose #16393 > 00:29:50   debug #923 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0679ef6d9bd02eeb3adb2fd0e7ab375d4dca81d1de7021b239bc7992e96f689e/main.spi
00:29:51 verbose #16394 > >
00:29:51 verbose #16395 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:51 verbose #16396 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:51 verbose #16397 > > │ ### insert                                                                   │
00:29:51 verbose #16398 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:51 verbose #16399 > >
00:29:51 verbose #16400 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:51 verbose #16401 > > inl insert forall k v. (key : k) (value : v) (map : hash_map k v) :
00:29:51 verbose #16402 > > optionm'.option' v =
00:29:51 verbose #16403 > >     inl key = join key
00:29:51 verbose #16404 > >     !\($'"let mut !map = !map"')
00:29:51 verbose #16405 > >     !\($'"std::collections::HashMap::insert(&mut !map, !key, !value)"')
00:29:51 verbose #16406 > 00:29:51   debug #924 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8864ee9478cfb28ab5ee4bb858b1f81d5a4383c1a5327af3a380e759a109f3e/main.spi
00:29:52 verbose #16407 > >
00:29:52 verbose #16408 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:52 verbose #16409 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:52 verbose #16410 > > │ ### map'                                                                     │
00:29:52 verbose #16411 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:52 verbose #16412 > >
00:29:52 verbose #16413 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:52 verbose #16414 > > inl map' forall k v w. (fn : v -> w) (map : hash_map k v) : hash_map k w =
00:29:52 verbose #16415 > >     !\\((map, fn), $'"$0.into_iter().map(|(k, v)| (k, $1(v))).collect()"')
00:29:52 verbose #16416 > 00:29:51   debug #925 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0fbf148ee7b54b99624f079e6b4480832118e0bb81e66b84866e3ebb568a2330/main.spi
00:29:52 verbose #16417 > >
00:29:52 verbose #16418 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:52 verbose #16419 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:52 verbose #16420 > > │ ### hash_map_count                                                           │
00:29:52 verbose #16421 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:52 verbose #16422 > >
00:29:52 verbose #16423 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:52 verbose #16424 > > inl hash_map_count forall k v. (map : hash_map k v) : i32 =
00:29:52 verbose #16425 > >     !\\(map, $'"$0.count()"')
00:29:52 verbose #16426 > 00:29:51   debug #926 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7d782f09d7d300ec6b444108dca32a7e4176bad7be71d939044663851e3284c0/main.spi
00:29:52 verbose #16427 > >
00:29:52 verbose #16428 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:52 verbose #16429 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:52 verbose #16430 > > │ ### from_vec                                                                 │
00:29:52 verbose #16431 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:52 verbose #16432 > >
00:29:52 verbose #16433 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:52 verbose #16434 > > inl from_vec forall k v. (vec : am'.vec (k * v)) : hash_map k v =
00:29:52 verbose #16435 > >     !\($'"std::collections::HashMap::from_iter(!vec)"')
00:29:53 verbose #16436 > 00:29:52   debug #927 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e6ee02c7fbd7f18d6fc0b6fcedd5cd91c16edf1b0e202486eee397999879ecec/main.spi
00:29:53 verbose #16437 > >
00:29:53 verbose #16438 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:53 verbose #16439 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:53 verbose #16440 > > │ ### from_vec_pairs                                                           │
00:29:53 verbose #16441 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:53 verbose #16442 > >
00:29:53 verbose #16443 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:53 verbose #16444 > > inl from_vec_pairs forall k v. (vec : am'.vec (pair k v)) : hash_map k v =
00:29:53 verbose #16445 > >     !\($'"std::collections::HashMap::from_iter(!vec.iter().map(|x|
00:29:53 verbose #16446 > > x.as_ref()).map(|&(ref k, ref v)| (k.clone(), v.clone())))"')
00:29:53 verbose #16447 > 00:29:52   debug #928 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/023ef8e15e52bea00101a9949127a44529c5d756f73f2c1a47cc6396adf9101c/main.spi
00:29:53 verbose #16448 > >
00:29:53 verbose #16449 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:53 verbose #16450 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:53 verbose #16451 > > │ ### b_tree_map_from_vec_pairs                                                │
00:29:53 verbose #16452 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:53 verbose #16453 > >
00:29:53 verbose #16454 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:53 verbose #16455 > > inl b_tree_map_from_vec_pairs forall k v. (vec : am'.vec (pair k v)) :
00:29:53 verbose #16456 > > b_tree_map k v =
00:29:53 verbose #16457 > >     !\($'"std::collections::BTreeMap::from_iter(!vec.iter().map(|x|
00:29:53 verbose #16458 > > x.as_ref()).map(|&(ref k, ref v)| (k.clone(), v.clone())))"')
00:29:53 verbose #16459 > 00:29:52   debug #929 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/445433042ff1865baa1b145fce159ddb576cf719f210d00aa1afb28c711978f1/main.spi
00:29:53 verbose #16460 > >
00:29:53 verbose #16461 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:53 verbose #16462 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:53 verbose #16463 > > │ ### from_array                                                               │
00:29:53 verbose #16464 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:53 verbose #16465 > >
00:29:53 verbose #16466 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:53 verbose #16467 > > inl from_array forall k v. (array : array_base (k * v)) : hash_map k v =
00:29:53 verbose #16468 > >     array |> am'.to_vec |> from_vec
00:29:54 verbose #16469 > 00:29:53   debug #930 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2707da4f85904f64a9a9660eea8b2cea45acd3cce6536b0c8a7e2f33b65f5a77/main.spi
00:29:54 verbose #16470 > >
00:29:54 verbose #16471 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:54 verbose #16472 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:54 verbose #16473 > > │ ### from_list                                                                │
00:29:54 verbose #16474 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:54 verbose #16475 > >
00:29:54 verbose #16476 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:54 verbose #16477 > > inl from_list forall k v. (list : list (k * v)) : hash_map k v =
00:29:54 verbose #16478 > >     inl (a list) : _ i32 _ = list |> listm.toArray
00:29:54 verbose #16479 > >     list |> am'.to_vec |> from_vec
00:29:54 verbose #16480 > 00:29:53   debug #931 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f244c4e0e52d6006951178fdb3db4949fc14848c6143dceeb08f94d391b2bac2/main.spi
00:29:54 verbose #16481 > >
00:29:54 verbose #16482 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:54 verbose #16483 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:54 verbose #16484 > > │ ### to_vec                                                                   │
00:29:54 verbose #16485 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:54 verbose #16486 > >
00:29:54 verbose #16487 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:54 verbose #16488 > > inl to_vec forall k v. (map : hash_map k v) : am'.vec (k * v) =
00:29:54 verbose #16489 > >     !\\(map, $'"$0.into_iter().map(|(k, v)| (k, v)).collect::<Vec<_>>()"')
00:29:54 verbose #16490 > 00:29:54   debug #932 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2702979f0197cd7667c9c643a01ddcc88913ca1319e6c761c3b46ea569ed90e5/main.spi
00:29:55 verbose #16491 > >
00:29:55 verbose #16492 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:55 verbose #16493 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:55 verbose #16494 > > │ ## fsharp                                                                    │
00:29:55 verbose #16495 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:55 verbose #16496 > >
00:29:55 verbose #16497 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:55 verbose #16498 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:55 verbose #16499 > > │ ### map                                                                      │
00:29:55 verbose #16500 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:55 verbose #16501 > >
00:29:55 verbose #16502 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:55 verbose #16503 > > nominal map k v = $'Map<`k, `v>'
00:29:55 verbose #16504 > 00:29:54   debug #933 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/20ce9a30b5a9a15d12e8fa680d1616e0111a55cab2190556d18aa032b70c59ce/main.spi
00:29:55 verbose #16505 > >
00:29:55 verbose #16506 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:55 verbose #16507 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:55 verbose #16508 > > │ ### item                                                                     │
00:29:55 verbose #16509 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:55 verbose #16510 > >
00:29:55 verbose #16511 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:55 verbose #16512 > > inl item forall k v. (k : k) (map : map k v) : v =
00:29:55 verbose #16513 > >     $'!map.[[!k]]'
00:29:55 verbose #16514 > 00:29:54   debug #934 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e22816a3298f28be7fc90c8101c03f0c596781ff287f3c3ec7e91eb51617dced/main.spi
00:29:55 verbose #16515 > >
00:29:55 verbose #16516 > > ── markdown ────────────────────────────────────────────────────────────────────
00:29:55 verbose #16517 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:55 verbose #16518 > > │ ### of_array                                                                 │
00:29:55 verbose #16519 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:55 verbose #16520 > >
00:29:55 verbose #16521 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:55 verbose #16522 > > inl of_array forall k v. (array : a _ (k * v)) : map k v =
00:29:55 verbose #16523 > >     $'!array |> Array.map (fun (struct (a, b)) -> a, b) |> Map.ofArray'
00:29:56 verbose #16524 > 00:29:55   debug #935 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/31773be5e65d51d2a107fc482f20f897deb886cea403ddc553049c8eb615d8dd/main.spi
00:29:56 verbose #16525 > 00:00:13 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 10516 }
00:29:56 verbose #16526 > 00:00:13   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:29:56 verbose #16527 >     "nbconvert",
00:29:56 verbose #16528 >     "c:/home/git/polyglot/lib/spiral/mapm.dib.ipynb",
00:29:56 verbose #16529 >     "--to",
00:29:56 verbose #16530 >     "html",
00:29:56 verbose #16531 >     "--HTMLExporter.theme=dark",
00:29:56 verbose #16532 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/mapm.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:29:58 verbose #16533 > 00:00:15 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/mapm.dib.ipynb to html
00:29:58 verbose #16534 > 00:00:15 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:29:58 verbose #16535 > 00:00:15 verbose #7 !   validate(nb)
00:29:59 verbose #16536 > 00:00:16 verbose #8 ! [NbConvertApp] Writing 301082 bytes to c:\home\git\polyglot\lib\spiral\mapm.dib.html
00:29:59 verbose #16537 > 00:00:17 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 639 }
00:29:59 verbose #16538 > 00:00:17   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 639 }
00:29:59 verbose #16539 > 00:00:17   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:29:59 verbose #16540 >     "-c",
00:29:59 verbose #16541 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/mapm.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:29:59 verbose #16542 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/mapm.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:30:00 verbose #16543 > 00:00:18 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:30:00 verbose #16544 > 00:00:18   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:30:01 verbose #16545 > 00:00:18   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 11214 }
00:30:01   debug #16546 runtime.execute_with_options_async / { exit_code = 0; output_length = 14252 }
00:30:01   debug #22 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path mapm.dib --retries 3
00:30:01   debug #16547 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path optionm'.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:30:01 verbose #16548 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "optionm'.dib", "--retries", "3"])) }
00:30:01 verbose #16549 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:30:01 verbose #16550 >     "repl",
00:30:01 verbose #16551 >     "--exit-after-run",
00:30:01 verbose #16552 >     "--run",
00:30:01 verbose #16553 >     "c:/home/git/polyglot/lib/spiral/optionm'.dib",
00:30:01 verbose #16554 >     "--output-path",
00:30:01 verbose #16555 >     "c:/home/git/polyglot/lib/spiral/optionm'.dib.ipynb",
00:30:01 verbose #16556 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/optionm'.dib" --output-path "c:/home/git/polyglot/lib/spiral/optionm'.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:30:03 verbose #16557 > >
00:30:03 verbose #16558 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:03 verbose #16559 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:03 verbose #16560 > > │ # optionm'                                                                   │
00:30:03 verbose #16561 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:07 verbose #16562 > >
00:30:07 verbose #16563 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:07 verbose #16564 > > open rust
00:30:07 verbose #16565 > > open rust_operators
00:30:08 verbose #16566 > 00:30:07   debug #936 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd47537238fcdc924c2a6b0a99d4f87ecbbde40a43ba8772a0907b5bf4a50e9d/main.spi
00:30:08 verbose #16567 > >
00:30:08 verbose #16568 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:08 verbose #16569 > > //// test
00:30:08 verbose #16570 > >
00:30:08 verbose #16571 > > open testing
00:30:08 verbose #16572 > 00:30:07   debug #937 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f990f43922e45080129606975ec74b3f88780cb3b27c2ae1151c776db6e5e262/main.spi
00:30:08 verbose #16573 > >
00:30:08 verbose #16574 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:08 verbose #16575 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:08 verbose #16576 > > │ ## optionm'                                                                  │
00:30:08 verbose #16577 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:08 verbose #16578 > >
00:30:08 verbose #16579 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:08 verbose #16580 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:08 verbose #16581 > > │ ### default_value                                                            │
00:30:08 verbose #16582 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:08 verbose #16583 > >
00:30:08 verbose #16584 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:08 verbose #16585 > > inl default_value d =
00:30:08 verbose #16586 > >     optionm.defaultWith d
00:30:09 verbose #16587 > 00:30:08   debug #938 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/15491795f5bf9644457494ef0342ae858a8aab5704c2379a4c280550bf9f3193/main.spi
00:30:09 verbose #16588 > >
00:30:09 verbose #16589 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:09 verbose #16590 > > //// test
00:30:09 verbose #16591 > >
00:30:09 verbose #16592 > > None
00:30:09 verbose #16593 > > |> default_value 3i32
00:30:09 verbose #16594 > > |> _assert_eq 3i32
00:30:09 verbose #16595 > 00:30:08   debug #939 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1a81c85773fe422453b745c6420ba5125c316a64bf03dcec69ac84b3aefb359c/main.spi
00:30:10 verbose #16596 > >
00:30:10 verbose #16597 > > ╭─[ 874.25ms - stdout ]────────────────────────────────────────────────────────╮
00:30:10 verbose #16598 > > │ __assert_eq / actual: 3 / expected: 3                                        │
00:30:10 verbose #16599 > > │                                                                              │
00:30:10 verbose #16600 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:10 verbose #16601 > >
00:30:10 verbose #16602 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:10 verbose #16603 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:10 verbose #16604 > > │ ### (/??)                                                                    │
00:30:10 verbose #16605 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:10 verbose #16606 > >
00:30:10 verbose #16607 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:10 verbose #16608 > > inl (/??) a b =
00:30:10 verbose #16609 > >     a |> default_value b
00:30:10 verbose #16610 > 00:30:09   debug #940 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/50b906b2efeecb3856483875c9a57005bd50804cd50b8473112caf3eec6e13b1/main.spi
00:30:10 verbose #16611 > >
00:30:10 verbose #16612 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:10 verbose #16613 > > //// test
00:30:10 verbose #16614 > >
00:30:10 verbose #16615 > > None /?? 3i32
00:30:10 verbose #16616 > > |> _assert_eq 3i32
00:30:10 verbose #16617 > 00:30:09   debug #941 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/128918064316dbfa78f58a43a3c8f3ed2845053761b9fbf6aefaabdeec3c5eed/main.spi
00:30:11 verbose #16618 > >
00:30:11 verbose #16619 > > ╭─[ 418.15ms - stdout ]────────────────────────────────────────────────────────╮
00:30:11 verbose #16620 > > │ __assert_eq / actual: 3 / expected: 3                                        │
00:30:11 verbose #16621 > > │                                                                              │
00:30:11 verbose #16622 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:11 verbose #16623 > >
00:30:11 verbose #16624 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:11 verbose #16625 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:11 verbose #16626 > > │ ### default_with                                                             │
00:30:11 verbose #16627 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:11 verbose #16628 > >
00:30:11 verbose #16629 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:11 verbose #16630 > > inl default_with fn = function
00:30:11 verbose #16631 > >     | Some x => x
00:30:11 verbose #16632 > >     | None => fn ()
00:30:11 verbose #16633 > 00:30:10   debug #942 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/664cf1c641091866450434715838d205452b8d4b6bde4c4a69e810eab75860c6/main.spi
00:30:11 verbose #16634 > >
00:30:11 verbose #16635 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:11 verbose #16636 > > //// test
00:30:11 verbose #16637 > >
00:30:11 verbose #16638 > > None
00:30:11 verbose #16639 > > |> default_with fun () => 3i32
00:30:11 verbose #16640 > > |> _assert_eq 3i32
00:30:11 verbose #16641 > 00:30:10   debug #943 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ffa2bb76668ecb69c8b6ca3a629193264889d8cd49f40e74d0b5f28c2e7af786/main.spi
00:30:11 verbose #16642 > >
00:30:11 verbose #16643 > > ╭─[ 365.01ms - stdout ]────────────────────────────────────────────────────────╮
00:30:11 verbose #16644 > > │ __assert_eq / actual: 3 / expected: 3                                        │
00:30:11 verbose #16645 > > │                                                                              │
00:30:11 verbose #16646 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:11 verbose #16647 > >
00:30:11 verbose #16648 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:11 verbose #16649 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:11 verbose #16650 > > │ ### choose                                                                   │
00:30:11 verbose #16651 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:11 verbose #16652 > >
00:30:11 verbose #16653 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:11 verbose #16654 > > inl choose fn a b =
00:30:11 verbose #16655 > >     match a, b with
00:30:11 verbose #16656 > >     | Some x, Some y => fn x y |> Some
00:30:11 verbose #16657 > >     | _ => None
00:30:11 verbose #16658 > 00:30:11   debug #944 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8a3776fb27c5519d96ae9cc6de26702ec3db4c831092f9e38fc0f7d2fe13926/main.spi
00:30:12 verbose #16659 > >
00:30:12 verbose #16660 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:12 verbose #16661 > > //// test
00:30:12 verbose #16662 > >
00:30:12 verbose #16663 > > (Some 2i32, Some 3)
00:30:12 verbose #16664 > > ||> choose (+)
00:30:12 verbose #16665 > > |> _assert_eq (Some 5)
00:30:12 verbose #16666 > 00:30:11   debug #945 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ffb7c48ca7e5acf1e70bc0cfaa2ef003367b4331ba7079ae4dd7ed7862e070d8/main.spi
00:30:12 verbose #16667 > >
00:30:12 verbose #16668 > > ╭─[ 766.83ms - stdout ]────────────────────────────────────────────────────────╮
00:30:12 verbose #16669 > > │ __assert_eq / actual: US0_0 5 / expected: US0_0 5                            │
00:30:12 verbose #16670 > > │                                                                              │
00:30:12 verbose #16671 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:12 verbose #16672 > >
00:30:12 verbose #16673 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:12 verbose #16674 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:12 verbose #16675 > > │ ### iter                                                                     │
00:30:12 verbose #16676 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:12 verbose #16677 > >
00:30:12 verbose #16678 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:12 verbose #16679 > > inl iter fn = function
00:30:12 verbose #16680 > >     | Some x => fn x
00:30:12 verbose #16681 > >     | None => ()
00:30:13 verbose #16682 > 00:30:12   debug #946 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e15d98968044560a3c65c1b59cc31564feac7412dd376208bfa0b8fa5002e272/main.spi
00:30:13 verbose #16683 > >
00:30:13 verbose #16684 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:13 verbose #16685 > > //// test
00:30:13 verbose #16686 > >
00:30:13 verbose #16687 > > inl n = mut 1i32
00:30:13 verbose #16688 > > inl fn =
00:30:13 verbose #16689 > >     fun n' =>
00:30:13 verbose #16690 > >         n <- *n + n'
00:30:13 verbose #16691 > > Some 1i32 |> iter fn
00:30:13 verbose #16692 > > None |> iter fn
00:30:13 verbose #16693 > > *n
00:30:13 verbose #16694 > > |> _assert_eq 2i32
00:30:13 verbose #16695 > 00:30:12   debug #947 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5eca052ea30b8328f9b254eba625290899b6ad250c17c3199d421f4add642dcd/main.spi
00:30:13 verbose #16696 > >
00:30:13 verbose #16697 > > ╭─[ 588.33ms - stdout ]────────────────────────────────────────────────────────╮
00:30:13 verbose #16698 > > │ __assert_eq / actual: 2 / expected: 2                                        │
00:30:13 verbose #16699 > > │                                                                              │
00:30:13 verbose #16700 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:13 verbose #16701 > >
00:30:13 verbose #16702 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:13 verbose #16703 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:13 verbose #16704 > > │ ### flatten                                                                  │
00:30:13 verbose #16705 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:13 verbose #16706 > >
00:30:13 verbose #16707 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:13 verbose #16708 > > inl flatten x =
00:30:13 verbose #16709 > >     match x with
00:30:13 verbose #16710 > >     | Some (Some x) => Some x
00:30:13 verbose #16711 > >     | _ => None
00:30:14 verbose #16712 > 00:30:13   debug #948 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cc3431f249bb057b3b580bfd89d70f0fd75c1b478ac4fc20bc9f260727ac4bdc/main.spi
00:30:14 verbose #16713 > >
00:30:14 verbose #16714 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:14 verbose #16715 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:14 verbose #16716 > > │ ## fsharp                                                                    │
00:30:14 verbose #16717 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #16718 > >
00:30:14 verbose #16719 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:14 verbose #16720 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:14 verbose #16721 > > │ ### option'                                                                  │
00:30:14 verbose #16722 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #16723 > >
00:30:14 verbose #16724 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:14 verbose #16725 > > nominal option' t = $"backend_switch `({ Fsharp : $"`t option"; Python : t })"
00:30:14 verbose #16726 > 00:30:13   debug #949 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b2aa47a71b983f46a1d0ef50f20074497e0f2364a19e09a70c6b33f7938e4858/main.spi
00:30:14 verbose #16727 > >
00:30:14 verbose #16728 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:14 verbose #16729 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:14 verbose #16730 > > │ ### none'                                                                    │
00:30:14 verbose #16731 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #16732 > >
00:30:14 verbose #16733 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:14 verbose #16734 > > inl none' forall t. () : option' t =
00:30:14 verbose #16735 > >     $'None'
00:30:14 verbose #16736 > 00:30:13   debug #950 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a0e825e274880b03def70e5859a5b0d64e0b72ae9b70bee7312f2dad49f452ac/main.spi
00:30:14 verbose #16737 > >
00:30:14 verbose #16738 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:14 verbose #16739 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:14 verbose #16740 > > │ ### some'                                                                    │
00:30:14 verbose #16741 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #16742 > >
00:30:14 verbose #16743 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:14 verbose #16744 > > inl some' forall t. (x : t) : option' t =
00:30:14 verbose #16745 > >     backend_switch {
00:30:14 verbose #16746 > >         Fsharp = fun () => $'Some !x ' : option' t
00:30:14 verbose #16747 > >         Python = fun () => $'!x # some\' ' : option' t
00:30:14 verbose #16748 > >     }
00:30:15 verbose #16749 > 00:30:14   debug #951 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/19ed3229a75fb4f198cbbc09451f5b4c344d6bd98c353d833aced109c115b66a/main.spi
00:30:15 verbose #16750 > >
00:30:15 verbose #16751 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:15 verbose #16752 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:15 verbose #16753 > > │ ### default_value'                                                           │
00:30:15 verbose #16754 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:15 verbose #16755 > >
00:30:15 verbose #16756 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:15 verbose #16757 > > inl default_value' forall t. (value : t) (x : option' t) : t =
00:30:15 verbose #16758 > >     backend_switch {
00:30:15 verbose #16759 > >         Fsharp = fun () => $'!x |> Option.defaultValue !value ' : t
00:30:15 verbose #16760 > >         Python = fun () => $'!x or !value ' : t
00:30:15 verbose #16761 > >     }
00:30:15 verbose #16762 > 00:30:14   debug #952 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7619850644c10e32fcd1d2ce14ea1ff11c518c69982f4a7a4394799da41784a2/main.spi
00:30:15 verbose #16763 > >
00:30:15 verbose #16764 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:15 verbose #16765 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:15 verbose #16766 > > │ ### box                                                                      │
00:30:15 verbose #16767 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:15 verbose #16768 > >
00:30:15 verbose #16769 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:15 verbose #16770 > > inl box forall t. (x : option t) : option' t =
00:30:15 verbose #16771 > >     // x
00:30:15 verbose #16772 > >     // |> optionm.map some'
00:30:15 verbose #16773 > >     // |> default_with none'
00:30:15 verbose #16774 > >     match x with
00:30:15 verbose #16775 > >     | Some x => some' x
00:30:15 verbose #16776 > >     | None => none' ()
00:30:15 verbose #16777 > 00:30:14   debug #953 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3f380d09a9dd735f5cdabf66b540dbf72125e741dd91f215acd92f9f66f05075/main.spi
00:30:15 verbose #16778 > >
00:30:15 verbose #16779 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:15 verbose #16780 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:15 verbose #16781 > > │ ### map                                                                      │
00:30:15 verbose #16782 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:15 verbose #16783 > >
00:30:15 verbose #16784 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:15 verbose #16785 > > inl map forall t u. (fn : t -> u) (x : option' t) : option' u =
00:30:15 verbose #16786 > >     backend_switch {
00:30:15 verbose #16787 > >         Fsharp = fun () =>
00:30:15 verbose #16788 > >             inl result : option' u = none' ()
00:30:15 verbose #16789 > >             $'let _!result = ref !result '
00:30:15 verbose #16790 > >             inl set_result (result : ref (option' u)) (x : option' u) : ref
00:30:15 verbose #16791 > > (option' u) =
00:30:15 verbose #16792 > >                 result |> ref_set_value x
00:30:15 verbose #16793 > >             inl set_result = set_result $'_!result ' |> dyn
00:30:15 verbose #16794 > >             fun () =>
00:30:15 verbose #16795 > >                 $'match !x with'
00:30:15 verbose #16796 > >                 $'| Some x -> ('
00:30:15 verbose #16797 > >                 $'(fun () ->'
00:30:15 verbose #16798 > >                 $'(fun () ->'
00:30:15 verbose #16799 > >                 inl x = dyn $'x'
00:30:15 verbose #16800 > >                 x |> fn |> emit_unit
00:30:15 verbose #16801 > >                 $')'
00:30:15 verbose #16802 > >                 $'|> fun x -> x () |> Some'
00:30:15 verbose #16803 > >                 $') () ) | None -> None'
00:30:15 verbose #16804 > >                 $'|> !set_result |> ignore'
00:30:15 verbose #16805 > >             |> exec_unit
00:30:15 verbose #16806 > >             $'_!result.Value ' : option' u
00:30:15 verbose #16807 > >         Python = fun () =>
00:30:15 verbose #16808 > >             if x =. none' ()
00:30:15 verbose #16809 > >             then none' ()
00:30:15 verbose #16810 > >             else fn $'!x ' |> fun x => $'!x ' : option' u
00:30:15 verbose #16811 > >     }
00:30:16 verbose #16812 > 00:30:15   debug #954 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b7533471ff55a0a1e5eb8bc127eb63abbfb888ca01b89c8c4d06b956f8664184/main.spi
00:30:16 verbose #16813 > >
00:30:16 verbose #16814 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:16 verbose #16815 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:16 verbose #16816 > > │ ### map''                                                                    │
00:30:16 verbose #16817 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:16 verbose #16818 > >
00:30:16 verbose #16819 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:16 verbose #16820 > > inl map'' forall t u. (fn : t -> u) (x : option' t) : option' u =
00:30:16 verbose #16821 > >     backend_switch {
00:30:16 verbose #16822 > >         Fsharp = fun () => $'!x |> Option.map !fn ' : option' u
00:30:16 verbose #16823 > >         Python = fun () => x |> map fn
00:30:16 verbose #16824 > >     }
00:30:16 verbose #16825 > 00:30:15   debug #955 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/824c1d6d498da98d8acbd5584d47fa8bb5dc31197dfae0b466bf4502552848c1/main.spi
00:30:16 verbose #16826 > >
00:30:16 verbose #16827 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:16 verbose #16828 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:16 verbose #16829 > > │ ### unbox                                                                    │
00:30:16 verbose #16830 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:16 verbose #16831 > >
00:30:16 verbose #16832 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:16 verbose #16833 > > inl unbox forall t. (x : option' t) : option t =
00:30:16 verbose #16834 > >     x |> map Some |> default_value' None
00:30:16 verbose #16835 > >     // inl some x : option t = Some x
00:30:16 verbose #16836 > >     // inl some = join some
00:30:16 verbose #16837 > >     // inl none : option t = None
00:30:16 verbose #16838 > >     // $'!x |> Option.map !some |> Option.defaultValue !none '
00:30:17 verbose #16839 > 00:30:16   debug #956 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/21766b91c2002d6345b21817ea07274429e83d09d240112932bd5d7cd358c2c6/main.spi
00:30:17 verbose #16840 > >
00:30:17 verbose #16841 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:17 verbose #16842 > > //// test
00:30:17 verbose #16843 > > ///! fsharp
00:30:17 verbose #16844 > > ///! cuda
00:30:17 verbose #16845 > > ///! rust
00:30:17 verbose #16846 > > ///! typescript
00:30:17 verbose #16847 > > ///! python
00:30:17 verbose #16848 > >
00:30:17 verbose #16849 > > inl x = Some 3i32
00:30:17 verbose #16850 > > inl y : option i32 = None
00:30:17 verbose #16851 > > inl x' = x |> box |> unbox
00:30:17 verbose #16852 > > inl y' = y |> box |> map id |> unbox
00:30:17 verbose #16853 > > (x', y') |> _assert_eq' (x, y)
00:30:17 verbose #16854 > 00:30:16   debug #957 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dce5b81e0603385003ec0e185cf9b3f626080d41dc5f81ebe14f7ab3caeb066a/main.spi
00:30:17 verbose #16855 > 00:30:16   debug #958 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d9f5c94f8a530ce25472a13ea3bae9c93bb3b6882cb29e263936dcf4c0f52366/main.spi
00:30:23 verbose #16856 > >
00:30:23 verbose #16857 > > ╭─[ 6.11s - return value ]─────────────────────────────────────────────────────╮
00:30:23 verbose #16858 > > │ .py output (Cuda):                                                           │
00:30:23 verbose #16859 > > │ __assert_eq' / actual: (US0_0(v0=3), US0_1()) / expected: (US0_0(v0=3),      │
00:30:23 verbose #16860 > > │ US0_1())                                                                     │
00:30:23 verbose #16861 > > │                                                                              │
00:30:23 verbose #16862 > > │ .rs output:                                                                  │
00:30:23 verbose #16863 > > │ __assert_eq' / actual: (US0_0(3), US0_1) / expected: (US0_0(3), US0_1)       │
00:30:23 verbose #16864 > > │                                                                              │
00:30:23 verbose #16865 > > │ .ts output:                                                                  │
00:30:23 verbose #16866 > > │ __assert_eq' / actual: US0_0 3,US0_1 / expected: US0_0 3,US0_1               │
00:30:23 verbose #16867 > > │                                                                              │
00:30:23 verbose #16868 > > │ .py output:                                                                  │
00:30:23 verbose #16869 > > │ __assert_eq' / actual: (US0_0 3, US0_1) / expected: (US0_0 3, US0_1)         │
00:30:23 verbose #16870 > > │                                                                              │
00:30:23 verbose #16871 > > │                                                                              │
00:30:23 verbose #16872 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:23 verbose #16873 > >
00:30:23 verbose #16874 > > ╭─[ 6.12s - stdout ]───────────────────────────────────────────────────────────╮
00:30:23 verbose #16875 > > │ .fsx output:                                                                 │
00:30:23 verbose #16876 > > │ __assert_eq' / actual: struct (US0_0 3, US0_1) / expected: struct (US0_0 3,  │
00:30:23 verbose #16877 > > │ US0_1)                                                                       │
00:30:23 verbose #16878 > > │                                                                              │
00:30:23 verbose #16879 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:23 verbose #16880 > >
00:30:23 verbose #16881 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:23 verbose #16882 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:23 verbose #16883 > > │ ### of_obj                                                                   │
00:30:23 verbose #16884 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:23 verbose #16885 > >
00:30:23 verbose #16886 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:23 verbose #16887 > > inl of_obj forall t. (x : t) : option' t =
00:30:23 verbose #16888 > >     backend_switch {
00:30:23 verbose #16889 > >         Fsharp = fun () =>
00:30:23 verbose #16890 > >             $'let mutable _!x = None'
00:30:23 verbose #16891 > >             $'#if \!FABLE_COMPILER && \!WASM && \!CONTRACT'
00:30:23 verbose #16892 > >             ((x |> $'Option.ofObj') : option' t) |> emit_unit
00:30:23 verbose #16893 > >             $'#else'
00:30:23 verbose #16894 > >             $'Some !x '
00:30:23 verbose #16895 > >             $'#endif'
00:30:23 verbose #16896 > >             $'|> fun x -> _!x <- Some x'
00:30:23 verbose #16897 > >             $'match _!x with Some x -> x | None -> failwith "optionm\'.of_obj
00:30:23 verbose #16898 > > _!x=None"' : option' t
00:30:23 verbose #16899 > >         Python = fun () =>
00:30:23 verbose #16900 > >             $'!x ' : option' t
00:30:23 verbose #16901 > >     }
00:30:23 verbose #16902 > 00:30:22   debug #959 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f95102ba9e6d28c17066889e99732da417c33342fefd9dfc9d7eb47337eed44b/main.spi
00:30:23 verbose #16903 > >
00:30:23 verbose #16904 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:23 verbose #16905 > > //// test
00:30:23 verbose #16906 > > ///! fsharp
00:30:23 verbose #16907 > > ///! cuda
00:30:23 verbose #16908 > > ////! rust // attempted to zero-initialize type `alloc::sync::Arc<dyn
00:30:23 verbose #16909 > > core::any::Any>`, which is invalid
00:30:23 verbose #16910 > > ///! typescript
00:30:23 verbose #16911 > > ///! python
00:30:23 verbose #16912 > >
00:30:23 verbose #16913 > > null ()
00:30:23 verbose #16914 > > |> of_obj
00:30:23 verbose #16915 > > |> unbox
00:30:23 verbose #16916 > > |> _assert_eq (None : option string)
00:30:23 verbose #16917 > 00:30:22   debug #960 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/34ceea864e673b2061817d0b4f8ee2d556410df2adef7ce7040185ce5ef0af7f/main.spi
00:30:23 verbose #16918 > 00:30:22   debug #961 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe57e789899843a177fb491b919da252f604353760aff62614606a1d06c21ef0/main.spi
00:30:26 verbose #16919 > >
00:30:26 verbose #16920 > > ╭─[ 2.93s - return value ]─────────────────────────────────────────────────────╮
00:30:26 verbose #16921 > > │ .py output (Cuda):                                                           │
00:30:26 verbose #16922 > > │ __assert_eq / actual: US0_1() / expected: US0_1()                            │
00:30:26 verbose #16923 > > │                                                                              │
00:30:26 verbose #16924 > > │ .ts output:                                                                  │
00:30:26 verbose #16925 > > │ __assert_eq / actual: US0_1 / expected: US0_1                                │
00:30:26 verbose #16926 > > │                                                                              │
00:30:26 verbose #16927 > > │ .py output:                                                                  │
00:30:26 verbose #16928 > > │ __assert_eq / actual: US0_1 / expected: US0_1                                │
00:30:26 verbose #16929 > > │                                                                              │
00:30:26 verbose #16930 > > │                                                                              │
00:30:26 verbose #16931 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:26 verbose #16932 > >
00:30:26 verbose #16933 > > ╭─[ 2.93s - stdout ]───────────────────────────────────────────────────────────╮
00:30:26 verbose #16934 > > │ .fsx output:                                                                 │
00:30:26 verbose #16935 > > │ __assert_eq / actual: US0_1 / expected: US0_1                                │
00:30:26 verbose #16936 > > │                                                                              │
00:30:26 verbose #16937 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:26 verbose #16938 > >
00:30:26 verbose #16939 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:26 verbose #16940 > > //// test
00:30:26 verbose #16941 > > ///! fsharp
00:30:26 verbose #16942 > > ///! cuda
00:30:26 verbose #16943 > > ///! rust
00:30:26 verbose #16944 > > ///! typescript
00:30:26 verbose #16945 > > ///! python
00:30:26 verbose #16946 > >
00:30:26 verbose #16947 > > ""
00:30:26 verbose #16948 > > |> of_obj
00:30:26 verbose #16949 > > |> unbox
00:30:26 verbose #16950 > > |> _assert_eq' (Some "")
00:30:26 verbose #16951 > 00:30:25   debug #962 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6c09c5b7c24b290d33f40415fddd2cd32efab7fce17b27693e331bbd596b8eab/main.spi
00:30:26 verbose #16952 > 00:30:25   debug #963 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b0aea727293b39e829f7526df996f21199da1357e1e6d196f9e8c19f9c0cd715/main.spi
00:30:31 verbose #16953 > >
00:30:31 verbose #16954 > > ╭─[ 4.99s - return value ]─────────────────────────────────────────────────────╮
00:30:31 verbose #16955 > > │ .py output (Cuda):                                                           │
00:30:31 verbose #16956 > > │ __assert_eq' / actual: US0_0(v0='') / expected: US0_0(v0='')                 │
00:30:31 verbose #16957 > > │                                                                              │
00:30:31 verbose #16958 > > │ .rs output:                                                                  │
00:30:31 verbose #16959 > > │ __assert_eq' / actual: US0_0("") / expected: US0_0("")                       │
00:30:31 verbose #16960 > > │                                                                              │
00:30:31 verbose #16961 > > │ .ts output:                                                                  │
00:30:31 verbose #16962 > > │ __assert_eq' / actual: US0_0  / expected: US0_0                              │
00:30:31 verbose #16963 > > │                                                                              │
00:30:31 verbose #16964 > > │ .py output:                                                                  │
00:30:31 verbose #16965 > > │ __assert_eq' / actual: US0_0 "" / expected: US0_0 ""                         │
00:30:31 verbose #16966 > > │                                                                              │
00:30:31 verbose #16967 > > │                                                                              │
00:30:31 verbose #16968 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:31 verbose #16969 > >
00:30:31 verbose #16970 > > ╭─[ 4.99s - stdout ]───────────────────────────────────────────────────────────╮
00:30:31 verbose #16971 > > │ .fsx output:                                                                 │
00:30:31 verbose #16972 > > │ __assert_eq' / actual: US0_0 "" / expected: US0_0 ""                         │
00:30:31 verbose #16973 > > │                                                                              │
00:30:31 verbose #16974 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:31 verbose #16975 > >
00:30:31 verbose #16976 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:31 verbose #16977 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:31 verbose #16978 > > │ ### flatten'                                                                 │
00:30:31 verbose #16979 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:31 verbose #16980 > >
00:30:31 verbose #16981 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:31 verbose #16982 > > inl flatten' x =
00:30:31 verbose #16983 > >     x
00:30:31 verbose #16984 > >     |> unbox
00:30:31 verbose #16985 > >     |> optionm.map unbox
00:30:31 verbose #16986 > >     |> flatten
00:30:31 verbose #16987 > 00:30:30   debug #964 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d99cec660603984a54fe41d31fb3d4bb7b08eb146d2e309d268af6915fb037f2/main.spi
00:30:31 verbose #16988 > >
00:30:31 verbose #16989 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:31 verbose #16990 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:31 verbose #16991 > > │ ## rust                                                                      │
00:30:31 verbose #16992 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:31 verbose #16993 > >
00:30:31 verbose #16994 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:31 verbose #16995 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:31 verbose #16996 > > │ ### try'                                                                     │
00:30:31 verbose #16997 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:31 verbose #16998 > >
00:30:31 verbose #16999 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:31 verbose #17000 > > inl try' forall t. (x : option' t) : t =
00:30:31 verbose #17001 > >     !\\(x, $'"$0?"')
00:30:32 verbose #17002 > 00:30:31   debug #965 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c356b3c4c94d57891f2b622e323f12312b841aa07d636769cafbdbaeb67160dc/main.spi
00:30:32 verbose #17003 > >
00:30:32 verbose #17004 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:32 verbose #17005 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:32 verbose #17006 > > │ ### map'                                                                     │
00:30:32 verbose #17007 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:32 verbose #17008 > >
00:30:32 verbose #17009 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:32 verbose #17010 > > inl map' forall t u. (fn : t -> u) (x : option' t) : option' u =
00:30:32 verbose #17011 > >     (!\\(x, $'"true; let _optionm_map_ = $0.map(|x| { //"') : bool) |> ignore
00:30:32 verbose #17012 > >     inl result = fn !\($'"x"')
00:30:32 verbose #17013 > >     (!\\(result, $'"true; $0 })"') : bool) |> ignore
00:30:32 verbose #17014 > >     !\($'"_optionm_map_"')
00:30:32 verbose #17015 > 00:30:31   debug #966 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fc78b6138016a04f90ccc3decc20bbb5f57b0adf24c1636e5ab4f7658b5781f2/main.spi
00:30:32 verbose #17016 > >
00:30:32 verbose #17017 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:32 verbose #17018 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:32 verbose #17019 > > │ ### unwrap                                                                   │
00:30:32 verbose #17020 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:32 verbose #17021 > >
00:30:32 verbose #17022 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:32 verbose #17023 > > inl unwrap forall t. (x : option' t) : t =
00:30:32 verbose #17024 > >     !\\(x, $'"$0.unwrap()"')
00:30:32 verbose #17025 > 00:30:31   debug #967 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/192ecedd4961dc396006189b8f7e439efa3d81a2fb737ddae3e0e7ca2069d065/main.spi
00:30:33 verbose #17026 > >
00:30:33 verbose #17027 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:33 verbose #17028 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:33 verbose #17029 > > │ ### take                                                                     │
00:30:33 verbose #17030 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:33 verbose #17031 > >
00:30:33 verbose #17032 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:33 verbose #17033 > > inl take forall t. (x : option' t) : option' t =
00:30:33 verbose #17034 > >     (!\\(x, $'"true; let mut !x = !x"') : bool) |> ignore
00:30:33 verbose #17035 > >     !\\(x, $'"Option::take(&mut $0)"')
00:30:33 verbose #17036 > 00:30:32   debug #968 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6fb0f18daa7658362e680a6b474fc23bf78755a527a7f1f86518ede3de1b263c/main.spi
00:30:33 verbose #17037 > >
00:30:33 verbose #17038 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:33 verbose #17039 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:33 verbose #17040 > > │ ### take_ref                                                                 │
00:30:33 verbose #17041 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:33 verbose #17042 > >
00:30:33 verbose #17043 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:33 verbose #17044 > > inl take_ref forall t. (x : rust.ref (option' t)) : option' t =
00:30:33 verbose #17045 > >     (!\\(x, $'"true; let mut !x = !x"') : bool) |> ignore
00:30:33 verbose #17046 > >     !\\(x, $'"Option::take(&mut $0)"')
00:30:33 verbose #17047 > 00:30:32   debug #969 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8b6c1bfcaf6dda66e76544feb0ba5bda274483d9e6f3c05feb3cb8d4c80b3e8e/main.spi
00:30:33 verbose #17048 > >
00:30:33 verbose #17049 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:33 verbose #17050 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:33 verbose #17051 > > │ ### take_ref_mut                                                             │
00:30:33 verbose #17052 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:33 verbose #17053 > >
00:30:33 verbose #17054 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:33 verbose #17055 > > inl take_ref_mut forall t. (x : rust.ref (rust.mut' (option' t))) : option' t =
00:30:33 verbose #17056 > >     !\\(x, $'"Option::take($0)"')
00:30:34 verbose #17057 > 00:30:33   debug #970 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aee66b0037ca05fb78714121af406232322831d447c8d40f28d3f93ef73d6862/main.spi
00:30:34 verbose #17058 > >
00:30:34 verbose #17059 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:34 verbose #17060 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:34 verbose #17061 > > │ ### cloned                                                                   │
00:30:34 verbose #17062 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:34 verbose #17063 > >
00:30:34 verbose #17064 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:34 verbose #17065 > > inl cloned forall t. (x : option' (rust.ref t)) : option' t =
00:30:34 verbose #17066 > >     !\\(x, $'"$0.cloned()"')
00:30:34 verbose #17067 > 00:30:33   debug #971 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8c1984c1252797fb73be9cde6e6e28aff405d798c59396b26a981773fc0175da/main.spi
00:30:34 verbose #17068 > >
00:30:34 verbose #17069 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:34 verbose #17070 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:34 verbose #17071 > > │ ### as_ref                                                                   │
00:30:34 verbose #17072 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:34 verbose #17073 > >
00:30:34 verbose #17074 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:34 verbose #17075 > > inl as_ref forall t. (x : rust.ref (option' t)) : option' (rust.ref t) =
00:30:34 verbose #17076 > >     !\\(x, $'"$0.as_ref()"')
00:30:34 verbose #17077 > 00:30:33   debug #972 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b0da7a8e37a76283986c08ba02076a7f1d1ccb3ebcb4fcde42dffde9d57a1319/main.spi
00:30:34 verbose #17078 > >
00:30:34 verbose #17079 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:34 verbose #17080 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:34 verbose #17081 > > │ ### as_mut                                                                   │
00:30:34 verbose #17082 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:34 verbose #17083 > >
00:30:34 verbose #17084 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:34 verbose #17085 > > inl as_mut forall t. (x : rust.ref (rust.mut' (option' t))) : option' (rust.ref
00:30:34 verbose #17086 > > (rust.mut' t)) =
00:30:34 verbose #17087 > >     !\\(x, $'"$0.as_mut()"')
00:30:35 verbose #17088 > 00:30:34   debug #973 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/eca93b096d3705d7d1927b6d3115a6573531f930e7d75bfb2550e63c6a4caf49/main.spi
00:30:35 verbose #17089 > >
00:30:35 verbose #17090 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:35 verbose #17091 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:35 verbose #17092 > > │ ### unwrap_or                                                                │
00:30:35 verbose #17093 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:35 verbose #17094 > >
00:30:35 verbose #17095 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:35 verbose #17096 > > inl unwrap_or forall t. (def : t) (x : option' t) : t =
00:30:35 verbose #17097 > >     !\($'"!x.unwrap_or(!def)"')
00:30:35 verbose #17098 > 00:30:34   debug #974 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2c6b5a7551df8ea25ef5a7284d492c6332efc77dd854adc90852c0897d92d1a4/main.spi
00:30:35 verbose #17099 > >
00:30:35 verbose #17100 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:35 verbose #17101 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:35 verbose #17102 > > │ ### and_then                                                                 │
00:30:35 verbose #17103 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:35 verbose #17104 > >
00:30:35 verbose #17105 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:35 verbose #17106 > > inl and_then forall t u. (fn : t -> option' u) (x : option' t) : option' u =
00:30:35 verbose #17107 > >     !\\((x, fn), $'"$0.and_then(|x| $1(x))"')
00:30:35 verbose #17108 > 00:30:35   debug #975 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4cfc656d7a778cd78aba2c3aee39072d28882b056e4f5433c78bf2b86f6edca0/main.spi
00:30:36 verbose #17109 > >
00:30:36 verbose #17110 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:36 verbose #17111 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:36 verbose #17112 > > │ ### rc_upgrade                                                               │
00:30:36 verbose #17113 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:36 verbose #17114 > >
00:30:36 verbose #17115 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:36 verbose #17116 > > inl rc_upgrade forall t. (x : rust.weak_rc t) : option' (rust.rc t) =
00:30:36 verbose #17117 > >     !\\(x, $'"std::rc::Weak::upgrade(&$0)"')
00:30:36 verbose #17118 > 00:30:35   debug #976 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/33565a67bb9ee897944d0f52923021c2977b5aade3ea5c79add8d74ee205e698/main.spi
00:30:36 verbose #17119 > >
00:30:36 verbose #17120 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:36 verbose #17121 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:36 verbose #17122 > > │ ### rc_into_inner                                                            │
00:30:36 verbose #17123 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:36 verbose #17124 > >
00:30:36 verbose #17125 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:36 verbose #17126 > > inl rc_into_inner forall t. (x : rust.rc t) : option' t =
00:30:36 verbose #17127 > >     !\\(x, $'"std::rc::Rc::into_inner($0)"')
00:30:36 verbose #17128 > 00:30:35   debug #977 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/00532938324e535f1b92ad4a73ee9518679f6da2cbe6d06c594cfac2d3e4465b/main.spi
00:30:36 verbose #17129 > >
00:30:36 verbose #17130 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:36 verbose #17131 > > //// test
00:30:36 verbose #17132 > > ///! rust
00:30:36 verbose #17133 > >
00:30:36 verbose #17134 > > rust.new_rc 0i32
00:30:36 verbose #17135 > > |> rc_into_inner
00:30:36 verbose #17136 > > |> unbox
00:30:36 verbose #17137 > > |> _assert_eq' (Some 0i32)
00:30:37 verbose #17138 > 00:30:36   debug #978 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/690e7f7f6be25d5a90b1bf57d23bf2370d83a1a91cf62cda00a939d96dfb0513/main.spi
00:30:40 verbose #17139 > >
00:30:40 verbose #17140 > > ╭─[ 3.83s - return value ]─────────────────────────────────────────────────────╮
00:30:40 verbose #17141 > > │ __assert_eq' / actual: US0_0(0) / expected: US0_0(0)                         │
00:30:40 verbose #17142 > > │                                                                              │
00:30:40 verbose #17143 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:40 verbose #17144 > 00:00:39 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 26475 }
00:30:40 verbose #17145 > 00:00:39   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:30:40 verbose #17146 >     "nbconvert",
00:30:40 verbose #17147 >     "c:/home/git/polyglot/lib/spiral/optionm'.dib.ipynb",
00:30:40 verbose #17148 >     "--to",
00:30:40 verbose #17149 >     "html",
00:30:40 verbose #17150 >     "--HTMLExporter.theme=dark",
00:30:40 verbose #17151 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/optionm'.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:30:43 verbose #17152 > 00:00:41 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/optionm'.dib.ipynb to html
00:30:43 verbose #17153 > 00:00:41 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:30:43 verbose #17154 > 00:00:41 verbose #7 !   validate(nb)
00:30:44 verbose #17155 > 00:00:43 verbose #8 ! [NbConvertApp] Writing 343685 bytes to c:\home\git\polyglot\lib\spiral\optionm'.dib.html
00:30:44 verbose #17156 > 00:00:43 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 647 }
00:30:44 verbose #17157 > 00:00:43   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 647 }
00:30:44 verbose #17158 > 00:00:43   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:30:44 verbose #17159 >     "-c",
00:30:44 verbose #17160 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/optionm''.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:30:44 verbose #17161 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/optionm''.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:30:45 verbose #17162 > 00:00:44 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:30:45 verbose #17163 > 00:00:44   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:30:46 verbose #17164 > 00:00:44   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 27181 }
00:30:46   debug #17165 runtime.execute_with_options_async / { exit_code = 0; output_length = 30967 }
00:30:46   debug #23 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path optionm'.dib --retries 3
00:30:46   debug #17166 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path listm'.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:30:46 verbose #17167 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "listm'.dib", "--retries", "3"])) }
00:30:46 verbose #17168 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:30:46 verbose #17169 >     "repl",
00:30:46 verbose #17170 >     "--exit-after-run",
00:30:46 verbose #17171 >     "--run",
00:30:46 verbose #17172 >     "c:/home/git/polyglot/lib/spiral/listm'.dib",
00:30:46 verbose #17173 >     "--output-path",
00:30:46 verbose #17174 >     "c:/home/git/polyglot/lib/spiral/listm'.dib.ipynb",
00:30:46 verbose #17175 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/listm'.dib" --output-path "c:/home/git/polyglot/lib/spiral/listm'.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:30:48 verbose #17176 > >
00:30:48 verbose #17177 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:48 verbose #17178 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:48 verbose #17179 > > │ # listm'                                                                     │
00:30:48 verbose #17180 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:52 verbose #17181 > >
00:30:52 verbose #17182 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:52 verbose #17183 > > //// test
00:30:52 verbose #17184 > >
00:30:52 verbose #17185 > > open testing
00:30:53 verbose #17186 > 00:30:52   debug #979 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:30:53 verbose #17187 > >
00:30:53 verbose #17188 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:53 verbose #17189 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:53 verbose #17190 > > │ ## listm'                                                                    │
00:30:53 verbose #17191 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:53 verbose #17192 > >
00:30:53 verbose #17193 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:53 verbose #17194 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:53 verbose #17195 > > │ ### append                                                                   │
00:30:53 verbose #17196 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:53 verbose #17197 > >
00:30:53 verbose #17198 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:53 verbose #17199 > > instance append list t =
00:30:53 verbose #17200 > >     listm.append
00:30:54 verbose #17201 > 00:30:53   debug #980 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac2d50a7d27726add1bcb0372fd8edbfedd5a4cebc54a7d7ed47565e7d48af7a/main.spi
00:30:54 verbose #17202 > >
00:30:54 verbose #17203 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:54 verbose #17204 > > //// test
00:30:54 verbose #17205 > >
00:30:54 verbose #17206 > > [[ "a"; "b" ]] ++ [[ "c"; "d" ]]
00:30:54 verbose #17207 > > |> _assert_eq [[ "a"; "b"; "c"; "d" ]]
00:30:54 verbose #17208 > 00:30:53   debug #981 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/86af39ebf815404325b75ab00b3547380beba07b357114185b526c84d0b4f4f6/main.spi
00:30:55 verbose #17209 > >
00:30:55 verbose #17210 > > ╭─[ 1.49s - stdout ]───────────────────────────────────────────────────────────╮
00:30:55 verbose #17211 > > │ __assert_eq / actual: UH0_1 ("a", UH0_1 ("b", UH0_1 ("c", UH0_1 ("d",        │
00:30:55 verbose #17212 > > │ UH0_0)))) / expected: UH0_1 ("a", UH0_1 ("b", UH0_1 ("c", UH0_1 ("d",        │
00:30:55 verbose #17213 > > │ UH0_0))))                                                                    │
00:30:55 verbose #17214 > > │                                                                              │
00:30:55 verbose #17215 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:55 verbose #17216 > >
00:30:55 verbose #17217 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:55 verbose #17218 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:55 verbose #17219 > > │ ### collect                                                                  │
00:30:55 verbose #17220 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:55 verbose #17221 > >
00:30:55 verbose #17222 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:55 verbose #17223 > > inl collect forall t r. (fn : t -> list r) (items : list t) : list r =
00:30:55 verbose #17224 > >     items
00:30:55 verbose #17225 > >     |> listm.map fn
00:30:55 verbose #17226 > >     |> listm.fold (++) [[]]
00:30:56 verbose #17227 > 00:30:55   debug #982 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6cab2bfe4d19f0c9cf526dce2e91a9144ee99603a6a751acad047b780a7baea5/main.spi
00:30:56 verbose #17228 > >
00:30:56 verbose #17229 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:56 verbose #17230 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:56 verbose #17231 > > │ ### init_series                                                              │
00:30:56 verbose #17232 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:56 verbose #17233 > >
00:30:56 verbose #17234 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:56 verbose #17235 > > inl init_series start end inc =
00:30:56 verbose #17236 > >     inl total : f64 = conv ((end - start) / inc) + 1
00:30:56 verbose #17237 > >     listm.init total (conv >> (*) inc >> (+) start)
00:30:56 verbose #17238 > 00:30:55   debug #983 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4b70a8dcaf3befefe66bd978a8288673ed6710c1d5b3835e55cbc61c93c782c9/main.spi
00:30:56 verbose #17239 > >
00:30:56 verbose #17240 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:56 verbose #17241 > > //// test
00:30:56 verbose #17242 > >
00:30:56 verbose #17243 > > init_series 0 1 0.5
00:30:56 verbose #17244 > > |> _assert_eq [[ 0f64; 0.5; 1 ]]
00:30:56 verbose #17245 > 00:30:55   debug #984 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a8c05ad6c161fc5da481fcb1e6f63d49be5509308075539183f2aff86f0a418a/main.spi
00:30:57 verbose #17246 > >
00:30:57 verbose #17247 > > ╭─[ 543.03ms - stdout ]────────────────────────────────────────────────────────╮
00:30:57 verbose #17248 > > │ __assert_eq / actual: UH0_1 (0.0, UH0_1 (0.5, UH0_1 (1.0, UH0_0))) /         │
00:30:57 verbose #17249 > > │ expected: UH0_1 (0.0, UH0_1 (0.5, UH0_1 (1.0, UH0_0)))                       │
00:30:57 verbose #17250 > > │                                                                              │
00:30:57 verbose #17251 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:57 verbose #17252 > >
00:30:57 verbose #17253 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:57 verbose #17254 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:57 verbose #17255 > > │ ### try_item                                                                 │
00:30:57 verbose #17256 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:57 verbose #17257 > >
00:30:57 verbose #17258 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:57 verbose #17259 > > inl rec try_item i = function
00:30:57 verbose #17260 > >     | Cons (x, _) when i = 0 => Some x
00:30:57 verbose #17261 > >     | Cons (_, xs) => try_item (i - 1) xs
00:30:57 verbose #17262 > >     | Nil => None
00:30:57 verbose #17263 > 00:30:56   debug #985 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1ece2c0cff2a4144396eb7af0cefb80fadfc988ab05fbb632ecea95afcb34fef/main.spi
00:30:57 verbose #17264 > >
00:30:57 verbose #17265 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:57 verbose #17266 > > //// test
00:30:57 verbose #17267 > >
00:30:57 verbose #17268 > > listm.init 10i32 id
00:30:57 verbose #17269 > > |> try_item 9i32
00:30:57 verbose #17270 > > |> _assert_eq (Some 9)
00:30:57 verbose #17271 > 00:30:56   debug #986 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4ddf0276108369c630833744f1dad952a4c26d5e0ecf0089874bb3a30180b4c8/main.spi
00:30:57 verbose #17272 > >
00:30:57 verbose #17273 > > ╭─[ 437.08ms - stdout ]────────────────────────────────────────────────────────╮
00:30:57 verbose #17274 > > │ __assert_eq / actual: US0_0 9 / expected: US0_0 9                            │
00:30:57 verbose #17275 > > │                                                                              │
00:30:57 verbose #17276 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:57 verbose #17277 > >
00:30:57 verbose #17278 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:57 verbose #17279 > > //// test
00:30:57 verbose #17280 > >
00:30:57 verbose #17281 > > listm.init 10i32 id
00:30:57 verbose #17282 > > |> try_item 10i32
00:30:57 verbose #17283 > > |> _assert_eq None
00:30:58 verbose #17284 > 00:30:57   debug #987 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/97607e27ddbf94644fc1cd2cdfbe47241417004887a52b9c622d9078f2588f7b/main.spi
00:30:58 verbose #17285 > >
00:30:58 verbose #17286 > > ╭─[ 398.81ms - stdout ]────────────────────────────────────────────────────────╮
00:30:58 verbose #17287 > > │ __assert_eq / actual: US0_1 / expected: US0_1                                │
00:30:58 verbose #17288 > > │                                                                              │
00:30:58 verbose #17289 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:58 verbose #17290 > >
00:30:58 verbose #17291 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:58 verbose #17292 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:58 verbose #17293 > > │ ### item                                                                     │
00:30:58 verbose #17294 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:58 verbose #17295 > >
00:30:58 verbose #17296 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:58 verbose #17297 > > inl item i =
00:30:58 verbose #17298 > >     try_item i >> optionm.value
00:30:58 verbose #17299 > 00:30:57   debug #988 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/09eee9e762823abd1bcef11058bacaecb52b4643288953048a5b2217369a89b1/main.spi
00:30:58 verbose #17300 > >
00:30:58 verbose #17301 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:58 verbose #17302 > > //// test
00:30:58 verbose #17303 > >
00:30:58 verbose #17304 > > listm.init 10i32 id
00:30:58 verbose #17305 > > |> item 9i32
00:30:58 verbose #17306 > > |> _assert_eq 9
00:30:58 verbose #17307 > 00:30:58   debug #989 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac6612e0e4c898638d1cbfafee9775e114d94b77844d42ea552b483bf69e75eb/main.spi
00:30:59 verbose #17308 > >
00:30:59 verbose #17309 > > ╭─[ 405.70ms - stdout ]────────────────────────────────────────────────────────╮
00:30:59 verbose #17310 > > │ __assert_eq / actual: 9 / expected: 9                                        │
00:30:59 verbose #17311 > > │                                                                              │
00:30:59 verbose #17312 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:59 verbose #17313 > >
00:30:59 verbose #17314 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:59 verbose #17315 > > //// test
00:30:59 verbose #17316 > >
00:30:59 verbose #17317 > > fun () =>
00:30:59 verbose #17318 > >     listm.init 10i32 id
00:30:59 verbose #17319 > >     |> item 10i32
00:30:59 verbose #17320 > >     |> ignore
00:30:59 verbose #17321 > > |> _throws
00:30:59 verbose #17322 > > |> optionm.map sm'.format_exception
00:30:59 verbose #17323 > > |> _assert_eq (Some "System.Exception: Option does not have a value.")
00:30:59 verbose #17324 > 00:30:58   debug #990 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9efe014a1bb64aa6050ac3179df7b67e222efc310825ea3639f983e24a2092a6/main.spi
00:30:59 verbose #17325 > >
00:30:59 verbose #17326 > > ╭─[ 549.00ms - stdout ]────────────────────────────────────────────────────────╮
00:30:59 verbose #17327 > > │ __assert_eq / actual: US1_0 "System.Exception: Option does not have a        │
00:30:59 verbose #17328 > > │ value." / expected: US1_0 "System.Exception: Option does not have a value."  │
00:30:59 verbose #17329 > > │                                                                              │
00:30:59 verbose #17330 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:59 verbose #17331 > >
00:30:59 verbose #17332 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:59 verbose #17333 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:59 verbose #17334 > > │ ### try_item_                                                                │
00:30:59 verbose #17335 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:59 verbose #17336 > >
00:30:59 verbose #17337 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:59 verbose #17338 > > let rec try_item_ i = function
00:30:59 verbose #17339 > >     | Cons (x, _) when i = 0 => Some x
00:30:59 verbose #17340 > >     | Cons (_, xs) => try_item_ (i - 1) xs
00:30:59 verbose #17341 > >     | Nil => None
00:30:59 verbose #17342 > 00:30:58   debug #991 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c5c84714f74da96fda60b04e2049ee226f55faf56e0304d03c01aa9d0d29a65a/main.spi
00:30:59 verbose #17343 > >
00:30:59 verbose #17344 > > ── markdown ────────────────────────────────────────────────────────────────────
00:30:59 verbose #17345 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:59 verbose #17346 > > │ ### item_                                                                    │
00:30:59 verbose #17347 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:59 verbose #17348 > >
00:30:59 verbose #17349 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:59 verbose #17350 > > inl item_ i =
00:30:59 verbose #17351 > >     try_item_ i >> optionm.value
00:31:00 verbose #17352 > 00:30:59   debug #992 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ec8d97a24caf5ba89408e5824cf34365bd9ee9a04c3163dca5e54f5889a0b4af/main.spi
00:31:00 verbose #17353 > >
00:31:00 verbose #17354 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:00 verbose #17355 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:00 verbose #17356 > > │ ### sum                                                                      │
00:31:00 verbose #17357 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:00 verbose #17358 > >
00:31:00 verbose #17359 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:00 verbose #17360 > > inl sum list =
00:31:00 verbose #17361 > >     list |> listm.fold (+) 0
00:31:00 verbose #17362 > 00:30:59   debug #993 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8d16d7149b84e2452fe5e8d0038a8b7248e58bd7189534c4f53ed11221478261/main.spi
00:31:00 verbose #17363 > >
00:31:00 verbose #17364 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:00 verbose #17365 > > //// test
00:31:00 verbose #17366 > >
00:31:00 verbose #17367 > > listm.init 10i32 id
00:31:00 verbose #17368 > > |> sum
00:31:00 verbose #17369 > > |> _assert_eq 45
00:31:00 verbose #17370 > 00:31:00   debug #994 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a7110fb0a4fb98c8ebeaf774577d30899dcd2afd4810e3181215398426cee8a2/main.spi
00:31:01 verbose #17371 > >
00:31:01 verbose #17372 > > ╭─[ 409.27ms - stdout ]────────────────────────────────────────────────────────╮
00:31:01 verbose #17373 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:31:01 verbose #17374 > > │                                                                              │
00:31:01 verbose #17375 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:01 verbose #17376 > >
00:31:01 verbose #17377 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:01 verbose #17378 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:01 verbose #17379 > > │ ### unzip                                                                    │
00:31:01 verbose #17380 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:01 verbose #17381 > >
00:31:01 verbose #17382 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:01 verbose #17383 > > inl unzip list =
00:31:01 verbose #17384 > >     (([[]], [[]]), list)
00:31:01 verbose #17385 > >     ||> listm.fold fun (acc_x, acc_y) (x, y) =>
00:31:01 verbose #17386 > >         x :: acc_x, y :: acc_y
00:31:01 verbose #17387 > >     |> fun x, y =>
00:31:01 verbose #17388 > >         x |> listm.rev, y |> listm.rev
00:31:01 verbose #17389 > 00:31:00   debug #995 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2ed906661c54e10a79be7b7ae9b5600b05ab6dfd80c7975248acbc11aa6e2a7e/main.spi
00:31:01 verbose #17390 > >
00:31:01 verbose #17391 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:01 verbose #17392 > > //// test
00:31:01 verbose #17393 > >
00:31:01 verbose #17394 > > listm.init 10i32 id
00:31:01 verbose #17395 > > |> listm.map (fun x => x, x)
00:31:01 verbose #17396 > > |> unzip
00:31:01 verbose #17397 > > |> fun x, y =>
00:31:01 verbose #17398 > >     x |> sum
00:31:01 verbose #17399 > >     |> _assert_eq 45
00:31:01 verbose #17400 > >
00:31:01 verbose #17401 > >     y |> sum
00:31:01 verbose #17402 > >     |> _assert_eq 45
00:31:01 verbose #17403 > 00:31:00   debug #996 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/77f1c00d88f54ea461a23baef9f89ecd729eb33b7fd1eb4748170efe6bf71abb/main.spi
00:31:01 verbose #17404 > >
00:31:01 verbose #17405 > > ╭─[ 369.87ms - stdout ]────────────────────────────────────────────────────────╮
00:31:01 verbose #17406 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:31:01 verbose #17407 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:31:01 verbose #17408 > > │                                                                              │
00:31:01 verbose #17409 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:01 verbose #17410 > >
00:31:01 verbose #17411 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:01 verbose #17412 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:01 verbose #17413 > > │ ### try_index_of                                                             │
00:31:01 verbose #17414 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:01 verbose #17415 > >
00:31:01 verbose #17416 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:01 verbose #17417 > > inl try_index_of item list =
00:31:01 verbose #17418 > >     inl rec loop i = function
00:31:01 verbose #17419 > >         | [[]] => None
00:31:01 verbose #17420 > >         | x :: xs =>
00:31:01 verbose #17421 > >             if x = item
00:31:01 verbose #17422 > >             then Some i
00:31:01 verbose #17423 > >             else loop (i + 1) xs
00:31:01 verbose #17424 > >     loop 0 list
00:31:01 verbose #17425 > >
00:31:01 verbose #17426 > > inl index_of item =
00:31:01 verbose #17427 > >     try_index_of item >> optionm.value
00:31:01 verbose #17428 > >
00:31:01 verbose #17429 > > inl try_index_of_ item list =
00:31:01 verbose #17430 > >     let rec loop i = function
00:31:01 verbose #17431 > >         | [[]] => None
00:31:01 verbose #17432 > >         | x :: xs =>
00:31:01 verbose #17433 > >             if x = item
00:31:01 verbose #17434 > >             then Some i
00:31:01 verbose #17435 > >             else loop (i + 1) xs
00:31:01 verbose #17436 > >     loop 0 list
00:31:01 verbose #17437 > >
00:31:01 verbose #17438 > > inl index_of_ item =
00:31:01 verbose #17439 > >     try_index_of_ item >> optionm.value
00:31:01 verbose #17440 > >
00:31:01 verbose #17441 > > inl try_index_of__ item list =
00:31:01 verbose #17442 > >     inl i = mut 0
00:31:01 verbose #17443 > >     inl list = mut list
00:31:01 verbose #17444 > >     inl result = mut None
00:31:01 verbose #17445 > >     let rec loop () =
00:31:01 verbose #17446 > >         match *list with
00:31:01 verbose #17447 > >         | [[]] => result <- None
00:31:01 verbose #17448 > >         | x :: xs =>
00:31:01 verbose #17449 > >             if x = item
00:31:01 verbose #17450 > >             then result <- Some *i
00:31:01 verbose #17451 > >             else
00:31:01 verbose #17452 > >                 i <- *i + 1
00:31:01 verbose #17453 > >                 list <- xs
00:31:01 verbose #17454 > >                 loop ()
00:31:01 verbose #17455 > >     loop ()
00:31:01 verbose #17456 > >     *result
00:31:01 verbose #17457 > >
00:31:01 verbose #17458 > > inl index_of__ item =
00:31:01 verbose #17459 > >     try_index_of__ item >> optionm.value
00:31:02 verbose #17460 > 00:31:01   debug #997 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9410c20181f7476afe2394d55a1a43bb9e0c0b93ef9ab94da6bebd574bdbb1ac/main.spi
00:31:02 verbose #17461 > >
00:31:02 verbose #17462 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:02 verbose #17463 > > //// test
00:31:02 verbose #17464 > >
00:31:02 verbose #17465 > > listm.init 10i32 id
00:31:02 verbose #17466 > > |> index_of 5i32
00:31:02 verbose #17467 > > |> _assert_eq 5i32
00:31:02 verbose #17468 > 00:31:01   debug #998 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2748a0c24e0c5ff6cfc2364d7881e828f3e6484e31a9118c35f31efa43dcedb5/main.spi
00:31:02 verbose #17469 > >
00:31:02 verbose #17470 > > ╭─[ 393.75ms - stdout ]────────────────────────────────────────────────────────╮
00:31:02 verbose #17471 > > │ __assert_eq / actual: 5 / expected: 5                                        │
00:31:02 verbose #17472 > > │                                                                              │
00:31:02 verbose #17473 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:02 verbose #17474 > >
00:31:02 verbose #17475 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:02 verbose #17476 > > //// test
00:31:02 verbose #17477 > >
00:31:02 verbose #17478 > > listm.init 10i32 id
00:31:02 verbose #17479 > > |> try_index_of 10i32
00:31:02 verbose #17480 > > |> _assert_eq (None : option i32)
00:31:02 verbose #17481 > 00:31:02   debug #999 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c700ac5e4646093f8d07ccd158e1be1fb43a76fd8d8402f4152eb478f87d2d22/main.spi
00:31:03 verbose #17482 > >
00:31:03 verbose #17483 > > ╭─[ 456.08ms - stdout ]────────────────────────────────────────────────────────╮
00:31:03 verbose #17484 > > │ __assert_eq / actual: US0_1 / expected: US0_1                                │
00:31:03 verbose #17485 > > │                                                                              │
00:31:03 verbose #17486 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:03 verbose #17487 > >
00:31:03 verbose #17488 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:03 verbose #17489 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:03 verbose #17490 > > │ ### try_find                                                                 │
00:31:03 verbose #17491 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:03 verbose #17492 > >
00:31:03 verbose #17493 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:03 verbose #17494 > > inl try_find fn list =
00:31:03 verbose #17495 > >     inl rec loop = function
00:31:03 verbose #17496 > >         | [[]] => None
00:31:03 verbose #17497 > >         | x :: xs =>
00:31:03 verbose #17498 > >             if fn x
00:31:03 verbose #17499 > >             then Some x
00:31:03 verbose #17500 > >             else loop xs
00:31:03 verbose #17501 > >     loop list
00:31:03 verbose #17502 > >
00:31:03 verbose #17503 > > inl try_find_ fn list =
00:31:03 verbose #17504 > >     let rec loop = function
00:31:03 verbose #17505 > >         | [[]] => None
00:31:03 verbose #17506 > >         | x :: xs =>
00:31:03 verbose #17507 > >             if fn x
00:31:03 verbose #17508 > >             then Some x
00:31:03 verbose #17509 > >             else loop xs
00:31:03 verbose #17510 > >     loop list
00:31:03 verbose #17511 > 00:31:02   debug #1000 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dfe320ac8ab68776ed36f0bf7fdcc5a87a13f2ea28e1ceb759e2fd90ac65a3c2/main.spi
00:31:03 verbose #17512 > >
00:31:03 verbose #17513 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:03 verbose #17514 > > //// test
00:31:03 verbose #17515 > >
00:31:03 verbose #17516 > > listm.init 10i32 id
00:31:03 verbose #17517 > > |> try_find ((=) 5i32)
00:31:03 verbose #17518 > > |> _assert_eq (Some 5i32)
00:31:03 verbose #17519 > 00:31:02   debug #1001 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/da6df0c57eccfd46ec73c74d96f89420d247e56daf27900ab9c909c12444bcf4/main.spi
00:31:03 verbose #17520 > >
00:31:03 verbose #17521 > > ╭─[ 389.25ms - stdout ]────────────────────────────────────────────────────────╮
00:31:03 verbose #17522 > > │ __assert_eq / actual: US0_0 5 / expected: US0_0 5                            │
00:31:03 verbose #17523 > > │                                                                              │
00:31:03 verbose #17524 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:03 verbose #17525 > >
00:31:03 verbose #17526 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:03 verbose #17527 > > inl find x =
00:31:03 verbose #17528 > >     try_find x >> optionm.value
00:31:03 verbose #17529 > >
00:31:03 verbose #17530 > > inl find_ x =
00:31:03 verbose #17531 > >     try_find_ x >> optionm.value
00:31:04 verbose #17532 > 00:31:03   debug #1002 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1821aec9fa5e2801b042726b550b210f3fd0f77e057319c773b3280cb11d566/main.spi
00:31:04 verbose #17533 > >
00:31:04 verbose #17534 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:04 verbose #17535 > > //// test
00:31:04 verbose #17536 > >
00:31:04 verbose #17537 > > listm.init 10i32 id
00:31:04 verbose #17538 > > |> find ((=) 5i32)
00:31:04 verbose #17539 > > |> _assert_eq 5i32
00:31:04 verbose #17540 > 00:31:03   debug #1003 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/54626bb7db8bf25e66e400bc0b2672653abb74fb28b030403992c48ae3d5e2de/main.spi
00:31:04 verbose #17541 > >
00:31:04 verbose #17542 > > ╭─[ 405.92ms - stdout ]────────────────────────────────────────────────────────╮
00:31:04 verbose #17543 > > │ __assert_eq / actual: 5 / expected: 5                                        │
00:31:04 verbose #17544 > > │                                                                              │
00:31:04 verbose #17545 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:04 verbose #17546 > >
00:31:04 verbose #17547 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:04 verbose #17548 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:04 verbose #17549 > > │ ### choose                                                                   │
00:31:04 verbose #17550 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:04 verbose #17551 > >
00:31:04 verbose #17552 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:04 verbose #17553 > > inl choose f l =
00:31:04 verbose #17554 > >     (l, [[]])
00:31:04 verbose #17555 > >     ||> listm.foldBack fun x acc =>
00:31:04 verbose #17556 > >         match f x with
00:31:04 verbose #17557 > >         | Some y => y :: acc
00:31:04 verbose #17558 > >         | None => acc
00:31:04 verbose #17559 > 00:31:03   debug #1004 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bc27e102a1774cd3266dc3e0000828fdb7417375f7bf974a23d5f2131a1e54cd/main.spi
00:31:05 verbose #17560 > >
00:31:05 verbose #17561 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:05 verbose #17562 > > //// test
00:31:05 verbose #17563 > >
00:31:05 verbose #17564 > > listm.init 10i32 id
00:31:05 verbose #17565 > > |> choose (fun x => if x % 2 = 0 then Some x else None)
00:31:05 verbose #17566 > > |> _assert_eq [[ 0; 2; 4; 6; 8 ]]
00:31:05 verbose #17567 > 00:31:04   debug #1005 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8cba64b56c6f2a47619e841da8cf886d09ad2ea634606f60871d38ddc60ed326/main.spi
00:31:05 verbose #17568 > >
00:31:05 verbose #17569 > > ╭─[ 473.38ms - stdout ]────────────────────────────────────────────────────────╮
00:31:05 verbose #17570 > > │ __assert_eq / actual: UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8,      │
00:31:05 verbose #17571 > > │ UH0_0))))) / expected: UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8,     │
00:31:05 verbose #17572 > > │ UH0_0)))))                                                                   │
00:31:05 verbose #17573 > > │                                                                              │
00:31:05 verbose #17574 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:05 verbose #17575 > >
00:31:05 verbose #17576 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:05 verbose #17577 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:05 verbose #17578 > > │ ### filter                                                                   │
00:31:05 verbose #17579 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:05 verbose #17580 > >
00:31:05 verbose #17581 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:05 verbose #17582 > > inl filter forall t. (fn : t -> bool) (list : list t) : list t =
00:31:05 verbose #17583 > >     (list, Nil)
00:31:05 verbose #17584 > >     ||> listm.foldBack fun x acc =>
00:31:05 verbose #17585 > >         if fn x then x :: acc else acc
00:31:05 verbose #17586 > 00:31:04   debug #1006 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7c89e2877f6980ba0b691c887bd82f3505751f120357d2f8ec1196db746a0bec/main.spi
00:31:05 verbose #17587 > >
00:31:05 verbose #17588 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:05 verbose #17589 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:05 verbose #17590 > > │ ### zip_with                                                                 │
00:31:05 verbose #17591 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:05 verbose #17592 > >
00:31:05 verbose #17593 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:05 verbose #17594 > > inl zip_with fn xs ys =
00:31:05 verbose #17595 > >     inl rec loop acc xs ys =
00:31:05 verbose #17596 > >         match xs, ys with
00:31:05 verbose #17597 > >         | Cons (x, xs), Cons (y, ys) =>
00:31:05 verbose #17598 > >             loop (fn x y :: acc) xs ys
00:31:05 verbose #17599 > >         | _ => listm.rev acc
00:31:05 verbose #17600 > >     loop [[]] xs ys
00:31:05 verbose #17601 > >
00:31:05 verbose #17602 > > inl zip_with_ fn xs ys =
00:31:05 verbose #17603 > >     let rec loop acc xs ys =
00:31:05 verbose #17604 > >         match xs, ys with
00:31:05 verbose #17605 > >         | Cons (x, xs), Cons (y, ys) =>
00:31:05 verbose #17606 > >             loop (fn x y :: acc) xs ys
00:31:05 verbose #17607 > >         | _ => listm.rev acc
00:31:05 verbose #17608 > >     loop [[]] xs ys
00:31:06 verbose #17609 > 00:31:05   debug #1007 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e72df7220c23bed98ed14a55ce842f6a6aa059186e76dcc7a201a2cfb70ccc8f/main.spi
00:31:06 verbose #17610 > >
00:31:06 verbose #17611 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:06 verbose #17612 > > //// test
00:31:06 verbose #17613 > >
00:31:06 verbose #17614 > > ([[ 1i32; 2; 3 ]], [[ 4; 5; 6 ]])
00:31:06 verbose #17615 > > ||> zip_with (+)
00:31:06 verbose #17616 > > |> _assert_eq [[ 5; 7; 9 ]]
00:31:06 verbose #17617 > 00:31:05   debug #1008 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/14da4286ed89be4b37a7c48e1ca86e8e63672fe3918696599958ade30b811e54/main.spi
00:31:06 verbose #17618 > >
00:31:06 verbose #17619 > > ╭─[ 431.16ms - stdout ]────────────────────────────────────────────────────────╮
00:31:06 verbose #17620 > > │ __assert_eq / actual: UH0_1 (5, UH0_1 (7, UH0_1 (9, UH0_0))) / expected:     │
00:31:06 verbose #17621 > > │ UH0_1 (5, UH0_1 (7, UH0_1 (9, UH0_0)))                                       │
00:31:06 verbose #17622 > > │                                                                              │
00:31:06 verbose #17623 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:06 verbose #17624 > >
00:31:06 verbose #17625 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:06 verbose #17626 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:06 verbose #17627 > > │ ### zip                                                                      │
00:31:06 verbose #17628 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:06 verbose #17629 > >
00:31:06 verbose #17630 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:06 verbose #17631 > > inl zip xs ys =
00:31:06 verbose #17632 > >     zip_with pair xs ys
00:31:06 verbose #17633 > >
00:31:06 verbose #17634 > > inl zip_ xs ys =
00:31:06 verbose #17635 > >     zip_with_ pair xs ys
00:31:06 verbose #17636 > 00:31:06   debug #1009 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e2e0f7f80191515ef21f7a5c0e07187fac8a46ed7f0131c404cd85aa1893c5f3/main.spi
00:31:07 verbose #17637 > >
00:31:07 verbose #17638 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:07 verbose #17639 > > //// test
00:31:07 verbose #17640 > >
00:31:07 verbose #17641 > > ([[ 1i32; 2; 3 ]], [[ 4i32; 5; 6 ]])
00:31:07 verbose #17642 > > ||> zip
00:31:07 verbose #17643 > > |> _assert_eq [[ 1, 4; 2, 5; 3, 6 ]]
00:31:07 verbose #17644 > 00:31:06   debug #1010 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2092e6581b1b53dae5464546f30538c71f315e378806230ffed6e6ce63a07381/main.spi
00:31:07 verbose #17645 > >
00:31:07 verbose #17646 > > ╭─[ 449.51ms - stdout ]────────────────────────────────────────────────────────╮
00:31:07 verbose #17647 > > │ __assert_eq / actual: UH0_1 (1, 4, UH0_1 (2, 5, UH0_1 (3, 6, UH0_0))) /      │
00:31:07 verbose #17648 > > │ expected: UH0_1 (1, 4, UH0_1 (2, 5, UH0_1 (3, 6, UH0_0)))                    │
00:31:07 verbose #17649 > > │                                                                              │
00:31:07 verbose #17650 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:07 verbose #17651 > >
00:31:07 verbose #17652 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:07 verbose #17653 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:07 verbose #17654 > > │ ### indexed                                                                  │
00:31:07 verbose #17655 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:07 verbose #17656 > >
00:31:07 verbose #17657 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:07 verbose #17658 > > inl indexed list =
00:31:07 verbose #17659 > >     (([[]], 0), list)
00:31:07 verbose #17660 > >     ||> listm.fold fun (acc, i) x =>
00:31:07 verbose #17661 > >         (i, x) :: acc, i + 1
00:31:07 verbose #17662 > >     |> fst
00:31:07 verbose #17663 > >     |> listm.rev
00:31:07 verbose #17664 > 00:31:06   debug #1011 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7790cdd4e704a1546e4155eaa513eb2684859039b9eca39bc7a542285c21f6de/main.spi
00:31:07 verbose #17665 > >
00:31:07 verbose #17666 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:07 verbose #17667 > > //// test
00:31:07 verbose #17668 > >
00:31:07 verbose #17669 > > listm.init 5i32 ((*) 2)
00:31:07 verbose #17670 > > |> indexed
00:31:07 verbose #17671 > > |> _assert_eq [[ 0i32, 0; 1, 2; 2, 4; 3, 6; 4, 8 ]]
00:31:08 verbose #17672 > 00:31:07   debug #1012 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/48b8239b3a9a61573ff10c54c56cae3352a51b0dd7ae36fb43851fec470b97f4/main.spi
00:31:08 verbose #17673 > >
00:31:08 verbose #17674 > > ╭─[ 430.00ms - stdout ]────────────────────────────────────────────────────────╮
00:31:08 verbose #17675 > > │ __assert_eq / actual: UH0_1 (0, 0, UH0_1 (1, 2, UH0_1 (2, 4, UH0_1 (3, 6,    │
00:31:08 verbose #17676 > > │ UH0_1 (4, 8, UH0_0))))) / expected: UH0_1 (0, 0, UH0_1 (1, 2, UH0_1 (2, 4,   │
00:31:08 verbose #17677 > > │ UH0_1 (3, 6, UH0_1 (4, 8, UH0_0)))))                                         │
00:31:08 verbose #17678 > > │                                                                              │
00:31:08 verbose #17679 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:08 verbose #17680 > >
00:31:08 verbose #17681 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:08 verbose #17682 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:08 verbose #17683 > > │ ### group_by                                                                 │
00:31:08 verbose #17684 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:08 verbose #17685 > >
00:31:08 verbose #17686 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:08 verbose #17687 > > inl group_by fn list =
00:31:08 verbose #17688 > >     (list, [[]])
00:31:08 verbose #17689 > >     ||> listm.foldBack fun x acc =>
00:31:08 verbose #17690 > >         inl xk = fn x
00:31:08 verbose #17691 > >         inl found, new_acc =
00:31:08 verbose #17692 > >             ((false, [[]]), acc)
00:31:08 verbose #17693 > >             ||> listm.fold fun (found, acc') (k, xs) =>
00:31:08 verbose #17694 > >                 if k = xk
00:31:08 verbose #17695 > >                 then true, (k, x :: xs) :: acc'
00:31:08 verbose #17696 > >                 else found, (k, xs) :: acc'
00:31:08 verbose #17697 > >         if found
00:31:08 verbose #17698 > >         then new_acc
00:31:08 verbose #17699 > >         else (xk, [[ x ]]) :: new_acc
00:31:08 verbose #17700 > 00:31:07   debug #1013 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/195e6ad65fcb0882a9afd68cf1e99a00f941af283e8ec6d9b56f501a381b5d13/main.spi
00:31:08 verbose #17701 > >
00:31:08 verbose #17702 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:08 verbose #17703 > > //// test
00:31:08 verbose #17704 > >
00:31:08 verbose #17705 > > listm.init 10i32 id
00:31:08 verbose #17706 > > |> group_by (fun x => x % 2 = 0)
00:31:08 verbose #17707 > > |> _assert_eq [[ true, [[ 0; 2; 4; 6; 8 ]]; false, [[ 1; 3; 5; 7; 9 ]] ]]
00:31:08 verbose #17708 > 00:31:07   debug #1014 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/92a891871c62ff507482306f406c9ffc02859257b9f695f5f880f829e2aa625c/main.spi
00:31:09 verbose #17709 > >
00:31:09 verbose #17710 > > ╭─[ 562.52ms - stdout ]────────────────────────────────────────────────────────╮
00:31:09 verbose #17711 > > │ __assert_eq / actual: UH1_1                                                  │
00:31:09 verbose #17712 > > │   (true, UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8, UH0_0))))),       │
00:31:09 verbose #17713 > > │    UH1_1                                                                     │
00:31:09 verbose #17714 > > │      (false, UH0_1 (1, UH0_1 (3, UH0_1 (5, UH0_1 (7, UH0_1 (9, UH0_0))))),   │
00:31:09 verbose #17715 > > │ UH1_0)) / expected: UH1_1                                                    │
00:31:09 verbose #17716 > > │   (true, UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8, UH0_0))))),       │
00:31:09 verbose #17717 > > │    UH1_1                                                                     │
00:31:09 verbose #17718 > > │      (false, UH0_1 (1, UH0_1 (3, UH0_1 (5, UH0_1 (7, UH0_1 (9, UH0_0))))),   │
00:31:09 verbose #17719 > > │ UH1_0))                                                                      │
00:31:09 verbose #17720 > > │                                                                              │
00:31:09 verbose #17721 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:09 verbose #17722 > >
00:31:09 verbose #17723 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:09 verbose #17724 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:09 verbose #17725 > > │ ### forall'                                                                  │
00:31:09 verbose #17726 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:09 verbose #17727 > >
00:31:09 verbose #17728 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:09 verbose #17729 > > inl forall' fn (head :: tail) =
00:31:09 verbose #17730 > >     (true, tail)
00:31:09 verbose #17731 > >     ||> listm.fold fun acc x =>
00:31:09 verbose #17732 > >         acc && x = head
00:31:09 verbose #17733 > 00:31:08   debug #1015 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4b9d2d1ff5bfcf87f01a2aa0cc43982fe88fd6c85f7f968c30b142c45aa2fe98/main.spi
00:31:09 verbose #17734 > >
00:31:09 verbose #17735 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:09 verbose #17736 > > //// test
00:31:09 verbose #17737 > >
00:31:09 verbose #17738 > > [[ 1i32; 1; 1; 1; 1 ]]
00:31:09 verbose #17739 > > |> forall' ((=) 1i32)
00:31:09 verbose #17740 > > |> _assert_eq true
00:31:09 verbose #17741 > 00:31:08   debug #1016 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1e274c07f1e0d30263eae35dd53ecdf071733f2fd87bc4bb66ca415ff91bb91e/main.spi
00:31:10 verbose #17742 > >
00:31:10 verbose #17743 > > ╭─[ 432.56ms - stdout ]────────────────────────────────────────────────────────╮
00:31:10 verbose #17744 > > │ __assert_eq / actual: true / expected: true                                  │
00:31:10 verbose #17745 > > │                                                                              │
00:31:10 verbose #17746 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:10 verbose #17747 > >
00:31:10 verbose #17748 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:10 verbose #17749 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:10 verbose #17750 > > │ ### last                                                                     │
00:31:10 verbose #17751 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:10 verbose #17752 > >
00:31:10 verbose #17753 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:10 verbose #17754 > > inl last list =
00:31:10 verbose #17755 > >     list
00:31:10 verbose #17756 > >     |> listm.rev
00:31:10 verbose #17757 > >     |> item 0i32
00:31:10 verbose #17758 > 00:31:09   debug #1017 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b818ebef9e709fa2747c8affd06d9e430875f66132f7e3656a1942ee4293cc8f/main.spi
00:31:10 verbose #17759 > >
00:31:10 verbose #17760 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:10 verbose #17761 > > //// test
00:31:10 verbose #17762 > >
00:31:10 verbose #17763 > > listm.init 10i32 id
00:31:10 verbose #17764 > > |> last
00:31:10 verbose #17765 > > |> _assert_eq 9
00:31:10 verbose #17766 > 00:31:09   debug #1018 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ba6754a77758facec97723b3d569d9109cb6015ecd9d9efec438e2a95c6ec886/main.spi
00:31:10 verbose #17767 > >
00:31:10 verbose #17768 > > ╭─[ 427.01ms - stdout ]────────────────────────────────────────────────────────╮
00:31:10 verbose #17769 > > │ __assert_eq / actual: 9 / expected: 9                                        │
00:31:10 verbose #17770 > > │                                                                              │
00:31:10 verbose #17771 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:10 verbose #17772 > >
00:31:10 verbose #17773 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:10 verbose #17774 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:10 verbose #17775 > > │ ### try_pick                                                                 │
00:31:10 verbose #17776 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:10 verbose #17777 > >
00:31:10 verbose #17778 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:10 verbose #17779 > > inl try_pick fn list =
00:31:10 verbose #17780 > >     inl rec body fn = function
00:31:10 verbose #17781 > >         | [[]] => None
00:31:10 verbose #17782 > >         | x :: xs =>
00:31:10 verbose #17783 > >             match fn x with
00:31:10 verbose #17784 > >             | Some y => Some y
00:31:10 verbose #17785 > >             | None => loop xs
00:31:10 verbose #17786 > >     and inl loop list =
00:31:10 verbose #17787 > >         if var_is list |> not
00:31:10 verbose #17788 > >         then body fn list
00:31:10 verbose #17789 > >         else
00:31:10 verbose #17790 > >             inl fn = join fn
00:31:10 verbose #17791 > >             inl list = dyn list
00:31:10 verbose #17792 > >             join body fn list
00:31:10 verbose #17793 > >     loop list
00:31:11 verbose #17794 > 00:31:10   debug #1019 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/44699bcd3e14dfe2949bedb41b2099f064971d5ef69c22fc0470e7880cde34fb/main.spi
00:31:11 verbose #17795 > >
00:31:11 verbose #17796 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:11 verbose #17797 > > //// test
00:31:11 verbose #17798 > >
00:31:11 verbose #17799 > > listm.init 10i32 id
00:31:11 verbose #17800 > > |> try_pick (fun x => if x = 5i32 then Some x else None)
00:31:11 verbose #17801 > > |> _assert_eq (Some 5i32)
00:31:11 verbose #17802 > 00:31:10   debug #1020 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9e412b3deeacf64930140305b47ade398b853cf7bbec13c5a887858e63195a59/main.spi
00:31:11 verbose #17803 > >
00:31:11 verbose #17804 > > ╭─[ 450.43ms - stdout ]────────────────────────────────────────────────────────╮
00:31:11 verbose #17805 > > │ __assert_eq / actual: US0_0 5 / expected: US0_0 5                            │
00:31:11 verbose #17806 > > │                                                                              │
00:31:11 verbose #17807 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:11 verbose #17808 > >
00:31:11 verbose #17809 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:11 verbose #17810 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:11 verbose #17811 > > │ ### exists'                                                                  │
00:31:11 verbose #17812 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:11 verbose #17813 > >
00:31:11 verbose #17814 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:11 verbose #17815 > > inl exists' f x =
00:31:11 verbose #17816 > >     inl length_x : i64 = x |> listm.length
00:31:11 verbose #17817 > >     let rec loop i =
00:31:11 verbose #17818 > >         if i >= length_x
00:31:11 verbose #17819 > >         then false
00:31:11 verbose #17820 > >         elif x |> item i |> f
00:31:11 verbose #17821 > >         then true
00:31:11 verbose #17822 > >         else loop (i + 1)
00:31:11 verbose #17823 > >     loop 0
00:31:11 verbose #17824 > 00:31:11   debug #1021 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac298a668672d93f64eb8e9ffca419fec4833723f905c1644e1737c9dce3573d/main.spi
00:31:12 verbose #17825 > >
00:31:12 verbose #17826 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:12 verbose #17827 > > //// test
00:31:12 verbose #17828 > >
00:31:12 verbose #17829 > > [[ 'a'; 'b'; 'c' ]]
00:31:12 verbose #17830 > > |> exists' fun x => x = 'b'
00:31:12 verbose #17831 > > |> _assert_eq true
00:31:12 verbose #17832 > >
00:31:12 verbose #17833 > > [[ 'a'; 'b' ]]
00:31:12 verbose #17834 > > |> exists' fun x => x = 'c'
00:31:12 verbose #17835 > > |> _assert_eq false
00:31:12 verbose #17836 > >
00:31:12 verbose #17837 > > [[]]
00:31:12 verbose #17838 > > |> exists' fun x => x = 'a'
00:31:12 verbose #17839 > > |> _assert_eq false
00:31:12 verbose #17840 > 00:31:11   debug #1022 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9c5445379b3e3455f365331f6d0ba17fb6e14aad833a707aa55760256d6653dd/main.spi
00:31:12 verbose #17841 > >
00:31:12 verbose #17842 > > ╭─[ 551.06ms - stdout ]────────────────────────────────────────────────────────╮
00:31:12 verbose #17843 > > │ __assert_eq / actual: true / expected: true                                  │
00:31:12 verbose #17844 > > │ __assert_eq / actual: false / expected: false                                │
00:31:12 verbose #17845 > > │ __assert_eq / actual: false / expected: false                                │
00:31:12 verbose #17846 > > │                                                                              │
00:31:12 verbose #17847 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:12 verbose #17848 > >
00:31:12 verbose #17849 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:12 verbose #17850 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:12 verbose #17851 > > │ ## fsharp                                                                    │
00:31:12 verbose #17852 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:12 verbose #17853 > >
00:31:12 verbose #17854 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:12 verbose #17855 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:12 verbose #17856 > > │ ### list'                                                                    │
00:31:12 verbose #17857 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:12 verbose #17858 > >
00:31:12 verbose #17859 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:12 verbose #17860 > > nominal list' t = $"backend_switch `({ Fsharp : $'`t list'; Python :
00:31:12 verbose #17861 > > $'List[[`t]]' })"
00:31:12 verbose #17862 > 00:31:11   debug #1023 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cc41ed68f166c8007ab7e930b199a9f0376a0d8b7220eef3fadee76cf688923b/main.spi
00:31:12 verbose #17863 > >
00:31:12 verbose #17864 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:12 verbose #17865 > > inl empty' forall t. () : list' t =
00:31:12 verbose #17866 > >     $'[[]]'
00:31:13 verbose #17867 > 00:31:12   debug #1024 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4228352ff945d47ad00895cc766c80681c03fafb00fbff735a6baf3db88b291c/main.spi
00:31:13 verbose #17868 > >
00:31:13 verbose #17869 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:13 verbose #17870 > > inl cons' forall t. (head : t) (tail : list' t) : list' t =
00:31:13 verbose #17871 > >     backend_switch {
00:31:13 verbose #17872 > >         Fsharp = fun () => $'!head :: !tail ' : list' t
00:31:13 verbose #17873 > >         Python = fun () =>
00:31:13 verbose #17874 > >             $'!tail.insert(0, !head)'
00:31:13 verbose #17875 > >             $'!tail ' : list' t
00:31:13 verbose #17876 > >     }
00:31:13 verbose #17877 > 00:31:12   debug #1025 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/51124402b26b82a57afc07366f5a9c8c41df375cb4713a1e59655bd6965bd02e/main.spi
00:31:13 verbose #17878 > >
00:31:13 verbose #17879 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:13 verbose #17880 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:13 verbose #17881 > > │ ### box                                                                      │
00:31:13 verbose #17882 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:13 verbose #17883 > >
00:31:13 verbose #17884 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:13 verbose #17885 > > inl box forall t. (list : list t) : list' t =
00:31:13 verbose #17886 > >     (list, empty' ())
00:31:13 verbose #17887 > >     ||> listm.foldBack fun x acc =>
00:31:13 verbose #17888 > >         acc |> cons' x
00:31:14 verbose #17889 > 00:31:13   debug #1026 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/35ab1849b21ae783fc28309cce0eccbaac352daf4df53b1259fe24c6fb12b11b/main.spi
00:31:14 verbose #17890 > >
00:31:14 verbose #17891 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:14 verbose #17892 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:14 verbose #17893 > > │ ### fold'                                                                    │
00:31:14 verbose #17894 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:14 verbose #17895 > >
00:31:14 verbose #17896 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:14 verbose #17897 > > inl fold' forall t u. (fn : t -> u) (init : list u) (list : list' t) : list u =
00:31:14 verbose #17898 > >     backend_switch {
00:31:14 verbose #17899 > >         Fsharp = fun () =>
00:31:14 verbose #17900 > >             (init, list)
00:31:14 verbose #17901 > >             ||> $'List.fold' join fun acc x => Cons (fn x, acc)
00:31:14 verbose #17902 > >             : list u
00:31:14 verbose #17903 > >         Python = fun () =>
00:31:14 verbose #17904 > >             $'x = !init '
00:31:14 verbose #17905 > >             $'for x in !list: x = !fn(x)'
00:31:14 verbose #17906 > >             $'x' : list u
00:31:14 verbose #17907 > >     }
00:31:14 verbose #17908 > 00:31:13   debug #1027 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/41eed85454897c606d69ab05d696a6e8eaa1e5d47028a65daa36c12b72a4c57b/main.spi
00:31:14 verbose #17909 > >
00:31:14 verbose #17910 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:14 verbose #17911 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:14 verbose #17912 > > │ ### fold_back'                                                               │
00:31:14 verbose #17913 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:14 verbose #17914 > >
00:31:14 verbose #17915 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:14 verbose #17916 > > inl fold_back' forall t u. (fn : t -> u) (list : list' t) (init : list u) : list
00:31:14 verbose #17917 > > u =
00:31:14 verbose #17918 > >     backend_switch {
00:31:14 verbose #17919 > >         Fsharp = fun () =>
00:31:14 verbose #17920 > >             (list, init)
00:31:14 verbose #17921 > >             ||> $'List.foldBack' join fun x acc => Cons (fn x, acc)
00:31:14 verbose #17922 > >             : list u
00:31:14 verbose #17923 > >         Python = fun () =>
00:31:14 verbose #17924 > >             $'x = !init '
00:31:14 verbose #17925 > >             $'for x in reversed(!list): x = !fn(x)'
00:31:14 verbose #17926 > >             $'x' : list u
00:31:14 verbose #17927 > >     }
00:31:14 verbose #17928 > 00:31:14   debug #1028 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b5ba365603ae86a2e4752c6bec5c8755597c68e2e4492e12fe6e9650c66f4682/main.spi
00:31:15 verbose #17929 > >
00:31:15 verbose #17930 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:15 verbose #17931 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:15 verbose #17932 > > │ ### filter'                                                                  │
00:31:15 verbose #17933 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:15 verbose #17934 > >
00:31:15 verbose #17935 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:15 verbose #17936 > > inl filter' forall t. (fn : t -> bool) (list : list' t) : list' t =
00:31:15 verbose #17937 > >     backend_switch {
00:31:15 verbose #17938 > >         Fsharp = fun () => list |> $'"List.filter !fn"' : list' t
00:31:15 verbose #17939 > >         Python = fun () => $'list(filter(!fn, !list))' : list' t
00:31:15 verbose #17940 > >     }
00:31:15 verbose #17941 > 00:31:14   debug #1029 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/519d116cfb210de81a8d77b9265008d585244714099a9c4249297fd49bb72c3f/main.spi
00:31:15 verbose #17942 > >
00:31:15 verbose #17943 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:15 verbose #17944 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:15 verbose #17945 > > │ ### map                                                                      │
00:31:15 verbose #17946 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:15 verbose #17947 > >
00:31:15 verbose #17948 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:15 verbose #17949 > > inl map forall t u. (fn : t -> u) (list : list' t) : list' u =
00:31:15 verbose #17950 > >     backend_switch {
00:31:15 verbose #17951 > >         Fsharp = fun () => list |> $'List.map' fn : list' u
00:31:15 verbose #17952 > >         Python = fun () => $'list(map(!fn, !list))' : list' u
00:31:15 verbose #17953 > >     }
00:31:15 verbose #17954 > 00:31:14   debug #1030 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/999b4a8a741111821ee91ab04f56cb357cf8c4974c9beaa0e450825e5a3cef55/main.spi
00:31:15 verbose #17955 > >
00:31:15 verbose #17956 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:15 verbose #17957 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:15 verbose #17958 > > │ ### unbox                                                                    │
00:31:15 verbose #17959 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:15 verbose #17960 > >
00:31:15 verbose #17961 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:15 verbose #17962 > > inl unbox forall t. (list : list' t) : list t =
00:31:15 verbose #17963 > >     (list, Nil)
00:31:15 verbose #17964 > >     ||> fold_back' id
00:31:16 verbose #17965 > 00:31:15   debug #1031 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/259beec62d897679f5f2d7bfbc413aeb2ba147c53575a2ce4b572e2f3f8cb111/main.spi
00:31:16 verbose #17966 > >
00:31:16 verbose #17967 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:16 verbose #17968 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:16 verbose #17969 > > │ ### distinct'                                                                │
00:31:16 verbose #17970 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:16 verbose #17971 > >
00:31:16 verbose #17972 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:16 verbose #17973 > > inl distinct' forall t. (list : list' t) : list' t =
00:31:16 verbose #17974 > >     backend_switch {
00:31:16 verbose #17975 > >         Fsharp = fun () => list |> $'List.distinct' : list' t
00:31:16 verbose #17976 > >         Python = fun () => $'list(set(!list))' : list' t
00:31:16 verbose #17977 > >     }
00:31:16 verbose #17978 > 00:31:15   debug #1032 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5ea3172eca6510064925eb2bb736f43799fbd09049af3faedddd2d6b654a73fd/main.spi
00:31:16 verbose #17979 > >
00:31:16 verbose #17980 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:16 verbose #17981 > > //// test
00:31:16 verbose #17982 > >
00:31:16 verbose #17983 > > [[ "1"; "2"; "2"; "3" ]]
00:31:16 verbose #17984 > > |> box
00:31:16 verbose #17985 > > |> distinct'
00:31:16 verbose #17986 > > |> unbox
00:31:16 verbose #17987 > > |> _assert_eq [[ "1"; "2"; "3" ]]
00:31:16 verbose #17988 > 00:31:16   debug #1033 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/08b005aedc9eba44762be4f5a7e9c4527a2d911f59a9715ababb2e08c0636a9d/main.spi
00:31:17 verbose #17989 > >
00:31:17 verbose #17990 > > ╭─[ 437.04ms - stdout ]────────────────────────────────────────────────────────╮
00:31:17 verbose #17991 > > │ __assert_eq / actual: UH0_1 ("1", UH0_1 ("2", UH0_1 ("3", UH0_0))) /         │
00:31:17 verbose #17992 > > │ expected: UH0_1 ("1", UH0_1 ("2", UH0_1 ("3", UH0_0)))                       │
00:31:17 verbose #17993 > > │                                                                              │
00:31:17 verbose #17994 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:17 verbose #17995 > >
00:31:17 verbose #17996 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:17 verbose #17997 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:17 verbose #17998 > > │ ### to_array'                                                                │
00:31:17 verbose #17999 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:17 verbose #18000 > >
00:31:17 verbose #18001 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:17 verbose #18002 > > inl to_array' forall t. (items : list' t) : array_base t =
00:31:17 verbose #18003 > >     backend_switch {
00:31:17 verbose #18004 > >         Fsharp = fun () => items |> $'List.toArray' : array_base t
00:31:17 verbose #18005 > >         Python = fun () => $'cp.array(!items)' : array_base t
00:31:17 verbose #18006 > >     }
00:31:17 verbose #18007 > 00:31:16   debug #1034 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9fa875c208245b60c0430c5074806f3035b1b924967cc598429aaf4ecbee6017/main.spi
00:31:17 verbose #18008 > 00:00:31 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 32996 }
00:31:17 verbose #18009 > 00:00:31   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:31:17 verbose #18010 >     "nbconvert",
00:31:17 verbose #18011 >     "c:/home/git/polyglot/lib/spiral/listm'.dib.ipynb",
00:31:17 verbose #18012 >     "--to",
00:31:17 verbose #18013 >     "html",
00:31:17 verbose #18014 >     "--HTMLExporter.theme=dark",
00:31:17 verbose #18015 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/listm'.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:31:19 verbose #18016 > 00:00:33 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/listm'.dib.ipynb to html
00:31:19 verbose #18017 > 00:00:33 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:31:19 verbose #18018 > 00:00:33 verbose #7 !   validate(nb)
00:31:21 verbose #18019 > 00:00:35 verbose #8 ! [NbConvertApp] Writing 380373 bytes to c:\home\git\polyglot\lib\spiral\listm'.dib.html
00:31:21 verbose #18020 > 00:00:35 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 643 }
00:31:21 verbose #18021 > 00:00:35   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 643 }
00:31:21 verbose #18022 > 00:00:35   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:31:21 verbose #18023 >     "-c",
00:31:21 verbose #18024 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/listm''.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:31:21 verbose #18025 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/listm''.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:31:22 verbose #18026 > 00:00:36 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:31:22 verbose #18027 > 00:00:36   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:31:23 verbose #18028 > 00:00:36   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 33698 }
00:31:23   debug #18029 runtime.execute_with_options_async / { exit_code = 0; output_length = 37930 }
00:31:23   debug #24 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path listm'.dib --retries 3
00:31:23   debug #18030 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path reflection.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:31:23 verbose #18031 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "reflection.dib", "--retries", "3"])) }
00:31:23 verbose #18032 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:31:23 verbose #18033 >     "repl",
00:31:23 verbose #18034 >     "--exit-after-run",
00:31:23 verbose #18035 >     "--run",
00:31:23 verbose #18036 >     "c:/home/git/polyglot/lib/spiral/reflection.dib",
00:31:23 verbose #18037 >     "--output-path",
00:31:23 verbose #18038 >     "c:/home/git/polyglot/lib/spiral/reflection.dib.ipynb",
00:31:23 verbose #18039 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/reflection.dib" --output-path "c:/home/git/polyglot/lib/spiral/reflection.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:31:25 verbose #18040 > >
00:31:25 verbose #18041 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:25 verbose #18042 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:25 verbose #18043 > > │ # reflection                                                                 │
00:31:25 verbose #18044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:29 verbose #18045 > >
00:31:29 verbose #18046 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:29 verbose #18047 > > //// test
00:31:29 verbose #18048 > >
00:31:29 verbose #18049 > > open testing
00:31:30 verbose #18050 > 00:31:29   debug #1035 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:31:30 verbose #18051 > >
00:31:30 verbose #18052 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:30 verbose #18053 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:30 verbose #18054 > > │ ## reflection                                                                │
00:31:30 verbose #18055 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:30 verbose #18056 > >
00:31:30 verbose #18057 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:30 verbose #18058 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:30 verbose #18059 > > │ ### get_union_fields                                                         │
00:31:30 verbose #18060 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:30 verbose #18061 > >
00:31:30 verbose #18062 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:30 verbose #18063 > > inl get_union_fields forall union_type. () : list (string * union_type) =
00:31:30 verbose #18064 > >     real
00:31:30 verbose #18065 > >         real_core.union_to_record
00:31:30 verbose #18066 > >             `union_type
00:31:30 verbose #18067 > >             forall union_record_type. =>
00:31:30 verbose #18068 > >                 real_core.record_type_fold
00:31:30 verbose #18069 > >                     fun acc key =>
00:31:30 verbose #18070 > >                         forall value. =>
00:31:30 verbose #18071 > >                             inl value =
00:31:30 verbose #18072 > >                                 typecase value with
00:31:30 verbose #18073 > >                                 | () => $'' : value
00:31:30 verbose #18074 > >                                 | _ =>
00:31:30 verbose #18075 > >                                     backend_switch `value `({}) {
00:31:30 verbose #18076 > >                                         Fsharp =
00:31:30 verbose #18077 > >                                             (fun () =>
00:31:30 verbose #18078 > >                                                 $'Unchecked.defaultof<_>' :
00:31:30 verbose #18079 > > value
00:31:30 verbose #18080 > >                                             ) : () -> value
00:31:30 verbose #18081 > >                                         Python =
00:31:30 verbose #18082 > >                                             (fun () =>
00:31:30 verbose #18083 > >                                                 $'None' : value
00:31:30 verbose #18084 > >                                             ) : () -> value
00:31:30 verbose #18085 > >                                     }
00:31:30 verbose #18086 > >                             inl item = real_core.nominal_create `union_type
00:31:30 verbose #18087 > > (key, value)
00:31:30 verbose #18088 > >                             inl key' = real_sm'.symbol_to_string `(`key)
00:31:30 verbose #18089 > >                             (::) `(string * union_type) (key', item) acc
00:31:30 verbose #18090 > >                     (Nil `(string * union_type))
00:31:30 verbose #18091 > >                     `union_record_type
00:31:30 verbose #18092 > 00:31:30   debug #1036 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6885323bd4ad9770b199d798ebdca188d26b9a186306ee363165c73874aebdb6/main.spi
00:31:31 verbose #18093 > >
00:31:31 verbose #18094 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:31 verbose #18095 > > //// test
00:31:31 verbose #18096 > > ///! fsharp
00:31:31 verbose #18097 > > ///! rust
00:31:31 verbose #18098 > > ///! typescript
00:31:31 verbose #18099 > > ///! python
00:31:31 verbose #18100 > >
00:31:31 verbose #18101 > > get_union_fields ()
00:31:31 verbose #18102 > > |> listm'.box
00:31:31 verbose #18103 > > |> listm'.to_array'
00:31:31 verbose #18104 > > |> a
00:31:31 verbose #18105 > > |> am'.sort_by snd
00:31:31 verbose #18106 > > |> fun (a x : _ int _) => x
00:31:31 verbose #18107 > > |> _assert_eq' ;[[ "Native", Native; "Wasm", Wasm; "Contract", Contract ]]
00:31:31 verbose #18108 > 00:31:30   debug #1037 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/787c6eae81eb35d0c14f24c04592a369ba3ce514a4dc6444bdef0b56aeed0622/main.spi
00:31:37 verbose #18109 > >
00:31:37 verbose #18110 > > ╭─[ 6.06s - return value ]─────────────────────────────────────────────────────╮
00:31:37 verbose #18111 > > │ .rs output:                                                                  │
00:31:37 verbose #18112 > > │ __assert_eq' / actual: Array(MutCell([("Native", US0_0), ("Wasm", US0_1),    │
00:31:37 verbose #18113 > > │ ("Contract", US0_2)])) / expected: Array(MutCell([("Native", US0_0),         │
00:31:37 verbose #18114 > > │ ("Wasm", US0_1), ("Contract", US0_2)]))                                      │
00:31:37 verbose #18115 > > │                                                                              │
00:31:37 verbose #18116 > > │ .ts output:                                                                  │
00:31:37 verbose #18117 > > │ __assert_eq' / actual: Native,US0_0,Wasm,US0_1,Contract,US0_2 / expected:    │
00:31:37 verbose #18118 > > │ Native,US0_0,Wasm,US0_1,Contract,US0_2                                       │
00:31:37 verbose #18119 > > │                                                                              │
00:31:37 verbose #18120 > > │ .py output:                                                                  │
00:31:37 verbose #18121 > > │ __assert_eq' / actual: [('Native', US0_0), ('Wasm', US0_1), ('Contract',     │
00:31:37 verbose #18122 > > │ US0_2)] / expected: [('Native', US0_0), ('Wasm', US0_1), ('Contract',        │
00:31:37 verbose #18123 > > │ US0_2)]                                                                      │
00:31:37 verbose #18124 > > │                                                                              │
00:31:37 verbose #18125 > > │                                                                              │
00:31:37 verbose #18126 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:37 verbose #18127 > >
00:31:37 verbose #18128 > > ╭─[ 6.06s - stdout ]───────────────────────────────────────────────────────────╮
00:31:37 verbose #18129 > > │ .fsx output:                                                                 │
00:31:37 verbose #18130 > > │ __assert_eq' / actual: [|struct ("Native", US0_0); struct ("Wasm", US0_1);   │
00:31:37 verbose #18131 > > │ struct ("Contract", US0_2)|] / expected: [|struct ("Native", US0_0); struct  │
00:31:37 verbose #18132 > > │ ("Wasm", US0_1); struct ("Contract", US0_2)|]                                │
00:31:37 verbose #18133 > > │                                                                              │
00:31:37 verbose #18134 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:37 verbose #18135 > >
00:31:37 verbose #18136 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:37 verbose #18137 > > //// test
00:31:37 verbose #18138 > > ///! fsharp
00:31:37 verbose #18139 > > ///! rust
00:31:37 verbose #18140 > > ///! typescript
00:31:37 verbose #18141 > > ///! python
00:31:37 verbose #18142 > >
00:31:37 verbose #18143 > > get_union_fields ()
00:31:37 verbose #18144 > > |> listm'.box
00:31:37 verbose #18145 > > |> listm'.to_array'
00:31:37 verbose #18146 > > |> a
00:31:37 verbose #18147 > > |> am'.sort_by snd
00:31:37 verbose #18148 > > |> fun (a x : _ int _) => x
00:31:37 verbose #18149 > > |> _assert_eq' ;[[ "Some", Some 0i32; "None", None ]]
00:31:37 verbose #18150 > 00:31:36   debug #1038 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c71afe6c83cc842a3965983f26c18f8de956cb177682fb846c614c1b6a561930/main.spi
00:31:41 verbose #18151 > >
00:31:41 verbose #18152 > > ╭─[ 4.79s - return value ]─────────────────────────────────────────────────────╮
00:31:41 verbose #18153 > > │ .rs output:                                                                  │
00:31:41 verbose #18154 > > │ __assert_eq' / actual: Array(MutCell([("Some", US0_0(0)), ("None", US0_1)])) │
00:31:41 verbose #18155 > > │ / expected: Array(MutCell([("Some", US0_0(0)), ("None", US0_1)]))            │
00:31:41 verbose #18156 > > │                                                                              │
00:31:41 verbose #18157 > > │ .ts output:                                                                  │
00:31:41 verbose #18158 > > │ __assert_eq' / actual: Some,US0_0 0,None,US0_1 / expected: Some,US0_0        │
00:31:41 verbose #18159 > > │ 0,None,US0_1                                                                 │
00:31:41 verbose #18160 > > │                                                                              │
00:31:41 verbose #18161 > > │ .py output:                                                                  │
00:31:41 verbose #18162 > > │ __assert_eq' / actual: [('Some', US0_0 0), ('None', US0_1)] / expected: [    │
00:31:41 verbose #18163 > > │ ('Some', US0_0 0), ('None', US0_1)]                                          │
00:31:41 verbose #18164 > > │                                                                              │
00:31:41 verbose #18165 > > │                                                                              │
00:31:41 verbose #18166 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:41 verbose #18167 > >
00:31:41 verbose #18168 > > ╭─[ 4.80s - stdout ]───────────────────────────────────────────────────────────╮
00:31:41 verbose #18169 > > │ .fsx output:                                                                 │
00:31:41 verbose #18170 > > │ __assert_eq' / actual: [|struct ("Some", US0_0 0); struct ("None", US0_1)|]  │
00:31:41 verbose #18171 > > │ / expected: [|struct ("Some", US0_0 0); struct ("None", US0_1)|]             │
00:31:41 verbose #18172 > > │                                                                              │
00:31:41 verbose #18173 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:41 verbose #18174 > >
00:31:41 verbose #18175 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:41 verbose #18176 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:41 verbose #18177 > > │ ### get_union_fields_untag                                                   │
00:31:41 verbose #18178 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:41 verbose #18179 > >
00:31:41 verbose #18180 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:42 verbose #18181 > > inl get_union_fields_untag forall union_type. () : list (string * union_type) =
00:31:42 verbose #18182 > >     real
00:31:42 verbose #18183 > >         real_core.union_to_record
00:31:42 verbose #18184 > >             `union_type
00:31:42 verbose #18185 > >             forall union_record_type. =>
00:31:42 verbose #18186 > >                 inl result =
00:31:42 verbose #18187 > >                     real_core.record_type_fold_back
00:31:42 verbose #18188 > >                         fun _key =>
00:31:42 verbose #18189 > >                             forall value. (acc, (i : i32)) =>
00:31:42 verbose #18190 > >                                 inl key, item : (string * union_type) =
00:31:42 verbose #18191 > >                                     real_core.union_untag `union_type i
00:31:42 verbose #18192 > >                                         (fun key => forall value. =>
00:31:42 verbose #18193 > >                                             inl key' = real_sm'.symbol_to_string
00:31:42 verbose #18194 > > `(`key)
00:31:42 verbose #18195 > >                                             inl value =
00:31:42 verbose #18196 > >                                                 typecase value with
00:31:42 verbose #18197 > >                                                 | () => $'' : value
00:31:42 verbose #18198 > >                                                 | _ =>
00:31:42 verbose #18199 > >                                                     backend_switch `value `({})
00:31:42 verbose #18200 > > {
00:31:42 verbose #18201 > >                                                         Fsharp =
00:31:42 verbose #18202 > >                                                             (fun () =>
00:31:42 verbose #18203 > >
00:31:42 verbose #18204 > > $'Unchecked.defaultof<_>' : value
00:31:42 verbose #18205 > >                                                             ) : () -> value
00:31:42 verbose #18206 > >                                                         Python =
00:31:42 verbose #18207 > >                                                             (fun () =>
00:31:42 verbose #18208 > >                                                                 $'None' : value
00:31:42 verbose #18209 > >                                                             ) : () -> value
00:31:42 verbose #18210 > >                                                     }
00:31:42 verbose #18211 > >                                             inl item = real_core.nominal_create
00:31:42 verbose #18212 > > `union_type (key, value)
00:31:42 verbose #18213 > >                                             key', item
00:31:42 verbose #18214 > >                                         )
00:31:42 verbose #18215 > >                                         (fun _ =>
00:31:42 verbose #18216 > >                                             failwith
00:31:42 verbose #18217 > >                                                 `(string * union_type)
00:31:42 verbose #18218 > >
00:31:42 verbose #18219 > > "reflection.get_union_fields_untag / invalid tag"
00:31:42 verbose #18220 > >                                         )
00:31:42 verbose #18221 > >                                 (::) `(string * union_type) (key, item) acc, (+)
00:31:42 verbose #18222 > > `i32 i 1
00:31:42 verbose #18223 > >                         `union_record_type
00:31:42 verbose #18224 > >                         (Nil `(string * union_type), 0i32)
00:31:42 verbose #18225 > >                 inl result = fst `(list (string * union_type)) `i32 result
00:31:42 verbose #18226 > >                 listm.rev `(string * union_type) result
00:31:42 verbose #18227 > 00:31:41   debug #1039 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/da35eaa1ea4cb2160269292b3f3041e0ea808b587eef8f559836f9547a774b41/main.spi
00:31:42 verbose #18228 > >
00:31:42 verbose #18229 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:42 verbose #18230 > > //// test
00:31:42 verbose #18231 > > ///! fsharp
00:31:42 verbose #18232 > > ///! cuda
00:31:42 verbose #18233 > > ///! rust
00:31:42 verbose #18234 > > ///! typescript
00:31:42 verbose #18235 > > ///! python
00:31:42 verbose #18236 > >
00:31:42 verbose #18237 > > get_union_fields_untag ()
00:31:42 verbose #18238 > > |> _assert_eq' [[ "Native", Native; "Wasm", Wasm; "Contract", Contract ]]
00:31:42 verbose #18239 > 00:31:41   debug #1040 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/00774b0273cdc4869f06c8b92db4e9c20964f28b07cb0d1d8ff1a965f12ff96b/main.spi
00:31:42 verbose #18240 > 00:31:41   debug #1041 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4c33e42356430e2d8edf8d98bb309542417a7711e17e1d43fce5ed6bcefa8636/main.spi
00:31:47 verbose #18241 > >
00:31:47 verbose #18242 > > ╭─[ 5.50s - return value ]─────────────────────────────────────────────────────╮
00:31:47 verbose #18243 > > │ .py output (Cuda):                                                           │
00:31:47 verbose #18244 > > │ __assert_eq' / actual: UH0_1(v0='Native', v1=US0_0(), v2=UH0_1(v0='Wasm',    │
00:31:47 verbose #18245 > > │ v1=US0_1(), v2=UH0_1(v0='Contract', v1=US0_2(), v2=UH0_0()))) / expected:    │
00:31:47 verbose #18246 > > │ UH0_1(v0='Native', v1=US0_0(), v2=UH0_1(v0='Wasm', v1=US0_1(),               │
00:31:47 verbose #18247 > > │ v2=UH0_1(v0='Contract', v1=US0_2(), v2=UH0_0())))                            │
00:31:47 verbose #18248 > > │                                                                              │
00:31:47 verbose #18249 > > │ .rs output:                                                                  │
00:31:47 verbose #18250 > > │ __assert_eq' / actual: UH0_1("Native", US0_0, UH0_1("Wasm", US0_1,           │
00:31:47 verbose #18251 > > │ UH0_1("Contract", US0_2, UH0_0))) / expected: UH0_1("Native", US0_0,         │
00:31:47 verbose #18252 > > │ UH0_1("Wasm", US0_1, UH0_1("Contract", US0_2, UH0_0)))                       │
00:31:47 verbose #18253 > > │                                                                              │
00:31:47 verbose #18254 > > │ .ts output:                                                                  │
00:31:47 verbose #18255 > > │ __assert_eq' / actual: UH0_1 (Native, US0_0, UH0_1 (Wasm, US0_1, UH0_1       │
00:31:47 verbose #18256 > > │ (Contract, US0_2, UH0_0))) / expected: UH0_1 (Native, US0_0, UH0_1 (Wasm,    │
00:31:47 verbose #18257 > > │ US0_1, UH0_1 (Contract, US0_2, UH0_0)))                                      │
00:31:47 verbose #18258 > > │                                                                              │
00:31:47 verbose #18259 > > │ .py output:                                                                  │
00:31:47 verbose #18260 > > │ __assert_eq' / actual: UH0_1 ("Native", US0_0, UH0_1 ("Wasm", US0_1, UH0_1   │
00:31:47 verbose #18261 > > │ ("Contract", US0_2, UH0_0))) / expected: UH0_1 ("Native", US0_0, UH0_1       │
00:31:47 verbose #18262 > > │ ("Wasm", US0_1, UH0_1 ("Contract", US0_2, UH0_0)))                           │
00:31:47 verbose #18263 > > │                                                                              │
00:31:47 verbose #18264 > > │                                                                              │
00:31:47 verbose #18265 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:47 verbose #18266 > >
00:31:47 verbose #18267 > > ╭─[ 5.50s - stdout ]───────────────────────────────────────────────────────────╮
00:31:47 verbose #18268 > > │ .fsx output:                                                                 │
00:31:47 verbose #18269 > > │ __assert_eq' / actual: UH0_1 ("Native", US0_0, UH0_1 ("Wasm", US0_1, UH0_1   │
00:31:47 verbose #18270 > > │ ("Contract", US0_2, UH0_0))) / expected: UH0_1 ("Native", US0_0, UH0_1       │
00:31:47 verbose #18271 > > │ ("Wasm", US0_1, UH0_1 ("Contract", US0_2, UH0_0)))                           │
00:31:47 verbose #18272 > > │                                                                              │
00:31:47 verbose #18273 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:47 verbose #18274 > >
00:31:47 verbose #18275 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:47 verbose #18276 > > //// test
00:31:47 verbose #18277 > > ///! fsharp
00:31:47 verbose #18278 > > ///! cuda
00:31:47 verbose #18279 > > ///! rust
00:31:47 verbose #18280 > > ///! typescript
00:31:47 verbose #18281 > > ///! python
00:31:47 verbose #18282 > >
00:31:47 verbose #18283 > > get_union_fields_untag ()
00:31:47 verbose #18284 > > |> _assert_eq' [[ "Some", Some (); "None", None ]]
00:31:48 verbose #18285 > 00:31:47   debug #1042 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d7426eed1483e6c8eed6b3b4b90d9a2554e6820b7115343f143360c3ab209ccf/main.spi
00:31:48 verbose #18286 > 00:31:47   debug #1043 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/59bde75fd13d91caf9b93f9a6dd9b3572574165b6a8e1ed4ecda548d84ddc217/main.spi
00:31:53 verbose #18287 > >
00:31:53 verbose #18288 > > ╭─[ 5.87s - return value ]─────────────────────────────────────────────────────╮
00:31:53 verbose #18289 > > │ .py output (Cuda):                                                           │
00:31:53 verbose #18290 > > │ __assert_eq' / actual: UH0_1(v0='Some', v1=US0_0(), v2=UH0_1(v0='None',      │
00:31:53 verbose #18291 > > │ v1=US0_1(), v2=UH0_0())) / expected: UH0_1(v0='Some', v1=US0_0(),            │
00:31:53 verbose #18292 > > │ v2=UH0_1(v0='None', v1=US0_1(), v2=UH0_0()))                                 │
00:31:53 verbose #18293 > > │                                                                              │
00:31:53 verbose #18294 > > │ .rs output:                                                                  │
00:31:53 verbose #18295 > > │ __assert_eq' / actual: UH0_1("Some", US0_0, UH0_1("None", US0_1, UH0_0)) /   │
00:31:53 verbose #18296 > > │ expected: UH0_1("Some", US0_0, UH0_1("None", US0_1, UH0_0))                  │
00:31:53 verbose #18297 > > │                                                                              │
00:31:53 verbose #18298 > > │ .ts output:                                                                  │
00:31:53 verbose #18299 > > │ __assert_eq' / actual: UH0_1 (Some, US0_0, UH0_1 (None, US0_1, UH0_0)) /     │
00:31:53 verbose #18300 > > │ expected: UH0_1 (Some, US0_0, UH0_1 (None, US0_1, UH0_0))                    │
00:31:53 verbose #18301 > > │                                                                              │
00:31:53 verbose #18302 > > │ .py output:                                                                  │
00:31:53 verbose #18303 > > │ __assert_eq' / actual: UH0_1 ("Some", US0_0, UH0_1 ("None", US0_1, UH0_0)) / │
00:31:53 verbose #18304 > > │ expected: UH0_1 ("Some", US0_0, UH0_1 ("None", US0_1, UH0_0))                │
00:31:53 verbose #18305 > > │                                                                              │
00:31:53 verbose #18306 > > │                                                                              │
00:31:53 verbose #18307 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:53 verbose #18308 > >
00:31:53 verbose #18309 > > ╭─[ 5.88s - stdout ]───────────────────────────────────────────────────────────╮
00:31:53 verbose #18310 > > │ .fsx output:                                                                 │
00:31:53 verbose #18311 > > │ __assert_eq' / actual: UH0_1 ("Some", US0_0, UH0_1 ("None", US0_1, UH0_0)) / │
00:31:53 verbose #18312 > > │ expected: UH0_1 ("Some", US0_0, UH0_1 ("None", US0_1, UH0_0))                │
00:31:53 verbose #18313 > > │                                                                              │
00:31:53 verbose #18314 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:53 verbose #18315 > >
00:31:53 verbose #18316 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:53 verbose #18317 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:53 verbose #18318 > > │ ### union_try_pick                                                           │
00:31:53 verbose #18319 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:53 verbose #18320 > >
00:31:53 verbose #18321 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:53 verbose #18322 > > inl union_try_pick forall t. (key : string) : option t =
00:31:53 verbose #18323 > >     real get_union_fields_untag `t ()
00:31:53 verbose #18324 > >     |> listm'.try_pick fun key', x =>
00:31:53 verbose #18325 > >         if key' = key
00:31:53 verbose #18326 > >         then Some x
00:31:53 verbose #18327 > >         else None
00:31:53 verbose #18328 > 00:31:53   debug #1044 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4ed7a203d8b6a9bb6e43a7c1c2851badc221186dcf6ea9e18e51eca18d7d8994/main.spi
00:31:54 verbose #18329 > >
00:31:54 verbose #18330 > > ── markdown ────────────────────────────────────────────────────────────────────
00:31:54 verbose #18331 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:31:54 verbose #18332 > > │ ### union_to_string                                                          │
00:31:54 verbose #18333 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:31:54 verbose #18334 > >
00:31:54 verbose #18335 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:54 verbose #18336 > > inl union_to_string forall t. (x : t) : string =
00:31:54 verbose #18337 > >     real get_union_fields_untag `t ()
00:31:54 verbose #18338 > >     |> listm'.try_pick fun key, x' =>
00:31:54 verbose #18339 > >         if x' = x
00:31:54 verbose #18340 > >         then Some key
00:31:54 verbose #18341 > >         else
00:31:54 verbose #18342 > >             inl has_case =
00:31:54 verbose #18343 > >                 real
00:31:54 verbose #18344 > >                     real_core.union_to_record
00:31:54 verbose #18345 > >                         `t
00:31:54 verbose #18346 > >                         forall union_record_type. =>
00:31:54 verbose #18347 > >                             real_core.record_type_fold_back
00:31:54 verbose #18348 > >                                 fun _key =>
00:31:54 verbose #18349 > >                                     forall value. acc =>
00:31:54 verbose #18350 > >                                         if acc
00:31:54 verbose #18351 > >                                         then acc
00:31:54 verbose #18352 > >                                         else
00:31:54 verbose #18353 > >                                             typecase value with
00:31:54 verbose #18354 > >                                             | () => false
00:31:54 verbose #18355 > >                                             | _ => true
00:31:54 verbose #18356 > >                                 `union_record_type
00:31:54 verbose #18357 > >                                 false
00:31:54 verbose #18358 > >             if has_case |> not
00:31:54 verbose #18359 > >             then None
00:31:54 verbose #18360 > >             else
00:31:54 verbose #18361 > >                 inl separator =
00:31:54 verbose #18362 > >                     backend_switch {
00:31:54 verbose #18363 > >                         Fsharp = fun () =>
00:31:54 verbose #18364 > >                             run_target function
00:31:54 verbose #18365 > >                                 | Rust _ => fun () => join "("
00:31:54 verbose #18366 > >                                 | _ => fun () => join " "
00:31:54 verbose #18367 > >                         Python = fun () => "("
00:31:54 verbose #18368 > >                     }
00:31:54 verbose #18369 > >                 inl x' = x' |> sm'.format |> sm'.split separator |>
00:31:54 verbose #18370 > > am'.index_base 0
00:31:54 verbose #18371 > >                 if x |> sm'.format |> sm'.starts_with x'
00:31:54 verbose #18372 > >                 then Some key
00:31:54 verbose #18373 > >                 else None
00:31:54 verbose #18374 > >     |> optionm.value
00:31:54 verbose #18375 > 00:31:53   debug #1045 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/165783848dc70c9920d41ed274fdb36e741e0758ab87abc6583ac11577e18ced/main.spi
00:31:54 verbose #18376 > >
00:31:54 verbose #18377 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:31:54 verbose #18378 > > //// test
00:31:54 verbose #18379 > > ///! fsharp
00:31:54 verbose #18380 > > ///! cuda
00:31:54 verbose #18381 > > ///! rust
00:31:54 verbose #18382 > > ///! typescript
00:31:54 verbose #18383 > > ///! python
00:31:54 verbose #18384 > >
00:31:54 verbose #18385 > > Some true
00:31:54 verbose #18386 > > |> union_to_string
00:31:54 verbose #18387 > > |> _assert_eq' "Some"
00:31:54 verbose #18388 > 00:31:53   debug #1046 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a8a56524e8e9d491acda3f742a9abe1c9e11684d99654f06e1211ba05f05dacc/main.spi
00:31:54 verbose #18389 > 00:31:53   debug #1047 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3e8c634f16db10dd9cfdde83c093aba57f960f0d7d8a5a133a2938db2be9e08d/main.spi
00:32:00 verbose #18390 > >
00:32:00 verbose #18391 > > ╭─[ 5.69s - return value ]─────────────────────────────────────────────────────╮
00:32:00 verbose #18392 > > │ .py output (Cuda):                                                           │
00:32:00 verbose #18393 > > │ __assert_eq' / actual: Some / expected: Some                                 │
00:32:00 verbose #18394 > > │                                                                              │
00:32:00 verbose #18395 > > │ .rs output:                                                                  │
00:32:00 verbose #18396 > > │ __assert_eq' / actual: "Some" / expected: "Some"                             │
00:32:00 verbose #18397 > > │                                                                              │
00:32:00 verbose #18398 > > │ .ts output:                                                                  │
00:32:00 verbose #18399 > > │ __assert_eq' / actual: Some / expected: Some                                 │
00:32:00 verbose #18400 > > │                                                                              │
00:32:00 verbose #18401 > > │ .py output:                                                                  │
00:32:00 verbose #18402 > > │ __assert_eq' / actual: Some / expected: Some                                 │
00:32:00 verbose #18403 > > │                                                                              │
00:32:00 verbose #18404 > > │                                                                              │
00:32:00 verbose #18405 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:00 verbose #18406 > >
00:32:00 verbose #18407 > > ╭─[ 5.69s - stdout ]───────────────────────────────────────────────────────────╮
00:32:00 verbose #18408 > > │ .fsx output:                                                                 │
00:32:00 verbose #18409 > > │ __assert_eq' / actual: "Some" / expected: "Some"                             │
00:32:00 verbose #18410 > > │                                                                              │
00:32:00 verbose #18411 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:00 verbose #18412 > >
00:32:00 verbose #18413 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:00 verbose #18414 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:00 verbose #18415 > > │ ### nameof                                                                   │
00:32:00 verbose #18416 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:00 verbose #18417 > >
00:32:00 verbose #18418 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:00 verbose #18419 > > inl nameof forall t. (x : t) : string =
00:32:00 verbose #18420 > >     real
00:32:00 verbose #18421 > >         real_core.record_type_fold_back
00:32:00 verbose #18422 > >             fun key =>
00:32:00 verbose #18423 > >                 forall value. _ =>
00:32:00 verbose #18424 > >                     real_sm'.symbol_to_string `(`key)
00:32:00 verbose #18425 > >             `t
00:32:00 verbose #18426 > >             ""
00:32:00 verbose #18427 > 00:31:59   debug #1048 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe62573b95980282521ac5975e0b7ef4f5d9a7b5563852b3bac92d867dd859eb/main.spi
00:32:00 verbose #18428 > >
00:32:00 verbose #18429 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:00 verbose #18430 > > //// test
00:32:00 verbose #18431 > >
00:32:00 verbose #18432 > > { test1 = ""; test2 = "" }
00:32:00 verbose #18433 > > |> nameof
00:32:00 verbose #18434 > > |> _assert_eq' "test1"
00:32:00 verbose #18435 > 00:31:59   debug #1049 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8fe5206ce906f0662e9362d74028d18c6f840628bbdec43b0f3abcf248ea5fc8/main.spi
00:32:00 verbose #18436 > >
00:32:00 verbose #18437 > > ╭─[ 390.18ms - stdout ]────────────────────────────────────────────────────────╮
00:32:00 verbose #18438 > > │ __assert_eq' / actual: "test1" / expected: "test1"                           │
00:32:00 verbose #18439 > > │                                                                              │
00:32:00 verbose #18440 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:00 verbose #18441 > >
00:32:00 verbose #18442 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:00 verbose #18443 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:00 verbose #18444 > > │ ### get_record_fields                                                        │
00:32:00 verbose #18445 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:00 verbose #18446 > >
00:32:00 verbose #18447 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:00 verbose #18448 > > inl get_record_fields forall t u. (x : t) : list (string * u) =
00:32:00 verbose #18449 > >     real
00:32:00 verbose #18450 > >         real_core.record_type_fold_back
00:32:00 verbose #18451 > >             fun key =>
00:32:00 verbose #18452 > >                 forall u'. acc =>
00:32:00 verbose #18453 > >                     inl k = real_sm'.symbol_to_string `(`key)
00:32:00 verbose #18454 > >                     inl v = x key
00:32:00 verbose #18455 > >                     (::) `(string * u') (k, v) acc
00:32:00 verbose #18456 > >             `t
00:32:00 verbose #18457 > >             (Nil `(string * u))
00:32:01 verbose #18458 > 00:32:00   debug #1050 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e628219b301b9f9c0e64af045bc918bf3bafa154697558641a5a8455dea88446/main.spi
00:32:01 verbose #18459 > >
00:32:01 verbose #18460 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:01 verbose #18461 > > //// test
00:32:01 verbose #18462 > >
00:32:01 verbose #18463 > > { a = "1"; b = "2" }
00:32:01 verbose #18464 > > |> get_record_fields
00:32:01 verbose #18465 > > |> _assert_eq' [[ "a", "1"; "b", "2" ]]
00:32:01 verbose #18466 > 00:32:00   debug #1051 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3183f0ebe5deea8b4a15bb36139caacc8db7d3d01cd322e666508def40ee62cd/main.spi
00:32:01 verbose #18467 > >
00:32:01 verbose #18468 > > ╭─[ 445.64ms - stdout ]────────────────────────────────────────────────────────╮
00:32:01 verbose #18469 > > │ __assert_eq' / actual: UH0_1 ("a", "1", UH0_1 ("b", "2", UH0_0)) / expected: │
00:32:01 verbose #18470 > > │ UH0_1 ("a", "1", UH0_1 ("b", "2", UH0_0))                                    │
00:32:01 verbose #18471 > > │                                                                              │
00:32:01 verbose #18472 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:01 verbose #18473 > >
00:32:01 verbose #18474 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:01 verbose #18475 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:01 verbose #18476 > > │ ### get_functions_types                                                      │
00:32:01 verbose #18477 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:01 verbose #18478 > >
00:32:01 verbose #18479 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:01 verbose #18480 > > inl get_functions_types forall t {record}. (fns : t) =
00:32:01 verbose #18481 > >     real
00:32:01 verbose #18482 > >         inl get_function_type forall t. =
00:32:01 verbose #18483 > >             inl args forall t {record}. : list (string * string) =
00:32:01 verbose #18484 > >                 real_core.record_type_fold_back
00:32:01 verbose #18485 > >                     fun key =>
00:32:01 verbose #18486 > >                         forall v. acc =>
00:32:01 verbose #18487 > >                             inl k = real_sm'.symbol_to_string `(`key)
00:32:01 verbose #18488 > >                             inl v = $'"`v"' : string
00:32:01 verbose #18489 > >                             (::) `(string * string) (k, v) acc
00:32:01 verbose #18490 > >                     `t
00:32:01 verbose #18491 > >                     (Nil `(string * string))
00:32:01 verbose #18492 > >
00:32:01 verbose #18493 > >             typecase t with
00:32:01 verbose #18494 > >             | ~t -> ~u => args `t, ($'"`u"' : string)
00:32:01 verbose #18495 > >
00:32:01 verbose #18496 > >         real_core.record_type_fold_back
00:32:01 verbose #18497 > >             fun key =>
00:32:01 verbose #18498 > >                 forall v. acc =>
00:32:01 verbose #18499 > >                     inl k = real_sm'.symbol_to_string `(`key)
00:32:01 verbose #18500 > >                     inl args, result = get_function_type `v
00:32:01 verbose #18501 > >                     (::) `(string * (list (string * string) * string)) (k,
00:32:01 verbose #18502 > > (args, result)) acc
00:32:01 verbose #18503 > >             `(`fns)
00:32:01 verbose #18504 > >             (Nil `(string * (list (string * string) * string)))
00:32:01 verbose #18505 > >     |> fun x => x : list (string * (list (string * string) * string))
00:32:02 verbose #18506 > 00:32:01   debug #1052 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32788ce013091a559936f199c50002a923e5e780ad4f9acca3c6fd54553cf407/main.spi
00:32:02 verbose #18507 > >
00:32:02 verbose #18508 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:02 verbose #18509 > > //// test
00:32:02 verbose #18510 > >
00:32:02 verbose #18511 > > inl one ({ a } : { a : i32 }) : i32 = a + 1
00:32:02 verbose #18512 > > inl two ({ a b } : { a : i32; b : i32 }) : i32 = a + b + 2
00:32:02 verbose #18513 > > inl fns = { one two }
00:32:02 verbose #18514 > >
00:32:02 verbose #18515 > > fns
00:32:02 verbose #18516 > > |> get_functions_types
00:32:02 verbose #18517 > > |> listm.map fun (name, args, result) => name, (args |> listm'.box |>
00:32:02 verbose #18518 > > listm'.to_array', result)
00:32:02 verbose #18519 > > |> listm'.box
00:32:02 verbose #18520 > > |> listm'.to_array'
00:32:02 verbose #18521 > > |> sm'.format
00:32:02 verbose #18522 > > |> _assert_eq' (
00:32:02 verbose #18523 > >     [[
00:32:02 verbose #18524 > >         "one", [["a", "int32"]], "int32"
00:32:02 verbose #18525 > >         "two", [["a", "int32"; "b", "int32"]], "int32"
00:32:02 verbose #18526 > >     ]]
00:32:02 verbose #18527 > >     |> listm.map fun (name, args, result) => name, (args |> listm'.box |>
00:32:02 verbose #18528 > > listm'.to_array', result)
00:32:02 verbose #18529 > >     |> listm'.box
00:32:02 verbose #18530 > >     |> listm'.to_array'
00:32:02 verbose #18531 > >     |> sm'.format
00:32:02 verbose #18532 > > )
00:32:02 verbose #18533 > 00:32:01   debug #1053 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9da2ad5b1cb8d0eaabc7030b0efb726ecbcb3990896f35daf83d59bb7c3af0fd/main.spi
00:32:02 verbose #18534 > >
00:32:02 verbose #18535 > > ╭─[ 439.70ms - stdout ]────────────────────────────────────────────────────────╮
00:32:02 verbose #18536 > > │ __assert_eq' / actual: "[|struct ("one", [|struct ("a", "int32")|],          │
00:32:02 verbose #18537 > > │ "int32");                                                                    │
00:32:02 verbose #18538 > > │   struct ("two", [|struct ("a", "int32"); struct ("b", "int32")|],           │
00:32:02 verbose #18539 > > │ "int32")|]" / expected: "[|struct ("one", [|struct ("a", "int32")|],         │
00:32:02 verbose #18540 > > │ "int32");                                                                    │
00:32:02 verbose #18541 > > │   struct ("two", [|struct ("a", "int32"); struct ("b", "int32")|],           │
00:32:02 verbose #18542 > > │ "int32")|]"                                                                  │
00:32:02 verbose #18543 > > │                                                                              │
00:32:02 verbose #18544 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:02 verbose #18545 > 00:00:39 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 24693 }
00:32:02 verbose #18546 > 00:00:39   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:32:02 verbose #18547 >     "nbconvert",
00:32:02 verbose #18548 >     "c:/home/git/polyglot/lib/spiral/reflection.dib.ipynb",
00:32:02 verbose #18549 >     "--to",
00:32:02 verbose #18550 >     "html",
00:32:02 verbose #18551 >     "--HTMLExporter.theme=dark",
00:32:02 verbose #18552 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/reflection.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:05 verbose #18553 > 00:00:41 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/reflection.dib.ipynb to html
00:32:05 verbose #18554 > 00:00:41 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:32:05 verbose #18555 > 00:00:41 verbose #7 !   validate(nb)
00:32:06 verbose #18556 > 00:00:43 verbose #8 ! [NbConvertApp] Writing 326361 bytes to c:\home\git\polyglot\lib\spiral\reflection.dib.html
00:32:06 verbose #18557 > 00:00:43 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 651 }
00:32:06 verbose #18558 > 00:00:43   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 651 }
00:32:06 verbose #18559 > 00:00:43   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:32:06 verbose #18560 >     "-c",
00:32:06 verbose #18561 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/reflection.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:32:06 verbose #18562 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/reflection.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:07 verbose #18563 > 00:00:44 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:32:07 verbose #18564 > 00:00:44   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:32:08 verbose #18565 > 00:00:45   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 25403 }
00:32:08   debug #18566 runtime.execute_with_options_async / { exit_code = 0; output_length = 29089 }
00:32:08   debug #25 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path reflection.dib --retries 3
00:32:08   debug #18567 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path iter.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:08 verbose #18568 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "iter.dib", "--retries", "3"])) }
00:32:08 verbose #18569 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:32:08 verbose #18570 >     "repl",
00:32:08 verbose #18571 >     "--exit-after-run",
00:32:08 verbose #18572 >     "--run",
00:32:08 verbose #18573 >     "c:/home/git/polyglot/lib/spiral/iter.dib",
00:32:08 verbose #18574 >     "--output-path",
00:32:08 verbose #18575 >     "c:/home/git/polyglot/lib/spiral/iter.dib.ipynb",
00:32:08 verbose #18576 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/iter.dib" --output-path "c:/home/git/polyglot/lib/spiral/iter.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:32:10 verbose #18577 > >
00:32:10 verbose #18578 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:10 verbose #18579 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:10 verbose #18580 > > │ # iter                                                                       │
00:32:10 verbose #18581 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:14 verbose #18582 > >
00:32:14 verbose #18583 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:14 verbose #18584 > > open rust
00:32:14 verbose #18585 > > open rust_operators
00:32:15 verbose #18586 > 00:32:14   debug #1054 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd47537238fcdc924c2a6b0a99d4f87ecbbde40a43ba8772a0907b5bf4a50e9d/main.spi
00:32:16 verbose #18587 > >
00:32:16 verbose #18588 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:16 verbose #18589 > > //// test
00:32:16 verbose #18590 > >
00:32:16 verbose #18591 > > open testing
00:32:16 verbose #18592 > 00:32:15   debug #1055 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f990f43922e45080129606975ec74b3f88780cb3b27c2ae1151c776db6e5e262/main.spi
00:32:16 verbose #18593 > >
00:32:16 verbose #18594 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:16 verbose #18595 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:16 verbose #18596 > > │ ## rust                                                                      │
00:32:16 verbose #18597 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:16 verbose #18598 > >
00:32:16 verbose #18599 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:16 verbose #18600 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:16 verbose #18601 > > │ ### enumerate                                                                │
00:32:16 verbose #18602 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:16 verbose #18603 > >
00:32:16 verbose #18604 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:16 verbose #18605 > > inl enumerate forall t. (iter : into_iterator t) : into_iterator (pair
00:32:16 verbose #18606 > > unativeint t) =
00:32:16 verbose #18607 > >     !\($'"!iter.enumerate().map(std::sync::Arc::new)"')
00:32:16 verbose #18608 > 00:32:15   debug #1056 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1bfbfbb53412075476d22c3851c0ca6a3da7604567c68eaaaf9c73f57851a2cf/main.spi
00:32:17 verbose #18609 > >
00:32:17 verbose #18610 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:17 verbose #18611 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:17 verbose #18612 > > │ ### into_iter                                                                │
00:32:17 verbose #18613 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:17 verbose #18614 > >
00:32:17 verbose #18615 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:17 verbose #18616 > > inl into_iter forall (t : * -> *) u. (x : t u) : into_iterator u =
00:32:17 verbose #18617 > >     !\($'"!x.into_iter()"')
00:32:17 verbose #18618 > 00:32:16   debug #1057 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/406ee2ce1de1284849de6586e90fd54c3cf5865e42f3c4f8ed784cd3c670008b/main.spi
00:32:17 verbose #18619 > >
00:32:17 verbose #18620 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:17 verbose #18621 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:17 verbose #18622 > > │ ### iter                                                                     │
00:32:17 verbose #18623 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:17 verbose #18624 > >
00:32:17 verbose #18625 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:17 verbose #18626 > > inl iter forall (t : * -> *) u. (x : t u) : into_iterator u =
00:32:17 verbose #18627 > >     !\($'"!x.iter()"')
00:32:17 verbose #18628 > 00:32:16   debug #1058 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c9a31aca6bb397d5c2b54c1e114867a34ca93669e50f05214f2a939de51b7725/main.spi
00:32:17 verbose #18629 > >
00:32:17 verbose #18630 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:17 verbose #18631 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:17 verbose #18632 > > │ ### map                                                                      │
00:32:17 verbose #18633 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:17 verbose #18634 > >
00:32:17 verbose #18635 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:17 verbose #18636 > > inl map forall t u. (fn : t -> u) (iter : into_iterator t) : into_iterator u =
00:32:17 verbose #18637 > >     !\\(fn, $'"!iter.map(|x| $0(x))"')
00:32:17 verbose #18638 > 00:32:17   debug #1059 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bef41b41aac82ca7171bb744df86fe417c4fd11ecc73c288a43da69f628b2455/main.spi
00:32:18 verbose #18639 > >
00:32:18 verbose #18640 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:18 verbose #18641 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:18 verbose #18642 > > │ ### cloned                                                                   │
00:32:18 verbose #18643 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:18 verbose #18644 > >
00:32:18 verbose #18645 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:18 verbose #18646 > > inl cloned forall t. (iter : into_iterator (rust.ref t)) : into_iterator t =
00:32:18 verbose #18647 > >     !\($'"!iter.cloned()"')
00:32:18 verbose #18648 > 00:32:17   debug #1060 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aef122479694daf9a4f0d46288393eabcfcb6c904d3ced587895dfd15f39e866/main.spi
00:32:18 verbose #18649 > >
00:32:18 verbose #18650 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:18 verbose #18651 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:18 verbose #18652 > > │ ### for_each                                                                 │
00:32:18 verbose #18653 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:18 verbose #18654 > >
00:32:18 verbose #18655 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:18 verbose #18656 > > inl for_each forall t. (fn : t -> ()) (iter : into_iterator t) : () =
00:32:18 verbose #18657 > >     (!\\(fn, $'"true; !iter.for_each(|x| $0(x))"') : bool) |> ignore
00:32:18 verbose #18658 > 00:32:17   debug #1061 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dd4dbbe02acc340c6bed9cf21d08af1f0041b453476b2742b87fb0c6c136a24b/main.spi
00:32:18 verbose #18659 > >
00:32:18 verbose #18660 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:18 verbose #18661 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:18 verbose #18662 > > │ ### try_for_each                                                             │
00:32:18 verbose #18663 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:18 verbose #18664 > >
00:32:18 verbose #18665 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:18 verbose #18666 > > inl try_for_each forall t. (fn : t -> rust.try ()) x : resultm.result' () string
00:32:18 verbose #18667 > > =
00:32:18 verbose #18668 > >     (!\($'"true; let mut !x = !x; let _iter_try_for_each = !x.try_for_each(|x| {
00:32:18 verbose #18669 > > //"') : bool) |> ignore
00:32:18 verbose #18670 > >     (!\\(fn !\($'"x"'), $'"true; $0 }); //"') : bool) |> ignore
00:32:18 verbose #18671 > >     !\($'"_iter_try_for_each.map_err(|x| x.into())"')
00:32:18 verbose #18672 > 00:32:18   debug #1062 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9b0024428003b30f6507384b1bc34dceb417b475a9c5c2d38fbf85ac54362d02/main.spi
00:32:19 verbose #18673 > >
00:32:19 verbose #18674 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:19 verbose #18675 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:19 verbose #18676 > > │ ### all                                                                      │
00:32:19 verbose #18677 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:19 verbose #18678 > >
00:32:19 verbose #18679 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:19 verbose #18680 > > inl all forall t. (fn : t -> bool) (x : rust.mut' (into_iterator t)) : bool =
00:32:19 verbose #18681 > >     x |> rust.to_mut
00:32:19 verbose #18682 > >     !\\(fn, $'$"!x.all(|x| $0(x))"')
00:32:19 verbose #18683 > 00:32:18   debug #1063 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/90f3660f2da1e70fd3b621ef47ce6078957e6dfd730661814c9a3874c99c1259/main.spi
00:32:19 verbose #18684 > >
00:32:19 verbose #18685 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:19 verbose #18686 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:19 verbose #18687 > > │ ### enumerate                                                                │
00:32:19 verbose #18688 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:19 verbose #18689 > >
00:32:19 verbose #18690 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:19 verbose #18691 > > inl enumerate forall dim {int; number} t. (ar : a dim t) : a dim (unativeint *
00:32:19 verbose #18692 > > t) =
00:32:19 verbose #18693 > >     inl (a ar) = ar
00:32:19 verbose #18694 > >     ar
00:32:19 verbose #18695 > >     |> am'.to_vec
00:32:19 verbose #18696 > >     |> into_iter
00:32:19 verbose #18697 > >     |> enumerate
00:32:19 verbose #18698 > >     |> iter_collect
00:32:19 verbose #18699 > >     |> am'.vec_map' from_pair
00:32:19 verbose #18700 > >     |> am'.from_vec
00:32:19 verbose #18701 > 00:32:18   debug #1064 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5190d9edb246dd42712c95cbfbbe42f062cfce47ee442e3f8d3e2c0f4c28ccc7/main.spi
00:32:19 verbose #18702 > >
00:32:19 verbose #18703 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:19 verbose #18704 > > //// test
00:32:19 verbose #18705 > > ///! rust
00:32:19 verbose #18706 > >
00:32:19 verbose #18707 > > am'.init_series 0i32 2 1
00:32:19 verbose #18708 > > |> fun x => a x : _ int _
00:32:19 verbose #18709 > > |> enumerate
00:32:19 verbose #18710 > > |> fun (a x : _ int _) => x
00:32:19 verbose #18711 > > |> _assert_eq' ;[[ convert 0i32, 0; convert 1i32, 1; convert 2i32, 2 ]]
00:32:20 verbose #18712 > 00:32:19   debug #1065 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ba5c88401d38b21d639232df6585b8d86dcb7e01072375f51ea1f902b6dea208/main.spi
00:32:24 verbose #18713 > >
00:32:24 verbose #18714 > > ╭─[ 5.08s - return value ]─────────────────────────────────────────────────────╮
00:32:24 verbose #18715 > > │ __assert_eq' / actual: Array(MutCell([(0, 0), (1, 1), (2, 2)])) / expected:  │
00:32:24 verbose #18716 > > │ Array(MutCell([(0, 0), (1, 1), (2, 2)]))                                     │
00:32:24 verbose #18717 > > │                                                                              │
00:32:24 verbose #18718 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:25 verbose #18719 > 00:00:16 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 6565 }
00:32:25 verbose #18720 > 00:00:16   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:32:25 verbose #18721 >     "nbconvert",
00:32:25 verbose #18722 >     "c:/home/git/polyglot/lib/spiral/iter.dib.ipynb",
00:32:25 verbose #18723 >     "--to",
00:32:25 verbose #18724 >     "html",
00:32:25 verbose #18725 >     "--HTMLExporter.theme=dark",
00:32:25 verbose #18726 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/iter.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:27 verbose #18727 > 00:00:18 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/iter.dib.ipynb to html
00:32:27 verbose #18728 > 00:00:18 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:32:27 verbose #18729 > 00:00:18 verbose #7 !   validate(nb)
00:32:28 verbose #18730 > 00:00:20 verbose #8 ! [NbConvertApp] Writing 291830 bytes to c:\home\git\polyglot\lib\spiral\iter.dib.html
00:32:28 verbose #18731 > 00:00:20 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 639 }
00:32:28 verbose #18732 > 00:00:20   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 639 }
00:32:28 verbose #18733 > 00:00:20   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:32:28 verbose #18734 >     "-c",
00:32:28 verbose #18735 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/iter.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:32:28 verbose #18736 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/iter.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:30 verbose #18737 > 00:00:21 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:32:30 verbose #18738 > 00:00:21   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:32:30 verbose #18739 > 00:00:22   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 7263 }
00:32:30   debug #18740 runtime.execute_with_options_async / { exit_code = 0; output_length = 10181 }
00:32:30   debug #26 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path iter.dib --retries 3
00:32:30   debug #18741 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path wasm.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:30 verbose #18742 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "wasm.dib", "--retries", "3"])) }
00:32:30 verbose #18743 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:32:30 verbose #18744 >     "repl",
00:32:30 verbose #18745 >     "--exit-after-run",
00:32:30 verbose #18746 >     "--run",
00:32:30 verbose #18747 >     "c:/home/git/polyglot/lib/spiral/wasm.dib",
00:32:30 verbose #18748 >     "--output-path",
00:32:30 verbose #18749 >     "c:/home/git/polyglot/lib/spiral/wasm.dib.ipynb",
00:32:30 verbose #18750 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/wasm.dib" --output-path "c:/home/git/polyglot/lib/spiral/wasm.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:32:32 verbose #18751 > >
00:32:32 verbose #18752 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:32 verbose #18753 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:32 verbose #18754 > > │ # wasm                                                                       │
00:32:32 verbose #18755 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:37 verbose #18756 > >
00:32:37 verbose #18757 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:37 verbose #18758 > > open rust
00:32:37 verbose #18759 > > open rust_operators
00:32:37 verbose #18760 > 00:32:36   debug #1066 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd47537238fcdc924c2a6b0a99d4f87ecbbde40a43ba8772a0907b5bf4a50e9d/main.spi
00:32:38 verbose #18761 > >
00:32:38 verbose #18762 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:38 verbose #18763 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:38 verbose #18764 > > │ ### rexie                                                                    │
00:32:38 verbose #18765 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:38 verbose #18766 > >
00:32:38 verbose #18767 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:38 verbose #18768 > > nominal rexie =
00:32:38 verbose #18769 > >     `(
00:32:38 verbose #18770 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:38 verbose #18771 > > Fable.Core.Emit(\"rexie::Rexie\")>]]\n#endif\ntype rexie_Rexie = class end"
00:32:38 verbose #18772 > >         $'' : $'rexie_Rexie'
00:32:38 verbose #18773 > >     )
00:32:38 verbose #18774 > 00:32:37   debug #1067 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9b3f0988d95e5fc6564e8574b2b6f9da1e66bae3540dfd2fa1760f1611e0719f/main.spi
00:32:38 verbose #18775 > >
00:32:38 verbose #18776 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:38 verbose #18777 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:38 verbose #18778 > > │ ### rexie_store                                                              │
00:32:38 verbose #18779 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:38 verbose #18780 > >
00:32:38 verbose #18781 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:38 verbose #18782 > > nominal rexie_store =
00:32:38 verbose #18783 > >     `(
00:32:38 verbose #18784 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:38 verbose #18785 > > Fable.Core.Emit(\"rexie::Store\")>]]\n#endif\ntype rexie_Store = class end"
00:32:38 verbose #18786 > >         $'' : $'rexie_Store'
00:32:38 verbose #18787 > >     )
00:32:38 verbose #18788 > 00:32:37   debug #1068 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a0f613c8d43920e0b233e34729a8f68c6b0bfd398ed27cedf00e78ba38e7d787/main.spi
00:32:39 verbose #18789 > >
00:32:39 verbose #18790 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:39 verbose #18791 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:39 verbose #18792 > > │ ### rexie_transaction                                                        │
00:32:39 verbose #18793 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:39 verbose #18794 > >
00:32:39 verbose #18795 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:39 verbose #18796 > > nominal rexie_transaction =
00:32:39 verbose #18797 > >     `(
00:32:39 verbose #18798 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:39 verbose #18799 > > Fable.Core.Emit(\"rexie::Transaction\")>]]\n#endif\ntype rexie_Transaction =
00:32:39 verbose #18800 > > class end"
00:32:39 verbose #18801 > >         $'' : $'rexie_Transaction'
00:32:39 verbose #18802 > >     )
00:32:39 verbose #18803 > 00:32:38   debug #1069 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c0dbc6ff6ba51692b2e431f322ef5f68a2f64aeac394595f3541d3b53255f06a/main.spi
00:32:39 verbose #18804 > >
00:32:39 verbose #18805 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:39 verbose #18806 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:39 verbose #18807 > > │ ### rexie_error                                                              │
00:32:39 verbose #18808 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:39 verbose #18809 > >
00:32:39 verbose #18810 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:39 verbose #18811 > > nominal rexie_error =
00:32:39 verbose #18812 > >     `(
00:32:39 verbose #18813 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:39 verbose #18814 > > Fable.Core.Emit(\"rexie::Error\")>]]\n#endif\ntype rexie_Error = class end"
00:32:39 verbose #18815 > >         $'' : $'rexie_Error'
00:32:39 verbose #18816 > >     )
00:32:39 verbose #18817 > 00:32:38   debug #1070 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/17f98250a768de20bec262e70f500cc70047034051338002105137e67ad3ef9e/main.spi
00:32:39 verbose #18818 > >
00:32:39 verbose #18819 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:39 verbose #18820 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:39 verbose #18821 > > │ ### js_value                                                                 │
00:32:39 verbose #18822 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:39 verbose #18823 > >
00:32:39 verbose #18824 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:39 verbose #18825 > > nominal js_value =
00:32:39 verbose #18826 > >     `(
00:32:39 verbose #18827 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:39 verbose #18828 > > Fable.Core.Emit(\"wasm_bindgen::JsValue\")>]]\n#endif\ntype wasm_bindgen_JsValue
00:32:39 verbose #18829 > > = class end"
00:32:39 verbose #18830 > >         $'' : $'wasm_bindgen_JsValue'
00:32:39 verbose #18831 > >     )
00:32:39 verbose #18832 > 00:32:39   debug #1071 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7518691ddae4c95492efdc5df519534cd0fdad79328e88e879e1d52d14613ef9/main.spi
00:32:40 verbose #18833 > >
00:32:40 verbose #18834 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:40 verbose #18835 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:40 verbose #18836 > > │ ### closure                                                                  │
00:32:40 verbose #18837 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:40 verbose #18838 > >
00:32:40 verbose #18839 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:40 verbose #18840 > > nominal closure t =
00:32:40 verbose #18841 > >     `(
00:32:40 verbose #18842 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:40 verbose #18843 > > Fable.Core.Emit(\"wasm_bindgen::closure::Closure<$0>\")>]]\n#endif\ntype
00:32:40 verbose #18844 > > wasm_bindgen_closure_Closure<'T> = class end"
00:32:40 verbose #18845 > >         $'' : $'wasm_bindgen_closure_Closure<`t>'
00:32:40 verbose #18846 > >     )
00:32:40 verbose #18847 > 00:32:39   debug #1072 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6f22d2ced8166f491871792eb520fdc4090035f86fb606a844ed6157520ecb72/main.spi
00:32:40 verbose #18848 > >
00:32:40 verbose #18849 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:40 verbose #18850 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:40 verbose #18851 > > │ ### js_function                                                              │
00:32:40 verbose #18852 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:40 verbose #18853 > >
00:32:40 verbose #18854 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:40 verbose #18855 > > nominal js_function =
00:32:40 verbose #18856 > >     `(
00:32:40 verbose #18857 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:40 verbose #18858 > > Fable.Core.Emit(\"js_sys::Function\")>]]\n#endif\ntype js_sys_Function = class
00:32:40 verbose #18859 > > end"
00:32:40 verbose #18860 > >         $'' : $'js_sys_Function'
00:32:40 verbose #18861 > >     )
00:32:40 verbose #18862 > 00:32:39   debug #1073 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/edd58bd98168e208751ae416b813b48e218beee8951271d0d4b484829d451af3/main.spi
00:32:40 verbose #18863 > >
00:32:40 verbose #18864 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:40 verbose #18865 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:40 verbose #18866 > > │ ### window                                                                   │
00:32:40 verbose #18867 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:40 verbose #18868 > >
00:32:40 verbose #18869 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:40 verbose #18870 > > nominal window =
00:32:40 verbose #18871 > >     `(
00:32:40 verbose #18872 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:40 verbose #18873 > > Fable.Core.Emit(\"web_sys::Window\")>]]\n#endif\ntype web_sys_Window = class
00:32:40 verbose #18874 > > end"
00:32:40 verbose #18875 > >         $'' : $'web_sys_Window'
00:32:40 verbose #18876 > >     )
00:32:41 verbose #18877 > 00:32:40   debug #1074 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e607b4fd0a26049f76303b365aa696051c52a16c859fa124584c8138cc73bb2a/main.spi
00:32:41 verbose #18878 > >
00:32:41 verbose #18879 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:41 verbose #18880 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:41 verbose #18881 > > │ ### document                                                                 │
00:32:41 verbose #18882 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:41 verbose #18883 > >
00:32:41 verbose #18884 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:41 verbose #18885 > > nominal document =
00:32:41 verbose #18886 > >     `(
00:32:41 verbose #18887 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:41 verbose #18888 > > Fable.Core.Emit(\"web_sys::Document\")>]]\n#endif\ntype web_sys_Document = class
00:32:41 verbose #18889 > > end"
00:32:41 verbose #18890 > >         $'' : $'web_sys_Document'
00:32:41 verbose #18891 > >     )
00:32:41 verbose #18892 > 00:32:40   debug #1075 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/00e330ce825b95c436bb07267039e76726e3b5a2906fa5d93bdc7bcaedddff41/main.spi
00:32:41 verbose #18893 > >
00:32:41 verbose #18894 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:41 verbose #18895 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:41 verbose #18896 > > │ ### html_element                                                             │
00:32:41 verbose #18897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:41 verbose #18898 > >
00:32:41 verbose #18899 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:41 verbose #18900 > > nominal html_element =
00:32:41 verbose #18901 > >     `(
00:32:41 verbose #18902 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:41 verbose #18903 > > Fable.Core.Emit(\"web_sys::HtmlElement\")>]]\n#endif\ntype web_sys_HtmlElement =
00:32:41 verbose #18904 > > class end"
00:32:41 verbose #18905 > >         $'' : $'web_sys_HtmlElement'
00:32:41 verbose #18906 > >     )
00:32:41 verbose #18907 > 00:32:40   debug #1076 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f680cc15339ba7b465371ceb0c5aef41af4b64a8da9fece14a6bc77e22eafcb4/main.spi
00:32:41 verbose #18908 > >
00:32:41 verbose #18909 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:41 verbose #18910 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:41 verbose #18911 > > │ ### storage                                                                  │
00:32:41 verbose #18912 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:41 verbose #18913 > >
00:32:41 verbose #18914 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:41 verbose #18915 > > nominal storage =
00:32:41 verbose #18916 > >     `(
00:32:41 verbose #18917 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:41 verbose #18918 > > Fable.Core.Emit(\"web_sys::Storage\")>]]\n#endif\ntype web_sys_Storage = class
00:32:41 verbose #18919 > > end"
00:32:41 verbose #18920 > >         $'' : $'web_sys_Storage'
00:32:41 verbose #18921 > >     )
00:32:42 verbose #18922 > 00:32:41   debug #1077 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/664c9b75cb2af4cac8ee7cc576966986450cb60e10bcfb8782ac9471ab2f1201/main.spi
00:32:42 verbose #18923 > >
00:32:42 verbose #18924 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:42 verbose #18925 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:42 verbose #18926 > > │ ### closure_wrap                                                             │
00:32:42 verbose #18927 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:42 verbose #18928 > >
00:32:42 verbose #18929 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:42 verbose #18930 > > inl closure_wrap forall t. (x : rust.box t) : closure t =
00:32:42 verbose #18931 > >     inl x = join x
00:32:42 verbose #18932 > >     !\($'"wasm_bindgen::closure::Closure::wrap(!x)"')
00:32:42 verbose #18933 > 00:32:41   debug #1078 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a89cdd7f10eb486d81fa2597ad5bd890d9538bb4fc3478f94bc0d10628979434/main.spi
00:32:42 verbose #18934 > >
00:32:42 verbose #18935 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:42 verbose #18936 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:42 verbose #18937 > > │ ### closure_forget                                                           │
00:32:42 verbose #18938 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:42 verbose #18939 > >
00:32:42 verbose #18940 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:42 verbose #18941 > > inl closure_forget forall t. (closure : closure t) =
00:32:42 verbose #18942 > >     !\($'"!closure.forget()"') : ()
00:32:42 verbose #18943 > 00:32:42   debug #1079 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/55416f6ba2aac90e7feda837d1f595c23fb0c8719ad46685c70170ef6df2de09/main.spi
00:32:43 verbose #18944 > >
00:32:43 verbose #18945 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:43 verbose #18946 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:43 verbose #18947 > > │ ### closure_as_ref                                                           │
00:32:43 verbose #18948 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:43 verbose #18949 > >
00:32:43 verbose #18950 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:43 verbose #18951 > > inl closure_as_ref forall t. (closure : closure t) : rust.ref js_value =
00:32:43 verbose #18952 > >     !\($'"wasm_bindgen::closure::Closure::as_ref(&!closure)"')
00:32:43 verbose #18953 > 00:32:42   debug #1080 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/54e10a84bcba14940f3aa8bad5e251b5c2eda33bb48e3b74e73145478351d0df/main.spi
00:32:43 verbose #18954 > >
00:32:43 verbose #18955 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:43 verbose #18956 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:43 verbose #18957 > > │ ### unchecked_ref                                                            │
00:32:43 verbose #18958 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:43 verbose #18959 > >
00:32:43 verbose #18960 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:43 verbose #18961 > > inl unchecked_ref (ref : rust.ref js_value) : rust.ref js_function =
00:32:43 verbose #18962 > >     !\($'"wasm_bindgen::JsCast::unchecked_ref(!ref)"')
00:32:43 verbose #18963 > 00:32:42   debug #1081 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d1a0435f41bab6d7193a49f6ac0f6ceef0d20e48ec483a2c02990c97da6dfed/main.spi
00:32:43 verbose #18964 > >
00:32:43 verbose #18965 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:43 verbose #18966 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:43 verbose #18967 > > │ ### set_inner_html                                                           │
00:32:43 verbose #18968 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:43 verbose #18969 > >
00:32:43 verbose #18970 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:43 verbose #18971 > > inl set_inner_html (html : string) (el : html_element) =
00:32:43 verbose #18972 > >     inl html = join html
00:32:43 verbose #18973 > >     inl html = html |> sm'.as_str
00:32:43 verbose #18974 > >     inl el = join el
00:32:43 verbose #18975 > >     !\($'"!el.set_inner_html(!html)"')
00:32:43 verbose #18976 > 00:32:43   debug #1082 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3b7bcc7280c99e08a2d71dcc6f57d396713b7c1960d730edfe16de1203836fa8/main.spi
00:32:44 verbose #18977 > >
00:32:44 verbose #18978 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:44 verbose #18979 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:44 verbose #18980 > > │ ### from_js_value                                                            │
00:32:44 verbose #18981 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:44 verbose #18982 > >
00:32:44 verbose #18983 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:44 verbose #18984 > > inl from_js_value (value : js_value) : resultm.result' (optionm'.option'
00:32:44 verbose #18985 > > sm'.json_value) sm'.std_string =
00:32:44 verbose #18986 > >     inl value = join value
00:32:44 verbose #18987 > >     !\($'"serde_wasm_bindgen::from_value(!value)"')
00:32:44 verbose #18988 > >     |> resultm.map_error' fun (x : sm'.serde_wasm_bindgen_error) => x |>
00:32:44 verbose #18989 > > sm'.format'
00:32:44 verbose #18990 > 00:32:43   debug #1083 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f238e275a0cb5d5ae8a46086bc6b19fc880d6c46eb47e3b5bc7e7323bf016ff/main.spi
00:32:44 verbose #18991 > 00:00:14 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 10631 }
00:32:44 verbose #18992 > 00:00:14   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:32:44 verbose #18993 >     "nbconvert",
00:32:44 verbose #18994 >     "c:/home/git/polyglot/lib/spiral/wasm.dib.ipynb",
00:32:44 verbose #18995 >     "--to",
00:32:44 verbose #18996 >     "html",
00:32:44 verbose #18997 >     "--HTMLExporter.theme=dark",
00:32:44 verbose #18998 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/wasm.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:46 verbose #18999 > 00:00:16 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/wasm.dib.ipynb to html
00:32:46 verbose #19000 > 00:00:16 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:32:46 verbose #19001 > 00:00:16 verbose #7 !   validate(nb)
00:32:48 verbose #19002 > 00:00:17 verbose #8 ! [NbConvertApp] Writing 302193 bytes to c:\home\git\polyglot\lib\spiral\wasm.dib.html
00:32:48 verbose #19003 > 00:00:17 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 639 }
00:32:48 verbose #19004 > 00:00:17   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 639 }
00:32:48 verbose #19005 > 00:00:17   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:32:48 verbose #19006 >     "-c",
00:32:48 verbose #19007 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/wasm.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:32:48 verbose #19008 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/wasm.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:49 verbose #19009 > 00:00:19 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:32:49 verbose #19010 > 00:00:19   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:32:50 verbose #19011 > 00:00:19   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 11329 }
00:32:50   debug #19012 runtime.execute_with_options_async / { exit_code = 0; output_length = 14433 }
00:32:50   debug #27 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path wasm.dib --retries 3
00:32:50   debug #19013 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path leptos/leptos.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:32:50 verbose #19014 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "leptos/leptos.dib", "--retries", "3"])) }
00:32:50 verbose #19015 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:32:50 verbose #19016 >     "repl",
00:32:50 verbose #19017 >     "--exit-after-run",
00:32:50 verbose #19018 >     "--run",
00:32:50 verbose #19019 >     "c:/home/git/polyglot/lib/spiral/leptos/leptos.dib",
00:32:50 verbose #19020 >     "--output-path",
00:32:50 verbose #19021 >     "c:/home/git/polyglot/lib/spiral/leptos/leptos.dib.ipynb",
00:32:50 verbose #19022 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/leptos/leptos.dib" --output-path "c:/home/git/polyglot/lib/spiral/leptos/leptos.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:32:52 verbose #19023 > >
00:32:52 verbose #19024 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:52 verbose #19025 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:52 verbose #19026 > > │ # leptos                                                                     │
00:32:52 verbose #19027 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:56 verbose #19028 > >
00:32:56 verbose #19029 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:56 verbose #19030 > > open rust.rust_operators
00:32:56 verbose #19031 > > open rust
00:32:56 verbose #19032 > > open sm'_operators
00:32:57 verbose #19033 > 00:32:56   debug #1084 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/97c3b504fa1f560fdc0258569742b97a5f05d5b6377297ae83d67ca590b45d34/main.spi
00:32:57 verbose #19034 > >
00:32:57 verbose #19035 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:57 verbose #19036 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:57 verbose #19037 > > │ ### a'                                                                       │
00:32:57 verbose #19038 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:57 verbose #19039 > >
00:32:57 verbose #19040 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:57 verbose #19041 > > nominal a' =
00:32:57 verbose #19042 > >     `(
00:32:57 verbose #19043 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:57 verbose #19044 > > Fable.Core.Emit(\"leptos::html::A\")>]]\n#endif\ntype leptos_html_A = class end"
00:32:57 verbose #19045 > >         $'' : $'leptos_html_A'
00:32:57 verbose #19046 > >     )
00:32:58 verbose #19047 > 00:32:57   debug #1085 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e6abe4a012940134873721b1b2b98602a66856ad8c2fc89e23d4aa52e64ecfe2/main.spi
00:32:58 verbose #19048 > >
00:32:58 verbose #19049 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:58 verbose #19050 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:58 verbose #19051 > > │ ### event                                                                    │
00:32:58 verbose #19052 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:58 verbose #19053 > >
00:32:58 verbose #19054 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:58 verbose #19055 > > nominal event =
00:32:58 verbose #19056 > >     `(
00:32:58 verbose #19057 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:58 verbose #19058 > > Fable.Core.Emit(\"leptos::ev::Event\")>]]\n#endif\ntype leptos_ev_Event = class
00:32:58 verbose #19059 > > end"
00:32:58 verbose #19060 > >         $'' : $'leptos_ev_Event'
00:32:58 verbose #19061 > >     )
00:32:58 verbose #19062 > 00:32:57   debug #1086 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/434ce3e7c0b50f456ac0ee53c7ea8008a1a96f87d4d5f5a10aaaab14ea91fb01/main.spi
00:32:58 verbose #19063 > >
00:32:58 verbose #19064 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:58 verbose #19065 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:58 verbose #19066 > > │ ### mouse_event                                                              │
00:32:58 verbose #19067 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:58 verbose #19068 > >
00:32:58 verbose #19069 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:58 verbose #19070 > > nominal mouse_event =
00:32:58 verbose #19071 > >     `(
00:32:58 verbose #19072 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:58 verbose #19073 > > Fable.Core.Emit(\"leptos::ev::MouseEvent\")>]]\n#endif\ntype
00:32:58 verbose #19074 > > leptos_ev_MouseEvent = class end"
00:32:58 verbose #19075 > >         $'' : $'leptos_ev_MouseEvent'
00:32:58 verbose #19076 > >     )
00:32:58 verbose #19077 > 00:32:57   debug #1087 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/56672743673583a2f0038275bff208bb6db40523ae344162287d1caa62d05319/main.spi
00:32:59 verbose #19078 > >
00:32:59 verbose #19079 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:59 verbose #19080 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:59 verbose #19081 > > │ ### button                                                                   │
00:32:59 verbose #19082 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:59 verbose #19083 > >
00:32:59 verbose #19084 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:59 verbose #19085 > > nominal button =
00:32:59 verbose #19086 > >     `(
00:32:59 verbose #19087 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:59 verbose #19088 > > Fable.Core.Emit(\"leptos::html::Button\")>]]\n#endif\ntype leptos_html_Button =
00:32:59 verbose #19089 > > class end"
00:32:59 verbose #19090 > >         $'' : $'leptos_html_Button'
00:32:59 verbose #19091 > >     )
00:32:59 verbose #19092 > 00:32:58   debug #1088 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5dc44485d0ad3e305354c28730e808edb7025b849e8ea506bb448d67bc6686da/main.spi
00:32:59 verbose #19093 > >
00:32:59 verbose #19094 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:59 verbose #19095 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:59 verbose #19096 > > │ ### details                                                                  │
00:32:59 verbose #19097 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:59 verbose #19098 > >
00:32:59 verbose #19099 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:59 verbose #19100 > > nominal details =
00:32:59 verbose #19101 > >     `(
00:32:59 verbose #19102 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:59 verbose #19103 > > Fable.Core.Emit(\"leptos::html::Details\")>]]\n#endif\ntype leptos_html_Details
00:32:59 verbose #19104 > > = class end"
00:32:59 verbose #19105 > >         $'' : $'leptos_html_Details'
00:32:59 verbose #19106 > >     )
00:32:59 verbose #19107 > 00:32:58   debug #1089 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5f9d42e7ce0d244ba8d153dede86b1f7b45d478d330b4618d6659740b24f90a2/main.spi
00:32:59 verbose #19108 > >
00:32:59 verbose #19109 > > ── markdown ────────────────────────────────────────────────────────────────────
00:32:59 verbose #19110 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:32:59 verbose #19111 > > │ ### dd                                                                       │
00:32:59 verbose #19112 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:32:59 verbose #19113 > >
00:32:59 verbose #19114 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:32:59 verbose #19115 > > nominal dd =
00:32:59 verbose #19116 > >     `(
00:32:59 verbose #19117 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:32:59 verbose #19118 > > Fable.Core.Emit(\"leptos::html::Dd\")>]]\n#endif\ntype leptos_html_Dd = class
00:32:59 verbose #19119 > > end"
00:32:59 verbose #19120 > >         $'' : $'leptos_html_Dd'
00:32:59 verbose #19121 > >     )
00:33:00 verbose #19122 > 00:32:59   debug #1090 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/36e05d776509eae34615bd6fee7667005b59df01c71459d8f6446670a5420c36/main.spi
00:33:00 verbose #19123 > >
00:33:00 verbose #19124 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:00 verbose #19125 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:00 verbose #19126 > > │ ### div                                                                      │
00:33:00 verbose #19127 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:00 verbose #19128 > >
00:33:00 verbose #19129 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:00 verbose #19130 > > nominal div =
00:33:00 verbose #19131 > >     `(
00:33:00 verbose #19132 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:00 verbose #19133 > > Fable.Core.Emit(\"leptos::html::Div\")>]]\n#endif\ntype leptos_html_Div = class
00:33:00 verbose #19134 > > end"
00:33:00 verbose #19135 > >         $'' : $'leptos_html_Div'
00:33:00 verbose #19136 > >     )
00:33:00 verbose #19137 > 00:32:59   debug #1091 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ea9ca609df2761d1a8ded87dfe9aec9bc7c86abaa5ed101ed379ed4e7609b315/main.spi
00:33:00 verbose #19138 > >
00:33:00 verbose #19139 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:00 verbose #19140 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:00 verbose #19141 > > │ ### dl                                                                       │
00:33:00 verbose #19142 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:00 verbose #19143 > >
00:33:00 verbose #19144 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:00 verbose #19145 > > nominal dl =
00:33:00 verbose #19146 > >     `(
00:33:00 verbose #19147 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:00 verbose #19148 > > Fable.Core.Emit(\"leptos::html::Dl\")>]]\n#endif\ntype leptos_html_Dl = class
00:33:00 verbose #19149 > > end"
00:33:00 verbose #19150 > >         $'' : $'leptos_html_Dl'
00:33:00 verbose #19151 > >     )
00:33:00 verbose #19152 > 00:32:59   debug #1092 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7ecf082f46db4dfb8a58b9fa92735ce18ecd1d47810c41b1aa7441d6d3648eb4/main.spi
00:33:00 verbose #19153 > >
00:33:00 verbose #19154 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:00 verbose #19155 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:00 verbose #19156 > > │ ### dt                                                                       │
00:33:00 verbose #19157 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:00 verbose #19158 > >
00:33:00 verbose #19159 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:00 verbose #19160 > > nominal dt =
00:33:00 verbose #19161 > >     `(
00:33:00 verbose #19162 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:00 verbose #19163 > > Fable.Core.Emit(\"leptos::html::Dt\")>]]\n#endif\ntype leptos_html_Dt = class
00:33:00 verbose #19164 > > end"
00:33:00 verbose #19165 > >         $'' : $'leptos_html_Dt'
00:33:00 verbose #19166 > >     )
00:33:01 verbose #19167 > 00:33:00   debug #1093 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9a23751ade04fb8e6d5a51963d043d9d996a2af7a2029cc33655df768aa741ae/main.spi
00:33:01 verbose #19168 > >
00:33:01 verbose #19169 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:01 verbose #19170 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:01 verbose #19171 > > │ ### footer                                                                   │
00:33:01 verbose #19172 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:01 verbose #19173 > >
00:33:01 verbose #19174 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:01 verbose #19175 > > nominal footer =
00:33:01 verbose #19176 > >     `(
00:33:01 verbose #19177 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:01 verbose #19178 > > Fable.Core.Emit(\"leptos::html::Footer\")>]]\n#endif\ntype leptos_html_Footer =
00:33:01 verbose #19179 > > class end"
00:33:01 verbose #19180 > >         $'' : $'leptos_html_Footer'
00:33:01 verbose #19181 > >     )
00:33:01 verbose #19182 > 00:33:00   debug #1094 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d7d81e5369600d9fc7898a85c3ca3e4e280e7ed7da3939eb11800e8bb81dc4ad/main.spi
00:33:01 verbose #19183 > >
00:33:01 verbose #19184 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:01 verbose #19185 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:01 verbose #19186 > > │ ### header                                                                   │
00:33:01 verbose #19187 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:01 verbose #19188 > >
00:33:01 verbose #19189 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:01 verbose #19190 > > nominal header =
00:33:01 verbose #19191 > >     `(
00:33:01 verbose #19192 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:01 verbose #19193 > > Fable.Core.Emit(\"leptos::html::Header\")>]]\n#endif\ntype leptos_html_Header =
00:33:01 verbose #19194 > > class end"
00:33:01 verbose #19195 > >         $'' : $'leptos_html_Header'
00:33:01 verbose #19196 > >     )
00:33:01 verbose #19197 > 00:33:01   debug #1095 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/886033ecedb58fadfda1225cebc35bd43c150fe6330367443300c6e8bcbda511/main.spi
00:33:02 verbose #19198 > >
00:33:02 verbose #19199 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:02 verbose #19200 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:02 verbose #19201 > > │ ### input                                                                    │
00:33:02 verbose #19202 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:02 verbose #19203 > >
00:33:02 verbose #19204 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:02 verbose #19205 > > nominal input =
00:33:02 verbose #19206 > >     `(
00:33:02 verbose #19207 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:02 verbose #19208 > > Fable.Core.Emit(\"leptos::html::Input\")>]]\n#endif\ntype leptos_html_Input =
00:33:02 verbose #19209 > > class end"
00:33:02 verbose #19210 > >         $'' : $'leptos_html_Input'
00:33:02 verbose #19211 > >     )
00:33:02 verbose #19212 > 00:33:01   debug #1096 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/655c98aad3de6b218dac7911c1795936bb7294c933611e49844bca3f907a4013/main.spi
00:33:02 verbose #19213 > >
00:33:02 verbose #19214 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:02 verbose #19215 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:02 verbose #19216 > > │ ### label                                                                    │
00:33:02 verbose #19217 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:02 verbose #19218 > >
00:33:02 verbose #19219 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:02 verbose #19220 > > nominal label =
00:33:02 verbose #19221 > >     `(
00:33:02 verbose #19222 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:02 verbose #19223 > > Fable.Core.Emit(\"leptos::html::Label\")>]]\n#endif\ntype leptos_html_Label =
00:33:02 verbose #19224 > > class end"
00:33:02 verbose #19225 > >         $'' : $'leptos_html_Label'
00:33:02 verbose #19226 > >     )
00:33:02 verbose #19227 > 00:33:01   debug #1097 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/52cbaf96d00c8398e121f825799f227d13469e8e1015083d22d74fd0cb898645/main.spi
00:33:02 verbose #19228 > >
00:33:02 verbose #19229 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:02 verbose #19230 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:02 verbose #19231 > > │ ### main                                                                     │
00:33:02 verbose #19232 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:02 verbose #19233 > >
00:33:02 verbose #19234 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:02 verbose #19235 > > nominal main =
00:33:02 verbose #19236 > >     `(
00:33:02 verbose #19237 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:02 verbose #19238 > > Fable.Core.Emit(\"leptos::html::Main\")>]]\n#endif\ntype leptos_html_Main =
00:33:02 verbose #19239 > > class end"
00:33:02 verbose #19240 > >         $'' : $'leptos_html_Main'
00:33:02 verbose #19241 > >     )
00:33:03 verbose #19242 > 00:33:02   debug #1098 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7dff43698b01046a50ded48414442f52f37c953ddc6e7042207062e7ba73ffd8/main.spi
00:33:03 verbose #19243 > >
00:33:03 verbose #19244 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:03 verbose #19245 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:03 verbose #19246 > > │ ### nav                                                                      │
00:33:03 verbose #19247 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:03 verbose #19248 > >
00:33:03 verbose #19249 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:03 verbose #19250 > > nominal nav =
00:33:03 verbose #19251 > >     `(
00:33:03 verbose #19252 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:03 verbose #19253 > > Fable.Core.Emit(\"leptos::html::Nav\")>]]\n#endif\ntype leptos_html_Nav = class
00:33:03 verbose #19254 > > end"
00:33:03 verbose #19255 > >         $'' : $'leptos_html_Nav'
00:33:03 verbose #19256 > >     )
00:33:03 verbose #19257 > 00:33:02   debug #1099 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a50c8634f9c55b861688ab13009d5436db51579688f251079a148f81021c42e1/main.spi
00:33:03 verbose #19258 > >
00:33:03 verbose #19259 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:03 verbose #19260 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:03 verbose #19261 > > │ ### option'                                                                  │
00:33:03 verbose #19262 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:03 verbose #19263 > >
00:33:03 verbose #19264 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:03 verbose #19265 > > nominal option' =
00:33:03 verbose #19266 > >     `(
00:33:03 verbose #19267 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:03 verbose #19268 > > Fable.Core.Emit(\"leptos::html::Option_\")>]]\n#endif\ntype leptos_html_Option =
00:33:03 verbose #19269 > > class end"
00:33:03 verbose #19270 > >         $'' : $'leptos_html_Option'
00:33:03 verbose #19271 > >     )
00:33:03 verbose #19272 > 00:33:02   debug #1100 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/44eb148798f9c789eb98f155452c940f14547281660e5a5b883b5e7192586cf0/main.spi
00:33:03 verbose #19273 > >
00:33:03 verbose #19274 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:03 verbose #19275 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:03 verbose #19276 > > │ ### pre                                                                      │
00:33:03 verbose #19277 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:03 verbose #19278 > >
00:33:03 verbose #19279 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:03 verbose #19280 > > nominal pre =
00:33:03 verbose #19281 > >     `(
00:33:03 verbose #19282 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:03 verbose #19283 > > Fable.Core.Emit(\"leptos::html::Pre\")>]]\n#endif\ntype leptos_html_Pre = class
00:33:03 verbose #19284 > > end"
00:33:03 verbose #19285 > >         $'' : $'leptos_html_Pre'
00:33:03 verbose #19286 > >     )
00:33:04 verbose #19287 > 00:33:03   debug #1101 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6e6ebe2f76756f98728e6e2a5848c70c3bc65fef9bcf84495b4f979814be298c/main.spi
00:33:04 verbose #19288 > >
00:33:04 verbose #19289 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:04 verbose #19290 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:04 verbose #19291 > > │ ### select                                                                   │
00:33:04 verbose #19292 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:04 verbose #19293 > >
00:33:04 verbose #19294 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:04 verbose #19295 > > nominal select =
00:33:04 verbose #19296 > >     `(
00:33:04 verbose #19297 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:04 verbose #19298 > > Fable.Core.Emit(\"leptos::html::Select\")>]]\n#endif\ntype leptos_html_Select =
00:33:04 verbose #19299 > > class end"
00:33:04 verbose #19300 > >         $'' : $'leptos_html_Select'
00:33:04 verbose #19301 > >     )
00:33:04 verbose #19302 > 00:33:03   debug #1102 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/37030649c58077752f40f7144dd365be6eaca9e45ee03eba6f638c287882ae5a/main.spi
00:33:04 verbose #19303 > >
00:33:04 verbose #19304 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:04 verbose #19305 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:04 verbose #19306 > > │ ### span                                                                     │
00:33:04 verbose #19307 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:04 verbose #19308 > >
00:33:04 verbose #19309 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:04 verbose #19310 > > nominal span =
00:33:04 verbose #19311 > >     `(
00:33:04 verbose #19312 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:04 verbose #19313 > > Fable.Core.Emit(\"leptos::html::Span\")>]]\n#endif\ntype leptos_html_Span =
00:33:04 verbose #19314 > > class end"
00:33:04 verbose #19315 > >         $'' : $'leptos_html_Span'
00:33:04 verbose #19316 > >     )
00:33:04 verbose #19317 > 00:33:04   debug #1103 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/52769fffd3f4fd505b07ded5654694a1b2c1e2bebe751a7364c6064f33c43208/main.spi
00:33:05 verbose #19318 > >
00:33:05 verbose #19319 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:05 verbose #19320 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:05 verbose #19321 > > │ ### summary                                                                  │
00:33:05 verbose #19322 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:05 verbose #19323 > >
00:33:05 verbose #19324 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:05 verbose #19325 > > nominal summary =
00:33:05 verbose #19326 > >     `(
00:33:05 verbose #19327 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:05 verbose #19328 > > Fable.Core.Emit(\"leptos::html::Summary\")>]]\n#endif\ntype leptos_html_Summary
00:33:05 verbose #19329 > > = class end"
00:33:05 verbose #19330 > >         $'' : $'leptos_html_Summary'
00:33:05 verbose #19331 > >     )
00:33:05 verbose #19332 > 00:33:04   debug #1104 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/831c01e906276ade4c7231e0d349bbb163aeda29f4f3b4bfaf8d9bb44c8add26/main.spi
00:33:05 verbose #19333 > >
00:33:05 verbose #19334 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:05 verbose #19335 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:05 verbose #19336 > > │ ### table                                                                    │
00:33:05 verbose #19337 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:05 verbose #19338 > >
00:33:05 verbose #19339 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:05 verbose #19340 > > nominal table =
00:33:05 verbose #19341 > >     `(
00:33:05 verbose #19342 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:05 verbose #19343 > > Fable.Core.Emit(\"leptos::html::Table\")>]]\n#endif\ntype leptos_html_Table =
00:33:05 verbose #19344 > > class end"
00:33:05 verbose #19345 > >         $'' : $'leptos_html_Table'
00:33:05 verbose #19346 > >     )
00:33:05 verbose #19347 > 00:33:04   debug #1105 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9c587470de1612895e8e47921f64bf3646fcf560679f0e56eb706ccd8306aea6/main.spi
00:33:05 verbose #19348 > >
00:33:05 verbose #19349 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:05 verbose #19350 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:05 verbose #19351 > > │ ### thead                                                                    │
00:33:05 verbose #19352 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:05 verbose #19353 > >
00:33:05 verbose #19354 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:05 verbose #19355 > > nominal thead =
00:33:05 verbose #19356 > >     `(
00:33:05 verbose #19357 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:05 verbose #19358 > > Fable.Core.Emit(\"leptos::html::Thead\")>]]\n#endif\ntype leptos_html_Thead =
00:33:05 verbose #19359 > > class end"
00:33:05 verbose #19360 > >         $'' : $'leptos_html_Thead'
00:33:05 verbose #19361 > >     )
00:33:06 verbose #19362 > 00:33:05   debug #1106 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a3e3710f9006399212888bf54f01006996d9f1c0c1af9eb5fea40295d1422e0f/main.spi
00:33:06 verbose #19363 > >
00:33:06 verbose #19364 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:06 verbose #19365 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:06 verbose #19366 > > │ ### tbody                                                                    │
00:33:06 verbose #19367 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:06 verbose #19368 > >
00:33:06 verbose #19369 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:06 verbose #19370 > > nominal tbody =
00:33:06 verbose #19371 > >     `(
00:33:06 verbose #19372 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:06 verbose #19373 > > Fable.Core.Emit(\"leptos::html::Tbody\")>]]\n#endif\ntype leptos_html_Tbody =
00:33:06 verbose #19374 > > class end"
00:33:06 verbose #19375 > >         $'' : $'leptos_html_Tbody'
00:33:06 verbose #19376 > >     )
00:33:06 verbose #19377 > 00:33:05   debug #1107 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5f722e368aa731e17d8ecebae666d26c1c7e24ec0d1e597bdbeabce3d7537822/main.spi
00:33:06 verbose #19378 > >
00:33:06 verbose #19379 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:06 verbose #19380 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:06 verbose #19381 > > │ ### tr                                                                       │
00:33:06 verbose #19382 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:06 verbose #19383 > >
00:33:06 verbose #19384 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:06 verbose #19385 > > nominal tr =
00:33:06 verbose #19386 > >     `(
00:33:06 verbose #19387 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:06 verbose #19388 > > Fable.Core.Emit(\"leptos::html::Tr\")>]]\n#endif\ntype leptos_html_Tr = class
00:33:06 verbose #19389 > > end"
00:33:06 verbose #19390 > >         $'' : $'leptos_html_Tr'
00:33:06 verbose #19391 > >     )
00:33:06 verbose #19392 > 00:33:05   debug #1108 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4e4924f14cbecd2b7ef5100f71a4c5be0bf1e26f86bf5569dfbe8b3b6a8e3bf8/main.spi
00:33:06 verbose #19393 > >
00:33:06 verbose #19394 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:06 verbose #19395 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:06 verbose #19396 > > │ ### th                                                                       │
00:33:06 verbose #19397 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:06 verbose #19398 > >
00:33:06 verbose #19399 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:06 verbose #19400 > > nominal th =
00:33:06 verbose #19401 > >     `(
00:33:06 verbose #19402 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:06 verbose #19403 > > Fable.Core.Emit(\"leptos::html::Th\")>]]\n#endif\ntype leptos_html_Th = class
00:33:06 verbose #19404 > > end"
00:33:06 verbose #19405 > >         $'' : $'leptos_html_Th'
00:33:06 verbose #19406 > >     )
00:33:07 verbose #19407 > 00:33:06   debug #1109 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aab5d391889e62833a5ed6189fbf65ffda1bf8849e742626b38077e0e007a350/main.spi
00:33:07 verbose #19408 > >
00:33:07 verbose #19409 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:07 verbose #19410 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:07 verbose #19411 > > │ ### td                                                                       │
00:33:07 verbose #19412 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:07 verbose #19413 > >
00:33:07 verbose #19414 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:07 verbose #19415 > > nominal td =
00:33:07 verbose #19416 > >     `(
00:33:07 verbose #19417 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:07 verbose #19418 > > Fable.Core.Emit(\"leptos::html::Td\")>]]\n#endif\ntype leptos_html_Td = class
00:33:07 verbose #19419 > > end"
00:33:07 verbose #19420 > >         $'' : $'leptos_html_Td'
00:33:07 verbose #19421 > >     )
00:33:07 verbose #19422 > 00:33:06   debug #1110 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6218f4fbf15e0da93a48b5936e70d5335683c5a3376553f44c2622062458efee/main.spi
00:33:07 verbose #19423 > >
00:33:07 verbose #19424 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:07 verbose #19425 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:07 verbose #19426 > > │ ### svg                                                                      │
00:33:07 verbose #19427 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:07 verbose #19428 > >
00:33:07 verbose #19429 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:07 verbose #19430 > > nominal svg =
00:33:07 verbose #19431 > >     `(
00:33:07 verbose #19432 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:07 verbose #19433 > > Fable.Core.Emit(\"leptos::svg::Svg\")>]]\n#endif\ntype leptos_svg_Svg = class
00:33:07 verbose #19434 > > end"
00:33:07 verbose #19435 > >         $'' : $'leptos_svg_Svg'
00:33:07 verbose #19436 > >     )
00:33:07 verbose #19437 > 00:33:06   debug #1111 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/db9bf7cf5ed561af3ddd312a785bc8c8d42913b0daf1537bec4385e20c1051ca/main.spi
00:33:08 verbose #19438 > >
00:33:08 verbose #19439 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:08 verbose #19440 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:08 verbose #19441 > > │ ### path                                                                     │
00:33:08 verbose #19442 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:08 verbose #19443 > >
00:33:08 verbose #19444 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:08 verbose #19445 > > nominal path =
00:33:08 verbose #19446 > >     `(
00:33:08 verbose #19447 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:08 verbose #19448 > > Fable.Core.Emit(\"leptos::svg::Path\")>]]\n#endif\ntype leptos_svg_Path = class
00:33:08 verbose #19449 > > end"
00:33:08 verbose #19450 > >         $'' : $'leptos_svg_Path'
00:33:08 verbose #19451 > >     )
00:33:08 verbose #19452 > 00:33:07   debug #1112 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d836d1a547006cf726a50eda620960dc98e1d06e73c7483170a1d6327c78b521/main.spi
00:33:08 verbose #19453 > >
00:33:08 verbose #19454 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:08 verbose #19455 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:08 verbose #19456 > > │ ### circle                                                                   │
00:33:08 verbose #19457 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:08 verbose #19458 > >
00:33:08 verbose #19459 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:08 verbose #19460 > > nominal circle =
00:33:08 verbose #19461 > >     `(
00:33:08 verbose #19462 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:08 verbose #19463 > > Fable.Core.Emit(\"leptos::svg::Circle\")>]]\n#endif\ntype leptos_svg_Circle =
00:33:08 verbose #19464 > > class end"
00:33:08 verbose #19465 > >         $'' : $'leptos_svg_Circle'
00:33:08 verbose #19466 > >     )
00:33:08 verbose #19467 > 00:33:07   debug #1113 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/19ae491ca2874923e370b79d9d2f6845e702f29dfc904727085d18aec246f352/main.spi
00:33:08 verbose #19468 > >
00:33:08 verbose #19469 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:08 verbose #19470 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:08 verbose #19471 > > │ ### rect                                                                     │
00:33:08 verbose #19472 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:08 verbose #19473 > >
00:33:08 verbose #19474 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:08 verbose #19475 > > nominal rect =
00:33:08 verbose #19476 > >     `(
00:33:08 verbose #19477 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:08 verbose #19478 > > Fable.Core.Emit(\"leptos::svg::Rect\")>]]\n#endif\ntype leptos_svg_Rect = class
00:33:08 verbose #19479 > > end"
00:33:08 verbose #19480 > >         $'' : $'leptos_svg_Rect'
00:33:08 verbose #19481 > >     )
00:33:09 verbose #19482 > 00:33:08   debug #1114 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/11c524822b1e1f1502f8dce0af5d802a17af46fbbf6fee40ab3046b4f33503bb/main.spi
00:33:09 verbose #19483 > >
00:33:09 verbose #19484 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:09 verbose #19485 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:09 verbose #19486 > > │ ### animate                                                                  │
00:33:09 verbose #19487 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:09 verbose #19488 > >
00:33:09 verbose #19489 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:09 verbose #19490 > > nominal animate =
00:33:09 verbose #19491 > >     `(
00:33:09 verbose #19492 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:09 verbose #19493 > > Fable.Core.Emit(\"leptos::svg::Animate\")>]]\n#endif\ntype leptos_svg_Animate =
00:33:09 verbose #19494 > > class end"
00:33:09 verbose #19495 > >         $'' : $'leptos_svg_Animate'
00:33:09 verbose #19496 > >     )
00:33:09 verbose #19497 > 00:33:08   debug #1115 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a445147c3a16dc9cc0de6712665deb20ae75bb6330feb1fc32ea18f8e56a6c0a/main.spi
00:33:09 verbose #19498 > >
00:33:09 verbose #19499 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:09 verbose #19500 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:09 verbose #19501 > > │ ### action                                                                   │
00:33:09 verbose #19502 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:09 verbose #19503 > >
00:33:09 verbose #19504 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:09 verbose #19505 > > nominal action t u =
00:33:09 verbose #19506 > >     `(
00:33:09 verbose #19507 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:09 verbose #19508 > > Fable.Core.Emit(\"leptos::Action<$0, $1>\")>]]\n#endif\ntype leptos_Action<'T,
00:33:09 verbose #19509 > > 'U> = class end"
00:33:09 verbose #19510 > >         $'' : $'leptos_Action<`t, `u>'
00:33:09 verbose #19511 > >     )
00:33:09 verbose #19512 > 00:33:08   debug #1116 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/87825dd739f004614a5da6f5834af9552724415d293a823c2c8e6ddccde84292/main.spi
00:33:09 verbose #19513 > >
00:33:09 verbose #19514 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:09 verbose #19515 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:09 verbose #19516 > > │ ### for                                                                      │
00:33:09 verbose #19517 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:09 verbose #19518 > >
00:33:09 verbose #19519 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:09 verbose #19520 > > nominal for =
00:33:09 verbose #19521 > >     `(
00:33:09 verbose #19522 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:09 verbose #19523 > > Fable.Core.Emit(\"leptos::For\")>]]\n#endif\ntype leptos_For = class end"
00:33:09 verbose #19524 > >         $'' : $'leptos_For'
00:33:09 verbose #19525 > >     )
00:33:10 verbose #19526 > 00:33:09   debug #1117 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/847fcd10541532baebcc6830466dd6330b663bcadc60ccb38c6f26d4281dfab5/main.spi
00:33:10 verbose #19527 > >
00:33:10 verbose #19528 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:10 verbose #19529 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:10 verbose #19530 > > │ ### show                                                                     │
00:33:10 verbose #19531 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:10 verbose #19532 > >
00:33:10 verbose #19533 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:10 verbose #19534 > > nominal show =
00:33:10 verbose #19535 > >     `(
00:33:10 verbose #19536 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:10 verbose #19537 > > Fable.Core.Emit(\"leptos::Show\")>]]\n#endif\ntype leptos_Show = class end"
00:33:10 verbose #19538 > >         $'' : $'leptos_Show'
00:33:10 verbose #19539 > >     )
00:33:10 verbose #19540 > 00:33:09   debug #1118 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/20ebcccf7c62b234b7d80af2147ab95e51676aa426e61f4dd7aa1a8909a82aab/main.spi
00:33:10 verbose #19541 > >
00:33:10 verbose #19542 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:10 verbose #19543 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:10 verbose #19544 > > │ ### fragment                                                                 │
00:33:10 verbose #19545 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:10 verbose #19546 > >
00:33:10 verbose #19547 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:10 verbose #19548 > > nominal fragment =
00:33:10 verbose #19549 > >     `(
00:33:10 verbose #19550 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:10 verbose #19551 > > Fable.Core.Emit(\"leptos::Fragment\")>]]\n#endif\ntype leptos_Fragment = class
00:33:10 verbose #19552 > > end"
00:33:10 verbose #19553 > >         $'' : $'leptos_Fragment'
00:33:10 verbose #19554 > >     )
00:33:10 verbose #19555 > 00:33:09   debug #1119 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6b3e95589355a467c7de3d2c1f509eb11d5df605e216c25ed64ec6df062f4484/main.spi
00:33:11 verbose #19556 > >
00:33:11 verbose #19557 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:11 verbose #19558 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:11 verbose #19559 > > │ ### interval_handle                                                          │
00:33:11 verbose #19560 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:11 verbose #19561 > >
00:33:11 verbose #19562 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:11 verbose #19563 > > nominal interval_handle =
00:33:11 verbose #19564 > >     `(
00:33:11 verbose #19565 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:11 verbose #19566 > > Fable.Core.Emit(\"leptos::leptos_dom::helpers::IntervalHandle\")>]]\n#endif\ntyp
00:33:11 verbose #19567 > > e leptos_dom_IntervalHandle = class end"
00:33:11 verbose #19568 > >         $'' : $'leptos_dom_IntervalHandle'
00:33:11 verbose #19569 > >     )
00:33:11 verbose #19570 > 00:33:10   debug #1120 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/91a5c0063dca1f917e4ee1026ccf5d152dfc745eb4453fed21ea81ba46a1c122/main.spi
00:33:11 verbose #19571 > >
00:33:11 verbose #19572 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:11 verbose #19573 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:11 verbose #19574 > > │ ### text                                                                     │
00:33:11 verbose #19575 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:11 verbose #19576 > >
00:33:11 verbose #19577 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:11 verbose #19578 > > nominal text =
00:33:11 verbose #19579 > >     `(
00:33:11 verbose #19580 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:11 verbose #19581 > > Fable.Core.Emit(\"leptos::leptos_dom::Text\")>]]\n#endif\ntype leptos_dom_Text =
00:33:11 verbose #19582 > > class end"
00:33:11 verbose #19583 > >         $'' : $'leptos_dom_Text'
00:33:11 verbose #19584 > >     )
00:33:11 verbose #19585 > 00:33:10   debug #1121 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/69e0fcc5d24d5864191e9e56275761a8656741c9cc9a40dec97891a097611369/main.spi
00:33:11 verbose #19586 > >
00:33:11 verbose #19587 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:11 verbose #19588 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:11 verbose #19589 > > │ ### transparent                                                              │
00:33:11 verbose #19590 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:11 verbose #19591 > >
00:33:11 verbose #19592 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:11 verbose #19593 > > nominal transparent =
00:33:11 verbose #19594 > >     `(
00:33:11 verbose #19595 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:11 verbose #19596 > > Fable.Core.Emit(\"leptos::leptos_dom::Transparent\")>]]\n#endif\ntype
00:33:11 verbose #19597 > > leptos_dom_Transparent = class end"
00:33:11 verbose #19598 > >         $'' : $'leptos_dom_Transparent'
00:33:11 verbose #19599 > >     )
00:33:11 verbose #19600 > 00:33:11   debug #1122 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9cf6b54a2a877e7e3c349a3259ca9c5fe7b820d55699465747d8b740f091a62e/main.spi
00:33:12 verbose #19601 > >
00:33:12 verbose #19602 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:12 verbose #19603 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:12 verbose #19604 > > │ ### route                                                                    │
00:33:12 verbose #19605 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:12 verbose #19606 > >
00:33:12 verbose #19607 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:12 verbose #19608 > > nominal route =
00:33:12 verbose #19609 > >     `(
00:33:12 verbose #19610 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:12 verbose #19611 > > Fable.Core.Emit(\"leptos_router::Route\")>]]\n#endif\ntype leptos_router_Route =
00:33:12 verbose #19612 > > class end"
00:33:12 verbose #19613 > >         $'' : $'leptos_router_Route'
00:33:12 verbose #19614 > >     )
00:33:12 verbose #19615 > 00:33:11   debug #1123 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b89c66a500ac09046662302848a18d188362b12e2bdbe108e17580b6467854b6/main.spi
00:33:12 verbose #19616 > >
00:33:12 verbose #19617 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:12 verbose #19618 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:12 verbose #19619 > > │ ### route_definition                                                         │
00:33:12 verbose #19620 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:12 verbose #19621 > >
00:33:12 verbose #19622 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:12 verbose #19623 > > nominal route_definition =
00:33:12 verbose #19624 > >     `(
00:33:12 verbose #19625 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:12 verbose #19626 > > Fable.Core.Emit(\"leptos_router::RouteDefinition\")>]]\n#endif\ntype
00:33:12 verbose #19627 > > leptos_router_RouteDefinition = class end"
00:33:12 verbose #19628 > >         $'' : $'leptos_router_RouteDefinition'
00:33:12 verbose #19629 > >     )
00:33:12 verbose #19630 > 00:33:11   debug #1124 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5c63461b705cf3e79fb1cd7bbb707eb8b61d30855f73b9aee6bd3d60409b65fe/main.spi
00:33:12 verbose #19631 > >
00:33:12 verbose #19632 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:12 verbose #19633 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:12 verbose #19634 > > │ ### router                                                                   │
00:33:12 verbose #19635 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:12 verbose #19636 > >
00:33:12 verbose #19637 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:12 verbose #19638 > > nominal router =
00:33:12 verbose #19639 > >     `(
00:33:12 verbose #19640 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:12 verbose #19641 > > Fable.Core.Emit(\"leptos_router::Router\")>]]\n#endif\ntype leptos_router_Router
00:33:12 verbose #19642 > > = class end"
00:33:12 verbose #19643 > >         $'' : $'leptos_router_Router'
00:33:12 verbose #19644 > >     )
00:33:13 verbose #19645 > 00:33:12   debug #1125 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f931a026cbd6a345c4105915536ae9971428c483bcf7a1aaa6e5f4d3efe58668/main.spi
00:33:13 verbose #19646 > >
00:33:13 verbose #19647 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:13 verbose #19648 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:13 verbose #19649 > > │ ### routes                                                                   │
00:33:13 verbose #19650 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:13 verbose #19651 > >
00:33:13 verbose #19652 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:13 verbose #19653 > > nominal routes =
00:33:13 verbose #19654 > >     `(
00:33:13 verbose #19655 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:13 verbose #19656 > > Fable.Core.Emit(\"leptos_router::Routes\")>]]\n#endif\ntype leptos_router_Routes
00:33:13 verbose #19657 > > = class end"
00:33:13 verbose #19658 > >         $'' : $'leptos_router_Routes'
00:33:13 verbose #19659 > >     )
00:33:13 verbose #19660 > 00:33:12   debug #1126 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cb4cdab6088ce752b0a921e39ab3ba4c066fd9c173d1460c7776927ec22a01a6/main.spi
00:33:13 verbose #19661 > >
00:33:13 verbose #19662 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:13 verbose #19663 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:13 verbose #19664 > > │ ### html_element                                                             │
00:33:13 verbose #19665 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:13 verbose #19666 > >
00:33:13 verbose #19667 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:13 verbose #19668 > > nominal html_element t =
00:33:13 verbose #19669 > >     `(
00:33:13 verbose #19670 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:13 verbose #19671 > > Fable.Core.Emit(\"leptos::HtmlElement<$0>\")>]]\n#endif\ntype
00:33:13 verbose #19672 > > leptos_HtmlElement<'T> = class end"
00:33:13 verbose #19673 > >         $'' : $'leptos_HtmlElement<`t>'
00:33:13 verbose #19674 > >     )
00:33:13 verbose #19675 > 00:33:12   debug #1127 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/855ef4f0d8a4bd27f5db149cc74793ee5ec12daada4c012bf35e69a9a98d69ac/main.spi
00:33:13 verbose #19676 > >
00:33:13 verbose #19677 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:13 verbose #19678 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:13 verbose #19679 > > │ ### into_view                                                                │
00:33:13 verbose #19680 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:13 verbose #19681 > >
00:33:13 verbose #19682 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:13 verbose #19683 > > nominal into_view =
00:33:13 verbose #19684 > >     `(
00:33:13 verbose #19685 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:13 verbose #19686 > > Fable.Core.Emit(\"leptos::IntoView\")>]]\n#endif\ntype leptos_IntoView = class
00:33:13 verbose #19687 > > end"
00:33:13 verbose #19688 > >         $'' : $'leptos_IntoView'
00:33:13 verbose #19689 > >     )
00:33:14 verbose #19690 > 00:33:13   debug #1128 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d9aa435d78b3792321e87029624cce7dfc829b150313c5280e6025e0d2d74800/main.spi
00:33:14 verbose #19691 > >
00:33:14 verbose #19692 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:14 verbose #19693 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:14 verbose #19694 > > │ ### location                                                                 │
00:33:14 verbose #19695 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:14 verbose #19696 > >
00:33:14 verbose #19697 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:14 verbose #19698 > > nominal location =
00:33:14 verbose #19699 > >     `(
00:33:14 verbose #19700 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:14 verbose #19701 > > Fable.Core.Emit(\"leptos_router::Location\")>]]\n#endif\ntype
00:33:14 verbose #19702 > > leptos_router_Location = class end"
00:33:14 verbose #19703 > >         $'' : $'leptos_router_Location'
00:33:14 verbose #19704 > >     )
00:33:14 verbose #19705 > 00:33:13   debug #1129 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6f4b6c3d8740ada00f57a9b3aad0c922871af73240387268733bd7f916320dfb/main.spi
00:33:14 verbose #19706 > >
00:33:14 verbose #19707 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:14 verbose #19708 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:14 verbose #19709 > > │ ### navigate_options                                                         │
00:33:14 verbose #19710 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:14 verbose #19711 > >
00:33:14 verbose #19712 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:14 verbose #19713 > > nominal navigate_options =
00:33:14 verbose #19714 > >     `(
00:33:14 verbose #19715 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:14 verbose #19716 > > Fable.Core.Emit(\"leptos_router::NavigateOptions\")>]]\n#endif\ntype
00:33:14 verbose #19717 > > leptos_router_NavigateOptions = class end"
00:33:14 verbose #19718 > >         $'' : $'leptos_router_NavigateOptions'
00:33:14 verbose #19719 > >     )
00:33:14 verbose #19720 > 00:33:14   debug #1130 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3bac100240842a636c2189b0de24a87659f0979cb61f311205435790d163490e/main.spi
00:33:15 verbose #19721 > >
00:33:15 verbose #19722 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:15 verbose #19723 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:15 verbose #19724 > > │ ### url                                                                      │
00:33:15 verbose #19725 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:15 verbose #19726 > >
00:33:15 verbose #19727 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:15 verbose #19728 > > nominal url =
00:33:15 verbose #19729 > >     `(
00:33:15 verbose #19730 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:15 verbose #19731 > > Fable.Core.Emit(\"leptos_router::Url\")>]]\n#endif\ntype leptos_router_Url =
00:33:15 verbose #19732 > > class end"
00:33:15 verbose #19733 > >         $'' : $'leptos_router_Url'
00:33:15 verbose #19734 > >     )
00:33:15 verbose #19735 > 00:33:14   debug #1131 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c68191d209f69e973ede47958f905342e5fc0401d5da61cd51a5aa0d29ccffb5/main.spi
00:33:15 verbose #19736 > >
00:33:15 verbose #19737 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:15 verbose #19738 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:15 verbose #19739 > > │ ### memo                                                                     │
00:33:15 verbose #19740 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:15 verbose #19741 > >
00:33:15 verbose #19742 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:15 verbose #19743 > > nominal memo t =
00:33:15 verbose #19744 > >     `(
00:33:15 verbose #19745 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:15 verbose #19746 > > Fable.Core.Emit(\"leptos::Memo<$0>\")>]]\n#endif\ntype leptos_Memo<'T> = class
00:33:15 verbose #19747 > > end"
00:33:15 verbose #19748 > >         $'' : $'leptos_Memo<`t>'
00:33:15 verbose #19749 > >     )
00:33:15 verbose #19750 > 00:33:14   debug #1132 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd1903da3bb3c0a9c9816503f8f991fab8bdd4ca1ef29baa3748a15bc9e6cf71/main.spi
00:33:15 verbose #19751 > >
00:33:15 verbose #19752 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:15 verbose #19753 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:15 verbose #19754 > > │ ### rw_signal                                                                │
00:33:15 verbose #19755 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:15 verbose #19756 > >
00:33:15 verbose #19757 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:15 verbose #19758 > > nominal rw_signal t =
00:33:15 verbose #19759 > >     `(
00:33:15 verbose #19760 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:15 verbose #19761 > > Fable.Core.Emit(\"leptos::RwSignal<$0>\")>]]\n#endif\ntype leptos_RwSignal<'T> =
00:33:15 verbose #19762 > > class end"
00:33:15 verbose #19763 > >         $'' : $'leptos_RwSignal<`t>'
00:33:15 verbose #19764 > >     )
00:33:16 verbose #19765 > 00:33:15   debug #1133 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a5d99fb7c9ab287f0e125769ecc7e01300f56eba164fd925cbf77ddee99c62f7/main.spi
00:33:16 verbose #19766 > >
00:33:16 verbose #19767 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:16 verbose #19768 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:16 verbose #19769 > > │ ### signal                                                                   │
00:33:16 verbose #19770 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:16 verbose #19771 > >
00:33:16 verbose #19772 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:16 verbose #19773 > > nominal signal t =
00:33:16 verbose #19774 > >     `(
00:33:16 verbose #19775 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:16 verbose #19776 > > Fable.Core.Emit(\"leptos::Signal<$0>\")>]]\n#endif\ntype leptos_Signal<'T> =
00:33:16 verbose #19777 > > class end"
00:33:16 verbose #19778 > >         $'' : $'leptos_Signal<`t>'
00:33:16 verbose #19779 > >     )
00:33:16 verbose #19780 > 00:33:15   debug #1134 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2ac965ef6e6569ff518a6fb86a7b275b78c00fbf31ef6a0a50d30aced1b8af0d/main.spi
00:33:16 verbose #19781 > >
00:33:16 verbose #19782 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:16 verbose #19783 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:16 verbose #19784 > > │ ### read_signal                                                              │
00:33:16 verbose #19785 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:16 verbose #19786 > >
00:33:16 verbose #19787 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:16 verbose #19788 > > nominal read_signal t =
00:33:16 verbose #19789 > >     `(
00:33:16 verbose #19790 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:16 verbose #19791 > > Fable.Core.Emit(\"leptos::ReadSignal<$0>\")>]]\n#endif\ntype
00:33:16 verbose #19792 > > leptos_ReadSignal<'T> = class end"
00:33:16 verbose #19793 > >         $'' : $'leptos_ReadSignal<`t>'
00:33:16 verbose #19794 > >     )
00:33:16 verbose #19795 > 00:33:15   debug #1135 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/936a930079cd056a40c542f723af3b010b55fadbefca1724f733121878b92523/main.spi
00:33:16 verbose #19796 > >
00:33:16 verbose #19797 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:16 verbose #19798 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:16 verbose #19799 > > │ ### write_signal                                                             │
00:33:16 verbose #19800 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:16 verbose #19801 > >
00:33:16 verbose #19802 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:16 verbose #19803 > > nominal write_signal t =
00:33:16 verbose #19804 > >     `(
00:33:16 verbose #19805 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:16 verbose #19806 > > Fable.Core.Emit(\"leptos::WriteSignal<$0>\")>]]\n#endif\ntype
00:33:16 verbose #19807 > > leptos_WriteSignal<'T> = class end"
00:33:16 verbose #19808 > >         $'' : $'leptos_WriteSignal<`t>'
00:33:16 verbose #19809 > >     )
00:33:17 verbose #19810 > 00:33:16   debug #1136 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2e1204aaa4f18736e6cfd0b24c499091ba92f76566346b8dcbf5ffd429cb4896/main.spi
00:33:17 verbose #19811 > >
00:33:17 verbose #19812 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:17 verbose #19813 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:17 verbose #19814 > > │ ### resource                                                                 │
00:33:17 verbose #19815 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:17 verbose #19816 > >
00:33:17 verbose #19817 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:17 verbose #19818 > > nominal resource t u =
00:33:17 verbose #19819 > >     `(
00:33:17 verbose #19820 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:17 verbose #19821 > > Fable.Core.Emit(\"leptos::Resource<$0, $1>\")>]]\n#endif\ntype
00:33:17 verbose #19822 > > leptos_Resource<'T, 'U> = class end"
00:33:17 verbose #19823 > >         $'' : $'leptos_Resource<`t, `u>'
00:33:17 verbose #19824 > >     )
00:33:17 verbose #19825 > 00:33:16   debug #1137 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9697f7ae63d7925a6167fb05c751cf399b2885a103c4623ef23c64bea6909675/main.spi
00:33:17 verbose #19826 > >
00:33:17 verbose #19827 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:17 verbose #19828 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:17 verbose #19829 > > │ ### view                                                                     │
00:33:17 verbose #19830 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:17 verbose #19831 > >
00:33:17 verbose #19832 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:17 verbose #19833 > > nominal view =
00:33:17 verbose #19834 > >     `(
00:33:17 verbose #19835 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:33:17 verbose #19836 > > Fable.Core.Emit(\"leptos::View\")>]]\n#endif\ntype leptos_View = class end"
00:33:17 verbose #19837 > >         $'' : $'leptos_View'
00:33:17 verbose #19838 > >     )
00:33:17 verbose #19839 > 00:33:17   debug #1138 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/352826f0f1fe37959964a48275449582236688eb1dc7777a2d8d711a4aad91e5/main.spi
00:33:18 verbose #19840 > >
00:33:18 verbose #19841 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:18 verbose #19842 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:18 verbose #19843 > > │ ### signal_get                                                               │
00:33:18 verbose #19844 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:18 verbose #19845 > >
00:33:18 verbose #19846 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:18 verbose #19847 > > prototype signal_get signal t : signal t -> t
00:33:18 verbose #19848 > 00:33:17   debug #1139 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3d386a1cef1b0f4acbe2bf29ad4de319a3a9736d7b948d1664bc32d2d5f28022/main.spi
00:33:18 verbose #19849 > >
00:33:18 verbose #19850 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:18 verbose #19851 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:18 verbose #19852 > > │ ### signal_get_untracked                                                     │
00:33:18 verbose #19853 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:18 verbose #19854 > >
00:33:18 verbose #19855 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:18 verbose #19856 > > prototype signal_get_untracked signal t : signal t -> t
00:33:18 verbose #19857 > 00:33:17   debug #1140 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/65bfd0d75be2b0f7ed0d0604dc5d35a70d13885ee3f80d9c81bc3207087b0971/main.spi
00:33:18 verbose #19858 > >
00:33:18 verbose #19859 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:18 verbose #19860 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:18 verbose #19861 > > │ ### signal_update                                                            │
00:33:18 verbose #19862 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:18 verbose #19863 > >
00:33:18 verbose #19864 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:18 verbose #19865 > > prototype signal_update signal t : (t -> t) -> signal t -> ()
00:33:19 verbose #19866 > 00:33:18   debug #1141 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e169d6097ecfc0ab720cd9c3a9bb01429b9aae138461795e9797c7c320f70582/main.spi
00:33:19 verbose #19867 > >
00:33:19 verbose #19868 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:19 verbose #19869 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:19 verbose #19870 > > │ ### signal_set                                                               │
00:33:19 verbose #19871 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:19 verbose #19872 > >
00:33:19 verbose #19873 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:19 verbose #19874 > > prototype signal_set signal t : t -> signal t -> ()
00:33:19 verbose #19875 > 00:33:18   debug #1142 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f2c50be8c4616aacf3899ea0c71fecd091aa14b5ee1b8f4d05f2e97619ec4c29/main.spi
00:33:19 verbose #19876 > >
00:33:19 verbose #19877 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:19 verbose #19878 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:19 verbose #19879 > > │ ### log_string                                                               │
00:33:19 verbose #19880 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:19 verbose #19881 > >
00:33:19 verbose #19882 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:19 verbose #19883 > > inl log_string (text : string) =
00:33:19 verbose #19884 > >     (!\($'@@"true; leptos::logging::log\!(""" + !text + @@""");"') : bool) |>
00:33:19 verbose #19885 > > ignore
00:33:19 verbose #19886 > 00:33:18   debug #1143 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/18f2dc83615636b3208b32eca290440d399eaacf424609b4fed4c034ff2e2379/main.spi
00:33:20 verbose #19887 > >
00:33:20 verbose #19888 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:20 verbose #19889 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:20 verbose #19890 > > │ ### log                                                                      │
00:33:20 verbose #19891 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:20 verbose #19892 > >
00:33:20 verbose #19893 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:20 verbose #19894 > > inl log (text : string) =
00:33:20 verbose #19895 > >     (!\\(text, $'@@$"true; leptos::logging::log\!(""{{}}"", $0)"') : bool) |>
00:33:20 verbose #19896 > > ignore
00:33:20 verbose #19897 > 00:33:19   debug #1144 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d7ccec3eb3ad31c5cfc53042d354c088e1cd0d30285627d6f53219e51e76e536/main.spi
00:33:20 verbose #19898 > >
00:33:20 verbose #19899 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:20 verbose #19900 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:20 verbose #19901 > > │ ### log_debug                                                                │
00:33:20 verbose #19902 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:20 verbose #19903 > >
00:33:20 verbose #19904 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:20 verbose #19905 > > inl log_debug (text : string) =
00:33:20 verbose #19906 > >     (!\\(text, $'@@$"true; leptos::logging::log\!(""{{:?}}"", $0)"') : bool) |>
00:33:20 verbose #19907 > > ignore
00:33:20 verbose #19908 > 00:33:19   debug #1145 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/576b28211f0e555d86faa3dc2586f46422f40f2b4cd43a33728671ed5a26dfd7/main.spi
00:33:20 verbose #19909 > >
00:33:20 verbose #19910 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:20 verbose #19911 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:20 verbose #19912 > > │ ### log_pretty                                                               │
00:33:20 verbose #19913 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:20 verbose #19914 > >
00:33:20 verbose #19915 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:20 verbose #19916 > > inl log_pretty (text : string) =
00:33:20 verbose #19917 > >     (!\\(text, $'@@$"true; leptos::logging::log\!(""{{:#?}}"", $0)"') : bool) |>
00:33:20 verbose #19918 > > ignore
00:33:20 verbose #19919 > 00:33:20   debug #1146 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b13af992666c37cef7a15d34fc96d71caf33c31b1e68f205b2dbc2fb0d4abf2d/main.spi
00:33:21 verbose #19920 > >
00:33:21 verbose #19921 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:21 verbose #19922 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:21 verbose #19923 > > │ ### log_format                                                               │
00:33:21 verbose #19924 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:21 verbose #19925 > >
00:33:21 verbose #19926 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:21 verbose #19927 > > inl log_format fn obj =
00:33:21 verbose #19928 > >     inl obj_log = obj |> sm'.format_debug
00:33:21 verbose #19929 > >     inl text = fn obj_log |> sm'.ellipsis_end 200
00:33:21 verbose #19930 > >     log text
00:33:21 verbose #19931 > >     obj
00:33:21 verbose #19932 > 00:33:20   debug #1147 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/791b5c563cf1fde222601ae5c98e305b78c2071a3fef1cef6d174eefdf2f80ab/main.spi
00:33:21 verbose #19933 > >
00:33:21 verbose #19934 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:21 verbose #19935 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:21 verbose #19936 > > │ ### mount_to_body                                                            │
00:33:21 verbose #19937 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:21 verbose #19938 > >
00:33:21 verbose #19939 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:21 verbose #19940 > > inl mount_to_body (view_fn : () -> rust.impl into_view) : () =
00:33:21 verbose #19941 > >     (!\\(view_fn, $'"true; leptos::mount_to_body(|| $0());"') : bool) |> ignore
00:33:21 verbose #19942 > 00:33:20   debug #1148 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/346f4209da95ea18b291f551931690a630357d0b9e706ca7ae4afa9baeeb8ee8/main.spi
00:33:21 verbose #19943 > >
00:33:21 verbose #19944 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:21 verbose #19945 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:21 verbose #19946 > > │ ### view_vec_to_fragment                                                     │
00:33:21 verbose #19947 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:21 verbose #19948 > >
00:33:21 verbose #19949 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:21 verbose #19950 > > inl view_vec_to_fragment (view : am'.vec view) : fragment =
00:33:21 verbose #19951 > >     !\\(view, $'"leptos::Fragment::new($0)"')
00:33:22 verbose #19952 > 00:33:21   debug #1149 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8992efa273f8b4fd5232862ff2132e4290c487b35e8fb24640f117d35ddca1e9/main.spi
00:33:22 verbose #19953 > >
00:33:22 verbose #19954 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:22 verbose #19955 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:22 verbose #19956 > > │ ### view_array_to_fragment                                                   │
00:33:22 verbose #19957 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:22 verbose #19958 > >
00:33:22 verbose #19959 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:22 verbose #19960 > > inl view_array_to_fragment (view : array_base view) : fragment =
00:33:22 verbose #19961 > >     view |> am'.to_vec |> view_vec_to_fragment
00:33:22 verbose #19962 > 00:33:21   debug #1150 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e72118681b18b549ff90a3d24166e4c4f994c7fe3399eafdb4a730b189344a90/main.spi
00:33:22 verbose #19963 > >
00:33:22 verbose #19964 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:22 verbose #19965 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:22 verbose #19966 > > │ ### element_to_view                                                          │
00:33:22 verbose #19967 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:22 verbose #19968 > >
00:33:22 verbose #19969 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:22 verbose #19970 > > inl element_to_view (view : html_element _) : view =
00:33:22 verbose #19971 > >     !\\(view, $'"leptos::IntoView::into_view($0)"')
00:33:22 verbose #19972 > 00:33:21   debug #1151 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/619064ee32f419fbd3f40d335fb71e1ce4fc00ed1533b15002e727e4c1e94f38/main.spi
00:33:23 verbose #19973 > >
00:33:23 verbose #19974 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:23 verbose #19975 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:23 verbose #19976 > > │ ### view_to_fragment                                                         │
00:33:23 verbose #19977 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:23 verbose #19978 > >
00:33:23 verbose #19979 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:23 verbose #19980 > > inl view_to_fragment (view : view) : fragment =
00:33:23 verbose #19981 > >     ;[[view]] |> view_array_to_fragment
00:33:23 verbose #19982 > 00:33:22   debug #1152 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bc2da536f63e6e88b86d3c0c1c34a5b5b23fb8bbc0015f0c4ef54d7586bfcf65/main.spi
00:33:23 verbose #19983 > >
00:33:23 verbose #19984 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:23 verbose #19985 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:23 verbose #19986 > > │ ### fragment_to_view                                                         │
00:33:23 verbose #19987 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:23 verbose #19988 > >
00:33:23 verbose #19989 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:23 verbose #19990 > > inl fragment_to_view (fragment : fragment) : view =
00:33:23 verbose #19991 > >     !\\(fragment, $'"leptos::IntoView::into_view($0)"')
00:33:23 verbose #19992 > 00:33:22   debug #1153 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d52452f49cc13f38ca04cb40c81e3b322b46f7120d2fd16e13e9f20fe1f4f187/main.spi
00:33:23 verbose #19993 > >
00:33:23 verbose #19994 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:23 verbose #19995 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:23 verbose #19996 > > │ ### element_to_fragment                                                      │
00:33:23 verbose #19997 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:23 verbose #19998 > >
00:33:23 verbose #19999 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:23 verbose #20000 > > inl element_to_fragment (view : html_element _) : fragment =
00:33:23 verbose #20001 > >     view
00:33:23 verbose #20002 > >     |> element_to_view
00:33:23 verbose #20003 > >     |> view_to_fragment
00:33:23 verbose #20004 > 00:33:23   debug #1154 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6b955c1bc6859e6ea41467612e5161397fc10235313a8515743ac5d2dfe1646b/main.spi
00:33:24 verbose #20005 > >
00:33:24 verbose #20006 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:24 verbose #20007 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:24 verbose #20008 > > │ ### (~:>) fragment                                                           │
00:33:24 verbose #20009 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:24 verbose #20010 > >
00:33:24 verbose #20011 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:24 verbose #20012 > > instance (~:>) fragment = fun x =>
00:33:24 verbose #20013 > >     real
00:33:24 verbose #20014 > >         typecase t with
00:33:24 verbose #20015 > >         | array_base (html_element ~el) =>
00:33:24 verbose #20016 > >             inl x = am'.to_vec `(html_element el) x
00:33:24 verbose #20017 > >             inl x = am'.vec_map' `(html_element el) `view (element_to_view `el)
00:33:24 verbose #20018 > > x
00:33:24 verbose #20019 > >             inl x : a i32 view = am'.from_vec `i32 `view x
00:33:24 verbose #20020 > >             inl (a x) = x
00:33:24 verbose #20021 > >             view_array_to_fragment x
00:33:24 verbose #20022 > >         | array_base view => view_array_to_fragment x
00:33:24 verbose #20023 > >         | _ => x
00:33:24 verbose #20024 > 00:33:23   debug #1155 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/22cb041f409918184eb4307f5521a4c3cb83fad0a5af70ce245f8abe2c1c00f9/main.spi
00:33:24 verbose #20025 > >
00:33:24 verbose #20026 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:24 verbose #20027 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:24 verbose #20028 > > │ ### (~:>) view                                                               │
00:33:24 verbose #20029 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:24 verbose #20030 > >
00:33:24 verbose #20031 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:24 verbose #20032 > > instance (~:>) view = fun x =>
00:33:24 verbose #20033 > >     real
00:33:24 verbose #20034 > >         typecase t with
00:33:24 verbose #20035 > >         | html_element _ => element_to_view x
00:33:24 verbose #20036 > >         | _ => x
00:33:24 verbose #20037 > 00:33:23   debug #1156 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a0f11bef739a39862003d07dad27735f9ef3f102578a558e20a81af469269dfb/main.spi
00:33:24 verbose #20038 > >
00:33:24 verbose #20039 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:24 verbose #20040 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:24 verbose #20041 > > │ ### view_trait_to_element                                                    │
00:33:24 verbose #20042 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:24 verbose #20043 > >
00:33:24 verbose #20044 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:24 verbose #20045 > > inl view_trait_to_element (view : rust.impl into_view) : html_element _ =
00:33:24 verbose #20046 > >     $'!view |> unbox'
00:33:25 verbose #20047 > 00:33:24   debug #1157 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1f05a71ac7ebfaff150ea627e2611305ef0dbb2ee0da353335ce10c61178fcf/main.spi
00:33:25 verbose #20048 > >
00:33:25 verbose #20049 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:25 verbose #20050 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:25 verbose #20051 > > │ ### view_trait_to_route_definition                                           │
00:33:25 verbose #20052 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:25 verbose #20053 > >
00:33:25 verbose #20054 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:25 verbose #20055 > > inl view_trait_to_route_definition (view : rust.impl into_view) :
00:33:25 verbose #20056 > > route_definition =
00:33:25 verbose #20057 > >     $'!view |> unbox'
00:33:25 verbose #20058 > 00:33:24   debug #1158 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b8b7212f3899634cef747f0125b71c3dc5280c569aa60bd728194de2da5815f7/main.spi
00:33:25 verbose #20059 > >
00:33:25 verbose #20060 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:25 verbose #20061 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:25 verbose #20062 > > │ ### to_element_view                                                          │
00:33:25 verbose #20063 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:25 verbose #20064 > >
00:33:25 verbose #20065 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:25 verbose #20066 > > inl to_element_view (view : html_element _) : rust.impl into_view =
00:33:25 verbose #20067 > >     $'!view |> unbox'
00:33:25 verbose #20068 > 00:33:24   debug #1159 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/45f215325fe8d6b26f6dc9eed82a98c5e30c1f38cd0d96905c9bae228effad95/main.spi
00:33:25 verbose #20069 > >
00:33:25 verbose #20070 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:25 verbose #20071 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:25 verbose #20072 > > │ ### to_view_trait                                                            │
00:33:25 verbose #20073 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:25 verbose #20074 > >
00:33:25 verbose #20075 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:25 verbose #20076 > > inl to_view_trait (view : view) : rust.impl into_view =
00:33:25 verbose #20077 > >     $'!view |> unbox'
00:33:26 verbose #20078 > 00:33:25   debug #1160 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cffe5d574366cd512c42b1f189b1c1aa271c2cda157a97d25f86f1a635bcc30e/main.spi
00:33:26 verbose #20079 > >
00:33:26 verbose #20080 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:26 verbose #20081 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:26 verbose #20082 > > │ ### to_fragment_unbox                                                        │
00:33:26 verbose #20083 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:26 verbose #20084 > >
00:33:26 verbose #20085 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:26 verbose #20086 > > inl to_fragment_unbox view : fragment =
00:33:26 verbose #20087 > >     $'!view |> unbox'
00:33:26 verbose #20088 > 00:33:25   debug #1161 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/86fa547205208aa9d1bcf2c335ef559e510a9d928c3d2feff27f01be91b61cd6/main.spi
00:33:26 verbose #20089 > >
00:33:26 verbose #20090 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:26 verbose #20091 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:26 verbose #20092 > > │ ### from_fragment_unbox                                                      │
00:33:26 verbose #20093 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:26 verbose #20094 > >
00:33:26 verbose #20095 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:26 verbose #20096 > > inl from_fragment_unbox (fragment : fragment) =
00:33:26 verbose #20097 > >     $'!fragment |> unbox'
00:33:26 verbose #20098 > 00:33:26   debug #1162 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/81e24e3cb2292e7fad3fb06df42e94cb3a03aada2e205d6df887a2cdc9a2e1bc/main.spi
00:33:27 verbose #20099 > >
00:33:27 verbose #20100 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:27 verbose #20101 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:27 verbose #20102 > > │ ### element_to_view_trait                                                    │
00:33:27 verbose #20103 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:27 verbose #20104 > >
00:33:27 verbose #20105 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:27 verbose #20106 > > inl element_to_view_trait (macro : html_element _) : rust.impl into_view =
00:33:27 verbose #20107 > >     !\($'"leptos::view\! { {!macro} }"')
00:33:27 verbose #20108 > 00:33:26   debug #1163 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f3a5b3baa913820534862dce1d24e6fc001898d3dfd51f50573ac1e20c62a753/main.spi
00:33:27 verbose #20109 > >
00:33:27 verbose #20110 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:27 verbose #20111 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:27 verbose #20112 > > │ ### macro_to_view_trait                                                      │
00:33:27 verbose #20113 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:27 verbose #20114 > >
00:33:27 verbose #20115 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:27 verbose #20116 > > inl macro_to_view_trait (macro : string) : rust.impl into_view =
00:33:27 verbose #20117 > >     !\($'"leptos::view\! { " + !macro + " }"')
00:33:27 verbose #20118 > 00:33:26   debug #1164 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/18404633d4d2b0467aae65c7deae1148306e11452f9e823d157a9efa7655e38c/main.spi
00:33:27 verbose #20119 > >
00:33:27 verbose #20120 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:27 verbose #20121 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:27 verbose #20122 > > │ ### macro_to_fragment                                                        │
00:33:27 verbose #20123 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:27 verbose #20124 > >
00:33:27 verbose #20125 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:27 verbose #20126 > > inl macro_to_fragment (macro : string) : fragment =
00:33:27 verbose #20127 > >     !\($'"leptos::view\! { " + !macro + " }"')
00:33:28 verbose #20128 > 00:33:27   debug #1165 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/09df76b83dd56fc43bc244cbe4344ae0cda3045a61d438074645cbee6b9e7404/main.spi
00:33:28 verbose #20129 > >
00:33:28 verbose #20130 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:28 verbose #20131 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:28 verbose #20132 > > │ ### new_transparent                                                          │
00:33:28 verbose #20133 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:28 verbose #20134 > >
00:33:28 verbose #20135 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:28 verbose #20136 > > inl new_transparent x : transparent =
00:33:28 verbose #20137 > >     !\\(x, $'"leptos::leptos_dom::Transparent::new($0)"')
00:33:28 verbose #20138 > 00:33:27   debug #1166 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/baca141482e632c41296f58680736eb456aafc4e11c678b5d328e91bc4b5b5a6/main.spi
00:33:28 verbose #20139 > >
00:33:28 verbose #20140 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:28 verbose #20141 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:28 verbose #20142 > > │ ### closure_to_view                                                          │
00:33:28 verbose #20143 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:28 verbose #20144 > >
00:33:28 verbose #20145 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:28 verbose #20146 > > inl closure_to_view (closure : rust.func0 view) : view =
00:33:28 verbose #20147 > >     !\\(closure, $'"leptos::IntoView::into_view(move || $0())"')
00:33:28 verbose #20148 > 00:33:27   debug #1167 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f8e838813844391f62b5e53503416fefe4f636c3cd9e915b7f54d29a90027f52/main.spi
00:33:28 verbose #20149 > >
00:33:28 verbose #20150 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:28 verbose #20151 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:28 verbose #20152 > > │ ### batch                                                                    │
00:33:28 verbose #20153 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:28 verbose #20154 > >
00:33:28 verbose #20155 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:28 verbose #20156 > > inl batch (fn : () -> ()) : () =
00:33:28 verbose #20157 > >     (!\\(fn, $'"true; leptos::batch(move || $0());"') : bool) |> ignore
00:33:29 verbose #20158 > 00:33:28   debug #1168 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dfaecb1119103ba21e16090dd70dd66be21cd0dcc62340e8c66db4412fee4c13/main.spi
00:33:29 verbose #20159 > >
00:33:29 verbose #20160 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:29 verbose #20161 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:29 verbose #20162 > > │ ### closure_to_fragment                                                      │
00:33:29 verbose #20163 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:29 verbose #20164 > >
00:33:29 verbose #20165 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:29 verbose #20166 > > inl closure_to_fragment (closure : rust.func0 fragment) : fragment =
00:33:29 verbose #20167 > >     !\\(closure, $'"leptos::IntoView::into_view(move || $0())"')
00:33:29 verbose #20168 > >     |> view_to_fragment
00:33:29 verbose #20169 > 00:33:28   debug #1169 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/111ed66f093b0b0f3dfd1584a7df9e0c27df0a2138d2fb4f29bc691c67467f47/main.spi
00:33:29 verbose #20170 > >
00:33:29 verbose #20171 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:29 verbose #20172 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:29 verbose #20173 > > │ ### array_to_view                                                            │
00:33:29 verbose #20174 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:29 verbose #20175 > >
00:33:29 verbose #20176 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:29 verbose #20177 > > inl array_to_view (view : a _ view) : view =
00:33:29 verbose #20178 > >     !\\(view, $'"leptos::CollectView::collect_view($0.to_vec())"')
00:33:29 verbose #20179 > 00:33:29   debug #1170 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2b9dff51f07aa2ec0ccce1f29948aa819431049877bd7a54b0e88aa394178001/main.spi
00:33:30 verbose #20180 > >
00:33:30 verbose #20181 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:30 verbose #20182 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:30 verbose #20183 > > │ ### to_fragment                                                              │
00:33:30 verbose #20184 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:30 verbose #20185 > >
00:33:30 verbose #20186 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:30 verbose #20187 > > inl to_fragment x : fragment =
00:33:30 verbose #20188 > >     $'!x |> unbox'
00:33:30 verbose #20189 > 00:33:29   debug #1171 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2631927fb8187a57f36915f0c9cd374203d0870babe0b5ae0ea96b5ab413060d/main.spi
00:33:30 verbose #20190 > >
00:33:30 verbose #20191 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:30 verbose #20192 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:30 verbose #20193 > > │ ### text_to_view                                                             │
00:33:30 verbose #20194 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:30 verbose #20195 > >
00:33:30 verbose #20196 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:30 verbose #20197 > > inl text_to_view (text : text) : view =
00:33:30 verbose #20198 > >     !\\(text, $'"leptos::IntoView::into_view($0)"')
00:33:30 verbose #20199 > 00:33:29   debug #1172 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f538f3934a21b3370181c16c882e8ae15ddd410936e02985fefdcc7e9ea1fe2/main.spi
00:33:30 verbose #20200 > >
00:33:30 verbose #20201 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:30 verbose #20202 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:30 verbose #20203 > > │ ### text_to_fragment                                                         │
00:33:30 verbose #20204 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:30 verbose #20205 > >
00:33:30 verbose #20206 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:30 verbose #20207 > > inl text_to_fragment (text : text) : fragment =
00:33:30 verbose #20208 > >     text
00:33:30 verbose #20209 > >     |> text_to_view
00:33:30 verbose #20210 > >     |> view_to_fragment
00:33:30 verbose #20211 > 00:33:30   debug #1173 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a6929bb50c19be5e5e921b6270e352bb46cc25dbaf30ec759aab43d322aaa94a/main.spi
00:33:31 verbose #20212 > >
00:33:31 verbose #20213 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:31 verbose #20214 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:31 verbose #20215 > > │ ### macro_to_view                                                            │
00:33:31 verbose #20216 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:31 verbose #20217 > >
00:33:31 verbose #20218 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:31 verbose #20219 > > inl macro_to_view (macro : string) : view =
00:33:31 verbose #20220 > >     !\($'"leptos::IntoView::into_view(leptos::view\! { " + !macro + " })"')
00:33:31 verbose #20221 > 00:33:30   debug #1174 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ce874e18df8dc053a0b53d63c64dd58224352ae22d52581002e04a60a6cc38ee/main.spi
00:33:31 verbose #20222 > >
00:33:31 verbose #20223 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:31 verbose #20224 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:31 verbose #20225 > > │ ### transparent_to_view                                                      │
00:33:31 verbose #20226 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:31 verbose #20227 > >
00:33:31 verbose #20228 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:31 verbose #20229 > > inl transparent_to_view (transparent : transparent) : view =
00:33:31 verbose #20230 > >     !\\(transparent, $'"leptos::IntoView::into_view($0)"')
00:33:31 verbose #20231 > 00:33:30   debug #1175 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd323bee3df4b36a670eeccb0c918fd2009201ba49fa8f3d9b9f1c8b6ac0d90e/main.spi
00:33:31 verbose #20232 > >
00:33:31 verbose #20233 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:31 verbose #20234 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:31 verbose #20235 > > │ ### transparent_to_fragment                                                  │
00:33:31 verbose #20236 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:31 verbose #20237 > >
00:33:31 verbose #20238 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:31 verbose #20239 > > inl transparent_to_fragment (transparent : transparent) : fragment =
00:33:31 verbose #20240 > >     transparent
00:33:31 verbose #20241 > >     |> transparent_to_view
00:33:31 verbose #20242 > >     |> view_to_fragment
00:33:32 verbose #20243 > 00:33:31   debug #1176 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bcd9ba5263bcbfca9f59f2bab73f2f360beef59c34a0e7ffe664dde296c603d4/main.spi
00:33:32 verbose #20244 > >
00:33:32 verbose #20245 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:32 verbose #20246 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:32 verbose #20247 > > │ ### macro_to_element                                                         │
00:33:32 verbose #20248 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:32 verbose #20249 > >
00:33:32 verbose #20250 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:32 verbose #20251 > > inl macro_to_element (view : string) : html_element _ =
00:33:32 verbose #20252 > >     view |> macro_to_view_trait |> view_trait_to_element
00:33:32 verbose #20253 > 00:33:31   debug #1177 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32960752caadf8af54a23035d66deb2de05173a41838ded341aeb1f610c1e429/main.spi
00:33:32 verbose #20254 > >
00:33:32 verbose #20255 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:32 verbose #20256 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:32 verbose #20257 > > │ ### transparents_fragment                                                    │
00:33:32 verbose #20258 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:32 verbose #20259 > >
00:33:32 verbose #20260 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:32 verbose #20261 > > inl transparents_fragment (items : array_base transparent) : fragment =
00:33:32 verbose #20262 > >     inl items = items |> am'.to_vec
00:33:32 verbose #20263 > >     !\\((items, transparent_to_view), $'"$0.iter().map(|x|
00:33:32 verbose #20264 > > $1(x.clone())).collect::<leptos::Fragment>()"')
00:33:32 verbose #20265 > 00:33:31   debug #1178 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0fdb45b1ba5b38727432bd09f3b1bd3f78cd78717b7ed08e9da8c66639c3969f/main.spi
00:33:32 verbose #20266 > >
00:33:32 verbose #20267 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:32 verbose #20268 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:32 verbose #20269 > > │ ### views_to_view                                                            │
00:33:32 verbose #20270 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:32 verbose #20271 > >
00:33:32 verbose #20272 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:32 verbose #20273 > > inl views_to_view (items : array_base view) : view =
00:33:32 verbose #20274 > >     inl items = join items
00:33:32 verbose #20275 > >     items
00:33:32 verbose #20276 > >     // |> fun x => a (join x) : a u64 _
00:33:32 verbose #20277 > >     |> fun x => a x : a u64 _
00:33:32 verbose #20278 > >     |> array_to_view
00:33:33 verbose #20279 > 00:33:32   debug #1179 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/836c5e6e0a7e17b57cd8e1daaef4f78eeb692e5906fe9965bae3e64752893487/main.spi
00:33:33 verbose #20280 > >
00:33:33 verbose #20281 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:33 verbose #20282 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:33 verbose #20283 > > │ ### new_text                                                                 │
00:33:33 verbose #20284 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:33 verbose #20285 > >
00:33:33 verbose #20286 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:33 verbose #20287 > > inl new_text (text : string) : text =
00:33:33 verbose #20288 > >     inl text = text |> sm'.to_std_string
00:33:33 verbose #20289 > >     !\\(text, $'"leptos::html::text($0)"')
00:33:33 verbose #20290 > 00:33:32   debug #1180 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b42462c8f15410ff787e226f0cb756237b7c1d0aba7d9ea7e18aa3ed886b762a/main.spi
00:33:33 verbose #20291 > >
00:33:33 verbose #20292 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:33 verbose #20293 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:33 verbose #20294 > > │ ### text_view                                                                │
00:33:33 verbose #20295 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:33 verbose #20296 > >
00:33:33 verbose #20297 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:33 verbose #20298 > > inl text_view (text : string) : view =
00:33:33 verbose #20299 > >     text
00:33:33 verbose #20300 > >     |> new_text
00:33:33 verbose #20301 > >     |> text_to_view
00:33:33 verbose #20302 > 00:33:33   debug #1181 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f97c27b969d4a17d75767480886542efdf259afc31a9f50414287381f0d4485f/main.spi
00:33:34 verbose #20303 > >
00:33:34 verbose #20304 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:34 verbose #20305 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:34 verbose #20306 > > │ ### text_fragment                                                            │
00:33:34 verbose #20307 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:34 verbose #20308 > >
00:33:34 verbose #20309 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:34 verbose #20310 > > inl text_fragment (text : string) : fragment =
00:33:34 verbose #20311 > >     text
00:33:34 verbose #20312 > >     |> text_view
00:33:34 verbose #20313 > >     |> view_to_fragment
00:33:34 verbose #20314 > 00:33:33   debug #1182 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/72363149d1d50acec329d9c5e8db010b123fab4e46d357c8eb50ce7b449c3566/main.spi
00:33:34 verbose #20315 > >
00:33:34 verbose #20316 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:34 verbose #20317 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:34 verbose #20318 > > │ ### provide_meta_context                                                     │
00:33:34 verbose #20319 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:34 verbose #20320 > >
00:33:34 verbose #20321 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:34 verbose #20322 > > inl provide_meta_context () =
00:33:34 verbose #20323 > >     (!\($'"true; leptos_meta::provide_meta_context()"') : bool) |> ignore
00:33:34 verbose #20324 > 00:33:33   debug #1183 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9cb310c7e6bf0fdcc79c0d03909eea61774d52fa456191089cb9a8e4fe0e74d4/main.spi
00:33:34 verbose #20325 > >
00:33:34 verbose #20326 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:34 verbose #20327 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:34 verbose #20328 > > │ ### provide_context                                                          │
00:33:34 verbose #20329 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:34 verbose #20330 > >
00:33:34 verbose #20331 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:34 verbose #20332 > > inl provide_context forall t. (x : t) =
00:33:34 verbose #20333 > >     (!\\(x, $'$"true; leptos::provide_context::<std::sync::Arc<`t>>($0)"') :
00:33:34 verbose #20334 > > bool) |> ignore
00:33:35 verbose #20335 > 00:33:34   debug #1184 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/189539c2c079f6aebc86d94f69e94ef03857302bb20a113a2f9aa9e7a6c3e39e/main.spi
00:33:35 verbose #20336 > >
00:33:35 verbose #20337 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:35 verbose #20338 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:35 verbose #20339 > > │ ### create_signal                                                            │
00:33:35 verbose #20340 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:35 verbose #20341 > >
00:33:35 verbose #20342 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:35 verbose #20343 > > inl create_signal forall t. (value : t) : read_signal t * write_signal t =
00:33:35 verbose #20344 > >     !\\(value, $'$"leptos::create_signal($0)"')
00:33:35 verbose #20345 > 00:33:34   debug #1185 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/120be6d8e1cfcdfedd8e88cc8361c1bc46f770636715e77830fa08d27f63f772/main.spi
00:33:35 verbose #20346 > >
00:33:35 verbose #20347 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:35 verbose #20348 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:35 verbose #20349 > > │ ### create_rw_signal                                                         │
00:33:35 verbose #20350 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:35 verbose #20351 > >
00:33:35 verbose #20352 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:35 verbose #20353 > > inl create_rw_signal forall t. (value : t) : rw_signal t =
00:33:35 verbose #20354 > >     !\\(value, $'$"leptos::create_rw_signal($0)"')
00:33:35 verbose #20355 > 00:33:35   debug #1186 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6ceda18e46f9cffab93f8604676a96fc6d7408551298a78807f04c3d15add149/main.spi
00:33:36 verbose #20356 > >
00:33:36 verbose #20357 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:36 verbose #20358 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:36 verbose #20359 > > │ ### read_only                                                                │
00:33:36 verbose #20360 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:36 verbose #20361 > >
00:33:36 verbose #20362 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:36 verbose #20363 > > inl read_only forall t. (value : rw_signal t) : read_signal t =
00:33:36 verbose #20364 > >     !\\(value, $'$"leptos::RwSignal::read_only(&$0)"')
00:33:36 verbose #20365 > 00:33:35   debug #1187 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/31b3e8d37d9273083c13e7752a581e05227b5d3338daeb00f4bd81737d31db9b/main.spi
00:33:36 verbose #20366 > >
00:33:36 verbose #20367 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:36 verbose #20368 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:36 verbose #20369 > > │ ### write_only                                                               │
00:33:36 verbose #20370 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:36 verbose #20371 > >
00:33:36 verbose #20372 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:36 verbose #20373 > > inl write_only forall t. (value : rw_signal t) : write_signal t =
00:33:36 verbose #20374 > >     !\\(value, $'$"leptos::RwSignal::write_only(&$0)"')
00:33:36 verbose #20375 > 00:33:35   debug #1188 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ff934f638f8235e774f383ea599188c9a57951f0a1af4b19e74192a306888fad/main.spi
00:33:36 verbose #20376 > >
00:33:36 verbose #20377 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:36 verbose #20378 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:36 verbose #20379 > > │ ### typecheck_signal                                                         │
00:33:36 verbose #20380 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:36 verbose #20381 > >
00:33:36 verbose #20382 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:36 verbose #20383 > > inl typecheck_signal forall (t : * -> *) u. (signal : t u) : () =
00:33:36 verbose #20384 > >     real
00:33:36 verbose #20385 > >         typecase t with
00:33:36 verbose #20386 > >         | signal => ()
00:33:36 verbose #20387 > >         | rw_signal => ()
00:33:36 verbose #20388 > >         | read_signal => ()
00:33:36 verbose #20389 > >         | write_signal => ()
00:33:36 verbose #20390 > >         | memo => ()
00:33:36 verbose #20391 > >         | _ => error_type `(()) ("invalid signal", ``(t u))
00:33:37 verbose #20392 > 00:33:36   debug #1189 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d869d84c8bafb7d07cbeebe52b6ef472b3486664fec2e02f796bf45dc65ff6ab/main.spi
00:33:37 verbose #20393 > >
00:33:37 verbose #20394 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:37 verbose #20395 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:37 verbose #20396 > > │ ### memo_get'                                                                │
00:33:37 verbose #20397 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:37 verbose #20398 > >
00:33:37 verbose #20399 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:37 verbose #20400 > > inl memo_get' forall t. (memo : memo t) : t =
00:33:37 verbose #20401 > >     !\\(memo, $'$"$0()"')
00:33:37 verbose #20402 > 00:33:36   debug #1190 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dfb55d19f7af96e628aab0c8e4f098c23b8e4ecd0c385f4463dbe0fa4fb9abc3/main.spi
00:33:37 verbose #20403 > >
00:33:37 verbose #20404 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:37 verbose #20405 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:37 verbose #20406 > > │ ### signal_get'                                                              │
00:33:37 verbose #20407 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:37 verbose #20408 > >
00:33:37 verbose #20409 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:37 verbose #20410 > > inl signal_get' forall (t : * -> *) u. (signal : t u) : u =
00:33:37 verbose #20411 > >     signal |> typecheck_signal
00:33:37 verbose #20412 > >     !\\(signal, $'$"leptos::SignalGet::get(&$0)"')
00:33:37 verbose #20413 > 00:33:37   debug #1191 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b033cb56accee58dac3de79e40426ca49ac33f47f7de8c56695c480f74fd15f3/main.spi
00:33:38 verbose #20414 > >
00:33:38 verbose #20415 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:38 verbose #20416 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:38 verbose #20417 > > │ ### signal_get signal                                                        │
00:33:38 verbose #20418 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:38 verbose #20419 > >
00:33:38 verbose #20420 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:38 verbose #20421 > > instance signal_get signal = signal_get'
00:33:38 verbose #20422 > 00:33:37   debug #1192 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0ad210a2a55363957f6987dba0241ea14bc346ec9cf734fd3366a1ddd805cb97/main.spi
00:33:38 verbose #20423 > >
00:33:38 verbose #20424 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:38 verbose #20425 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:38 verbose #20426 > > │ ### signal_get rw_signal                                                     │
00:33:38 verbose #20427 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:38 verbose #20428 > >
00:33:38 verbose #20429 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:38 verbose #20430 > > instance signal_get rw_signal = signal_get'
00:33:38 verbose #20431 > 00:33:37   debug #1193 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/71cc6245efd1cd4058bf1c764789dad5f7b0efaac7631007b4be6a57b811fb06/main.spi
00:33:38 verbose #20432 > >
00:33:38 verbose #20433 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:38 verbose #20434 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:38 verbose #20435 > > │ ### signal_get read_signal                                                   │
00:33:38 verbose #20436 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:38 verbose #20437 > >
00:33:38 verbose #20438 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:38 verbose #20439 > > instance signal_get read_signal = signal_get'
00:33:39 verbose #20440 > 00:33:38   debug #1194 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/336713c1aa6724e1103bbfd630584440ee2916fd7e25d0341d2823e4f1723e03/main.spi
00:33:39 verbose #20441 > >
00:33:39 verbose #20442 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:39 verbose #20443 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:39 verbose #20444 > > │ ### signal_get memo                                                          │
00:33:39 verbose #20445 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:39 verbose #20446 > >
00:33:39 verbose #20447 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:39 verbose #20448 > > instance signal_get memo = memo_get'
00:33:39 verbose #20449 > 00:33:38   debug #1195 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2ebf7c8450831dceb3fb1fd0a4fef8f9125391f7daaf6068b57e26fb60bf443e/main.spi
00:33:39 verbose #20450 > >
00:33:39 verbose #20451 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:39 verbose #20452 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:39 verbose #20453 > > │ ### signal_update'                                                           │
00:33:39 verbose #20454 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:39 verbose #20455 > >
00:33:39 verbose #20456 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:39 verbose #20457 > > inl signal_update' forall (t : * -> *) u. (fn : u -> u) (signal : t u) : () =
00:33:39 verbose #20458 > >     signal |> typecheck_signal
00:33:39 verbose #20459 > >     (!\\((signal, fn), $'"true; leptos::SignalUpdate::update(&$0, |x| { *x =
00:33:39 verbose #20460 > > $1(x.clone()) });"') : bool) |> ignore
00:33:39 verbose #20461 > 00:33:38   debug #1196 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d72da63f91a7222da35f1e41e2a63571c7c00e6728bce818af6215bdbf9ad2ec/main.spi
00:33:39 verbose #20462 > >
00:33:39 verbose #20463 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:39 verbose #20464 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:39 verbose #20465 > > │ ### signal_update rw_signal                                                  │
00:33:39 verbose #20466 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:39 verbose #20467 > >
00:33:39 verbose #20468 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:39 verbose #20469 > > instance signal_update rw_signal = signal_update'
00:33:40 verbose #20470 > 00:33:39   debug #1197 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a8d807fea7a66015d2f6e3f67b4e14a52655f1c128b79c694288d5d4d185115b/main.spi
00:33:40 verbose #20471 > >
00:33:40 verbose #20472 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:40 verbose #20473 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:40 verbose #20474 > > │ ### signal_update write_signal                                               │
00:33:40 verbose #20475 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:40 verbose #20476 > >
00:33:40 verbose #20477 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:40 verbose #20478 > > instance signal_update write_signal = signal_update'
00:33:40 verbose #20479 > 00:33:39   debug #1198 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6342fc4aae75a454f801e7a743b2282fb7bb37095c962a0f5daf41b3d933a3de/main.spi
00:33:40 verbose #20480 > >
00:33:40 verbose #20481 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:40 verbose #20482 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:40 verbose #20483 > > │ ### signal_get_untracked'                                                    │
00:33:40 verbose #20484 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:40 verbose #20485 > >
00:33:40 verbose #20486 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:40 verbose #20487 > > inl signal_get_untracked' forall (t : * -> *) u. (signal : t u) : u =
00:33:40 verbose #20488 > >     signal |> typecheck_signal
00:33:40 verbose #20489 > >     !\\(signal, $'$"leptos::SignalGetUntracked::get_untracked(&$0)"')
00:33:40 verbose #20490 > 00:33:39   debug #1199 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/689415e19c0231c036f1f8aaa59bc17f045ee19c0cc25a78f6ab6640ca4dd2d9/main.spi
00:33:41 verbose #20491 > >
00:33:41 verbose #20492 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:41 verbose #20493 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:41 verbose #20494 > > │ ### signal_get_untracked rw_signal                                           │
00:33:41 verbose #20495 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:41 verbose #20496 > >
00:33:41 verbose #20497 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:41 verbose #20498 > > instance signal_get_untracked rw_signal = signal_get_untracked'
00:33:41 verbose #20499 > 00:33:40   debug #1200 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9fd666e46902507737774acebeaef14a16ff8a293a47e8a70e08c64def2bed8a/main.spi
00:33:41 verbose #20500 > >
00:33:41 verbose #20501 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:41 verbose #20502 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:41 verbose #20503 > > │ ### signal_get_untracked read_signal                                         │
00:33:41 verbose #20504 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:41 verbose #20505 > >
00:33:41 verbose #20506 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:41 verbose #20507 > > instance signal_get_untracked read_signal = signal_get_untracked'
00:33:41 verbose #20508 > 00:33:40   debug #1201 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/79a81f7a84ad5ff42f2f49e056a04b40880337d13eff3ef3ead6009ce9e56eb8/main.spi
00:33:41 verbose #20509 > >
00:33:41 verbose #20510 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:41 verbose #20511 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:41 verbose #20512 > > │ ### signal_get_untracked memo                                                │
00:33:41 verbose #20513 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:41 verbose #20514 > >
00:33:41 verbose #20515 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:41 verbose #20516 > > instance signal_get_untracked memo = signal_get_untracked'
00:33:42 verbose #20517 > 00:33:41   debug #1202 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/53ac3a4ebac7440c7de61d90cf9e2339912df4c18c0fa0b9d9540f46c70911ca/main.spi
00:33:42 verbose #20518 > >
00:33:42 verbose #20519 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:42 verbose #20520 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:42 verbose #20521 > > │ ### signal_set'                                                              │
00:33:42 verbose #20522 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:42 verbose #20523 > >
00:33:42 verbose #20524 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:42 verbose #20525 > > inl signal_set' forall (t : * -> *) u. (value : u) (signal : t u) =
00:33:42 verbose #20526 > >     signal |> typecheck_signal
00:33:42 verbose #20527 > >     (!\\((signal, value), $'$"true; leptos::SignalSet::set(&$0, $1);"') : bool)
00:33:42 verbose #20528 > > |> ignore
00:33:42 verbose #20529 > 00:33:41   debug #1203 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/14659afd19178351522c6861971f2088254daa1f9e5d699df723f9df240dd7e5/main.spi
00:33:42 verbose #20530 > >
00:33:42 verbose #20531 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:42 verbose #20532 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:42 verbose #20533 > > │ ### signal_set rw_signal                                                     │
00:33:42 verbose #20534 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:42 verbose #20535 > >
00:33:42 verbose #20536 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:42 verbose #20537 > > instance signal_set rw_signal = signal_set'
00:33:42 verbose #20538 > 00:33:41   debug #1204 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d19dd8c946d3adcbf1a0f182fb8a8ef519c7abb21e202dbb39fda686ab6da636/main.spi
00:33:42 verbose #20539 > >
00:33:42 verbose #20540 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:42 verbose #20541 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:42 verbose #20542 > > │ ### signal_set write_signal                                                  │
00:33:42 verbose #20543 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:42 verbose #20544 > >
00:33:42 verbose #20545 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:42 verbose #20546 > > instance signal_set write_signal = signal_set'
00:33:43 verbose #20547 > 00:33:42   debug #1205 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bca3d54d03b5fbe755485a181702b37befc0a79ce173460aa5a53ce51f1a2a1b/main.spi
00:33:43 verbose #20548 > >
00:33:43 verbose #20549 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:43 verbose #20550 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:43 verbose #20551 > > │ ### create_local_resource                                                    │
00:33:43 verbose #20552 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:43 verbose #20553 > >
00:33:43 verbose #20554 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:43 verbose #20555 > > inl create_local_resource forall t u.
00:33:43 verbose #20556 > >     (source : () -> t)
00:33:43 verbose #20557 > >     (fetcher : t -> async.future_pin u)
00:33:43 verbose #20558 > >     : resource t u
00:33:43 verbose #20559 > >     =
00:33:43 verbose #20560 > >     // inl fetcher x = rust.move fun () =>
00:33:43 verbose #20561 > >     //    fetcher x
00:33:43 verbose #20562 > >     // inl fetcher = join fetcher
00:33:43 verbose #20563 > >     // !\($'"leptos::create_local_resource(move || !source(), move |x| async
00:33:43 verbose #20564 > > move { !fetcher(x)().await })"')
00:33:43 verbose #20565 > >
00:33:43 verbose #20566 > >     // ---
00:33:43 verbose #20567 > >
00:33:43 verbose #20568 > >     // inl fn x = async.new_future fun () =>
00:33:43 verbose #20569 > >     //     inl x' = fetcher x
00:33:43 verbose #20570 > >     //     x' |> async.await
00:33:43 verbose #20571 > >
00:33:43 verbose #20572 > >     // !\\((source, fn), $'"leptos::create_local_resource(move || $0(), |x|
00:33:43 verbose #20573 > > async move { $1(x).await })"')
00:33:43 verbose #20574 > >
00:33:43 verbose #20575 > >
00:33:43 verbose #20576 > >     join
00:33:43 verbose #20577 > >         !\\(source, $'"let __create_local_resource =
00:33:43 verbose #20578 > > leptos::create_local_resource(move || $0(), |x| async move { //"')
00:33:43 verbose #20579 > >
00:33:43 verbose #20580 > >         inl x = !\($'"x"')
00:33:43 verbose #20581 > >         inl x' = fetcher x
00:33:43 verbose #20582 > >         inl x' = join x'
00:33:43 verbose #20583 > >         inl x' = x' |> async.await
00:33:43 verbose #20584 > >
00:33:43 verbose #20585 > >         inl closure_fix = 2u8, 1u8
00:33:43 verbose #20586 > >         x' |> rust.fix_closure closure_fix
00:33:43 verbose #20587 > >
00:33:43 verbose #20588 > >         !\($'"__create_local_resource"')
00:33:43 verbose #20589 > 00:33:42   debug #1206 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a44e9b8cbd38567f1aedaa70d43709c7a36959f3891eedad2f6a896fefa31ee4/main.spi
00:33:43 verbose #20590 > >
00:33:43 verbose #20591 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:43 verbose #20592 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:43 verbose #20593 > > │ ### create_resource                                                          │
00:33:43 verbose #20594 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:43 verbose #20595 > >
00:33:43 verbose #20596 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:43 verbose #20597 > > // inl create_resource forall t u. (source : () -> t) (fetcher : t ->
00:33:43 verbose #20598 > > async.future_pin u) : resource t u =
00:33:43 verbose #20599 > > //     inl source = join source
00:33:43 verbose #20600 > > //     !\\(fetcher, $'"leptos::create_resource(move || !source(), |x| async move
00:33:43 verbose #20601 > > { $0(x).await })"')
00:33:43 verbose #20602 > 00:33:42   debug #1207 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2fc8fbb07497ac254d7d7d043ef1a5958446a259438b666c6f189818f4c09413/main.spi
00:33:44 verbose #20603 > >
00:33:44 verbose #20604 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:44 verbose #20605 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:44 verbose #20606 > > │ ### create_action                                                            │
00:33:44 verbose #20607 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:44 verbose #20608 > >
00:33:44 verbose #20609 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:44 verbose #20610 > > inl create_action forall t u. (action_fn : t -> async.future_pin u) : action t u
00:33:44 verbose #20611 > > =
00:33:44 verbose #20612 > >     !\\(action_fn, $'"leptos::create_action(move |value: &std::sync::Arc<`t>|
00:33:44 verbose #20613 > > $0(value.clone()))"')
00:33:44 verbose #20614 > 00:33:43   debug #1208 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a01dff60d66da38e75c5020f386b99e5e67380bb7a883aea2ef3d62f158f81d2/main.spi
00:33:44 verbose #20615 > >
00:33:44 verbose #20616 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:44 verbose #20617 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:44 verbose #20618 > > │ ### action_dispatch                                                          │
00:33:44 verbose #20619 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:44 verbose #20620 > >
00:33:44 verbose #20621 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:44 verbose #20622 > > inl action_dispatch forall t u. (value : heap t) (action : action (heap t) u) :
00:33:44 verbose #20623 > > () =
00:33:44 verbose #20624 > >     (!\\((action, value), $'"true; leptos::Action::dispatch(&$0, $1.clone())"')
00:33:44 verbose #20625 > > : bool) |> ignore
00:33:44 verbose #20626 > 00:33:43   debug #1209 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/81ccd2be2cae7b47f32ec8b862b895121664b2a8a3e4ae612a14e1eb8d70b0e6/main.spi
00:33:44 verbose #20627 > >
00:33:44 verbose #20628 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:44 verbose #20629 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:44 verbose #20630 > > │ ### action_input                                                             │
00:33:44 verbose #20631 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:44 verbose #20632 > >
00:33:44 verbose #20633 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:44 verbose #20634 > > inl action_input forall t u. (action : action (heap t) u) : rw_signal
00:33:44 verbose #20635 > > (optionm'.option' t) =
00:33:44 verbose #20636 > >     !\\(action, $'"leptos::Action::input(&$0)"')
00:33:45 verbose #20637 > 00:33:44   debug #1210 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/21432a7b9e93c8d74d8e81db5d87a6588aee6966ec17cb41f917c04c9982ccfd/main.spi
00:33:45 verbose #20638 > >
00:33:45 verbose #20639 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:45 verbose #20640 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:45 verbose #20641 > > │ ### action_pending                                                           │
00:33:45 verbose #20642 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:45 verbose #20643 > >
00:33:45 verbose #20644 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:45 verbose #20645 > > inl action_pending forall t u. (action : action (heap t) u) : read_signal bool =
00:33:45 verbose #20646 > >     !\\(action, $'"leptos::Action::pending(&$0)"')
00:33:45 verbose #20647 > 00:33:44   debug #1211 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d7029a0f7ca4a99d090d027b1f7cc073906eaa9e71954819b6a65ac2091e2458/main.spi
00:33:45 verbose #20648 > >
00:33:45 verbose #20649 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:45 verbose #20650 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:45 verbose #20651 > > │ ### action_value                                                             │
00:33:45 verbose #20652 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:45 verbose #20653 > >
00:33:45 verbose #20654 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:45 verbose #20655 > > inl action_value forall t u. (action : action (heap t) u) : rw_signal
00:33:45 verbose #20656 > > (optionm'.option' u) =
00:33:45 verbose #20657 > >     !\\(action, $'"leptos::Action::value(&$0)"')
00:33:45 verbose #20658 > 00:33:44   debug #1212 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/68225a26f4767cb82947c579c80307cd36b8de48964c2a4056acb060fcdddd46/main.spi
00:33:45 verbose #20659 > >
00:33:45 verbose #20660 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:45 verbose #20661 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:45 verbose #20662 > > │ ### use_context                                                              │
00:33:45 verbose #20663 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:45 verbose #20664 > >
00:33:45 verbose #20665 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:45 verbose #20666 > > inl use_context forall t. () : optionm'.option' t =
00:33:45 verbose #20667 > >     !\($'"leptos::use_context::<std::sync::Arc<`t>>()"')
00:33:46 verbose #20668 > 00:33:45   debug #1213 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0a4a1729ee5d8a75eaf469d26a185819247fab99057dd9805e8480a23df7458f/main.spi
00:33:46 verbose #20669 > >
00:33:46 verbose #20670 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:46 verbose #20671 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:46 verbose #20672 > > │ ### resource_loading                                                         │
00:33:46 verbose #20673 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:46 verbose #20674 > >
00:33:46 verbose #20675 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:46 verbose #20676 > > inl resource_loading forall t u. (resource : resource t u) : signal bool =
00:33:46 verbose #20677 > >     !\\(resource, $'$"leptos::Resource::loading(&$0)"')
00:33:46 verbose #20678 > 00:33:45   debug #1214 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2a94351df6524ebc044b5054bf23db41724bcde41cbc46c05d90b2c3da217ca7/main.spi
00:33:46 verbose #20679 > >
00:33:46 verbose #20680 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:46 verbose #20681 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:46 verbose #20682 > > │ ### resource_get                                                             │
00:33:46 verbose #20683 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:46 verbose #20684 > >
00:33:46 verbose #20685 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:46 verbose #20686 > > inl resource_get forall t u. (resource : resource t u) : optionm'.option' u =
00:33:46 verbose #20687 > >     !\\(resource, $'$"leptos::SignalGet::get(&$0)"')
00:33:47 verbose #20688 > 00:33:46   debug #1215 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/161f268239a3a8cec81a174a88e261f65376f9b49495813662656f8526276d9d/main.spi
00:33:47 verbose #20689 > >
00:33:47 verbose #20690 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:47 verbose #20691 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:47 verbose #20692 > > │ ### resource_with                                                            │
00:33:47 verbose #20693 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:47 verbose #20694 > >
00:33:47 verbose #20695 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:47 verbose #20696 > > inl resource_with forall t u v. (resource : resource t u) (fn : optionm'.option'
00:33:47 verbose #20697 > > u -> v) : v =
00:33:47 verbose #20698 > >     !\\((resource, fn), $'$"leptos::SignalWith::with(&$0, |x| $1(x.clone()))"')
00:33:47 verbose #20699 > 00:33:46   debug #1216 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/642e1a62c4b67207b0c4037defa0bc5f381f0d6d8d1cc61e0e9b4ead29b3671a/main.spi
00:33:47 verbose #20700 > >
00:33:47 verbose #20701 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:47 verbose #20702 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:47 verbose #20703 > > │ ### create_effect                                                            │
00:33:47 verbose #20704 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:47 verbose #20705 > >
00:33:47 verbose #20706 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:47 verbose #20707 > > inl create_effect (fn : () -> ()) : () =
00:33:47 verbose #20708 > >     inl fn = fn |> rust.emit
00:33:47 verbose #20709 > >     (!\($'"true; leptos::create_effect(move |_| { !fn(()) })"') : bool) |>
00:33:47 verbose #20710 > > ignore
00:33:47 verbose #20711 > 00:33:46   debug #1217 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f4a6bf2775425d3196f0dad877ae4456cfa20b33eb87472440a10b0e34d150f5/main.spi
00:33:47 verbose #20712 > >
00:33:47 verbose #20713 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:47 verbose #20714 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:47 verbose #20715 > > │ ### create_effect'                                                           │
00:33:47 verbose #20716 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:47 verbose #20717 > >
00:33:47 verbose #20718 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:47 verbose #20719 > > inl create_effect' forall t. (fn : optionm'.option' t -> t) : () =
00:33:47 verbose #20720 > >     (!\\(fn, $'"true; leptos::create_effect(move |x| { $0(x) })"') : bool) |>
00:33:47 verbose #20721 > > ignore
00:33:48 verbose #20722 > 00:33:47   debug #1218 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/83df9951828497f7300c1493f216fc35558f1b90ff6a25157c155104b38e4c40/main.spi
00:33:48 verbose #20723 > >
00:33:48 verbose #20724 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:48 verbose #20725 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:48 verbose #20726 > > │ ### interval_handle_clear                                                    │
00:33:48 verbose #20727 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:48 verbose #20728 > >
00:33:48 verbose #20729 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:48 verbose #20730 > > inl interval_handle_clear (interval_handle : interval_handle) =
00:33:48 verbose #20731 > >     (!\\(interval_handle, $'$"true;
00:33:48 verbose #20732 > > leptos::leptos_dom::helpers::IntervalHandle::clear(&$0)"') : bool) |> ignore
00:33:48 verbose #20733 > 00:33:47   debug #1219 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/00addd9ba7866c0415a9687f2348b612bef18362edec950c518466601c6d76b7/main.spi
00:33:48 verbose #20734 > >
00:33:48 verbose #20735 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:48 verbose #20736 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:48 verbose #20737 > > │ ### set_interval_with_handle                                                 │
00:33:48 verbose #20738 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:48 verbose #20739 > >
00:33:48 verbose #20740 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:48 verbose #20741 > > inl set_interval_with_handle
00:33:48 verbose #20742 > >     (fn : () -> ())
00:33:48 verbose #20743 > >     (interval_millis : date_time.duration)
00:33:48 verbose #20744 > >     : resultm.result' interval_handle wasm.js_value
00:33:48 verbose #20745 > >     =
00:33:48 verbose #20746 > >     !\\((fn, interval_millis), $'$"leptos::set_interval_with_handle(move ||
00:33:48 verbose #20747 > > $0(), $1)"')
00:33:48 verbose #20748 > 00:33:47   debug #1220 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe9b12e59f08a1536149ae1f98d132a62f05594f3aa34ab22d06b11d60938282/main.spi
00:33:49 verbose #20749 > >
00:33:49 verbose #20750 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:49 verbose #20751 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:49 verbose #20752 > > │ ### create_memo                                                              │
00:33:49 verbose #20753 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:49 verbose #20754 > >
00:33:49 verbose #20755 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:49 verbose #20756 > > inl create_memo forall t. (fn : () -> t) : memo t =
00:33:49 verbose #20757 > >     inl fn = fn |> rust.emit
00:33:49 verbose #20758 > >     !\($'"leptos::create_memo(move |_| { !fn(()) })"')
00:33:49 verbose #20759 > 00:33:48   debug #1221 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7b35ec7a7e13b346b1d06b099aa8e75663ff64e8bb6eb7d4fbc9620c91ce013a/main.spi
00:33:49 verbose #20760 > >
00:33:49 verbose #20761 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:49 verbose #20762 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:49 verbose #20763 > > │ ### window                                                                   │
00:33:49 verbose #20764 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:49 verbose #20765 > >
00:33:49 verbose #20766 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:49 verbose #20767 > > let window () : wasm.window =
00:33:49 verbose #20768 > >     !\($'"leptos::leptos_dom::window()"')
00:33:49 verbose #20769 > 00:33:48   debug #1222 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/961238256ccb4bd40b3585d81d74b6f230d8b3ee2463e8300b8fa7b3e70e7d59/main.spi
00:33:49 verbose #20770 > >
00:33:49 verbose #20771 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:49 verbose #20772 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:49 verbose #20773 > > │ ### bool_prop                                                                │
00:33:49 verbose #20774 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:49 verbose #20775 > >
00:33:49 verbose #20776 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:49 verbose #20777 > > inl bool_prop (prop : string) (fn : () -> bool) : string =
00:33:49 verbose #20778 > >     inl fn = join fn
00:33:49 verbose #20779 > >     $'"" + !prop + "={move || !fn()}"'
00:33:49 verbose #20780 > 00:33:49   debug #1223 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0e58e327af80398c2d549ba36935f75a1ce3dd70826bd25b8456b0e495ece7fa/main.spi
00:33:50 verbose #20781 > >
00:33:50 verbose #20782 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:50 verbose #20783 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:50 verbose #20784 > > │ ### concat_props                                                             │
00:33:50 verbose #20785 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:50 verbose #20786 > >
00:33:50 verbose #20787 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:50 verbose #20788 > > inl concat_props props =
00:33:50 verbose #20789 > >     ("", props)
00:33:50 verbose #20790 > >     ||> listm.fold fun acc (x : string) =>
00:33:50 verbose #20791 > >         $'" " + !x + !acc + ""'
00:33:50 verbose #20792 > 00:33:49   debug #1224 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d782a0b69e8c54abfb2e1270161f97de77964f3fc9cb6c0e15b1be8f24f1e725/main.spi
00:33:50 verbose #20793 > >
00:33:50 verbose #20794 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:50 verbose #20795 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:50 verbose #20796 > > │ ### move_to_fragment                                                         │
00:33:50 verbose #20797 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:50 verbose #20798 > >
00:33:50 verbose #20799 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:50 verbose #20800 > > inl move_to_fragment fn =
00:33:50 verbose #20801 > >     rust.move fn
00:33:50 verbose #20802 > >     |> closure_to_fragment
00:33:50 verbose #20803 > 00:33:49   debug #1225 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d1de03520cb509a513e75909c8eb8a6364b5b6ac3775fc09f58b792bc057ce0d/main.spi
00:33:50 verbose #20804 > >
00:33:50 verbose #20805 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:50 verbose #20806 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:50 verbose #20807 > > │ ### tag_raw                                                                  │
00:33:50 verbose #20808 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:50 verbose #20809 > >
00:33:50 verbose #20810 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:50 verbose #20811 > > inl tag_raw tag props children =
00:33:50 verbose #20812 > >     inl tag : string = tag
00:33:50 verbose #20813 > >     inl props = props |> concat_props
00:33:50 verbose #20814 > >     inl children = join children
00:33:50 verbose #20815 > >     inl children = fun () => children |> move_to_fragment
00:33:50 verbose #20816 > >     inl children : () -> fragment = join children
00:33:50 verbose #20817 > >     $'"<" + !tag + " " + !props + ">{!children()}</" + !tag + ">"'
00:33:51 verbose #20818 > 00:33:50   debug #1226 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/813a8bfd2a5c40ba44a313847a088792ce054842c92c528f7e73f042d57d6a8d/main.spi
00:33:51 verbose #20819 > >
00:33:51 verbose #20820 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:51 verbose #20821 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:51 verbose #20822 > > │ ### tag_element                                                              │
00:33:51 verbose #20823 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:51 verbose #20824 > >
00:33:51 verbose #20825 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:51 verbose #20826 > > inl tag_element tag props children : html_element _ =
00:33:51 verbose #20827 > >     inl children = join children
00:33:51 verbose #20828 > >     tag_raw tag props children
00:33:51 verbose #20829 > >     |> macro_to_element
00:33:51 verbose #20830 > 00:33:50   debug #1227 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76e93eacbf4e2a5779a26b595e14a488e8dc4fe6b44163fdfc0ee3ca23278f4d/main.spi
00:33:51 verbose #20831 > >
00:33:51 verbose #20832 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:51 verbose #20833 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:51 verbose #20834 > > │ ### tag_closed_raw                                                           │
00:33:51 verbose #20835 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:51 verbose #20836 > >
00:33:51 verbose #20837 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:51 verbose #20838 > > inl tag_closed_raw tag props =
00:33:51 verbose #20839 > >     inl tag : string = tag
00:33:51 verbose #20840 > >     inl props = props |> concat_props
00:33:51 verbose #20841 > >     $'"<" + !tag + " " + !props + " />"'
00:33:51 verbose #20842 > 00:33:51   debug #1228 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/706ca692bb563d99b4c4f18cacfd910fc26b3b6df889a080129a89e5a605db6b/main.spi
00:33:52 verbose #20843 > >
00:33:52 verbose #20844 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:52 verbose #20845 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:52 verbose #20846 > > │ ### tag_closed                                                               │
00:33:52 verbose #20847 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:52 verbose #20848 > >
00:33:52 verbose #20849 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:52 verbose #20850 > > inl tag_closed tag props : html_element _ =
00:33:52 verbose #20851 > >     tag_closed_raw tag props
00:33:52 verbose #20852 > >     |> macro_to_element
00:33:52 verbose #20853 > 00:33:51   debug #1229 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5365ad5b1f5ef639f6b1541c343cc974100c37194a8ec43f1facce068644c327/main.spi
00:33:52 verbose #20854 > >
00:33:52 verbose #20855 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:52 verbose #20856 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:52 verbose #20857 > > │ ### for                                                                      │
00:33:52 verbose #20858 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:52 verbose #20859 > >
00:33:52 verbose #20860 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:52 verbose #20861 > > inl for props : view =
00:33:52 verbose #20862 > >     tag_closed_raw "leptos::For" props
00:33:52 verbose #20863 > >     |> macro_to_view
00:33:52 verbose #20864 > 00:33:51   debug #1230 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/704a542ca7054769d58fe46f96e8f61790ecc3cc550da11c7dee16d12a54c488/main.spi
00:33:52 verbose #20865 > >
00:33:52 verbose #20866 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:52 verbose #20867 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:52 verbose #20868 > > │ ### for                                                                      │
00:33:52 verbose #20869 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:52 verbose #20870 > >
00:33:52 verbose #20871 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:52 verbose #20872 > > inl for forall t u (signal : * -> *).
00:33:52 verbose #20873 > >     (signal : signal (am'.vec t))
00:33:52 verbose #20874 > >     (key_fn : t -> u)
00:33:52 verbose #20875 > >     (children' : t -> fragment)
00:33:52 verbose #20876 > >     : view
00:33:52 verbose #20877 > >     =
00:33:52 verbose #20878 > >     inl signal = join signal
00:33:52 verbose #20879 > >     signal |> typecheck_signal
00:33:52 verbose #20880 > >     inl key_fn = join key_fn
00:33:52 verbose #20881 > >     inl children' = join children'
00:33:52 verbose #20882 > >     for [[
00:33:52 verbose #20883 > >         $'"each=!signal"'
00:33:52 verbose #20884 > >         $'"key=move |x| !key_fn(x.to_owned())"'
00:33:52 verbose #20885 > >         $'"let:x"'
00:33:52 verbose #20886 > >         $'"children=move |x| !children'(x)"'
00:33:52 verbose #20887 > >     ]]
00:33:53 verbose #20888 > 00:33:52   debug #1231 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1d58d577dab40e445c0d533340d14a0ac71d99810d6720fd9367569d006b5455/main.spi
00:33:53 verbose #20889 > >
00:33:53 verbose #20890 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:53 verbose #20891 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:53 verbose #20892 > > │ ### show                                                                     │
00:33:53 verbose #20893 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:53 verbose #20894 > >
00:33:53 verbose #20895 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:53 verbose #20896 > > inl show props : view =
00:33:53 verbose #20897 > >     tag_closed_raw "leptos::Show" props
00:33:53 verbose #20898 > >     |> macro_to_view
00:33:53 verbose #20899 > 00:33:52   debug #1232 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/276f385d78aba4107d97b128e1beee3d7e2c497c7163f42ff46c4e9526870711/main.spi
00:33:53 verbose #20900 > >
00:33:53 verbose #20901 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:53 verbose #20902 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:53 verbose #20903 > > │ ### show                                                                     │
00:33:53 verbose #20904 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:53 verbose #20905 > >
00:33:53 verbose #20906 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:53 verbose #20907 > > inl show (when_fn : () -> bool) (fallback : () -> view) (children : () ->
00:33:53 verbose #20908 > > fragment) : view =
00:33:53 verbose #20909 > >     inl when_fn = join when_fn
00:33:53 verbose #20910 > >     inl when_fn = join when_fn
00:33:53 verbose #20911 > >     inl fallback = join fallback
00:33:53 verbose #20912 > >     inl children = join children
00:33:53 verbose #20913 > >     show [[
00:33:53 verbose #20914 > >         $'"when=move || !when_fn()"'
00:33:53 verbose #20915 > >         $'"fallback=move || !fallback()"'
00:33:53 verbose #20916 > >         $'"children=std::rc::Rc::new(move || !children())"'
00:33:53 verbose #20917 > >     ]]
00:33:53 verbose #20918 > 00:33:52   debug #1233 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9f55c21493a4a14588889838dc35604e91adf398dc249930925fa5dd5ad4931a/main.spi
00:33:53 verbose #20919 > >
00:33:53 verbose #20920 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:53 verbose #20921 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:53 verbose #20922 > > │ ### use_location                                                             │
00:33:53 verbose #20923 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:53 verbose #20924 > >
00:33:53 verbose #20925 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:53 verbose #20926 > > inl use_location () : location =
00:33:53 verbose #20927 > >     !\($'"leptos_router::use_location()"')
00:33:54 verbose #20928 > 00:33:53   debug #1234 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e9b5ebe1a374d50e00c1fded285b41cccda25a34fbd21b59f775b6622ef118b9/main.spi
00:33:54 verbose #20929 > >
00:33:54 verbose #20930 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:54 verbose #20931 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:54 verbose #20932 > > │ ### use_navigate                                                             │
00:33:54 verbose #20933 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:54 verbose #20934 > >
00:33:54 verbose #20935 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:54 verbose #20936 > > inl use_navigate () : string -> () =
00:33:54 verbose #20937 > >     inl navigate : threading.arc (rust.dyn' (rust.action_fn2 (rust.ref sm'.str)
00:33:54 verbose #20938 > > navigate_options)) =
00:33:54 verbose #20939 > >         !\($'"std::sync::Arc::new(leptos_router::use_navigate())"')
00:33:54 verbose #20940 > >     fun url =>
00:33:54 verbose #20941 > >         inl url = url |> sm'.as_str
00:33:54 verbose #20942 > >         !\\(navigate, $'"$0(!url, Default::default())"')
00:33:54 verbose #20943 > 00:33:53   debug #1235 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a115a4351af27c98cc149b6156b1ad0a2fc95c3ffce156f441722773afeb2ee2/main.spi
00:33:54 verbose #20944 > >
00:33:54 verbose #20945 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:54 verbose #20946 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:54 verbose #20947 > > │ ### location_hash                                                            │
00:33:54 verbose #20948 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:54 verbose #20949 > >
00:33:54 verbose #20950 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:54 verbose #20951 > > inl location_hash (location : location) : memo sm'.std_string =
00:33:54 verbose #20952 > >     !\\(location, $'"$0.hash"')
00:33:54 verbose #20953 > 00:33:54   debug #1236 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0925849891753a9cb73b733f32050a76fd651becd1295573dee52429cf02b0e0/main.spi
00:33:55 verbose #20954 > >
00:33:55 verbose #20955 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:55 verbose #20956 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:55 verbose #20957 > > │ ### location_pathname                                                        │
00:33:55 verbose #20958 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:55 verbose #20959 > >
00:33:55 verbose #20960 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:55 verbose #20961 > > inl location_pathname (location : location) : memo sm'.std_string =
00:33:55 verbose #20962 > >     !\\(location, $'"$0.pathname"')
00:33:55 verbose #20963 > 00:33:54   debug #1237 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0ac58a69004e695795d1049fc190af4e938a6c9bf802276f27c1d9719c96af18/main.spi
00:33:55 verbose #20964 > >
00:33:55 verbose #20965 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:55 verbose #20966 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:55 verbose #20967 > > │ ### location_search                                                          │
00:33:55 verbose #20968 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:55 verbose #20969 > >
00:33:55 verbose #20970 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:55 verbose #20971 > > inl location_search (location : location) : memo sm'.std_string =
00:33:55 verbose #20972 > >     !\\(location, $'"$0.search"')
00:33:55 verbose #20973 > 00:33:54   debug #1238 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ceb9a3716f789eb7f88c737657f594040b15bcf1791b1728208a2366604bbc1c/main.spi
00:33:55 verbose #20974 > >
00:33:55 verbose #20975 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:55 verbose #20976 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:55 verbose #20977 > > │ ### url_try_from                                                             │
00:33:55 verbose #20978 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:55 verbose #20979 > >
00:33:55 verbose #20980 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:55 verbose #20981 > > inl url_try_from (s : rust.ref sm'.str) : resultm.result' url sm'.std_string =
00:33:55 verbose #20982 > >     !\\(s, $'"leptos_router::Url::try_from($0)"')
00:33:56 verbose #20983 > 00:33:55   debug #1239 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8c17866c66a839dd81c4c59ceb1bf9df9606119e3b5b55b2f9e530d5e6317e18/main.spi
00:33:56 verbose #20984 > >
00:33:56 verbose #20985 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:56 verbose #20986 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:56 verbose #20987 > > │ ### url_pathname                                                             │
00:33:56 verbose #20988 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:56 verbose #20989 > >
00:33:56 verbose #20990 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:56 verbose #20991 > > inl url_pathname (url : url) : sm'.std_string =
00:33:56 verbose #20992 > >     !\\(url, $'"$0.pathname"')
00:33:56 verbose #20993 > 00:33:55   debug #1240 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/223140d500b99c2cc82b949a666138ee662ddebaa59337beea247f34af5a54c6/main.spi
00:33:56 verbose #20994 > >
00:33:56 verbose #20995 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:56 verbose #20996 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:56 verbose #20997 > > │ ### use_url                                                                  │
00:33:56 verbose #20998 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:56 verbose #20999 > >
00:33:56 verbose #21000 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:56 verbose #21001 > > inl use_url () =
00:33:56 verbose #21002 > >     inl location = use_location ()
00:33:56 verbose #21003 > >
00:33:56 verbose #21004 > >     create_memo fun () =>
00:33:56 verbose #21005 > >         inl url_pathname = location |> location_pathname |> signal_get |>
00:33:56 verbose #21006 > > sm'.from_std_string
00:33:56 verbose #21007 > >         inl url_search = location |> location_search |> signal_get |>
00:33:56 verbose #21008 > > sm'.from_std_string
00:33:56 verbose #21009 > >         inl url_search =
00:33:56 verbose #21010 > >             if url_search = ""
00:33:56 verbose #21011 > >             then ""
00:33:56 verbose #21012 > >             else $'$"?{!url_search}"'
00:33:56 verbose #21013 > >         url_pathname +. url_search
00:33:56 verbose #21014 > 00:33:55   debug #1241 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e967fd91da5316e64ed1ffcadedaa77ee5852f95ab6586eae158b16a13e63d21/main.spi
00:33:56 verbose #21015 > >
00:33:56 verbose #21016 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:56 verbose #21017 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:56 verbose #21018 > > │ ### route                                                                    │
00:33:56 verbose #21019 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:56 verbose #21020 > >
00:33:56 verbose #21021 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:56 verbose #21022 > > inl route path view children : view =
00:33:56 verbose #21023 > >     inl path = join path
00:33:56 verbose #21024 > >     inl path = path |> sm'.to_std_string
00:33:56 verbose #21025 > >     inl view : () -> fragment = join view
00:33:56 verbose #21026 > >     inl children : () -> fragment = join children
00:33:56 verbose #21027 > >     tag_closed_raw "leptos_router::Route" [[
00:33:56 verbose #21028 > >         $'"path=!path"'
00:33:56 verbose #21029 > >         $'"view=move || !view()"'
00:33:56 verbose #21030 > >         $'"children=Box::new(move || !children())"'
00:33:56 verbose #21031 > >     ]]
00:33:56 verbose #21032 > >     |> macro_to_view
00:33:57 verbose #21033 > 00:33:56   debug #1242 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/20cc0cfd695270d32b2fc238e1272c399d0924bf3c95f13385bc6d6bd881fc6e/main.spi
00:33:57 verbose #21034 > >
00:33:57 verbose #21035 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:57 verbose #21036 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:57 verbose #21037 > > │ ### router                                                                   │
00:33:57 verbose #21038 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:57 verbose #21039 > >
00:33:57 verbose #21040 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:57 verbose #21041 > > inl router children : view =
00:33:57 verbose #21042 > >     inl children () =
00:33:57 verbose #21043 > >         children ()
00:33:57 verbose #21044 > >     inl children : () -> fragment = join children
00:33:57 verbose #21045 > >     tag_closed_raw "leptos_router::Router" [[
00:33:57 verbose #21046 > >         $'"children=Box::new(move || !children())"'
00:33:57 verbose #21047 > >     ]]
00:33:57 verbose #21048 > >     |> macro_to_view
00:33:57 verbose #21049 > 00:33:56   debug #1243 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/16fb81531ae6c5f11ca62dcf79a645d104e1e15436d877ed9a31030c9a12aff9/main.spi
00:33:57 verbose #21050 > >
00:33:57 verbose #21051 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:57 verbose #21052 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:57 verbose #21053 > > │ ### routes                                                                   │
00:33:57 verbose #21054 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:57 verbose #21055 > >
00:33:57 verbose #21056 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:57 verbose #21057 > > inl routes children : view =
00:33:57 verbose #21058 > >     inl children : () -> fragment = children |> rust.emit
00:33:57 verbose #21059 > >     tag_closed_raw "leptos_router::Routes" [[
00:33:57 verbose #21060 > >         $'"children=Box::new(move || !children(()))"'
00:33:57 verbose #21061 > >     ]]
00:33:57 verbose #21062 > >     |> macro_to_view
00:33:58 verbose #21063 > 00:33:57   debug #1244 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a60a768c1f9cbe467a9bab0412831ed7d8092d71003b1d693349a79d452ec077/main.spi
00:33:58 verbose #21064 > >
00:33:58 verbose #21065 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:58 verbose #21066 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:58 verbose #21067 > > │ ### a'                                                                       │
00:33:58 verbose #21068 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:58 verbose #21069 > >
00:33:58 verbose #21070 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:58 verbose #21071 > > inl a' props children : _ a' =
00:33:58 verbose #21072 > >     tag_element "a" props children
00:33:58 verbose #21073 > 00:33:57   debug #1245 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6474007f09625e73d8e5044159796001a2e9000af740baea6edcf45744a972fe/main.spi
00:33:58 verbose #21074 > >
00:33:58 verbose #21075 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:58 verbose #21076 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:58 verbose #21077 > > │ ### button                                                                   │
00:33:58 verbose #21078 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:58 verbose #21079 > >
00:33:58 verbose #21080 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:58 verbose #21081 > > inl button props children : _ button =
00:33:58 verbose #21082 > >     tag_element "button" props children
00:33:58 verbose #21083 > 00:33:57   debug #1246 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/27303354e84021474019932b92419abcb2e11c7fdfcf3e4d2734e66df1c4a5e4/main.spi
00:33:58 verbose #21084 > >
00:33:58 verbose #21085 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:58 verbose #21086 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:58 verbose #21087 > > │ ### details                                                                  │
00:33:58 verbose #21088 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:58 verbose #21089 > >
00:33:58 verbose #21090 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:58 verbose #21091 > > inl details props children : _ details =
00:33:58 verbose #21092 > >     tag_element "details" props children
00:33:59 verbose #21093 > 00:33:58   debug #1247 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1eb8dd5f5d8b01e0fb1fb48358a17970eeafc8af3fe954a5ed9797115f52cf6a/main.spi
00:33:59 verbose #21094 > >
00:33:59 verbose #21095 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:59 verbose #21096 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:59 verbose #21097 > > │ ### div                                                                      │
00:33:59 verbose #21098 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:59 verbose #21099 > >
00:33:59 verbose #21100 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:59 verbose #21101 > > inl div props children : _ div =
00:33:59 verbose #21102 > >     tag_element "div" props children
00:33:59 verbose #21103 > 00:33:58   debug #1248 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2acd68e243192f2db58c5bf6d8d06b4984c975eb204de254ddb481e855f77c5e/main.spi
00:33:59 verbose #21104 > >
00:33:59 verbose #21105 > > ── markdown ────────────────────────────────────────────────────────────────────
00:33:59 verbose #21106 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:33:59 verbose #21107 > > │ ### footer                                                                   │
00:33:59 verbose #21108 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:33:59 verbose #21109 > >
00:33:59 verbose #21110 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:33:59 verbose #21111 > > inl footer props children : _ footer =
00:33:59 verbose #21112 > >     tag_element "footer" props children
00:34:00 verbose #21113 > 00:33:59   debug #1249 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4fb4c40cae56ea95be7a49375a5a80a067f159349e37c1f84d6d38203bb9e199/main.spi
00:34:00 verbose #21114 > >
00:34:00 verbose #21115 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:00 verbose #21116 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:00 verbose #21117 > > │ ### header                                                                   │
00:34:00 verbose #21118 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:00 verbose #21119 > >
00:34:00 verbose #21120 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:00 verbose #21121 > > inl header props children : _ header =
00:34:00 verbose #21122 > >     tag_element "header" props children
00:34:00 verbose #21123 > 00:33:59   debug #1250 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/98fdd962d3505e03633ec40bdf2a4343ae45c2066c00d5280cce89e51ed0ffe8/main.spi
00:34:00 verbose #21124 > >
00:34:00 verbose #21125 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:00 verbose #21126 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:00 verbose #21127 > > │ ### label                                                                    │
00:34:00 verbose #21128 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:00 verbose #21129 > >
00:34:00 verbose #21130 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:00 verbose #21131 > > inl label props children : _ label =
00:34:00 verbose #21132 > >     tag_element "label" props children
00:34:00 verbose #21133 > 00:33:59   debug #1251 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d3e411f3049f89ed152d37338d75b7c76ad9a3fa801b7077187995dcf4cdc4ff/main.spi
00:34:00 verbose #21134 > >
00:34:00 verbose #21135 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:00 verbose #21136 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:00 verbose #21137 > > │ ### main                                                                     │
00:34:00 verbose #21138 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:00 verbose #21139 > >
00:34:00 verbose #21140 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:00 verbose #21141 > > inl main props children : _ main =
00:34:00 verbose #21142 > >     tag_element "main" props children
00:34:00 verbose #21143 > >
00:34:00 verbose #21144 > > inl main' () = ()
00:34:01 verbose #21145 > 00:34:00   debug #1252 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c8826da746915efbf8ef9b2609f8daebf88dfc03bfc3dc58c5663c2e3a1e72ef/main.spi
00:34:01 verbose #21146 > >
00:34:01 verbose #21147 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:01 verbose #21148 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:01 verbose #21149 > > │ ### nav                                                                      │
00:34:01 verbose #21150 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:01 verbose #21151 > >
00:34:01 verbose #21152 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:01 verbose #21153 > > inl nav props children : _ nav =
00:34:01 verbose #21154 > >     tag_element "nav" props children
00:34:01 verbose #21155 > 00:34:00   debug #1253 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2b6c6e450b1728233169f4450fe4ce7c0d6cb9be253d54b2b111f1d498fb4962/main.spi
00:34:01 verbose #21156 > >
00:34:01 verbose #21157 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:01 verbose #21158 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:01 verbose #21159 > > │ ### option'                                                                  │
00:34:01 verbose #21160 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:01 verbose #21161 > >
00:34:01 verbose #21162 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:01 verbose #21163 > > inl option' props children : _ option' =
00:34:01 verbose #21164 > >     tag_element "option" props children
00:34:02 verbose #21165 > 00:34:01   debug #1254 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d1d97840eced6f7d11cb2b85cfd2166a2cc7d010756f16f51a30842f774cebf6/main.spi
00:34:02 verbose #21166 > >
00:34:02 verbose #21167 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:02 verbose #21168 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:02 verbose #21169 > > │ ### option'                                                                  │
00:34:02 verbose #21170 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:02 verbose #21171 > >
00:34:02 verbose #21172 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:02 verbose #21173 > > inl option' select children : _ option' =
00:34:02 verbose #21174 > >     inl select : () -> bool = join select
00:34:02 verbose #21175 > >     option' [[
00:34:02 verbose #21176 > >         $'"select=!select()"'
00:34:02 verbose #21177 > >
00:34:02 verbose #21178 > >     ]] fun () =>
00:34:02 verbose #21179 > >         children |> new_text |> text_to_fragment
00:34:02 verbose #21180 > 00:34:01   debug #1255 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/537ea002ea603cb45e4078c84bae6cebde6db9fc23c0976d16d3b30c9ab2b835/main.spi
00:34:02 verbose #21181 > >
00:34:02 verbose #21182 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:02 verbose #21183 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:02 verbose #21184 > > │ ### pre                                                                      │
00:34:02 verbose #21185 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:02 verbose #21186 > >
00:34:02 verbose #21187 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:02 verbose #21188 > > inl pre props children : _ pre =
00:34:02 verbose #21189 > >     tag_element "pre" props children
00:34:02 verbose #21190 > 00:34:01   debug #1256 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe409b0e61d3fb1527c448fc6cf074faeb180ed38091b64accf9a44c51d55519/main.spi
00:34:02 verbose #21191 > >
00:34:02 verbose #21192 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:02 verbose #21193 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:02 verbose #21194 > > │ ### select                                                                   │
00:34:02 verbose #21195 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:02 verbose #21196 > >
00:34:02 verbose #21197 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:02 verbose #21198 > > inl select props children : _ select =
00:34:02 verbose #21199 > >     tag_element "select" props children
00:34:03 verbose #21200 > 00:34:02   debug #1257 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b1926a851d7423a0d61c3695b26f35c1ed82e9d29563cad7fe2da17c7afb5d70/main.spi
00:34:03 verbose #21201 > >
00:34:03 verbose #21202 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:03 verbose #21203 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:03 verbose #21204 > > │ ### span                                                                     │
00:34:03 verbose #21205 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:03 verbose #21206 > >
00:34:03 verbose #21207 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:03 verbose #21208 > > inl span props children : _ span =
00:34:03 verbose #21209 > >     tag_element "span" props children
00:34:03 verbose #21210 > 00:34:02   debug #1258 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/371922c2d08f6478c3ad807ddbc718cc7f36f3b956efb0d484b1ef5c4f07a5f8/main.spi
00:34:03 verbose #21211 > >
00:34:03 verbose #21212 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:03 verbose #21213 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:03 verbose #21214 > > │ ### summary                                                                  │
00:34:03 verbose #21215 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:03 verbose #21216 > >
00:34:03 verbose #21217 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:03 verbose #21218 > > inl summary props children : _ summary =
00:34:03 verbose #21219 > >     tag_element "summary" props children
00:34:03 verbose #21220 > 00:34:03   debug #1259 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c5ff3428c40f19d68d1f0596439c434cd47ea263bd98d85176be8dbdefb6902e/main.spi
00:34:04 verbose #21221 > >
00:34:04 verbose #21222 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:04 verbose #21223 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:04 verbose #21224 > > │ ### table                                                                    │
00:34:04 verbose #21225 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:04 verbose #21226 > >
00:34:04 verbose #21227 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:04 verbose #21228 > > inl table props children : _ table =
00:34:04 verbose #21229 > >     tag_element "table" props children
00:34:04 verbose #21230 > 00:34:03   debug #1260 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/169d7ffae0ffd23a2720d400fea1f677178956c76b388079b1d1f23d613f5c36/main.spi
00:34:04 verbose #21231 > >
00:34:04 verbose #21232 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:04 verbose #21233 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:04 verbose #21234 > > │ ### thead                                                                    │
00:34:04 verbose #21235 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:04 verbose #21236 > >
00:34:04 verbose #21237 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:04 verbose #21238 > > inl thead props children : _ thead =
00:34:04 verbose #21239 > >     tag_element "thead" props children
00:34:04 verbose #21240 > 00:34:03   debug #1261 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fc7b216d5d485610003a1bc4da4ba647100f7f0ba623f50c733140f9c90f394f/main.spi
00:34:04 verbose #21241 > >
00:34:04 verbose #21242 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:04 verbose #21243 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:04 verbose #21244 > > │ ### tbody                                                                    │
00:34:04 verbose #21245 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:04 verbose #21246 > >
00:34:04 verbose #21247 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:04 verbose #21248 > > inl tbody props children : _ tbody =
00:34:04 verbose #21249 > >     tag_element "tbody" props children
00:34:05 verbose #21250 > 00:34:04   debug #1262 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/966d6d82de4decf5032f41fb8a3a371cb907ce29ac96a557f2843ef3403bb310/main.spi
00:34:05 verbose #21251 > >
00:34:05 verbose #21252 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:05 verbose #21253 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:05 verbose #21254 > > │ ### tr                                                                       │
00:34:05 verbose #21255 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:05 verbose #21256 > >
00:34:05 verbose #21257 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:05 verbose #21258 > > inl tr props children : _ tr =
00:34:05 verbose #21259 > >     tag_element "tr" props children
00:34:05 verbose #21260 > 00:34:04   debug #1263 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2bd8c3c9aa51ca39e3fb517b5ff99d06e147285a2947c8258f44a9c45c9d52de/main.spi
00:34:05 verbose #21261 > >
00:34:05 verbose #21262 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:05 verbose #21263 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:05 verbose #21264 > > │ ### th                                                                       │
00:34:05 verbose #21265 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:05 verbose #21266 > >
00:34:05 verbose #21267 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:05 verbose #21268 > > inl th props children : _ th =
00:34:05 verbose #21269 > >     tag_element "th" props children
00:34:05 verbose #21270 > 00:34:04   debug #1264 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3674f352f03b9d1f131f641700b20ff013f6f88e7ebac5e6b3782914d0110b4e/main.spi
00:34:06 verbose #21271 > >
00:34:06 verbose #21272 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:06 verbose #21273 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:06 verbose #21274 > > │ ### td                                                                       │
00:34:06 verbose #21275 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:06 verbose #21276 > >
00:34:06 verbose #21277 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:06 verbose #21278 > > inl td props children : _ td =
00:34:06 verbose #21279 > >     tag_element "td" props children
00:34:06 verbose #21280 > 00:34:05   debug #1265 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/53ea712323ec2e468928ae9c15e04dc184becc0aa490013e469ceef0265ec746/main.spi
00:34:06 verbose #21281 > >
00:34:06 verbose #21282 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:06 verbose #21283 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:06 verbose #21284 > > │ ### svg                                                                      │
00:34:06 verbose #21285 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:06 verbose #21286 > >
00:34:06 verbose #21287 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:06 verbose #21288 > > inl svg props children : _ svg =
00:34:06 verbose #21289 > >     tag_element "svg" props children
00:34:06 verbose #21290 > 00:34:05   debug #1266 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a72c4d9ac2acf0019113c1970797369b76ac86b07d33e7e82ff60344ed0f62e7/main.spi
00:34:06 verbose #21291 > >
00:34:06 verbose #21292 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:06 verbose #21293 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:06 verbose #21294 > > │ ### path                                                                     │
00:34:06 verbose #21295 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:06 verbose #21296 > >
00:34:06 verbose #21297 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:06 verbose #21298 > > inl path props : _ path =
00:34:06 verbose #21299 > >     tag_element "path" props (fun () => ;[[]] |> view_array_to_fragment)
00:34:07 verbose #21300 > 00:34:06   debug #1267 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/da49d6385a8989e1554794178878f63796c55c1003fc1725119d434d5c099623/main.spi
00:34:07 verbose #21301 > >
00:34:07 verbose #21302 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:07 verbose #21303 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:07 verbose #21304 > > │ ### circle                                                                   │
00:34:07 verbose #21305 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:07 verbose #21306 > >
00:34:07 verbose #21307 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:07 verbose #21308 > > inl circle props : _ circle =
00:34:07 verbose #21309 > >     tag_element "circle" props (fun () => ;[[]] |> view_array_to_fragment)
00:34:07 verbose #21310 > 00:34:06   debug #1268 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bc3ba5e961d28ceeecfdb98911a3ff93bb4a1f6e509a4fce3ee66d504866fb5a/main.spi
00:34:07 verbose #21311 > >
00:34:07 verbose #21312 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:07 verbose #21313 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:07 verbose #21314 > > │ ### rect                                                                     │
00:34:07 verbose #21315 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:07 verbose #21316 > >
00:34:07 verbose #21317 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:07 verbose #21318 > > inl rect props children : _ rect =
00:34:07 verbose #21319 > >     tag_element "rect" props children
00:34:07 verbose #21320 > 00:34:06   debug #1269 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/394b347e3fdb689fc24566941c163ba39f41bac9bfc3184006eb37b10c7163f5/main.spi
00:34:07 verbose #21321 > >
00:34:07 verbose #21322 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:07 verbose #21323 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:07 verbose #21324 > > │ ### animate                                                                  │
00:34:07 verbose #21325 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:07 verbose #21326 > >
00:34:07 verbose #21327 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:07 verbose #21328 > > inl animate props : _ animate =
00:34:07 verbose #21329 > >     tag_element "animate" props (fun () => ;[[]] |> view_array_to_fragment)
00:34:08 verbose #21330 > 00:34:07   debug #1270 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4b2d2a4b39fc2ecb3cbf7bcefe91f58f41efac94d9043eb07bea8d50143a5b85/main.spi
00:34:08 verbose #21331 > >
00:34:08 verbose #21332 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:08 verbose #21333 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:08 verbose #21334 > > │ ### input                                                                    │
00:34:08 verbose #21335 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:08 verbose #21336 > >
00:34:08 verbose #21337 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:08 verbose #21338 > > inl input props : _ input =
00:34:08 verbose #21339 > >     tag_closed "input" props
00:34:08 verbose #21340 > 00:34:07   debug #1271 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a023fc546ce4f1a78cbfc8b6cc7cef1e855f06f5151c71ee083f925feb4e5165/main.spi
00:34:08 verbose #21341 > >
00:34:08 verbose #21342 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:08 verbose #21343 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:08 verbose #21344 > > │ ### dd                                                                       │
00:34:08 verbose #21345 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:08 verbose #21346 > >
00:34:08 verbose #21347 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:08 verbose #21348 > > inl dd props children : _ dd =
00:34:08 verbose #21349 > >     tag_element "dd" props children
00:34:08 verbose #21350 > 00:34:08   debug #1272 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2209ea8a9782e05974e8cae6bdeb85466d78eac248147d092aedc4ce96a39b45/main.spi
00:34:09 verbose #21351 > >
00:34:09 verbose #21352 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:09 verbose #21353 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:09 verbose #21354 > > │ ### dl                                                                       │
00:34:09 verbose #21355 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:09 verbose #21356 > >
00:34:09 verbose #21357 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:09 verbose #21358 > > inl dl props children : _ dl =
00:34:09 verbose #21359 > >     tag_element "dl" props children
00:34:09 verbose #21360 > 00:34:08   debug #1273 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3806251a4dcf140a38fb2dd0fda77d6683b7a3ff2c6c38b8c87080436cdb7660/main.spi
00:34:09 verbose #21361 > >
00:34:09 verbose #21362 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:09 verbose #21363 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:09 verbose #21364 > > │ ### dt                                                                       │
00:34:09 verbose #21365 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:09 verbose #21366 > >
00:34:09 verbose #21367 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:09 verbose #21368 > > inl dt props children : _ dt =
00:34:09 verbose #21369 > >     tag_element "dt" props children
00:34:09 verbose #21370 > 00:34:08   debug #1274 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ba48e42812faf8698a13b823133374b342e7d739d06fc04861b100e89eaac7f9/main.spi
00:34:09 verbose #21371 > 00:01:19 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 106727 }
00:34:09 verbose #21372 > 00:01:19   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:34:09 verbose #21373 >     "nbconvert",
00:34:09 verbose #21374 >     "c:/home/git/polyglot/lib/spiral/leptos/leptos.dib.ipynb",
00:34:09 verbose #21375 >     "--to",
00:34:09 verbose #21376 >     "html",
00:34:09 verbose #21377 >     "--HTMLExporter.theme=dark",
00:34:09 verbose #21378 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/leptos/leptos.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:12 verbose #21379 > 00:01:21 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/leptos/leptos.dib.ipynb to html
00:34:12 verbose #21380 > 00:01:21 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:34:12 verbose #21381 > 00:01:21 verbose #7 !   validate(nb)
00:34:14 verbose #21382 > 00:01:24 verbose #8 ! [NbConvertApp] Writing 593065 bytes to c:\home\git\polyglot\lib\spiral\leptos\leptos.dib.html
00:34:15 verbose #21383 > 00:01:25 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 657 }
00:34:15 verbose #21384 > 00:01:25   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 657 }
00:34:15 verbose #21385 > 00:01:25   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:34:15 verbose #21386 >     "-c",
00:34:15 verbose #21387 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/leptos/leptos.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:34:15 verbose #21388 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/leptos/leptos.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:16 verbose #21389 > 00:01:26 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:34:16 verbose #21390 > 00:01:26   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:34:16 verbose #21391 > 00:01:26   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 107443 }
00:34:16   debug #21392 runtime.execute_with_options_async / { exit_code = 0; output_length = 114500 }
00:34:16   debug #28 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path leptos/leptos.dib --retries 3
00:34:16   debug #21393 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path util.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:16 verbose #21394 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "util.dib", "--retries", "3"])) }
00:34:16 verbose #21395 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:34:16 verbose #21396 >     "repl",
00:34:16 verbose #21397 >     "--exit-after-run",
00:34:16 verbose #21398 >     "--run",
00:34:16 verbose #21399 >     "c:/home/git/polyglot/lib/spiral/util.dib",
00:34:16 verbose #21400 >     "--output-path",
00:34:16 verbose #21401 >     "c:/home/git/polyglot/lib/spiral/util.dib.ipynb",
00:34:16 verbose #21402 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/util.dib" --output-path "c:/home/git/polyglot/lib/spiral/util.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:34:18 verbose #21403 > >
00:34:18 verbose #21404 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:19 verbose #21405 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:19 verbose #21406 > > │ # util                                                                       │
00:34:19 verbose #21407 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:23 verbose #21408 > >
00:34:23 verbose #21409 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:23 verbose #21410 > > //// test
00:34:23 verbose #21411 > >
00:34:23 verbose #21412 > > open testing
00:34:23 verbose #21413 > 00:34:22   debug #1275 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:34:24 verbose #21414 > >
00:34:24 verbose #21415 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:24 verbose #21416 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:24 verbose #21417 > > │ ### ski                                                                      │
00:34:24 verbose #21418 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:24 verbose #21419 > >
00:34:24 verbose #21420 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:24 verbose #21421 > > union rec ski =
00:34:24 verbose #21422 > >     | I
00:34:24 verbose #21423 > >     | K
00:34:24 verbose #21424 > >     | S
00:34:24 verbose #21425 > >     | App : ski * ski
00:34:24 verbose #21426 > >
00:34:24 verbose #21427 > > inl rec eval ski =
00:34:24 verbose #21428 > >     match ski with
00:34:24 verbose #21429 > >     | App (App (K, x), y) => x |> eval
00:34:24 verbose #21430 > >     | App (App (App (S, x), y), z) => App (App (x, z), App (y, z)) |> eval
00:34:24 verbose #21431 > >     | App (I, x) => x |> eval
00:34:24 verbose #21432 > >     | App (K, x) => App (K, eval x)
00:34:24 verbose #21433 > >     | App (f, x) => App (eval f, x) |> eval
00:34:24 verbose #21434 > >     | _ => ski
00:34:24 verbose #21435 > 00:34:23   debug #1276 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/55f68dd739e62774e446e048bfbc0da20505423faa7837ca275a45e00b7aa12a/main.spi
00:34:24 verbose #21436 > >
00:34:24 verbose #21437 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:24 verbose #21438 > > //// test
00:34:24 verbose #21439 > >
00:34:24 verbose #21440 > > eval I
00:34:24 verbose #21441 > > |> _assert_eq I
00:34:24 verbose #21442 > >
00:34:24 verbose #21443 > > App (I, I)
00:34:24 verbose #21444 > > |> eval
00:34:24 verbose #21445 > > |> _assert_eq I
00:34:24 verbose #21446 > >
00:34:24 verbose #21447 > > App (I, App (I, I))
00:34:24 verbose #21448 > > |> eval
00:34:24 verbose #21449 > > |> _assert_eq I
00:34:24 verbose #21450 > >
00:34:24 verbose #21451 > > App (App (I, I), I)
00:34:24 verbose #21452 > > |> eval
00:34:24 verbose #21453 > > |> _assert_eq I
00:34:24 verbose #21454 > >
00:34:24 verbose #21455 > > App (App (App (I, I), I), I)
00:34:24 verbose #21456 > > |> eval
00:34:24 verbose #21457 > > |> _assert_eq I
00:34:24 verbose #21458 > >
00:34:24 verbose #21459 > > eval K
00:34:24 verbose #21460 > > |> _assert_eq K
00:34:24 verbose #21461 > >
00:34:24 verbose #21462 > > App (K, I)
00:34:24 verbose #21463 > > |> eval
00:34:24 verbose #21464 > > |> _assert_eq (App (K, I))
00:34:24 verbose #21465 > >
00:34:24 verbose #21466 > > App (K, K)
00:34:24 verbose #21467 > > |> eval
00:34:24 verbose #21468 > > |> _assert_eq (App (K, K))
00:34:24 verbose #21469 > >
00:34:24 verbose #21470 > > App (App (K, I), K)
00:34:24 verbose #21471 > > |> eval
00:34:24 verbose #21472 > > |> _assert_eq I
00:34:24 verbose #21473 > >
00:34:24 verbose #21474 > > App (App (K, K), I)
00:34:24 verbose #21475 > > |> eval
00:34:24 verbose #21476 > > |> _assert_eq K
00:34:24 verbose #21477 > >
00:34:24 verbose #21478 > > App (App (App (App (K, K), I), S), K)
00:34:24 verbose #21479 > > |> eval
00:34:24 verbose #21480 > > |> _assert_eq S
00:34:24 verbose #21481 > >
00:34:24 verbose #21482 > > eval S
00:34:24 verbose #21483 > > |> _assert_eq S
00:34:24 verbose #21484 > >
00:34:24 verbose #21485 > > App (App (App (S, I), I), I)
00:34:24 verbose #21486 > > |> eval
00:34:24 verbose #21487 > > |> _assert_eq I
00:34:24 verbose #21488 > >
00:34:24 verbose #21489 > > App (App (App (S, K), K), I)
00:34:24 verbose #21490 > > |> eval
00:34:24 verbose #21491 > > |> _assert_eq I
00:34:24 verbose #21492 > >
00:34:24 verbose #21493 > > App (App (App (S, K), I), (App (App (K, I), S)))
00:34:24 verbose #21494 > > |> eval
00:34:24 verbose #21495 > > |> _assert_eq I
00:34:24 verbose #21496 > >
00:34:24 verbose #21497 > > App (App (K, S), App (I, App (App (App (S, K), S), I)))
00:34:24 verbose #21498 > > |> eval
00:34:24 verbose #21499 > > |> _assert_eq S
00:34:24 verbose #21500 > >
00:34:24 verbose #21501 > > App (App (App (S, K), I), K)
00:34:24 verbose #21502 > > |> eval
00:34:24 verbose #21503 > > |> _assert_eq K
00:34:24 verbose #21504 > 00:34:23   debug #1277 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e6eefee28c7d2dded6638cfb752cc7777423c10b0b777a8ffdcf84642865b015/main.spi
00:34:26 verbose #21505 > >
00:34:26 verbose #21506 > > ╭─[ 1.46s - stdout ]───────────────────────────────────────────────────────────╮
00:34:26 verbose #21507 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21508 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21509 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21510 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21511 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21512 > > │ __assert_eq / actual: UH0_1 / expected: UH0_1                                │
00:34:26 verbose #21513 > > │ __assert_eq / actual: UH0_3 (UH0_1, UH0_0) / expected: UH0_3 (UH0_1, UH0_0)  │
00:34:26 verbose #21514 > > │ __assert_eq / actual: UH0_3 (UH0_1, UH0_1) / expected: UH0_3 (UH0_1, UH0_1)  │
00:34:26 verbose #21515 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21516 > > │ __assert_eq / actual: UH0_1 / expected: UH0_1                                │
00:34:26 verbose #21517 > > │ __assert_eq / actual: UH0_2 / expected: UH0_2                                │
00:34:26 verbose #21518 > > │ __assert_eq / actual: UH0_2 / expected: UH0_2                                │
00:34:26 verbose #21519 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21520 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21521 > > │ __assert_eq / actual: UH0_0 / expected: UH0_0                                │
00:34:26 verbose #21522 > > │ __assert_eq / actual: UH0_2 / expected: UH0_2                                │
00:34:26 verbose #21523 > > │ __assert_eq / actual: UH0_1 / expected: UH0_1                                │
00:34:26 verbose #21524 > > │                                                                              │
00:34:26 verbose #21525 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:26 verbose #21526 > 00:00:09 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 3706 }
00:34:26 verbose #21527 > 00:00:09   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:34:26 verbose #21528 >     "nbconvert",
00:34:26 verbose #21529 >     "c:/home/git/polyglot/lib/spiral/util.dib.ipynb",
00:34:26 verbose #21530 >     "--to",
00:34:26 verbose #21531 >     "html",
00:34:26 verbose #21532 >     "--HTMLExporter.theme=dark",
00:34:26 verbose #21533 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/util.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:28 verbose #21534 > 00:00:11 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/util.dib.ipynb to html
00:34:28 verbose #21535 > 00:00:11 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:34:28 verbose #21536 > 00:00:11 verbose #7 !   validate(nb)
00:34:29 verbose #21537 > 00:00:12 verbose #8 ! [NbConvertApp] Writing 284347 bytes to c:\home\git\polyglot\lib\spiral\util.dib.html
00:34:29 verbose #21538 > 00:00:12 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 639 }
00:34:29 verbose #21539 > 00:00:12   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 639 }
00:34:29 verbose #21540 > 00:00:12   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:34:29 verbose #21541 >     "-c",
00:34:29 verbose #21542 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/util.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:34:29 verbose #21543 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/util.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:30 verbose #21544 > 00:00:13 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:34:30 verbose #21545 > 00:00:13   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:34:31 verbose #21546 > 00:00:14   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 4404 }
00:34:31   debug #21547 runtime.execute_with_options_async / { exit_code = 0; output_length = 7302 }
00:34:31   debug #29 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path util.dib --retries 3
00:34:31   debug #21548 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path platform.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:31 verbose #21549 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "platform.dib", "--retries", "3"])) }
00:34:31 verbose #21550 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:34:31 verbose #21551 >     "repl",
00:34:31 verbose #21552 >     "--exit-after-run",
00:34:31 verbose #21553 >     "--run",
00:34:31 verbose #21554 >     "c:/home/git/polyglot/lib/spiral/platform.dib",
00:34:31 verbose #21555 >     "--output-path",
00:34:31 verbose #21556 >     "c:/home/git/polyglot/lib/spiral/platform.dib.ipynb",
00:34:31 verbose #21557 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/platform.dib" --output-path "c:/home/git/polyglot/lib/spiral/platform.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:34:33 verbose #21558 > >
00:34:33 verbose #21559 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:33 verbose #21560 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:33 verbose #21561 > > │ # platform                                                                   │
00:34:33 verbose #21562 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:37 verbose #21563 > >
00:34:37 verbose #21564 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:37 verbose #21565 > > open rust.rust_operators
00:34:38 verbose #21566 > 00:34:37   debug #1278 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/40daf77a2acec5ac15e1cf56631d4105f4f565759117828320eb559038e65549/main.spi
00:34:38 verbose #21567 > >
00:34:38 verbose #21568 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:38 verbose #21569 > > //// test
00:34:38 verbose #21570 > >
00:34:38 verbose #21571 > > open testing
00:34:39 verbose #21572 > 00:34:38   debug #1279 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc76f360fd664f6988ee1c6bc1dc43132802e524aab226e74a21329193e410ca/main.spi
00:34:39 verbose #21573 > >
00:34:39 verbose #21574 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:39 verbose #21575 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:39 verbose #21576 > > │ ## fsharp                                                                    │
00:34:39 verbose #21577 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:39 verbose #21578 > >
00:34:39 verbose #21579 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:39 verbose #21580 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:39 verbose #21581 > > │ ### os_platform                                                              │
00:34:39 verbose #21582 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:39 verbose #21583 > >
00:34:39 verbose #21584 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:39 verbose #21585 > > nominal os_platform' = $'System.Runtime.InteropServices.OSPlatform'
00:34:39 verbose #21586 > >
00:34:39 verbose #21587 > > union os_platform =
00:34:39 verbose #21588 > >     | FreeBSD
00:34:39 verbose #21589 > >     | Linux
00:34:39 verbose #21590 > >     | OSX
00:34:39 verbose #21591 > >     | Windows
00:34:39 verbose #21592 > >
00:34:39 verbose #21593 > > inl os_platform = function
00:34:39 verbose #21594 > >     | FreeBSD => $'`os_platform'.FreeBSD' : os_platform'
00:34:39 verbose #21595 > >     | Linux => $'`os_platform'.Linux' : os_platform'
00:34:39 verbose #21596 > >     | OSX => $'`os_platform'.OSX' : os_platform'
00:34:39 verbose #21597 > >     | Windows => $'`os_platform'.Windows' : os_platform'
00:34:39 verbose #21598 > 00:34:38   debug #1280 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7c32de1c5bf9d34fabf6a9721eb9d8b96096707a5541684526fc2bba35311411/main.spi
00:34:39 verbose #21599 > >
00:34:39 verbose #21600 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:39 verbose #21601 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:39 verbose #21602 > > │ ### run_platform                                                             │
00:34:39 verbose #21603 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:39 verbose #21604 > >
00:34:39 verbose #21605 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:39 verbose #21606 > > inl run_platform forall t. (fn : os_platform -> (() -> t)) : t =
00:34:39 verbose #21607 > >     inl result = dyn true
00:34:39 verbose #21608 > >     $'let mutable _!result : `t option = None '
00:34:39 verbose #21609 > >     $'\n#if _FREEBSD'
00:34:39 verbose #21610 > >     fn FreeBSD () |> emit_unit
00:34:39 verbose #21611 > >     $'#endif\n#if _LINUX'
00:34:39 verbose #21612 > >     fn Linux () |> emit_unit
00:34:39 verbose #21613 > >     $'#endif\n#if _OSX'
00:34:39 verbose #21614 > >     fn OSX () |> emit_unit
00:34:39 verbose #21615 > >     $'#endif\n#if _WINDOWS'
00:34:39 verbose #21616 > >     fn Windows () |> emit_unit
00:34:39 verbose #21617 > >     $'#endif'
00:34:39 verbose #21618 > >     $'|> fun x -> _!result <- Some x'
00:34:39 verbose #21619 > >     $'match _!result with Some x -> x | None -> failwith "runtime.run_platform
00:34:39 verbose #21620 > > _!result=None"'
00:34:39 verbose #21621 > 00:34:38   debug #1281 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/47bf326727728f93f58c822e221362c18a6dc603580a4941b95038d6da0a638c/main.spi
00:34:39 verbose #21622 > >
00:34:39 verbose #21623 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:39 verbose #21624 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:39 verbose #21625 > > │ ### is_os_platform                                                           │
00:34:39 verbose #21626 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:39 verbose #21627 > >
00:34:39 verbose #21628 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:39 verbose #21629 > > inl is_os_platform (x : os_platform') : bool =
00:34:39 verbose #21630 > >     x |> $'System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform'
00:34:40 verbose #21631 > 00:34:39   debug #1282 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7769c8cab742adfe4b3e91539edebb835b5feb0cd2336fa895e6d2db985656f4/main.spi
00:34:40 verbose #21632 > >
00:34:40 verbose #21633 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:40 verbose #21634 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:40 verbose #21635 > > │ ### is_windows'                                                              │
00:34:40 verbose #21636 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:40 verbose #21637 > >
00:34:40 verbose #21638 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:40 verbose #21639 > > inl is_windows' () : bool =
00:34:40 verbose #21640 > >     run_platform function
00:34:40 verbose #21641 > >         | Windows => fun () => true
00:34:40 verbose #21642 > >         | _ => fun () => false
00:34:40 verbose #21643 > 00:34:39   debug #1283 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/417428c076a7cc10300e2f77ce5613b90be2cabd34c9bd51a0b3d7c8c197c13f/main.spi
00:34:40 verbose #21644 > >
00:34:40 verbose #21645 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:40 verbose #21646 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:40 verbose #21647 > > │ ## platform                                                                  │
00:34:40 verbose #21648 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:40 verbose #21649 > >
00:34:40 verbose #21650 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:40 verbose #21651 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:40 verbose #21652 > > │ ### is_windows                                                               │
00:34:40 verbose #21653 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:40 verbose #21654 > >
00:34:40 verbose #21655 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:40 verbose #21656 > > inl is_windows () : bool =
00:34:40 verbose #21657 > >     run_target function
00:34:40 verbose #21658 > >         | Rust _ => fun () =>
00:34:40 verbose #21659 > >             !\($'"cfg\!(windows)"')
00:34:40 verbose #21660 > >         | Fsharp _ => fun () =>
00:34:40 verbose #21661 > >             Windows |> os_platform |> is_os_platform
00:34:40 verbose #21662 > >         | target => fun () => failwith $'$"platform.is_windows / target:
00:34:40 verbose #21663 > > {!target}"'
00:34:40 verbose #21664 > 00:34:39   debug #1284 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0613ba42d20a635d1d0fb75744e0afda48d18f0c41e727e00edb4cc4dd459413/main.spi
00:34:40 verbose #21665 > >
00:34:40 verbose #21666 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:40 verbose #21667 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:40 verbose #21668 > > │ ### get_executable_suffix                                                    │
00:34:40 verbose #21669 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:40 verbose #21670 > >
00:34:40 verbose #21671 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:40 verbose #21672 > > inl get_executable_suffix () =
00:34:40 verbose #21673 > >     if is_windows ()
00:34:40 verbose #21674 > >     then ".exe"
00:34:40 verbose #21675 > >     else ""
00:34:41 verbose #21676 > 00:34:40   debug #1285 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/37afbc76c269c0c7e4da4356dfb0e348d6d029b435d5e8fb5d366df470fd4680/main.spi
00:34:41 verbose #21677 > >
00:34:41 verbose #21678 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:41 verbose #21679 > > //// test
00:34:41 verbose #21680 > >
00:34:41 verbose #21681 > > get_executable_suffix ()
00:34:41 verbose #21682 > 00:34:40   debug #1286 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e4533ec8b16727055ea84ea1750ef3c83fa180554601dbb8afaeff8828f717c2/main.spi
00:34:42 verbose #21683 > >
00:34:42 verbose #21684 > > ╭─[ 1.40s - return value ]─────────────────────────────────────────────────────╮
00:34:42 verbose #21685 > > │ .exe                                                                         │
00:34:42 verbose #21686 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:42 verbose #21687 > >
00:34:42 verbose #21688 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:42 verbose #21689 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:42 verbose #21690 > > │ ## main                                                                      │
00:34:42 verbose #21691 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:42 verbose #21692 > >
00:34:42 verbose #21693 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:42 verbose #21694 > > inl main () =
00:34:42 verbose #21695 > >     $'let is_windows () = !is_windows ()' : ()
00:34:42 verbose #21696 > >     $'let get_executable_suffix () = !get_executable_suffix ()' : ()
00:34:42 verbose #21697 > 00:34:42   debug #1287 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0d59b38ab9dcec7ead42652d7326bd3a4473fe477c742ead61c3801b48061706/main.spi
00:34:43 verbose #21698 > 00:00:12 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 6028 }
00:34:43 verbose #21699 > 00:00:12   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:34:43 verbose #21700 >     "nbconvert",
00:34:43 verbose #21701 >     "c:/home/git/polyglot/lib/spiral/platform.dib.ipynb",
00:34:43 verbose #21702 >     "--to",
00:34:43 verbose #21703 >     "html",
00:34:43 verbose #21704 >     "--HTMLExporter.theme=dark",
00:34:43 verbose #21705 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/platform.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:45 verbose #21706 > 00:00:14 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/platform.dib.ipynb to html
00:34:45 verbose #21707 > 00:00:14 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:34:45 verbose #21708 > 00:00:14 verbose #7 !   validate(nb)
00:34:46 verbose #21709 > 00:00:15 verbose #8 ! [NbConvertApp] Writing 288002 bytes to c:\home\git\polyglot\lib\spiral\platform.dib.html
00:34:46 verbose #21710 > 00:00:15 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 647 }
00:34:46 verbose #21711 > 00:00:15   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 647 }
00:34:46 verbose #21712 > 00:00:15   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:34:46 verbose #21713 >     "-c",
00:34:46 verbose #21714 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/platform.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:34:46 verbose #21715 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/platform.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:48 verbose #21716 > 00:00:16 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:34:48 verbose #21717 > 00:00:16   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:34:48 verbose #21718 > 00:00:17   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 6734 }
00:34:48   debug #21719 runtime.execute_with_options_async / { exit_code = 0; output_length = 9688 }
00:34:48   debug #30 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path platform.dib --retries 3
00:34:48   debug #21720 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path stream.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:34:48 verbose #21721 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "stream.dib", "--retries", "3"])) }
00:34:48 verbose #21722 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:34:48 verbose #21723 >     "repl",
00:34:48 verbose #21724 >     "--exit-after-run",
00:34:48 verbose #21725 >     "--run",
00:34:48 verbose #21726 >     "c:/home/git/polyglot/lib/spiral/stream.dib",
00:34:48 verbose #21727 >     "--output-path",
00:34:48 verbose #21728 >     "c:/home/git/polyglot/lib/spiral/stream.dib.ipynb",
00:34:48 verbose #21729 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/stream.dib" --output-path "c:/home/git/polyglot/lib/spiral/stream.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:34:50 verbose #21730 > >
00:34:50 verbose #21731 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:50 verbose #21732 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:50 verbose #21733 > > │ # stream                                                                     │
00:34:50 verbose #21734 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:54 verbose #21735 > >
00:34:54 verbose #21736 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:54 verbose #21737 > > open rust.rust_operators
00:34:55 verbose #21738 > 00:34:54   debug #1288 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/40daf77a2acec5ac15e1cf56631d4105f4f565759117828320eb559038e65549/main.spi
00:34:55 verbose #21739 > >
00:34:55 verbose #21740 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:55 verbose #21741 > > //// test
00:34:55 verbose #21742 > >
00:34:55 verbose #21743 > > open testing
00:34:55 verbose #21744 > 00:34:55   debug #1289 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc76f360fd664f6988ee1c6bc1dc43132802e524aab226e74a21329193e410ca/main.spi
00:34:56 verbose #21745 > >
00:34:56 verbose #21746 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:56 verbose #21747 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:56 verbose #21748 > > │ ## stream                                                                    │
00:34:56 verbose #21749 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:56 verbose #21750 > >
00:34:56 verbose #21751 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:56 verbose #21752 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:56 verbose #21753 > > │ ### stream                                                                   │
00:34:56 verbose #21754 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:56 verbose #21755 > >
00:34:56 verbose #21756 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:56 verbose #21757 > > union rec stream t =
00:34:56 verbose #21758 > >     | StreamCons : t * (() -> stream t)
00:34:56 verbose #21759 > >     | StreamNil
00:34:56 verbose #21760 > 00:34:55   debug #1290 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76946fbb1269d635c3470ecb54440059bca3f8043cc093603e66044e4380a1ef/main.spi
00:34:56 verbose #21761 > >
00:34:56 verbose #21762 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:56 verbose #21763 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:56 verbose #21764 > > │ ### fold                                                                     │
00:34:56 verbose #21765 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:56 verbose #21766 > >
00:34:56 verbose #21767 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:56 verbose #21768 > > inl fold fn init s =
00:34:56 verbose #21769 > >     inl rec body acc = function
00:34:56 verbose #21770 > >         | StreamCons (st, fn') => loop (fn acc st) (fn' ())
00:34:56 verbose #21771 > >         | StreamNil => acc
00:34:56 verbose #21772 > >     and inl loop acc = join_body body acc
00:34:56 verbose #21773 > >     loop init s
00:34:56 verbose #21774 > 00:34:55   debug #1291 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76713be4d0a4b2715a87bb9e742cb4a6cd34800419b62b7787c1a2865ffc0b21/main.spi
00:34:56 verbose #21775 > >
00:34:56 verbose #21776 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:56 verbose #21777 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:56 verbose #21778 > > │ ### fold_back                                                                │
00:34:56 verbose #21779 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:56 verbose #21780 > >
00:34:56 verbose #21781 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:56 verbose #21782 > > inl fold_back fn s init =
00:34:56 verbose #21783 > >     inl rec body acc = function
00:34:56 verbose #21784 > >         | StreamCons (st, fn') => fn st (loop acc (fn' ()))
00:34:56 verbose #21785 > >         | StreamNil => acc
00:34:56 verbose #21786 > >     and inl loop acc = join_body body acc
00:34:56 verbose #21787 > >     loop init s
00:34:57 verbose #21788 > 00:34:56   debug #1292 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/adeb784d9ab42e51b84ab5c9b16825eeb63c05dfde55667773b6ab6e616062be/main.spi
00:34:57 verbose #21789 > >
00:34:57 verbose #21790 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:57 verbose #21791 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:57 verbose #21792 > > │ ### to_list                                                                  │
00:34:57 verbose #21793 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:57 verbose #21794 > >
00:34:57 verbose #21795 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:57 verbose #21796 > > inl to_list s =
00:34:57 verbose #21797 > >     (s, [[]])
00:34:57 verbose #21798 > >     ||> fold_back fun x acc =>
00:34:57 verbose #21799 > >         x :: acc
00:34:57 verbose #21800 > 00:34:56   debug #1293 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/abafa7cbb637a6ce258246d5dc774ec96fed8bc4bca11eb22f8857e863207834/main.spi
00:34:57 verbose #21801 > >
00:34:57 verbose #21802 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:57 verbose #21803 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:57 verbose #21804 > > │ ### rev                                                                      │
00:34:57 verbose #21805 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:57 verbose #21806 > >
00:34:57 verbose #21807 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:57 verbose #21808 > > inl rev s =
00:34:57 verbose #21809 > >     (StreamNil, s)
00:34:57 verbose #21810 > >     ||> fold fun s x =>
00:34:57 verbose #21811 > >         StreamCons (x, fun () => s)
00:34:57 verbose #21812 > 00:34:56   debug #1294 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/161fb649f3d594cca11fd0336fbebcfa5fdfca5d194f1462a06ebb4b1d60e002/main.spi
00:34:57 verbose #21813 > >
00:34:57 verbose #21814 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:57 verbose #21815 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:57 verbose #21816 > > │ ### from_list                                                                │
00:34:57 verbose #21817 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:57 verbose #21818 > >
00:34:57 verbose #21819 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:57 verbose #21820 > > inl from_list list =
00:34:57 verbose #21821 > >     (list, StreamNil)
00:34:57 verbose #21822 > >     ||> listm.foldBack fun x acc =>
00:34:57 verbose #21823 > >         StreamCons (x, fun () => acc)
00:34:58 verbose #21824 > 00:34:57   debug #1295 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/39d6bf8b7ae8e70cffee12754a63342206d8d57e9bdec161812e0743a27c99a7/main.spi
00:34:58 verbose #21825 > >
00:34:58 verbose #21826 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:58 verbose #21827 > > //// test
00:34:58 verbose #21828 > >
00:34:58 verbose #21829 > > listm.init 3i32 id
00:34:58 verbose #21830 > > |> from_list
00:34:58 verbose #21831 > > |> rev
00:34:58 verbose #21832 > > |> to_list
00:34:58 verbose #21833 > > |> _assert_eq [[ 2; 1; 0 ]]
00:34:58 verbose #21834 > 00:34:57   debug #1296 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0a1d51e168db0898c0d3bdedf05d49e90ebc8c77fe815b5964324701ca0ded0a/main.spi
00:34:59 verbose #21835 > >
00:34:59 verbose #21836 > > ╭─[ 1.39s - stdout ]───────────────────────────────────────────────────────────╮
00:34:59 verbose #21837 > > │ __assert_eq / actual: UH0_1 (2, UH0_1 (1, UH0_1 (0, UH0_0))) / expected:     │
00:34:59 verbose #21838 > > │ UH0_1 (2, UH0_1 (1, UH0_1 (0, UH0_0)))                                       │
00:34:59 verbose #21839 > > │                                                                              │
00:34:59 verbose #21840 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:59 verbose #21841 > >
00:34:59 verbose #21842 > > ── markdown ────────────────────────────────────────────────────────────────────
00:34:59 verbose #21843 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:34:59 verbose #21844 > > │ ### try_item                                                                 │
00:34:59 verbose #21845 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:34:59 verbose #21846 > >
00:34:59 verbose #21847 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:59 verbose #21848 > > inl try_item i s =
00:34:59 verbose #21849 > >     inl rec body i = function
00:34:59 verbose #21850 > >         | StreamCons (x, _) when i <= 0 => Some x
00:34:59 verbose #21851 > >         | StreamCons (_, fn) => loop (i - 1) (fn ())
00:34:59 verbose #21852 > >         | StreamNil => None
00:34:59 verbose #21853 > >     and inl loop acc s' =
00:34:59 verbose #21854 > >         match var_is acc, var_is s' with
00:34:59 verbose #21855 > >         | false, false => body acc s'
00:34:59 verbose #21856 > >         | _ =>
00:34:59 verbose #21857 > >             inl acc = dyn acc
00:34:59 verbose #21858 > >             inl s' = dyn s'
00:34:59 verbose #21859 > >             join body acc s'
00:34:59 verbose #21860 > >     loop i s
00:34:59 verbose #21861 > >
00:34:59 verbose #21862 > > inl item i =
00:34:59 verbose #21863 > >     try_item i >> optionm.value
00:34:59 verbose #21864 > 00:34:58   debug #1297 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2bea7b82a0c943e734e5b1c11556ec455917f9b2785463c236084eedecb6de71/main.spi
00:34:59 verbose #21865 > >
00:34:59 verbose #21866 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:34:59 verbose #21867 > > //// test
00:34:59 verbose #21868 > >
00:34:59 verbose #21869 > > listm.init 10i32 id
00:34:59 verbose #21870 > > |> from_list
00:34:59 verbose #21871 > > |> item 9i32
00:34:59 verbose #21872 > > |> _assert_eq 9
00:35:00 verbose #21873 > 00:34:59   debug #1298 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5400b553f642baff07ab63f9a938971b28f4b5b7a0269363af6c25fa2fd90389/main.spi
00:35:00 verbose #21874 > >
00:35:00 verbose #21875 > > ╭─[ 365.64ms - stdout ]────────────────────────────────────────────────────────╮
00:35:00 verbose #21876 > > │ __assert_eq / actual: 9 / expected: 9                                        │
00:35:00 verbose #21877 > > │                                                                              │
00:35:00 verbose #21878 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:00 verbose #21879 > >
00:35:00 verbose #21880 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:00 verbose #21881 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:00 verbose #21882 > > │ ### new_infinite_stream                                                      │
00:35:00 verbose #21883 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:00 verbose #21884 > >
00:35:00 verbose #21885 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:00 verbose #21886 > > inl new_infinite_stream fn =
00:35:00 verbose #21887 > >     inl rec loop n =
00:35:00 verbose #21888 > >         StreamCons (fn n, fun () => loop (n + 1))
00:35:00 verbose #21889 > >     loop 0
00:35:00 verbose #21890 > >
00:35:00 verbose #21891 > > inl new_infinite_stream_ fn =
00:35:00 verbose #21892 > >     let rec loop n =
00:35:00 verbose #21893 > >         StreamCons (fn n, fun () => loop (n + 1))
00:35:00 verbose #21894 > >     loop 0
00:35:00 verbose #21895 > 00:34:59   debug #1299 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/59b9a53041342e432141efe7256f43aa1fd1dac8936ccd968c539ec02f830361/main.spi
00:35:00 verbose #21896 > >
00:35:00 verbose #21897 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:00 verbose #21898 > > //// test
00:35:00 verbose #21899 > >
00:35:00 verbose #21900 > > new_infinite_stream print_and_return
00:35:00 verbose #21901 > > |> item 4i32
00:35:00 verbose #21902 > > |> _assert_eq 4i32
00:35:00 verbose #21903 > 00:34:59   debug #1300 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/994a425d0f3e29d9593364952a1abb0079106763d897cc4c0c3da6ddb4a8a6bc/main.spi
00:35:01 verbose #21904 > >
00:35:01 verbose #21905 > > ╭─[ 400.90ms - stdout ]────────────────────────────────────────────────────────╮
00:35:01 verbose #21906 > > │ print_and_return / x: 0                                                      │
00:35:01 verbose #21907 > > │ print_and_return / x: 1                                                      │
00:35:01 verbose #21908 > > │ print_and_return / x: 2                                                      │
00:35:01 verbose #21909 > > │ print_and_return / x: 3                                                      │
00:35:01 verbose #21910 > > │ print_and_return / x: 4                                                      │
00:35:01 verbose #21911 > > │ __assert_eq / actual: 4 / expected: 4                                        │
00:35:01 verbose #21912 > > │                                                                              │
00:35:01 verbose #21913 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:01 verbose #21914 > >
00:35:01 verbose #21915 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:01 verbose #21916 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:01 verbose #21917 > > │ ### new_finite_stream                                                        │
00:35:01 verbose #21918 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:01 verbose #21919 > >
00:35:01 verbose #21920 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:01 verbose #21921 > > inl new_finite_stream fn max =
00:35:01 verbose #21922 > >     inl rec loop n =
00:35:01 verbose #21923 > >         if n >= max
00:35:01 verbose #21924 > >         then StreamNil
00:35:01 verbose #21925 > >         else StreamCons (fn n, fun () => loop (n + 1))
00:35:01 verbose #21926 > >     loop 0
00:35:01 verbose #21927 > 00:35:00   debug #1301 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ce9b06125f1edf113579312834091d3a880049436f168039d0de1fdc29215b32/main.spi
00:35:01 verbose #21928 > >
00:35:01 verbose #21929 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:01 verbose #21930 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:01 verbose #21931 > > │ ### memoize                                                                  │
00:35:01 verbose #21932 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:01 verbose #21933 > >
00:35:01 verbose #21934 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:01 verbose #21935 > > union memoized_stream t =
00:35:01 verbose #21936 > >     | NotComputed : () -> stream t
00:35:01 verbose #21937 > >     | Computed : stream t
00:35:01 verbose #21938 > >
00:35:01 verbose #21939 > > inl memoize s =
00:35:01 verbose #21940 > >     inl rec body s =
00:35:01 verbose #21941 > >         inl state = mut (NotComputed s)
00:35:01 verbose #21942 > >         fun () =>
00:35:01 verbose #21943 > >             match *state with
00:35:01 verbose #21944 > >             | Computed x => x
00:35:01 verbose #21945 > >             | NotComputed fn =>
00:35:01 verbose #21946 > >                 inl new_state =
00:35:01 verbose #21947 > >                     match fn () with
00:35:01 verbose #21948 > >                     | StreamNil => StreamNil
00:35:01 verbose #21949 > >                     | StreamCons (x, fn) => StreamCons (x, loop fn)
00:35:01 verbose #21950 > >                 state <- Computed new_state
00:35:01 verbose #21951 > >                 new_state
00:35:01 verbose #21952 > >     and inl loop s' = join_body_unit body s s'
00:35:01 verbose #21953 > >     loop (fun () => s)
00:35:01 verbose #21954 > 00:35:00   debug #1302 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9076b284092c355c85070a6669eb0392b244345d315c3b879ba7a965cae03c14/main.spi
00:35:01 verbose #21955 > >
00:35:01 verbose #21956 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:01 verbose #21957 > > //// test
00:35:01 verbose #21958 > >
00:35:01 verbose #21959 > > inl memo_stream = new_finite_stream print_and_return 10 |> memoize
00:35:01 verbose #21960 > >
00:35:01 verbose #21961 > > memo_stream ()
00:35:01 verbose #21962 > > |> item 3i32
00:35:01 verbose #21963 > > |> _assert_eq 3i32
00:35:01 verbose #21964 > >
00:35:01 verbose #21965 > > memo_stream ()
00:35:01 verbose #21966 > > |> item 5i32
00:35:01 verbose #21967 > > |> _assert_eq 5i32
00:35:02 verbose #21968 > 00:35:01   debug #1303 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/088a51af2d6e085f9fddd2980f45d429424a21963e3f4ca83c22d6515a569b5a/main.spi
00:35:02 verbose #21969 > >
00:35:02 verbose #21970 > > ╭─[ 793.96ms - stdout ]────────────────────────────────────────────────────────╮
00:35:02 verbose #21971 > > │ print_and_return / x: 0                                                      │
00:35:02 verbose #21972 > > │ print_and_return / x: 1                                                      │
00:35:02 verbose #21973 > > │ print_and_return / x: 2                                                      │
00:35:02 verbose #21974 > > │ print_and_return / x: 3                                                      │
00:35:02 verbose #21975 > > │ __assert_eq / actual: 3 / expected: 3                                        │
00:35:02 verbose #21976 > > │ print_and_return / x: 4                                                      │
00:35:02 verbose #21977 > > │ print_and_return / x: 5                                                      │
00:35:02 verbose #21978 > > │ __assert_eq / actual: 5 / expected: 5                                        │
00:35:02 verbose #21979 > > │                                                                              │
00:35:02 verbose #21980 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:02 verbose #21981 > >
00:35:02 verbose #21982 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:02 verbose #21983 > > //// test
00:35:02 verbose #21984 > >
00:35:02 verbose #21985 > > inl memo_stream = new_infinite_stream_ print_and_return |> memoize
00:35:02 verbose #21986 > >
00:35:02 verbose #21987 > > memo_stream ()
00:35:02 verbose #21988 > > |> item 3i32
00:35:02 verbose #21989 > > |> _assert_eq 3i32
00:35:02 verbose #21990 > >
00:35:02 verbose #21991 > > memo_stream ()
00:35:02 verbose #21992 > > |> item 5i32
00:35:02 verbose #21993 > > |> _assert_eq 5i32
00:35:02 verbose #21994 > 00:35:01   debug #1304 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/58ace700598a7fb724a2e9f19c45e83503266f4be2e48c8c2086f9e0006f563b/main.spi
00:35:03 verbose #21995 > >
00:35:03 verbose #21996 > > ╭─[ 455.44ms - stdout ]────────────────────────────────────────────────────────╮
00:35:03 verbose #21997 > > │ print_and_return / x: 0                                                      │
00:35:03 verbose #21998 > > │ print_and_return / x: 1                                                      │
00:35:03 verbose #21999 > > │ print_and_return / x: 2                                                      │
00:35:03 verbose #22000 > > │ print_and_return / x: 3                                                      │
00:35:03 verbose #22001 > > │ __assert_eq / actual: 3 / expected: 3                                        │
00:35:03 verbose #22002 > > │ print_and_return / x: 4                                                      │
00:35:03 verbose #22003 > > │ print_and_return / x: 5                                                      │
00:35:03 verbose #22004 > > │ __assert_eq / actual: 5 / expected: 5                                        │
00:35:03 verbose #22005 > > │                                                                              │
00:35:03 verbose #22006 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:03 verbose #22007 > >
00:35:03 verbose #22008 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:03 verbose #22009 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:03 verbose #22010 > > │ ### unfold                                                                   │
00:35:03 verbose #22011 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:03 verbose #22012 > >
00:35:03 verbose #22013 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:03 verbose #22014 > > inl unfold f x0 =
00:35:03 verbose #22015 > >     inl rec body x =
00:35:03 verbose #22016 > >         match f x with
00:35:03 verbose #22017 > >         | Some (x', y) => StreamCons (x', fun () => loop y)
00:35:03 verbose #22018 > >         | None => StreamNil
00:35:03 verbose #22019 > >     and inl loop x = join_body_unit body x0 x
00:35:03 verbose #22020 > >     loop x0
00:35:03 verbose #22021 > 00:35:02   debug #1305 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9ebf0e4dc9b0f72187ab14f8e65c08ea113046f49f20721946f391ff855b2e64/main.spi
00:35:03 verbose #22022 > >
00:35:03 verbose #22023 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:03 verbose #22024 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:03 verbose #22025 > > │ ### iterate                                                                  │
00:35:03 verbose #22026 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:03 verbose #22027 > >
00:35:03 verbose #22028 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:03 verbose #22029 > > inl iterate f =
00:35:03 verbose #22030 > >     unfold (fun x => Some (x, f x))
00:35:03 verbose #22031 > 00:35:02   debug #1306 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/586a5b6b9a5e2d833da3f0da60c8789f6d82631d8e286eb6f8f12fcd807ca4f4/main.spi
00:35:03 verbose #22032 > >
00:35:03 verbose #22033 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:03 verbose #22034 > > //// test
00:35:03 verbose #22035 > >
00:35:03 verbose #22036 > > iterate ((*) 2) 1i32
00:35:03 verbose #22037 > > |> item 10i32
00:35:03 verbose #22038 > > |> _assert_eq 1024
00:35:04 verbose #22039 > 00:35:03   debug #1307 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6fdd6ae40740e29153d0b13fe595216023ef7059c69bbb0358be7da8ae0275bc/main.spi
00:35:04 verbose #22040 > >
00:35:04 verbose #22041 > > ╭─[ 394.14ms - stdout ]────────────────────────────────────────────────────────╮
00:35:04 verbose #22042 > > │ __assert_eq / actual: 1024 / expected: 1024                                  │
00:35:04 verbose #22043 > > │                                                                              │
00:35:04 verbose #22044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:04 verbose #22045 > >
00:35:04 verbose #22046 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:04 verbose #22047 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:04 verbose #22048 > > │ ### take_while                                                               │
00:35:04 verbose #22049 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:04 verbose #22050 > >
00:35:04 verbose #22051 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:04 verbose #22052 > > inl take_while cond s =
00:35:04 verbose #22053 > >     inl rec body i = function
00:35:04 verbose #22054 > >         | StreamCons (st, fn) when cond st i => StreamCons (st, fun () => loop
00:35:04 verbose #22055 > > (i + 1) (fn ()))
00:35:04 verbose #22056 > >         | _ => StreamNil
00:35:04 verbose #22057 > >     and inl loop i = join_body body i
00:35:04 verbose #22058 > >     loop 0 s
00:35:04 verbose #22059 > 00:35:03   debug #1308 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/90722ab020effce5b422e80742a46b6114a7f81bfd330ad6b4f7b6a4fdfcb4c5/main.spi
00:35:04 verbose #22060 > >
00:35:04 verbose #22061 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:04 verbose #22062 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:04 verbose #22063 > > │ ### sum                                                                      │
00:35:04 verbose #22064 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:04 verbose #22065 > >
00:35:04 verbose #22066 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:04 verbose #22067 > > inl sum seq =
00:35:04 verbose #22068 > >     seq |> fold (+) 0
00:35:04 verbose #22069 > 00:35:03   debug #1309 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e8c8f2c69316997f8db4f0ecc59cb6141d627085e6519dac6d591eef39374857/main.spi
00:35:04 verbose #22070 > >
00:35:04 verbose #22071 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:04 verbose #22072 > > //// test
00:35:04 verbose #22073 > >
00:35:04 verbose #22074 > > listm.init 10i32 id
00:35:04 verbose #22075 > > |> from_list
00:35:04 verbose #22076 > > |> sum
00:35:04 verbose #22077 > > |> _assert_eq 45
00:35:05 verbose #22078 > 00:35:04   debug #1310 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d6a5c8684fe68940a0d6426ff57bf9d04aa76f4aeca318df803176d32aa7e2d2/main.spi
00:35:05 verbose #22079 > >
00:35:05 verbose #22080 > > ╭─[ 365.23ms - stdout ]────────────────────────────────────────────────────────╮
00:35:05 verbose #22081 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:35:05 verbose #22082 > > │                                                                              │
00:35:05 verbose #22083 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:05 verbose #22084 > >
00:35:05 verbose #22085 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:05 verbose #22086 > > //// test
00:35:05 verbose #22087 > >
00:35:05 verbose #22088 > > new_finite_stream print_and_return 10i32
00:35:05 verbose #22089 > > |> take_while (fun n (_ : i32) => n < 5)
00:35:05 verbose #22090 > > |> sum
00:35:05 verbose #22091 > > |> _assert_eq 10
00:35:05 verbose #22092 > 00:35:04   debug #1311 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8f86be07f07e6cd4b2388035b10c4d48ece1c73513f24e6de39343fa7ef49894/main.spi
00:35:05 verbose #22093 > >
00:35:05 verbose #22094 > > ╭─[ 399.32ms - stdout ]────────────────────────────────────────────────────────╮
00:35:05 verbose #22095 > > │ print_and_return / x: 0                                                      │
00:35:05 verbose #22096 > > │ print_and_return / x: 1                                                      │
00:35:05 verbose #22097 > > │ print_and_return / x: 2                                                      │
00:35:05 verbose #22098 > > │ print_and_return / x: 3                                                      │
00:35:05 verbose #22099 > > │ print_and_return / x: 4                                                      │
00:35:05 verbose #22100 > > │ print_and_return / x: 5                                                      │
00:35:05 verbose #22101 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:35:05 verbose #22102 > > │                                                                              │
00:35:05 verbose #22103 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:05 verbose #22104 > >
00:35:05 verbose #22105 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:05 verbose #22106 > > //// test
00:35:05 verbose #22107 > >
00:35:05 verbose #22108 > > new_infinite_stream print_and_return
00:35:05 verbose #22109 > > |> take_while (fun n (_ : i32) => n < 5i32)
00:35:05 verbose #22110 > > |> sum
00:35:05 verbose #22111 > > |> _assert_eq 10
00:35:05 verbose #22112 > 00:35:05   debug #1312 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e71ee60558d5cb95f8163cfd32d9cc2221410687dea5ebfb70035d58795dd9c9/main.spi
00:35:06 verbose #22113 > >
00:35:06 verbose #22114 > > ╭─[ 380.02ms - stdout ]────────────────────────────────────────────────────────╮
00:35:06 verbose #22115 > > │ print_and_return / x: 0                                                      │
00:35:06 verbose #22116 > > │ print_and_return / x: 1                                                      │
00:35:06 verbose #22117 > > │ print_and_return / x: 2                                                      │
00:35:06 verbose #22118 > > │ print_and_return / x: 3                                                      │
00:35:06 verbose #22119 > > │ print_and_return / x: 4                                                      │
00:35:06 verbose #22120 > > │ print_and_return / x: 5                                                      │
00:35:06 verbose #22121 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:35:06 verbose #22122 > > │                                                                              │
00:35:06 verbose #22123 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:06 verbose #22124 > >
00:35:06 verbose #22125 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:06 verbose #22126 > > //// test
00:35:06 verbose #22127 > >
00:35:06 verbose #22128 > > iterate ((*) 6) 1i32
00:35:06 verbose #22129 > > |> take_while (fun _ i => i <= 7i32)
00:35:06 verbose #22130 > > |> to_list
00:35:06 verbose #22131 > > |> _assert_eq [[ 1i32; 6; 36; 216; 1296; 7776; 46656; 279936 ]]
00:35:06 verbose #22132 > 00:35:05   debug #1313 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5840364d29b2344fc70e9c5ceb42d90a5741862581156b76e07eee6c7cf7585a/main.spi
00:35:06 verbose #22133 > >
00:35:06 verbose #22134 > > ╭─[ 537.01ms - stdout ]────────────────────────────────────────────────────────╮
00:35:06 verbose #22135 > > │ __assert_eq / actual: UH0_1                                                  │
00:35:06 verbose #22136 > > │   (1,                                                                        │
00:35:06 verbose #22137 > > │    UH0_1                                                                     │
00:35:06 verbose #22138 > > │      (6,                                                                     │
00:35:06 verbose #22139 > > │       UH0_1                                                                  │
00:35:06 verbose #22140 > > │         (36,                                                                 │
00:35:06 verbose #22141 > > │          UH0_1                                                               │
00:35:06 verbose #22142 > > │            (216,                                                             │
00:35:06 verbose #22143 > > │             UH0_1 (1296, UH0_1 (7776, UH0_1 (46656, UH0_1 (279936,           │
00:35:06 verbose #22144 > > │ UH0_0)))))))) / expected: UH0_1                                              │
00:35:06 verbose #22145 > > │   (1,                                                                        │
00:35:06 verbose #22146 > > │    UH0_1                                                                     │
00:35:06 verbose #22147 > > │      (6,                                                                     │
00:35:06 verbose #22148 > > │       UH0_1                                                                  │
00:35:06 verbose #22149 > > │         (36,                                                                 │
00:35:06 verbose #22150 > > │          UH0_1                                                               │
00:35:06 verbose #22151 > > │            (216,                                                             │
00:35:06 verbose #22152 > > │             UH0_1 (1296, UH0_1 (7776, UH0_1 (46656, UH0_1 (279936,           │
00:35:06 verbose #22153 > > │ UH0_0))))))))                                                                │
00:35:06 verbose #22154 > > │                                                                              │
00:35:06 verbose #22155 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:06 verbose #22156 > >
00:35:06 verbose #22157 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:06 verbose #22158 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:06 verbose #22159 > > │ ### indexed                                                                  │
00:35:06 verbose #22160 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:06 verbose #22161 > >
00:35:06 verbose #22162 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:06 verbose #22163 > > inl indexed s =
00:35:06 verbose #22164 > >     ((StreamNil, 0), s)
00:35:06 verbose #22165 > >     ||> fold fun (acc, i) x =>
00:35:06 verbose #22166 > >         StreamCons ((i, x), fun () => acc), i + 1
00:35:06 verbose #22167 > >     |> fst
00:35:06 verbose #22168 > >     |> rev
00:35:06 verbose #22169 > 00:35:05   debug #1314 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab2df0f7c287f21153cd2118085e7014e203a7d66c8d8d7cfda3c3f3163ea694/main.spi
00:35:06 verbose #22170 > >
00:35:06 verbose #22171 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:06 verbose #22172 > > //// test
00:35:06 verbose #22173 > >
00:35:06 verbose #22174 > > listm.init 10i32 ((*) 2)
00:35:06 verbose #22175 > > |> from_list
00:35:06 verbose #22176 > > |> indexed
00:35:06 verbose #22177 > > |> item 5i32
00:35:06 verbose #22178 > > |> _assert_eq (5i32, 10i32)
00:35:07 verbose #22179 > 00:35:06   debug #1315 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/28ea7b92bdffeb8547bc3ca5780017f112b1be6302db4f805b7b7f90cc729d50/main.spi
00:35:07 verbose #22180 > >
00:35:07 verbose #22181 > > ╭─[ 416.65ms - stdout ]────────────────────────────────────────────────────────╮
00:35:07 verbose #22182 > > │ __assert_eq / actual: struct (5, 10) / expected: struct (5, 10)              │
00:35:07 verbose #22183 > > │                                                                              │
00:35:07 verbose #22184 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:07 verbose #22185 > >
00:35:07 verbose #22186 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:07 verbose #22187 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:07 verbose #22188 > > │ ### map                                                                      │
00:35:07 verbose #22189 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:07 verbose #22190 > >
00:35:07 verbose #22191 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:07 verbose #22192 > > inl map fn s =
00:35:07 verbose #22193 > >     (s, StreamNil)
00:35:07 verbose #22194 > >     ||> fold_back fun x acc =>
00:35:07 verbose #22195 > >         StreamCons (fn x, fun () => acc)
00:35:07 verbose #22196 > 00:35:06   debug #1316 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/271bed242810958e5ff1524a2365cc8fbc79982f3a9897b5809b2a7afd3e192e/main.spi
00:35:07 verbose #22197 > >
00:35:07 verbose #22198 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:07 verbose #22199 > > //// test
00:35:07 verbose #22200 > >
00:35:07 verbose #22201 > > listm.init 10i32 id
00:35:07 verbose #22202 > > |> from_list
00:35:07 verbose #22203 > > |> map ((*) 2)
00:35:07 verbose #22204 > > |> item 5i32
00:35:07 verbose #22205 > > |> _assert_eq 10i32
00:35:07 verbose #22206 > 00:35:07   debug #1317 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5479e3c9dd2aac98cad0c974f989525b534e86f6766336cf3f258f14eb238579/main.spi
00:35:08 verbose #22207 > >
00:35:08 verbose #22208 > > ╭─[ 385.54ms - stdout ]────────────────────────────────────────────────────────╮
00:35:08 verbose #22209 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:35:08 verbose #22210 > > │                                                                              │
00:35:08 verbose #22211 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:08 verbose #22212 > >
00:35:08 verbose #22213 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:08 verbose #22214 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:08 verbose #22215 > > │ ### zip_with                                                                 │
00:35:08 verbose #22216 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:08 verbose #22217 > >
00:35:08 verbose #22218 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:08 verbose #22219 > > inl zip_with fn s1 s2 =
00:35:08 verbose #22220 > >     inl rec loop s1 s2 =
00:35:08 verbose #22221 > >         match s1, s2 with
00:35:08 verbose #22222 > >         | StreamCons (st1, fn1), StreamCons (st2, fn2) =>
00:35:08 verbose #22223 > >             StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))
00:35:08 verbose #22224 > >         | StreamNil, _ | _, StreamNil => StreamNil
00:35:08 verbose #22225 > >     loop s1 s2
00:35:08 verbose #22226 > >
00:35:08 verbose #22227 > > inl zip_with_ fn s1 s2 =
00:35:08 verbose #22228 > >     let rec loop s1 s2 =
00:35:08 verbose #22229 > >         match s1, s2 with
00:35:08 verbose #22230 > >         | StreamCons (st1, fn1), StreamCons (st2, fn2) =>
00:35:08 verbose #22231 > >             StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))
00:35:08 verbose #22232 > >         | StreamNil, _ | _, StreamNil => StreamNil
00:35:08 verbose #22233 > >     loop s1 s2
00:35:08 verbose #22234 > 00:35:07   debug #1318 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/824f5e677b86de03db7bbd20ec8b971bbc41eb88a72d31f9cabf6583ceaeaf95/main.spi
00:35:08 verbose #22235 > >
00:35:08 verbose #22236 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:08 verbose #22237 > > //// test
00:35:08 verbose #22238 > >
00:35:08 verbose #22239 > > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:35:08 verbose #22240 > > ||> zip_with (+)
00:35:08 verbose #22241 > > |> item 2i32
00:35:08 verbose #22242 > > |> _assert_eq 6
00:35:08 verbose #22243 > 00:35:07   debug #1319 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a884a59378b846bba86a7dc865e9f0e80ccba034c27bd9aec4a66cd44bf299ab/main.spi
00:35:08 verbose #22244 > >
00:35:08 verbose #22245 > > ╭─[ 414.63ms - stdout ]────────────────────────────────────────────────────────╮
00:35:08 verbose #22246 > > │ __assert_eq / actual: 6 / expected: 6                                        │
00:35:08 verbose #22247 > > │                                                                              │
00:35:08 verbose #22248 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:08 verbose #22249 > >
00:35:08 verbose #22250 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:08 verbose #22251 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:08 verbose #22252 > > │ ### zip                                                                      │
00:35:08 verbose #22253 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:08 verbose #22254 > >
00:35:08 verbose #22255 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:08 verbose #22256 > > inl zip s1 s2 =
00:35:08 verbose #22257 > >     zip_with pair s1 s2
00:35:08 verbose #22258 > >
00:35:08 verbose #22259 > > inl zip_ s1 s2 =
00:35:08 verbose #22260 > >     zip_with_ pair s1 s2
00:35:09 verbose #22261 > 00:35:08   debug #1320 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/121ef04d5b979a0b510a9bda727a16358b5399087a691fad4f8f65959acf0f5d/main.spi
00:35:09 verbose #22262 > >
00:35:09 verbose #22263 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:09 verbose #22264 > > //// test
00:35:09 verbose #22265 > >
00:35:09 verbose #22266 > > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:35:09 verbose #22267 > > ||> zip
00:35:09 verbose #22268 > > |> item 5i32
00:35:09 verbose #22269 > > |> _assert_eq (5, 10)
00:35:09 verbose #22270 > 00:35:08   debug #1321 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b00346a9d69015695f8db288ee0f31d66ec4773cd22f70838f9756779daa61b1/main.spi
00:35:09 verbose #22271 > >
00:35:09 verbose #22272 > > ╭─[ 385.30ms - stdout ]────────────────────────────────────────────────────────╮
00:35:09 verbose #22273 > > │ __assert_eq / actual: struct (5, 10) / expected: struct (5, 10)              │
00:35:09 verbose #22274 > > │                                                                              │
00:35:09 verbose #22275 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:09 verbose #22276 > >
00:35:09 verbose #22277 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:09 verbose #22278 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:09 verbose #22279 > > │ ### unzip                                                                    │
00:35:09 verbose #22280 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:09 verbose #22281 > >
00:35:09 verbose #22282 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:09 verbose #22283 > > inl unzip s =
00:35:09 verbose #22284 > >     inl rec body s =
00:35:09 verbose #22285 > >         match s with
00:35:09 verbose #22286 > >         | StreamCons ((x, y), fn) =>
00:35:09 verbose #22287 > >             inl xs, ys = loop (fn ())
00:35:09 verbose #22288 > >             StreamCons (x, fun () => xs), StreamCons (y, fun () => ys)
00:35:09 verbose #22289 > >         | StreamNil => pair StreamNil StreamNil
00:35:09 verbose #22290 > >     and inl loop x =
00:35:09 verbose #22291 > >         if var_is x |> not
00:35:09 verbose #22292 > >         then body x
00:35:09 verbose #22293 > >         else
00:35:09 verbose #22294 > >             inl x = dyn x
00:35:09 verbose #22295 > >             join body x
00:35:09 verbose #22296 > >     loop s
00:35:09 verbose #22297 > 00:35:09   debug #1322 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f48132a06e15288c4f8060c28cb6d1becaa08bb06eb7e445663cf9ae7fc3c89d/main.spi
00:35:10 verbose #22298 > >
00:35:10 verbose #22299 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:10 verbose #22300 > > //// test
00:35:10 verbose #22301 > >
00:35:10 verbose #22302 > > listm.init 10i32 id
00:35:10 verbose #22303 > > |> listm.map (fun x => x, x)
00:35:10 verbose #22304 > > |> from_list
00:35:10 verbose #22305 > > |> unzip
00:35:10 verbose #22306 > > |> fun x, y =>
00:35:10 verbose #22307 > >     x |> sum
00:35:10 verbose #22308 > >     |> _assert_eq 45
00:35:10 verbose #22309 > >
00:35:10 verbose #22310 > >     y |> sum
00:35:10 verbose #22311 > >     |> _assert_eq 45
00:35:10 verbose #22312 > 00:35:09   debug #1323 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5a1ce461c096a68e04dcf997817703bb938a8b889119adca1857231f15e3310d/main.spi
00:35:10 verbose #22313 > >
00:35:10 verbose #22314 > > ╭─[ 430.82ms - stdout ]────────────────────────────────────────────────────────╮
00:35:10 verbose #22315 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:35:10 verbose #22316 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:35:10 verbose #22317 > > │                                                                              │
00:35:10 verbose #22318 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:10 verbose #22319 > >
00:35:10 verbose #22320 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:10 verbose #22321 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:10 verbose #22322 > > │ ## rust                                                                      │
00:35:10 verbose #22323 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:10 verbose #22324 > >
00:35:10 verbose #22325 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:10 verbose #22326 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:10 verbose #22327 > > │ ### io_error                                                                 │
00:35:10 verbose #22328 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:10 verbose #22329 > >
00:35:10 verbose #22330 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:10 verbose #22331 > > nominal io_error =
00:35:10 verbose #22332 > >     `(
00:35:10 verbose #22333 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:35:10 verbose #22334 > > Fable.Core.Emit(\"std::io::Error\")>]]\n#endif\ntype std_io_Error = class end"
00:35:10 verbose #22335 > >         $'' : $'std_io_Error'
00:35:10 verbose #22336 > >     )
00:35:10 verbose #22337 > 00:35:09   debug #1324 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/47e48a767a515c9fcb859f194e9b470c2bd55f6c5ad841ed7e4c44ce8e4d7dc3/main.spi
00:35:10 verbose #22338 > >
00:35:10 verbose #22339 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:10 verbose #22340 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:10 verbose #22341 > > │ ### buf_reader                                                               │
00:35:10 verbose #22342 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:10 verbose #22343 > >
00:35:10 verbose #22344 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:10 verbose #22345 > > nominal buf_reader t =
00:35:10 verbose #22346 > >     `(
00:35:10 verbose #22347 > >         backend_switch `(()) `({}) {
00:35:10 verbose #22348 > >             Fsharp =
00:35:10 verbose #22349 > >                 (fun () =>
00:35:10 verbose #22350 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:35:10 verbose #22351 > > Fable.Core.Emit(\"std::io::BufReader<$0>\")>]]\n#endif\ntype
00:35:10 verbose #22352 > > std_io_BufReader<'T> = class end"
00:35:10 verbose #22353 > >                 ) : () -> ()
00:35:10 verbose #22354 > >         }
00:35:10 verbose #22355 > >         $'' : $'std_io_BufReader<`t>'
00:35:10 verbose #22356 > >     )
00:35:11 verbose #22357 > 00:35:10   debug #1325 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/351c93c8eb522d42b000cfc7bb3dd83e40addb93c7c42872fac6ce41b4f3eb45/main.spi
00:35:11 verbose #22358 > >
00:35:11 verbose #22359 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:11 verbose #22360 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:11 verbose #22361 > > │ ### cursor                                                                   │
00:35:11 verbose #22362 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:11 verbose #22363 > >
00:35:11 verbose #22364 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:11 verbose #22365 > > nominal cursor t =
00:35:11 verbose #22366 > >     `(
00:35:11 verbose #22367 > >         backend_switch `(()) `({}) {
00:35:11 verbose #22368 > >             Fsharp =
00:35:11 verbose #22369 > >                 (fun () =>
00:35:11 verbose #22370 > >                     global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:35:11 verbose #22371 > > Fable.Core.Emit(\"std::io::Cursor<$0>\")>]]\n#endif\ntype std_io_Cursor<'T> =
00:35:11 verbose #22372 > > class end"
00:35:11 verbose #22373 > >                 ) : () -> ()
00:35:11 verbose #22374 > >         }
00:35:11 verbose #22375 > >         $'' : $'std_io_Cursor<`t>'
00:35:11 verbose #22376 > >     )
00:35:11 verbose #22377 > 00:35:10   debug #1326 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e83d0bb19e52c81237a9fb9692d3550194c1bc38380723459d352e1b20065b93/main.spi
00:35:11 verbose #22378 > >
00:35:11 verbose #22379 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:11 verbose #22380 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:11 verbose #22381 > > │ ### async_buf_reader                                                         │
00:35:11 verbose #22382 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:11 verbose #22383 > >
00:35:11 verbose #22384 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:11 verbose #22385 > > nominal async_buf_reader t =
00:35:11 verbose #22386 > >     `(
00:35:11 verbose #22387 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:35:11 verbose #22388 > > Fable.Core.Emit(\"tokio::io::BufReader<$0>\")>]]\n#endif\ntype
00:35:11 verbose #22389 > > tokio_io_BufReader<'T> = class end"
00:35:11 verbose #22390 > >         $'' : $'tokio_io_BufReader<`t>'
00:35:11 verbose #22391 > >     )
00:35:11 verbose #22392 > 00:35:10   debug #1327 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/af020fa86f9f39816d76c711e589acfaac5d56b00a30e7edde8e89705025c415/main.spi
00:35:12 verbose #22393 > >
00:35:12 verbose #22394 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:12 verbose #22395 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:12 verbose #22396 > > │ ### new_buf_reader                                                           │
00:35:12 verbose #22397 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:12 verbose #22398 > >
00:35:12 verbose #22399 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:12 verbose #22400 > > inl new_buf_reader forall t. (x : t) : buf_reader t =
00:35:12 verbose #22401 > >     !\($'"std::io::BufReader::new(!x)"')
00:35:12 verbose #22402 > 00:35:11   debug #1328 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9ed0a9ff0e3b1208a1d17dd3b78a1d979015eacefc36ff244398383b3c76f58e/main.spi
00:35:12 verbose #22403 > >
00:35:12 verbose #22404 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:12 verbose #22405 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:12 verbose #22406 > > │ ### new_cursor                                                               │
00:35:12 verbose #22407 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:12 verbose #22408 > >
00:35:12 verbose #22409 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:12 verbose #22410 > > inl new_cursor forall t. (x : t) : cursor t =
00:35:12 verbose #22411 > >     !\($'"std::io::Cursor::new(!x)"')
00:35:12 verbose #22412 > 00:35:11   debug #1329 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/08074131356456a7823319cd64debed57977feef81d81029f573037bc91d67c1/main.spi
00:35:12 verbose #22413 > >
00:35:12 verbose #22414 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:12 verbose #22415 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:12 verbose #22416 > > │ ### lines                                                                    │
00:35:12 verbose #22417 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:12 verbose #22418 > >
00:35:12 verbose #22419 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:12 verbose #22420 > > nominal lines t =
00:35:12 verbose #22421 > >     `(
00:35:12 verbose #22422 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:35:12 verbose #22423 > > Fable.Core.Emit(\"std::io::Lines<$0>\")>]]\n#endif\ntype std_io_Lines<'T> =
00:35:12 verbose #22424 > > class end"
00:35:12 verbose #22425 > >         $'' : $'std_io_Lines<`t>'
00:35:12 verbose #22426 > >     )
00:35:12 verbose #22427 > 00:35:12   debug #1330 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8bdd15f8b934daac55a796db4a788a7540099a742a7e07d28f2dfce14cb9cf9c/main.spi
00:35:13 verbose #22428 > >
00:35:13 verbose #22429 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:13 verbose #22430 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:13 verbose #22431 > > │ ### buf_read_lines                                                           │
00:35:13 verbose #22432 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:13 verbose #22433 > >
00:35:13 verbose #22434 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:13 verbose #22435 > > inl buf_read_lines forall t. (buf_reader : buf_reader t) : lines (buf_reader t)
00:35:13 verbose #22436 > > =
00:35:13 verbose #22437 > >     !\($'"std::io::BufRead::lines(!buf_reader)"')
00:35:13 verbose #22438 > 00:35:12   debug #1331 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd5f2431c3e0f328719f2ec5d41a7a5020e38a712b592ff0ed727c430ffb8111/main.spi
00:35:13 verbose #22439 > >
00:35:13 verbose #22440 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:13 verbose #22441 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:13 verbose #22442 > > │ ### decode_reader_bytes                                                      │
00:35:13 verbose #22443 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:13 verbose #22444 > >
00:35:13 verbose #22445 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:13 verbose #22446 > > nominal decode_reader_bytes t u =
00:35:13 verbose #22447 > >     `(
00:35:13 verbose #22448 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:35:13 verbose #22449 > > Fable.Core.Emit(\"encoding_rs_io::DecodeReaderBytes<$0, $1>\")>]]\n#endif\ntype
00:35:13 verbose #22450 > > encoding_rs_io_DecodeReaderBytes<'T, 'U> = class end"
00:35:13 verbose #22451 > >         $'' : $'encoding_rs_io_DecodeReaderBytes<`t, `u>'
00:35:13 verbose #22452 > >     )
00:35:13 verbose #22453 > 00:35:12   debug #1332 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/36c5fa7158e794abfb3c38c0da73433ec6cd747e9ddb905d80362526cc1eb4e1/main.spi
00:35:13 verbose #22454 > >
00:35:13 verbose #22455 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:13 verbose #22456 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:13 verbose #22457 > > │ ### decode_reader_bytes_build                                                │
00:35:13 verbose #22458 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:13 verbose #22459 > >
00:35:13 verbose #22460 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:13 verbose #22461 > > inl decode_reader_bytes_build forall t. (x : t) : decode_reader_bytes t (am'.vec
00:35:13 verbose #22462 > > u8) =
00:35:13 verbose #22463 > >
00:35:13 verbose #22464 > > !\($'"encoding_rs_io::DecodeReaderBytesBuilder::new().encoding(Some(encoding_rs:
00:35:13 verbose #22465 > > :UTF_8)).build(!x)"')
00:35:13 verbose #22466 > >
00:35:13 verbose #22467 > > !\($'"encoding_rs_io::DecodeReaderBytesBuilder::new().encoding(Some(encoding_rs:
00:35:13 verbose #22468 > > :UTF_8)).utf8_passthru(true).build(!x)"')
00:35:13 verbose #22469 > >     !\\(x,
00:35:13 verbose #22470 > > $'"encoding_rs_io::DecodeReaderBytesBuilder::new().utf8_passthru(true).build($0)
00:35:13 verbose #22471 > > "')
00:35:13 verbose #22472 > >     // !\($'"encoding_rs_io::DecodeReaderBytes::new(!x)"')
00:35:14 verbose #22473 > 00:35:13   debug #1333 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8dae28af9d5678753f45ef59362f91289e9115f48b1452522887bed4e39ee0e5/main.spi
00:35:14 verbose #22474 > >
00:35:14 verbose #22475 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:14 verbose #22476 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:14 verbose #22477 > > │ ### buf_reader_read                                                          │
00:35:14 verbose #22478 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:14 verbose #22479 > >
00:35:14 verbose #22480 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:14 verbose #22481 > > inl buf_reader_read forall el dim. (slice : am'.slice' el dim) (buf_reader :
00:35:14 verbose #22482 > > buf_reader el) : resultm.result' unativeint io_error =
00:35:14 verbose #22483 > >     (!\($'"true; let mut !slice = !slice"') : bool) |> ignore
00:35:14 verbose #22484 > >     !\($'"std::io::Read::read(&mut !buf_reader, &mut !slice)"')
00:35:14 verbose #22485 > 00:35:13   debug #1334 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bf06f1ce0b3ebfff8e3ebbe539c748018a4d7b139ab3ec7c840b92147f428004/main.spi
00:35:14 verbose #22486 > >
00:35:14 verbose #22487 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:14 verbose #22488 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:14 verbose #22489 > > │ ### io_read_by_ref                                                           │
00:35:14 verbose #22490 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:14 verbose #22491 > >
00:35:14 verbose #22492 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:14 verbose #22493 > > inl io_read_by_ref forall t. (lines : lines t) : lines t =
00:35:14 verbose #22494 > >     !\\(lines, $'"std::io::Read::by_ref($0)"')
00:35:14 verbose #22495 > 00:35:13   debug #1335 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/891552892d43c954ef4350b20efe7109e7f474d8ce6dcf9b2edc6a575c34f1b5/main.spi
00:35:15 verbose #22496 > 00:00:26 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 32570 }
00:35:15 verbose #22497 > 00:00:26   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:35:15 verbose #22498 >     "nbconvert",
00:35:15 verbose #22499 >     "c:/home/git/polyglot/lib/spiral/stream.dib.ipynb",
00:35:15 verbose #22500 >     "--to",
00:35:15 verbose #22501 >     "html",
00:35:15 verbose #22502 >     "--HTMLExporter.theme=dark",
00:35:15 verbose #22503 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/stream.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:35:17 verbose #22504 > 00:00:28 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/stream.dib.ipynb to html
00:35:17 verbose #22505 > 00:00:28 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:35:17 verbose #22506 > 00:00:28 verbose #7 !   validate(nb)
00:35:19 verbose #22507 > 00:00:30 verbose #8 ! [NbConvertApp] Writing 366461 bytes to c:\home\git\polyglot\lib\spiral\stream.dib.html
00:35:19 verbose #22508 > 00:00:30 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 643 }
00:35:19 verbose #22509 > 00:00:30   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 643 }
00:35:19 verbose #22510 > 00:00:30   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:35:19 verbose #22511 >     "-c",
00:35:19 verbose #22512 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/stream.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:35:19 verbose #22513 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/stream.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:35:20 verbose #22514 > 00:00:31 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:35:20 verbose #22515 > 00:00:31   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:35:20 verbose #22516 > 00:00:32   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 33272 }
00:35:20   debug #22517 runtime.execute_with_options_async / { exit_code = 0; output_length = 37386 }
00:35:20   debug #31 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path stream.dib --retries 3
00:35:20   debug #22518 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path parsing.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:35:20 verbose #22519 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "parsing.dib", "--retries", "3"])) }
00:35:20 verbose #22520 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:35:20 verbose #22521 >     "repl",
00:35:20 verbose #22522 >     "--exit-after-run",
00:35:20 verbose #22523 >     "--run",
00:35:20 verbose #22524 >     "c:/home/git/polyglot/lib/spiral/parsing.dib",
00:35:20 verbose #22525 >     "--output-path",
00:35:20 verbose #22526 >     "c:/home/git/polyglot/lib/spiral/parsing.dib.ipynb",
00:35:20 verbose #22527 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/parsing.dib" --output-path "c:/home/git/polyglot/lib/spiral/parsing.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:35:23 verbose #22528 > >
00:35:23 verbose #22529 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:23 verbose #22530 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:23 verbose #22531 > > │ # parsing                                                                    │
00:35:23 verbose #22532 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:27 verbose #22533 > >
00:35:27 verbose #22534 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:27 verbose #22535 > > open rust.rust_operators
00:35:27 verbose #22536 > > open sm'_operators
00:35:28 verbose #22537 > 00:35:27   debug #1336 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9ee17e9f72cb90671f0e951d428c4dec9e30a8a49cb5162328fc842debe96b71/main.spi
00:35:29 verbose #22538 > >
00:35:29 verbose #22539 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:29 verbose #22540 > > //// test
00:35:29 verbose #22541 > >
00:35:29 verbose #22542 > > open testing
00:35:29 verbose #22543 > 00:35:28   debug #1337 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9311f6f0df871546736c558f82d2c72ee24fa80c8badc5ab322a731a4c5ac065/main.spi
00:35:29 verbose #22544 > >
00:35:29 verbose #22545 > > ── markdown ────────────────────────────────────────────────────────────────────
00:35:29 verbose #22546 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:29 verbose #22547 > > │ ## fparsec                                                                   │
00:35:29 verbose #22548 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:29 verbose #22549 > >
00:35:29 verbose #22550 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:35:29 verbose #22551 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:29 verbose #22552 > > │ <div><div></div><div><strong>Installing                                      │
00:35:29 verbose #22553 > > │ Packages</strong><ul><li><span>FParsec</span></li></ul></div><div></div></di │
00:35:29 verbose #22554 > > │ v>                                                                           │
00:35:29 verbose #22555 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:30 verbose #22556 > >
00:35:30 verbose #22557 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:30 verbose #22558 > > │ <div><div></div><div><strong>Installing                                      │
00:35:30 verbose #22559 > > │ Packages</strong><ul><li><span>FParsec.</span></li></ul></div><div></div></d │
00:35:30 verbose #22560 > > │ iv>                                                                          │
00:35:30 verbose #22561 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:30 verbose #22562 > >
00:35:30 verbose #22563 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:30 verbose #22564 > > │ <div><div></div><div><strong>Installing                                      │
00:35:30 verbose #22565 > > │ Packages</strong><ul><li><span>FParsec..</span></li></ul></div><div></div></ │
00:35:30 verbose #22566 > > │ div>                                                                         │
00:35:30 verbose #22567 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:31 verbose #22568 > >
00:35:31 verbose #22569 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:31 verbose #22570 > > │ <div><div></div><div><strong>Installing                                      │
00:35:31 verbose #22571 > > │ Packages</strong><ul><li><span>FParsec...</span></li></ul></div><div></div>< │
00:35:31 verbose #22572 > > │ /div>                                                                        │
00:35:31 verbose #22573 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:31 verbose #22574 > >
00:35:31 verbose #22575 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:31 verbose #22576 > > │ <div><div></div><div><strong>Installing                                      │
00:35:31 verbose #22577 > > │ Packages</strong><ul><li><span>FParsec....</span></li></ul></div><div></div> │
00:35:31 verbose #22578 > > │ </div>                                                                       │
00:35:31 verbose #22579 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:32 verbose #22580 > >
00:35:32 verbose #22581 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:32 verbose #22582 > > │ <div><div></div><div><strong>Installing                                      │
00:35:32 verbose #22583 > > │ Packages</strong><ul><li><span>FParsec.....</span></li></ul></div><div></div │
00:35:32 verbose #22584 > > │ ></div>                                                                      │
00:35:32 verbose #22585 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:32 verbose #22586 > >
00:35:32 verbose #22587 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:32 verbose #22588 > > │ <div><div></div><div><strong>Installing                                      │
00:35:32 verbose #22589 > > │ Packages</strong><ul><li><span>FParsec......</span></li></ul></div><div></di │
00:35:32 verbose #22590 > > │ v></div>                                                                     │
00:35:32 verbose #22591 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:33 verbose #22592 > >
00:35:33 verbose #22593 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:33 verbose #22594 > > │ <div><div></div><div><strong>Installing                                      │
00:35:33 verbose #22595 > > │ Packages</strong><ul><li><span>FParsec.......</span></li></ul></div><div></d │
00:35:33 verbose #22596 > > │ iv></div>                                                                    │
00:35:33 verbose #22597 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:33 verbose #22598 > >
00:35:33 verbose #22599 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:33 verbose #22600 > > │ <div><div></div><div><strong>Installing                                      │
00:35:33 verbose #22601 > > │ Packages</strong><ul><li><span>FParsec........</span></li></ul></div><div></ │
00:35:33 verbose #22602 > > │ div></div>                                                                   │
00:35:33 verbose #22603 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:34 verbose #22604 > >
00:35:34 verbose #22605 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:34 verbose #22606 > > │ <div><div></div><div><strong>Installing                                      │
00:35:34 verbose #22607 > > │ Packages</strong><ul><li><span>FParsec.........</span></li></ul></div><div>< │
00:35:34 verbose #22608 > > │ /div></div>                                                                  │
00:35:34 verbose #22609 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:34 verbose #22610 > >
00:35:34 verbose #22611 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:34 verbose #22612 > > │ <div><div></div><div><strong>Installing                                      │
00:35:34 verbose #22613 > > │ Packages</strong><ul><li><span>FParsec..........</span></li></ul></div><div> │
00:35:34 verbose #22614 > > │ </div></div>                                                                 │
00:35:34 verbose #22615 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:35 verbose #22616 > >
00:35:35 verbose #22617 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:35 verbose #22618 > > │ <div><div></div><div><strong>Installing                                      │
00:35:35 verbose #22619 > > │ Packages</strong><ul><li><span>FParsec...........</span></li></ul></div><div │
00:35:35 verbose #22620 > > │ ></div></div>                                                                │
00:35:35 verbose #22621 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:35 verbose #22622 > >
00:35:35 verbose #22623 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:35 verbose #22624 > > │ <div><div></div><div><strong>Installing                                      │
00:35:35 verbose #22625 > > │ Packages</strong><ul><li><span>FParsec............</span></li></ul></div><di │
00:35:35 verbose #22626 > > │ v></div></div>                                                               │
00:35:35 verbose #22627 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:36 verbose #22628 > >
00:35:36 verbose #22629 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:36 verbose #22630 > > │ <div><div></div><div><strong>Installing                                      │
00:35:36 verbose #22631 > > │ Packages</strong><ul><li><span>FParsec.............</span></li></ul></div><d │
00:35:36 verbose #22632 > > │ iv></div></div>                                                              │
00:35:36 verbose #22633 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:36 verbose #22634 > >
00:35:36 verbose #22635 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:36 verbose #22636 > > │ <div><div></div><div><strong>Installing                                      │
00:35:36 verbose #22637 > > │ Packages</strong><ul><li><span>FParsec..............</span></li></ul></div>< │
00:35:36 verbose #22638 > > │ div></div></div>                                                             │
00:35:36 verbose #22639 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:37 verbose #22640 > >
00:35:37 verbose #22641 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:37 verbose #22642 > > │ <div><div></div><div><strong>Installing                                      │
00:35:37 verbose #22643 > > │ Packages</strong><ul><li><span>FParsec...............</span></li></ul></div> │
00:35:37 verbose #22644 > > │ <div></div></div>                                                            │
00:35:37 verbose #22645 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:37 verbose #22646 > >
00:35:37 verbose #22647 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:37 verbose #22648 > > │ <div><div></div><div><strong>Installing                                      │
00:35:37 verbose #22649 > > │ Packages</strong><ul><li><span>FParsec................</span></li></ul></div │
00:35:37 verbose #22650 > > │ ><div></div></div>                                                           │
00:35:37 verbose #22651 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:38 verbose #22652 > >
00:35:38 verbose #22653 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:38 verbose #22654 > > │ <div><div></div><div><strong>Installing                                      │
00:35:38 verbose #22655 > > │ Packages</strong><ul><li><span>FParsec.................</span></li></ul></di │
00:35:38 verbose #22656 > > │ v><div></div></div>                                                          │
00:35:38 verbose #22657 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:38 verbose #22658 > >
00:35:38 verbose #22659 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:38 verbose #22660 > > │ <div><div></div><div><strong>Installing                                      │
00:35:38 verbose #22661 > > │ Packages</strong><ul><li><span>FParsec..................</span></li></ul></d │
00:35:38 verbose #22662 > > │ iv><div></div></div>                                                         │
00:35:38 verbose #22663 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:39 verbose #22664 > >
00:35:39 verbose #22665 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:39 verbose #22666 > > │ <div><div></div><div><strong>Installing                                      │
00:35:39 verbose #22667 > > │ Packages</strong><ul><li><span>FParsec...................</span></li></ul></ │
00:35:39 verbose #22668 > > │ div><div></div></div>                                                        │
00:35:39 verbose #22669 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:39 verbose #22670 > >
00:35:39 verbose #22671 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:39 verbose #22672 > > │ <div><div></div><div><strong>Installing                                      │
00:35:39 verbose #22673 > > │ Packages</strong><ul><li><span>FParsec....................</span></li></ul>< │
00:35:39 verbose #22674 > > │ /div><div></div></div>                                                       │
00:35:39 verbose #22675 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:40 verbose #22676 > >
00:35:40 verbose #22677 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:40 verbose #22678 > > │ <div><div></div><div><strong>Installing                                      │
00:35:40 verbose #22679 > > │ Packages</strong><ul><li><span>FParsec.....................</span></li></ul> │
00:35:40 verbose #22680 > > │ </div><div></div></div>                                                      │
00:35:40 verbose #22681 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:40 verbose #22682 > >
00:35:40 verbose #22683 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:40 verbose #22684 > > │ <div><div></div><div><strong>Installing                                      │
00:35:40 verbose #22685 > > │ Packages</strong><ul><li><span>FParsec......................</span></li></ul │
00:35:40 verbose #22686 > > │ ></div><div></div></div>                                                     │
00:35:40 verbose #22687 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:41 verbose #22688 > >
00:35:41 verbose #22689 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:41 verbose #22690 > > │ <div><div></div><div><strong>Installing                                      │
00:35:41 verbose #22691 > > │ Packages</strong><ul><li><span>FParsec.......................</span></li></u │
00:35:41 verbose #22692 > > │ l></div><div></div></div>                                                    │
00:35:41 verbose #22693 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:41 verbose #22694 > >
00:35:41 verbose #22695 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:41 verbose #22696 > > │ <div><div></div><div><strong>Installing                                      │
00:35:41 verbose #22697 > > │ Packages</strong><ul><li><span>FParsec........................</span></li></ │
00:35:41 verbose #22698 > > │ ul></div><div></div></div>                                                   │
00:35:41 verbose #22699 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:42 verbose #22700 > >
00:35:42 verbose #22701 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:42 verbose #22702 > > │ <div><div></div><div><strong>Installing                                      │
00:35:42 verbose #22703 > > │ Packages</strong><ul><li><span>FParsec.........................</span></li>< │
00:35:42 verbose #22704 > > │ /ul></div><div></div></div>                                                  │
00:35:42 verbose #22705 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:42 verbose #22706 > >
00:35:42 verbose #22707 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:42 verbose #22708 > > │ <div><div></div><div><strong>Installing                                      │
00:35:42 verbose #22709 > > │ Packages</strong><ul><li><span>FParsec..........................</span></li> │
00:35:42 verbose #22710 > > │ </ul></div><div></div></div>                                                 │
00:35:42 verbose #22711 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:43 verbose #22712 > >
00:35:43 verbose #22713 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:43 verbose #22714 > > │ <div><div></div><div><strong>Installing                                      │
00:35:43 verbose #22715 > > │ Packages</strong><ul><li><span>FParsec...........................</span></li │
00:35:43 verbose #22716 > > │ ></ul></div><div></div></div>                                                │
00:35:43 verbose #22717 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:43 verbose #22718 > >
00:35:43 verbose #22719 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:43 verbose #22720 > > │ <div><div></div><div><strong>Installing                                      │
00:35:43 verbose #22721 > > │ Packages</strong><ul><li><span>FParsec............................</span></l │
00:35:43 verbose #22722 > > │ i></ul></div><div></div></div>                                               │
00:35:43 verbose #22723 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:44 verbose #22724 > >
00:35:44 verbose #22725 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:44 verbose #22726 > > │ <div><div></div><div><strong>Installing                                      │
00:35:44 verbose #22727 > > │ Packages</strong><ul><li><span>FParsec.............................</span></ │
00:35:44 verbose #22728 > > │ li></ul></div><div></div></div>                                              │
00:35:44 verbose #22729 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:44 verbose #22730 > >
00:35:44 verbose #22731 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:44 verbose #22732 > > │ <div><div></div><div><strong>Installing                                      │
00:35:44 verbose #22733 > > │ Packages</strong><ul><li><span>FParsec..............................</span>< │
00:35:44 verbose #22734 > > │ /li></ul></div><div></div></div>                                             │
00:35:44 verbose #22735 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:45 verbose #22736 > >
00:35:45 verbose #22737 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:45 verbose #22738 > > │ <div><div></div><div><strong>Installing                                      │
00:35:45 verbose #22739 > > │ Packages</strong><ul><li><span>FParsec...............................</span> │
00:35:45 verbose #22740 > > │ </li></ul></div><div></div></div>                                            │
00:35:45 verbose #22741 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:45 verbose #22742 > >
00:35:45 verbose #22743 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:45 verbose #22744 > > │ <div><div></div><div><strong>Installing                                      │
00:35:45 verbose #22745 > > │ Packages</strong><ul><li><span>FParsec................................</span │
00:35:45 verbose #22746 > > │ ></li></ul></div><div></div></div>                                           │
00:35:45 verbose #22747 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:46 verbose #22748 > >
00:35:46 verbose #22749 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:46 verbose #22750 > > │ <div><div></div><div><strong>Installing                                      │
00:35:46 verbose #22751 > > │ Packages</strong><ul><li><span>FParsec.................................</spa │
00:35:46 verbose #22752 > > │ n></li></ul></div><div></div></div>                                          │
00:35:46 verbose #22753 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:46 verbose #22754 > >
00:35:46 verbose #22755 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:46 verbose #22756 > > │ <div><div></div><div><strong>Installing                                      │
00:35:46 verbose #22757 > > │ Packages</strong><ul><li><span>FParsec..................................</sp │
00:35:46 verbose #22758 > > │ an></li></ul></div><div></div></div>                                         │
00:35:46 verbose #22759 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:47 verbose #22760 > >
00:35:47 verbose #22761 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:47 verbose #22762 > > │ <div><div></div><div><strong>Installing                                      │
00:35:47 verbose #22763 > > │ Packages</strong><ul><li><span>FParsec...................................</s │
00:35:47 verbose #22764 > > │ pan></li></ul></div><div></div></div>                                        │
00:35:47 verbose #22765 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:47 verbose #22766 > >
00:35:47 verbose #22767 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:47 verbose #22768 > > │ <div><div></div><div><strong>Installing                                      │
00:35:47 verbose #22769 > > │ Packages</strong><ul><li><span>FParsec....................................</ │
00:35:47 verbose #22770 > > │ span></li></ul></div><div></div></div>                                       │
00:35:47 verbose #22771 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:48 verbose #22772 > >
00:35:48 verbose #22773 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:48 verbose #22774 > > │ <div><div></div><div><strong>Installing                                      │
00:35:48 verbose #22775 > > │ Packages</strong><ul><li><span>FParsec.....................................< │
00:35:48 verbose #22776 > > │ /span></li></ul></div><div></div></div>                                      │
00:35:48 verbose #22777 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:48 verbose #22778 > >
00:35:48 verbose #22779 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:48 verbose #22780 > > │ <div><div></div><div><strong>Installing                                      │
00:35:48 verbose #22781 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:48 verbose #22782 > > │ </span></li></ul></div><div></div></div>                                     │
00:35:48 verbose #22783 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:49 verbose #22784 > >
00:35:49 verbose #22785 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:49 verbose #22786 > > │ <div><div></div><div><strong>Installing                                      │
00:35:49 verbose #22787 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:49 verbose #22788 > > │ .</span></li></ul></div><div></div></div>                                    │
00:35:49 verbose #22789 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:49 verbose #22790 > >
00:35:49 verbose #22791 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:49 verbose #22792 > > │ <div><div></div><div><strong>Installing                                      │
00:35:49 verbose #22793 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:49 verbose #22794 > > │ ..</span></li></ul></div><div></div></div>                                   │
00:35:49 verbose #22795 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:50 verbose #22796 > >
00:35:50 verbose #22797 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:50 verbose #22798 > > │ <div><div></div><div><strong>Installing                                      │
00:35:50 verbose #22799 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:50 verbose #22800 > > │ ...</span></li></ul></div><div></div></div>                                  │
00:35:50 verbose #22801 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:50 verbose #22802 > >
00:35:50 verbose #22803 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:50 verbose #22804 > > │ <div><div></div><div><strong>Installing                                      │
00:35:50 verbose #22805 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:50 verbose #22806 > > │ ....</span></li></ul></div><div></div></div>                                 │
00:35:50 verbose #22807 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:51 verbose #22808 > >
00:35:51 verbose #22809 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:51 verbose #22810 > > │ <div><div></div><div><strong>Installing                                      │
00:35:51 verbose #22811 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:51 verbose #22812 > > │ .....</span></li></ul></div><div></div></div>                                │
00:35:51 verbose #22813 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:51 verbose #22814 > >
00:35:51 verbose #22815 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:51 verbose #22816 > > │ <div><div></div><div><strong>Installing                                      │
00:35:51 verbose #22817 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:51 verbose #22818 > > │ ......</span></li></ul></div><div></div></div>                               │
00:35:51 verbose #22819 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:52 verbose #22820 > >
00:35:52 verbose #22821 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:52 verbose #22822 > > │ <div><div></div><div><strong>Installing                                      │
00:35:52 verbose #22823 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:52 verbose #22824 > > │ .......</span></li></ul></div><div></div></div>                              │
00:35:52 verbose #22825 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:52 verbose #22826 > >
00:35:52 verbose #22827 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:52 verbose #22828 > > │ <div><div></div><div><strong>Installing                                      │
00:35:52 verbose #22829 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:52 verbose #22830 > > │ ........</span></li></ul></div><div></div></div>                             │
00:35:52 verbose #22831 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:53 verbose #22832 > >
00:35:53 verbose #22833 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:53 verbose #22834 > > │ <div><div></div><div><strong>Installing                                      │
00:35:53 verbose #22835 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:53 verbose #22836 > > │ .........</span></li></ul></div><div></div></div>                            │
00:35:53 verbose #22837 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:53 verbose #22838 > >
00:35:53 verbose #22839 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:53 verbose #22840 > > │ <div><div></div><div><strong>Installing                                      │
00:35:53 verbose #22841 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:53 verbose #22842 > > │ ..........</span></li></ul></div><div></div></div>                           │
00:35:53 verbose #22843 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:54 verbose #22844 > >
00:35:54 verbose #22845 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:54 verbose #22846 > > │ <div><div></div><div><strong>Installing                                      │
00:35:54 verbose #22847 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:54 verbose #22848 > > │ ...........</span></li></ul></div><div></div></div>                          │
00:35:54 verbose #22849 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:54 verbose #22850 > >
00:35:54 verbose #22851 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:54 verbose #22852 > > │ <div><div></div><div><strong>Installing                                      │
00:35:54 verbose #22853 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:54 verbose #22854 > > │ ............</span></li></ul></div><div></div></div>                         │
00:35:54 verbose #22855 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:55 verbose #22856 > >
00:35:55 verbose #22857 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:55 verbose #22858 > > │ <div><div></div><div><strong>Installing                                      │
00:35:55 verbose #22859 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:55 verbose #22860 > > │ .............</span></li></ul></div><div></div></div>                        │
00:35:55 verbose #22861 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:55 verbose #22862 > >
00:35:55 verbose #22863 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:55 verbose #22864 > > │ <div><div></div><div><strong>Installing                                      │
00:35:55 verbose #22865 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:55 verbose #22866 > > │ ..............</span></li></ul></div><div></div></div>                       │
00:35:55 verbose #22867 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:56 verbose #22868 > >
00:35:56 verbose #22869 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:56 verbose #22870 > > │ <div><div></div><div><strong>Installing                                      │
00:35:56 verbose #22871 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:56 verbose #22872 > > │ ...............</span></li></ul></div><div></div></div>                      │
00:35:56 verbose #22873 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:56 verbose #22874 > >
00:35:56 verbose #22875 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:56 verbose #22876 > > │ <div><div></div><div><strong>Installing                                      │
00:35:56 verbose #22877 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:56 verbose #22878 > > │ ................</span></li></ul></div><div></div></div>                     │
00:35:56 verbose #22879 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:57 verbose #22880 > >
00:35:57 verbose #22881 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:57 verbose #22882 > > │ <div><div></div><div><strong>Installing                                      │
00:35:57 verbose #22883 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:57 verbose #22884 > > │ .................</span></li></ul></div><div></div></div>                    │
00:35:57 verbose #22885 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:57 verbose #22886 > >
00:35:57 verbose #22887 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:57 verbose #22888 > > │ <div><div></div><div><strong>Installing                                      │
00:35:57 verbose #22889 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:57 verbose #22890 > > │ ..................</span></li></ul></div><div></div></div>                   │
00:35:57 verbose #22891 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:58 verbose #22892 > >
00:35:58 verbose #22893 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:58 verbose #22894 > > │ <div><div></div><div><strong>Installing                                      │
00:35:58 verbose #22895 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:58 verbose #22896 > > │ ...................</span></li></ul></div><div></div></div>                  │
00:35:58 verbose #22897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:58 verbose #22898 > >
00:35:58 verbose #22899 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:58 verbose #22900 > > │ <div><div></div><div><strong>Installing                                      │
00:35:58 verbose #22901 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:58 verbose #22902 > > │ ....................</span></li></ul></div><div></div></div>                 │
00:35:58 verbose #22903 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:59 verbose #22904 > >
00:35:59 verbose #22905 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:59 verbose #22906 > > │ <div><div></div><div><strong>Installing                                      │
00:35:59 verbose #22907 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:59 verbose #22908 > > │ .....................</span></li></ul></div><div></div></div>                │
00:35:59 verbose #22909 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:35:59 verbose #22910 > >
00:35:59 verbose #22911 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:35:59 verbose #22912 > > │ <div><div></div><div><strong>Installing                                      │
00:35:59 verbose #22913 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:35:59 verbose #22914 > > │ ......................</span></li></ul></div><div></div></div>               │
00:35:59 verbose #22915 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:00 verbose #22916 > >
00:36:00 verbose #22917 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:00 verbose #22918 > > │ <div><div></div><div><strong>Installing                                      │
00:36:00 verbose #22919 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:00 verbose #22920 > > │ .......................</span></li></ul></div><div></div></div>              │
00:36:00 verbose #22921 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:00 verbose #22922 > >
00:36:00 verbose #22923 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:00 verbose #22924 > > │ <div><div></div><div><strong>Installing                                      │
00:36:00 verbose #22925 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:00 verbose #22926 > > │ ........................</span></li></ul></div><div></div></div>             │
00:36:00 verbose #22927 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:01 verbose #22928 > >
00:36:01 verbose #22929 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:01 verbose #22930 > > │ <div><div></div><div><strong>Installing                                      │
00:36:01 verbose #22931 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:01 verbose #22932 > > │ .........................</span></li></ul></div><div></div></div>            │
00:36:01 verbose #22933 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:01 verbose #22934 > >
00:36:01 verbose #22935 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:01 verbose #22936 > > │ <div><div></div><div><strong>Installing                                      │
00:36:01 verbose #22937 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:01 verbose #22938 > > │ ..........................</span></li></ul></div><div></div></div>           │
00:36:01 verbose #22939 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:02 verbose #22940 > >
00:36:02 verbose #22941 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:02 verbose #22942 > > │ <div><div></div><div><strong>Installing                                      │
00:36:02 verbose #22943 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:02 verbose #22944 > > │ ...........................</span></li></ul></div><div></div></div>          │
00:36:02 verbose #22945 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:02 verbose #22946 > >
00:36:02 verbose #22947 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:02 verbose #22948 > > │ <div><div></div><div><strong>Installing                                      │
00:36:02 verbose #22949 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:02 verbose #22950 > > │ ............................</span></li></ul></div><div></div></div>         │
00:36:02 verbose #22951 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:03 verbose #22952 > >
00:36:03 verbose #22953 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:03 verbose #22954 > > │ <div><div></div><div><strong>Installing                                      │
00:36:03 verbose #22955 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:03 verbose #22956 > > │ .............................</span></li></ul></div><div></div></div>        │
00:36:03 verbose #22957 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:03 verbose #22958 > >
00:36:03 verbose #22959 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:03 verbose #22960 > > │ <div><div></div><div><strong>Installing                                      │
00:36:03 verbose #22961 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:03 verbose #22962 > > │ ..............................</span></li></ul></div><div></div></div>       │
00:36:03 verbose #22963 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:04 verbose #22964 > >
00:36:04 verbose #22965 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:04 verbose #22966 > > │ <div><div></div><div><strong>Installing                                      │
00:36:04 verbose #22967 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:04 verbose #22968 > > │ ...............................</span></li></ul></div><div></div></div>      │
00:36:04 verbose #22969 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:04 verbose #22970 > >
00:36:04 verbose #22971 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:04 verbose #22972 > > │ <div><div></div><div><strong>Installing                                      │
00:36:04 verbose #22973 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:04 verbose #22974 > > │ ................................</span></li></ul></div><div></div></div>     │
00:36:05 verbose #22975 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:05 verbose #22976 > >
00:36:05 verbose #22977 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:05 verbose #22978 > > │ <div><div></div><div><strong>Installing                                      │
00:36:05 verbose #22979 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:05 verbose #22980 > > │ .................................</span></li></ul></div><div></div></div>    │
00:36:05 verbose #22981 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:06 verbose #22982 > >
00:36:06 verbose #22983 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:06 verbose #22984 > > │ <div><div></div><div><strong>Installing                                      │
00:36:06 verbose #22985 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:06 verbose #22986 > > │ ..................................</span></li></ul></div><div></div></div>   │
00:36:06 verbose #22987 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:06 verbose #22988 > >
00:36:06 verbose #22989 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:06 verbose #22990 > > │ <div><div></div><div><strong>Installing                                      │
00:36:06 verbose #22991 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:06 verbose #22992 > > │ ...................................</span></li></ul></div><div></div></div>  │
00:36:06 verbose #22993 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:07 verbose #22994 > >
00:36:07 verbose #22995 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:07 verbose #22996 > > │ <div><div></div><div><strong>Installing                                      │
00:36:07 verbose #22997 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:07 verbose #22998 > > │ ....................................</span></li></ul></div><div></div></div> │
00:36:07 verbose #22999 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:07 verbose #23000 > >
00:36:07 verbose #23001 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:07 verbose #23002 > > │ <div><div></div><div><strong>Installing                                      │
00:36:07 verbose #23003 > > │ Packages</strong><ul><li><span>FParsec...................................... │
00:36:07 verbose #23004 > > │ .....................................</span></li></ul></div><div></div></div │
00:36:07 verbose #23005 > > │ >                                                                            │
00:36:07 verbose #23006 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:07 verbose #23007 > >
00:36:07 verbose #23008 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:07 verbose #23009 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:07 verbose #23010 > > │  Package added: fsharp.core,4.3.4                                            │
00:36:07 verbose #23011 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:07 verbose #23012 > >
00:36:07 verbose #23013 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:07 verbose #23014 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:07 verbose #23015 > > │  Package added: FParsec,1.1.1                                                │
00:36:07 verbose #23016 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:07 verbose #23017 > >
00:36:07 verbose #23018 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:07 verbose #23019 > > │ <div><div></div><div></div><div><strong>Installed                            │
00:36:07 verbose #23020 > > │ Packages</strong><ul><li><span>FParsec, 1.1.1</span></li></ul></div></div>   │
00:36:07 verbose #23021 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:08 verbose #23022 > 00:36:07   debug #1338 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6d7a38f3828d9a017e6c528130ba956a93e114891de75bd8413e0ee85d667851/main.spi
00:36:08 verbose #23023 > >
00:36:08 verbose #23024 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:08 verbose #23025 > > //// test
00:36:08 verbose #23026 > >
00:36:08 verbose #23027 > > nominal position_ = $'FParsec.Position'
00:36:08 verbose #23028 > > nominal parser_error_ = $'FParsec.Error.ParserError'
00:36:08 verbose #23029 > >
00:36:08 verbose #23030 > > nominal reply_ t = $'FParsec.Reply<`t>'
00:36:08 verbose #23031 > >
00:36:08 verbose #23032 > > nominal char_stream_ t = $'FParsec.CharStream<`t>'
00:36:08 verbose #23033 > >
00:36:08 verbose #23034 > > // nominal parser t u = char_stream u -> reply t
00:36:08 verbose #23035 > > nominal parser_ t u = $'FParsec.Primitives.Parser<`t, `u>'
00:36:08 verbose #23036 > >
00:36:08 verbose #23037 > > inl p_char_ forall t. (x : char) : parser_ char t =
00:36:08 verbose #23038 > >     x |> $'FParsec.CharParsers.pchar'
00:36:08 verbose #23039 > >
00:36:08 verbose #23040 > > inl p_string_ forall t. (x : string) : parser_ string t =
00:36:08 verbose #23041 > >     x |> $'FParsec.CharParsers.pstring'
00:36:08 verbose #23042 > >
00:36:08 verbose #23043 > > inl (>>.$) forall t u v. (a : parser_ t v) (b : parser_ u v) : parser_ u v =
00:36:08 verbose #23044 > >     b |> $'FParsec.Primitives.(>>.)' a
00:36:08 verbose #23045 > >
00:36:08 verbose #23046 > > inl (.>>$) forall t u v. (a : parser_ t v) (b : parser_ u v) : parser_ t v =
00:36:08 verbose #23047 > >     b |> $'FParsec.Primitives.(.>>)' a
00:36:08 verbose #23048 > >
00:36:08 verbose #23049 > > inl (.>>.$) forall t u v. (a : parser_ t v) (b : parser_ u v) : parser_ (pair t
00:36:08 verbose #23050 > > u) v =
00:36:08 verbose #23051 > >     b |> $'FParsec.Primitives.(.>>.)' a
00:36:08 verbose #23052 > >
00:36:08 verbose #23053 > > inl (>>%$) forall t u v. (a : parser_ t v) (b : u) : parser_ u v =
00:36:08 verbose #23054 > >     b |> $'FParsec.Primitives.(>>%)' a
00:36:08 verbose #23055 > >
00:36:08 verbose #23056 > > inl (>>=$) forall t u v. (a : parser_ t v) (b : t -> parser_ u v) : parser_ u v
00:36:08 verbose #23057 > > =
00:36:08 verbose #23058 > >     b |> $'FParsec.Primitives.(>>=)' a
00:36:08 verbose #23059 > >
00:36:08 verbose #23060 > > inl (|>>$) forall t u v. (a : parser_ t v) (b : t -> u) : parser_ u v =
00:36:08 verbose #23061 > >     inl b = fun x => x |> b
00:36:08 verbose #23062 > >     b |> $'FParsec.Primitives.(|>>)' a
00:36:08 verbose #23063 > >
00:36:08 verbose #23064 > > inl any_char_ () : parser_ char _ =
00:36:08 verbose #23065 > >     $'FParsec.CharParsers.anyChar'
00:36:08 verbose #23066 > >
00:36:08 verbose #23067 > > inl any_string_ () : parser_ string _ =
00:36:08 verbose #23068 > >     $'FParsec.CharParsers.anyString'
00:36:08 verbose #23069 > >
00:36:08 verbose #23070 > > inl any_string__ (n : i32) : parser_ string _ =
00:36:08 verbose #23071 > >     n |> $'FParsec.CharParsers.anyString'
00:36:08 verbose #23072 > >
00:36:08 verbose #23073 > > inl eof_ () : parser_ () _ =
00:36:08 verbose #23074 > >     $'FParsec.CharParsers.eof'
00:36:08 verbose #23075 > >
00:36:08 verbose #23076 > > inl spaces_ () : parser_ () () =
00:36:08 verbose #23077 > >     $'FParsec.CharParsers.spaces'
00:36:08 verbose #23078 > >
00:36:08 verbose #23079 > > inl spaces1_ () : parser_ () () =
00:36:08 verbose #23080 > >     $'FParsec.CharParsers.spaces1'
00:36:08 verbose #23081 > >
00:36:08 verbose #23082 > > inl (<|>$) forall t u. (a : parser_ t u) (b : parser_ t u) : parser_ t u =
00:36:08 verbose #23083 > >     b |> $'FParsec.Primitives.(<|>)' a
00:36:08 verbose #23084 > >
00:36:08 verbose #23085 > > inl many_satisfy_ forall t. (x : char -> bool) : parser_ string t =
00:36:08 verbose #23086 > >     x |> $'FParsec.CharParsers.manySatisfy'
00:36:08 verbose #23087 > >
00:36:08 verbose #23088 > > inl satisfy_ forall t. (x : char -> bool) : parser_ char t =
00:36:08 verbose #23089 > >     x |> $'FParsec.CharParsers.satisfy'
00:36:08 verbose #23090 > >
00:36:08 verbose #23091 > > inl none_of_ (x : list char) : parser_ char () =
00:36:08 verbose #23092 > >     x
00:36:08 verbose #23093 > >     |> listm'.box
00:36:08 verbose #23094 > >     |> listm'.to_array'
00:36:08 verbose #23095 > >     |> $'FParsec.CharParsers.noneOf'
00:36:08 verbose #23096 > >
00:36:08 verbose #23097 > > inl any_of_ (x : list char) : parser_ char () =
00:36:08 verbose #23098 > >     x
00:36:08 verbose #23099 > >     |> listm'.box
00:36:08 verbose #23100 > >     |> listm'.to_array'
00:36:08 verbose #23101 > >     |> $'FParsec.CharParsers.anyOf'
00:36:08 verbose #23102 > >
00:36:08 verbose #23103 > > inl skip_any_of_ (x : list char) : parser_ () () =
00:36:08 verbose #23104 > >     x
00:36:08 verbose #23105 > >     |> listm'.box
00:36:08 verbose #23106 > >     |> listm'.to_array'
00:36:08 verbose #23107 > >     |> $'FParsec.CharParsers.skipAnyOf'
00:36:08 verbose #23108 > >
00:36:08 verbose #23109 > > inl between_ forall t u v x. (a : parser_ t x) (b : parser_ u x) (c : parser_ v
00:36:08 verbose #23110 > > x) : parser_ v x =
00:36:08 verbose #23111 > >     c |> $'FParsec.Primitives.between' a b
00:36:08 verbose #23112 > >
00:36:08 verbose #23113 > > inl many_chars_ forall t. (x : parser_ char t) : parser_ string t =
00:36:08 verbose #23114 > >     x |> $'FParsec.CharParsers.manyChars'
00:36:08 verbose #23115 > >
00:36:08 verbose #23116 > > inl many1_chars_ forall t. (x : parser_ char t) : parser_ string t =
00:36:08 verbose #23117 > >     x |> $'FParsec.CharParsers.many1Chars'
00:36:08 verbose #23118 > >
00:36:08 verbose #23119 > > inl many_strings_ forall t. (x : parser_ string t) : parser_ string t =
00:36:08 verbose #23120 > >     x |> $'FParsec.CharParsers.manyStrings'
00:36:08 verbose #23121 > >
00:36:08 verbose #23122 > > inl skip_any_string_ forall t. (n : i32) : parser_ () t =
00:36:08 verbose #23123 > >     n |> $'FParsec.CharParsers.skipAnyString'
00:36:08 verbose #23124 > >
00:36:08 verbose #23125 > > inl many1_strings_ forall t. (x : parser_ string t) : parser_ string t =
00:36:08 verbose #23126 > >     x |> $'FParsec.CharParsers.many1Strings'
00:36:08 verbose #23127 > >
00:36:08 verbose #23128 > > inl opt_ forall t u. (a : parser_ t u) : parser_ (optionm'.option' t) u =
00:36:08 verbose #23129 > >     a |> $'FParsec.Primitives.opt'
00:36:08 verbose #23130 > >
00:36:08 verbose #23131 > > inl choice_ forall t u. (a : list (parser_ t u)) : parser_ t u =
00:36:08 verbose #23132 > >     a
00:36:08 verbose #23133 > >     |> listm'.box
00:36:08 verbose #23134 > >     |> seq.of_list'
00:36:08 verbose #23135 > >     |> $'FParsec.Primitives.choice'
00:36:08 verbose #23136 > >
00:36:08 verbose #23137 > > inl delay_ forall t u. (fn : () -> parser_ t u) : parser_ t u =
00:36:08 verbose #23138 > >     fn |> $'FParsec.Primitives.parse.Delay'
00:36:08 verbose #23139 > >
00:36:08 verbose #23140 > > inl peek_ forall t u. (a : parser_ t u) : parser_ char u =
00:36:08 verbose #23141 > >     $'!a.Peek ()'
00:36:08 verbose #23142 > >
00:36:08 verbose #23143 > > inl not_followed_by_ forall t u. (a : parser_ t u) : parser_ () u =
00:36:08 verbose #23144 > >     a |> $'FParsec.Primitives.notFollowedBy'
00:36:08 verbose #23145 > >
00:36:08 verbose #23146 > > inl sep_by_ forall t u v. (a : parser_ t v) (b : parser_ u v) : parser_
00:36:08 verbose #23147 > > (listm'.list' t) v =
00:36:08 verbose #23148 > >     b |> $'FParsec.Primitives.sepBy' a
00:36:08 verbose #23149 > >
00:36:08 verbose #23150 > > inl sep_by1_ forall t u v. (a : parser_ t v) (b : parser_ u v) : parser_
00:36:08 verbose #23151 > > (listm'.list' t) v =
00:36:08 verbose #23152 > >     b |> $'FParsec.Primitives.sepBy1' a
00:36:08 verbose #23153 > >
00:36:08 verbose #23154 > > inl sep_end_by_ forall t u v. (a : parser_ t v) (b : parser_ u v) : parser_
00:36:08 verbose #23155 > > (listm'.list' t) v =
00:36:08 verbose #23156 > >     b |> $'FParsec.Primitives.sepEndBy' a
00:36:08 verbose #23157 > >
00:36:08 verbose #23158 > > inl many_ forall t u. (a : parser_ t u) : parser_ (listm'.list' t) u =
00:36:08 verbose #23159 > >     a |> $'FParsec.Primitives.many'
00:36:08 verbose #23160 > >
00:36:08 verbose #23161 > > inl many1_ forall t u. (a : parser_ t u) : parser_ (listm'.list' t) u =
00:36:08 verbose #23162 > >     a |> $'FParsec.Primitives.many1'
00:36:08 verbose #23163 > >
00:36:08 verbose #23164 > > inl many1_satisfy_ forall t. (x : char -> bool) : parser_ string t =
00:36:08 verbose #23165 > >     x |> $'FParsec.CharParsers.many1Satisfy'
00:36:08 verbose #23166 > >
00:36:08 verbose #23167 > > nominal parser_result'_ t u = $'FParsec.CharParsers.ParserResult<`t, `u>'
00:36:08 verbose #23168 > >
00:36:08 verbose #23169 > > inl run_ forall t. (parser : parser_ t ()) (x : string) : parser_result'_ t () =
00:36:08 verbose #23170 > >     x |> $'FParsec.CharParsers.run' parser
00:36:08 verbose #23171 > >
00:36:08 verbose #23172 > > union parser_result_ t u =
00:36:08 verbose #23173 > >     | Success : t * u * position_
00:36:08 verbose #23174 > >     | Failure : string * parser_error_ * u
00:36:08 verbose #23175 > >
00:36:08 verbose #23176 > > inl parser_result_ forall t u. = function
00:36:08 verbose #23177 > >     | Success (a, b, c) => $'`(parser_result'_ t u).Success (!a, !b, !c)' :
00:36:08 verbose #23178 > > parser_result'_ t u
00:36:08 verbose #23179 > >     | Failure (a, b, c) => $'`(parser_result'_ t u).Failure (!a, !b, !c)' :
00:36:08 verbose #23180 > > parser_result'_ t u
00:36:08 verbose #23181 > >
00:36:08 verbose #23182 > > inl parser_result'_ forall t u. (x : parser_result'_ t u) : parser_result_ t u =
00:36:08 verbose #23183 > >     $'let mutable _!x = None '
00:36:08 verbose #23184 > >     $'match !x with'
00:36:08 verbose #23185 > >     $'| FParsec.CharParsers.Success (a, b, c) -> (' : ()
00:36:08 verbose #23186 > >     $'(fun () ->'
00:36:08 verbose #23187 > >     $'(fun () ->'
00:36:08 verbose #23188 > >     (Success ((dyn $'a'), dyn $'b', dyn $'c') : _ t u) |> emit_unit
00:36:08 verbose #23189 > >     $')'
00:36:08 verbose #23190 > >     $'|> fun x -> x ()'
00:36:08 verbose #23191 > >     $') () ) | FParsec.CharParsers.Failure (a, b, c) -> (' : ()
00:36:08 verbose #23192 > >     $'(fun () ->'
00:36:08 verbose #23193 > >     $'(fun () ->'
00:36:08 verbose #23194 > >     (Failure ((dyn $'a'), dyn $'b', dyn $'c') : _ t u) |> emit_unit
00:36:08 verbose #23195 > >     $')'
00:36:08 verbose #23196 > >     $'|> fun x -> x ()'
00:36:08 verbose #23197 > >     $') () )' : ()
00:36:08 verbose #23198 > >     $'|> fun x -> _!x <- Some x'
00:36:08 verbose #23199 > >     $'match _!x with Some x -> x | None -> failwith "??? / _!x=None"'
00:36:08 verbose #23200 > >
00:36:08 verbose #23201 > > inl parse_ parser input : result _ _ =
00:36:08 verbose #23202 > >     match input |> run_ parser |> parser_result'_ with
00:36:08 verbose #23203 > >     | Success (result, b, c) => Ok (result, c)
00:36:08 verbose #23204 > >     | Failure (error_msg, b, c) => Error (error_msg, b)
00:36:08 verbose #23205 > 00:36:07   debug #1339 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/44b584b8a251e905a0af4f58ac7985dedbf63759888d1ff0f6c8c12027a3caa3/main.spi
00:36:08 verbose #23206 > >
00:36:08 verbose #23207 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:08 verbose #23208 > > //// test
00:36:08 verbose #23209 > >
00:36:08 verbose #23210 > > inl split_args (args : string) : result (array_base (string * position_))
00:36:08 verbose #23211 > > (string * parser_error_) =
00:36:08 verbose #23212 > >     inl esc = [[ '\\'; '`' ]]
00:36:08 verbose #23213 > >     inl quotes = [[ '"' ]]
00:36:08 verbose #23214 > >     inl special = esc ++ quotes
00:36:08 verbose #23215 > >     inl p_esc_char c =
00:36:08 verbose #23216 > >         p_char_ c >>.$ any_char_ () |>>$ fun c' => $'$"{!c}{!c'}"'
00:36:08 verbose #23217 > >     inl p_word = special |> none_of_ |>>$ sm'.obj_to_string
00:36:08 verbose #23218 > >     inl p_plain = special ++ [[ ' ' ]] |> none_of_ |> many1_chars_
00:36:08 verbose #23219 > >     inl p_text = p_word |> many1_strings_
00:36:08 verbose #23220 > >     inl p_esc = esc |> listm.map p_esc_char |> choice_
00:36:08 verbose #23221 > >     inl p_quoted = (p_word <|>$ p_esc) |> many_ |>>$ (seq.of_list' >> sm'.concat
00:36:08 verbose #23222 > > "")
00:36:08 verbose #23223 > >     inl p_quoted_all = p_quoted |> between_ (p_char_ '"') (p_char_ '"')
00:36:08 verbose #23224 > >     inl p_esc_root = p_esc |>>$ (fun _ => "") >>.$ (p_word |> many_) |>>$
00:36:08 verbose #23225 > > (seq.of_list' >> sm'.concat "")
00:36:08 verbose #23226 > >     inl p_content = p_plain <|>$ p_quoted_all <|>$ p_esc_root
00:36:08 verbose #23227 > >     inl p_args = spaces1_ () |> sep_by_ p_content
00:36:08 verbose #23228 > >     args
00:36:08 verbose #23229 > >     |> parse_ p_args
00:36:08 verbose #23230 > >     |> resultm.map fun (a', b') =>
00:36:08 verbose #23231 > >         (
00:36:08 verbose #23232 > >             (
00:36:08 verbose #23233 > >                 a'
00:36:08 verbose #23234 > >                 |> listm'.to_array'
00:36:08 verbose #23235 > >                 |> a
00:36:08 verbose #23236 > >                 |> am.map fun x => x, b'
00:36:08 verbose #23237 > >                 |> fun (a x : _ i32 _) => x
00:36:08 verbose #23238 > >             )
00:36:08 verbose #23239 > >         )
00:36:08 verbose #23240 > >
00:36:08 verbose #23241 > > [[
00:36:08 verbose #23242 > >     "a b c",
00:36:08 verbose #23243 > >     ;[[ "a"; "b"; "c" ]]
00:36:08 verbose #23244 > >
00:36:08 verbose #23245 > >     "e f \"g h\" i",
00:36:08 verbose #23246 > >     ;[[ "e"; "f"; "g h"; "i" ]]
00:36:08 verbose #23247 > >
00:36:08 verbose #23248 > >     "\"j k\" \"l\" \"m\"",
00:36:08 verbose #23249 > >     ;[[ "j k"; "l"; "m" ]]
00:36:08 verbose #23250 > >
00:36:08 verbose #23251 > >     "s -t \"u \`\"v\`\" w\"",
00:36:08 verbose #23252 > >     ;[[ "s"; "-t"; "u \`\"v\`\" w" ]]
00:36:08 verbose #23253 > >
00:36:08 verbose #23254 > >     "n -o \"p \\\"q\\\" r\"",
00:36:08 verbose #23255 > >     ;[[ "n"; "-o"; "p \\\"q\\\" r" ]]
00:36:08 verbose #23256 > >
00:36:08 verbose #23257 > >     "r -s \"t \\\"u\\\"\"",
00:36:08 verbose #23258 > >     ;[[ "r"; "-s"; "t \\\"u\\\"" ]]
00:36:08 verbose #23259 > >
00:36:08 verbose #23260 > >     $'$"x -y \\\"$z -a \'(b=\\\\\\"c-id=)[[a-fA-F0-9]]{{8}}\', {{ \`$_[[1]] +
00:36:08 verbose #23261 > > \`$d++ }}\\\""',
00:36:08 verbose #23262 > >     ;[[ "x"; "-y"; "$z -a '(b=\\\"c-id=)[[a-fA-F0-9]]{8}', { `$_[[1]] + `$d++ }"
00:36:08 verbose #23263 > > ]]
00:36:08 verbose #23264 > >
00:36:08 verbose #23265 > >     "e -f \"$g -h '(i=`\"j-id=)[[a-fA-F0-9]]{8}', { `$_[[1]] + `$k++ }\"",
00:36:08 verbose #23266 > >     ;[[ "e"; "-f"; "$g -h '(i=`\"j-id=)[[a-fA-F0-9]]{8}', { `$_[[1]] + `$k++ }"
00:36:08 verbose #23267 > > ]]
00:36:08 verbose #23268 > >
00:36:08 verbose #23269 > >     $'$"--l \\\\\\"\'\'\' m \'\'\'\\\\\\" "',
00:36:08 verbose #23270 > >     ;[[ "--l"; "''' m '''" ]]
00:36:08 verbose #23271 > >
00:36:08 verbose #23272 > >     $'$"n --o --p q --r \\\"s:/t u/v.w\\\" --x \\\"y:/z.a\\\" --b c.d
00:36:08 verbose #23273 > > \\\"\\\\e{{f-g}}\\\" h.i \\\"j (k)\\\""',
00:36:08 verbose #23274 > >     ;[[ "n"; "--o"; "--p"; "q"; "--r"; "s:/t u/v.w"; "--x"; "y:/z.a"; "--b";
00:36:08 verbose #23275 > > "c.d"; "\\e{f-g}"; "h.i"; "j (k)" ]]
00:36:08 verbose #23276 > >
00:36:08 verbose #23277 > >     $'\@$"l ""m n:\\o.p"""',
00:36:08 verbose #23278 > >     ;[[ "l"; "m n:\\o.p" ]]
00:36:08 verbose #23279 > > ]]
00:36:08 verbose #23280 > > |> listm.rev
00:36:08 verbose #23281 > > |> listm.map fun input, expected =>
00:36:08 verbose #23282 > >     input
00:36:08 verbose #23283 > >     |> split_args
00:36:08 verbose #23284 > >     |> fun x =>
00:36:08 verbose #23285 > >         try
00:36:08 verbose #23286 > >             fun () =>
00:36:08 verbose #23287 > >                 ($'$"\ninput: {!input}"' : string)
00:36:08 verbose #23288 > >                 |> console.write_line
00:36:08 verbose #23289 > >                 x
00:36:08 verbose #23290 > >                 |> resultm.get
00:36:08 verbose #23291 > >                 |> am'.map_base fst
00:36:08 verbose #23292 > >                 |> _assert_eq' expected
00:36:08 verbose #23293 > >                 false
00:36:08 verbose #23294 > >             fun ex =>
00:36:08 verbose #23295 > >                 ($'$"error / expected: %A{!expected} / ex: %A{!ex}"' : string)
00:36:08 verbose #23296 > >                 |> console.write_line
00:36:08 verbose #23297 > >                 Some true
00:36:08 verbose #23298 > >         |> optionm.value
00:36:08 verbose #23299 > > |> listm'.filter id
00:36:08 verbose #23300 > > |> function
00:36:08 verbose #23301 > >     | [[]] => ()
00:36:08 verbose #23302 > >     | x => failwith $'$"{!x}"'
00:36:09 verbose #23303 > 00:36:08   debug #1340 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2de3d31fbb53b4fc53ad1d688eaed6f799e990358a495472558ab5fd5a947507/main.spi
00:36:12 verbose #23304 > >
00:36:12 verbose #23305 > > ╭─[ 4.14s - stdout ]───────────────────────────────────────────────────────────╮
00:36:12 verbose #23306 > > │                                                                              │
00:36:12 verbose #23307 > > │ input: a b c                                                                 │
00:36:12 verbose #23308 > > │ __assert_eq' / actual: [|"a"; "b"; "c"|] / expected: [|"a"; "b"; "c"|]       │
00:36:12 verbose #23309 > > │                                                                              │
00:36:12 verbose #23310 > > │ input: e f "g h" i                                                           │
00:36:12 verbose #23311 > > │ __assert_eq' / actual: [|"e"; "f"; "g h"; "i"|] / expected: [|"e"; "f"; "g   │
00:36:12 verbose #23312 > > │ h"; "i"|]                                                                    │
00:36:12 verbose #23313 > > │                                                                              │
00:36:12 verbose #23314 > > │ input: "j k" "l" "m"                                                         │
00:36:12 verbose #23315 > > │ __assert_eq' / actual: [|"j k"; "l"; "m"|] / expected: [|"j k"; "l"; "m"|]   │
00:36:12 verbose #23316 > > │                                                                              │
00:36:12 verbose #23317 > > │ input: s -t "u `"v`" w"                                                      │
00:36:12 verbose #23318 > > │ __assert_eq' / actual: [|"s"; "-t"; "u `"v`" w"|] / expected: [|"s"; "-t";   │
00:36:12 verbose #23319 > > │ "u `"v`" w"|]                                                                │
00:36:12 verbose #23320 > > │                                                                              │
00:36:12 verbose #23321 > > │ input: n -o "p \"q\" r"                                                      │
00:36:12 verbose #23322 > > │ __assert_eq' / actual: [|"n"; "-o"; "p \"q\" r"|] / expected: [|"n"; "-o";   │
00:36:12 verbose #23323 > > │ "p \"q\" r"|]                                                                │
00:36:12 verbose #23324 > > │                                                                              │
00:36:12 verbose #23325 > > │ input: r -s "t \"u\""                                                        │
00:36:12 verbose #23326 > > │ __assert_eq' / actual: [|"r"; "-s"; "t \"u\""|] / expected: [|"r"; "-s"; "t  │
00:36:12 verbose #23327 > > │ \"u\""|]                                                                     │
00:36:12 verbose #23328 > > │                                                                              │
00:36:12 verbose #23329 > > │ input: x -y "$z -a '(b=\"c-id=)[a-fA-F0-9]{8}', { `$_[1] + `$d++ }"          │
00:36:12 verbose #23330 > > │ __assert_eq' / actual: [|"x"; "-y"; "$z -a '(b=\"c-id=)[a-fA-F0-9]{8}', {    │
00:36:12 verbose #23331 > > │ `$_[1] + `$d++ }"|] / expected: [|"x"; "-y"; "$z -a '(b=\"c-id=)[            │
00:36:12 verbose #23332 > > │ a-fA-F0-9]{8}', { `$_[1] + `$d++ }"|]                                        │
00:36:12 verbose #23333 > > │                                                                              │
00:36:12 verbose #23334 > > │ input: e -f "$g -h '(i=`"j-id=)[a-fA-F0-9]{8}', { `$_[1] + `$k++ }"          │
00:36:12 verbose #23335 > > │ __assert_eq' / actual: [|"e"; "-f"; "$g -h '(i=`"j-id=)[a-fA-F0-9]{8}', {    │
00:36:12 verbose #23336 > > │ `$_[1] + `$k++ }"|] / expected: [|"e"; "-f"; "$g -h '(i=`"j-id=)[            │
00:36:12 verbose #23337 > > │ a-fA-F0-9]{8}', { `$_[1] + `$k++ }"|]                                        │
00:36:12 verbose #23338 > > │                                                                              │
00:36:12 verbose #23339 > > │ input: --l \"''' m '''\"                                                     │
00:36:12 verbose #23340 > > │ __assert_eq' / actual: [|"--l"; "''' m '''"|] / expected: [|"--l"; "''' m    │
00:36:12 verbose #23341 > > │ '''"|]                                                                       │
00:36:12 verbose #23342 > > │                                                                              │
00:36:12 verbose #23343 > > │ input: n --o --p q --r "s:/t u/v.w" --x "y:/z.a" --b c.d "\e{f-g}" h.i "j    │
00:36:12 verbose #23344 > > │ (k)"                                                                         │
00:36:12 verbose #23345 > > │ __assert_eq' / actual: [|"n"; "--o"; "--p"; "q"; "--r"; "s:/t u/v.w"; "--x"; │
00:36:12 verbose #23346 > > │ "y:/z.a"; "--b"; "c.d";                                                      │
00:36:12 verbose #23347 > > │   "\e{f-g}"; "h.i"; "j (k)"|] / expected: [|"n"; "--o"; "--p"; "q"; "--r";   │
00:36:12 verbose #23348 > > │ "s:/t u/v.w"; "--x"; "y:/z.a"; "--b"; "c.d";                                 │
00:36:12 verbose #23349 > > │   "\e{f-g}"; "h.i"; "j (k)"|]                                                │
00:36:12 verbose #23350 > > │                                                                              │
00:36:12 verbose #23351 > > │ input: l "m n:\o.p"                                                          │
00:36:12 verbose #23352 > > │ __assert_eq' / actual: [|"l"; "m n:\o.p"|] / expected: [|"l"; "m n:\o.p"|]   │
00:36:12 verbose #23353 > > │                                                                              │
00:36:12 verbose #23354 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:12 verbose #23355 > >
00:36:12 verbose #23356 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:12 verbose #23357 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:12 verbose #23358 > > │ ## parsing                                                                   │
00:36:12 verbose #23359 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:12 verbose #23360 > >
00:36:12 verbose #23361 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:12 verbose #23362 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:12 verbose #23363 > > │ ### range                                                                    │
00:36:12 verbose #23364 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:12 verbose #23365 > >
00:36:12 verbose #23366 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:12 verbose #23367 > > type range =
00:36:12 verbose #23368 > >     {
00:36:12 verbose #23369 > >         from : int
00:36:12 verbose #23370 > >         to : int
00:36:12 verbose #23371 > >     }
00:36:13 verbose #23372 > 00:36:12   debug #1341 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ecd5bcf198e47ba3933bc4d7a264d1dbb8019b067f01d104d9521ba3c8f515a7/main.spi
00:36:13 verbose #23373 > >
00:36:13 verbose #23374 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:13 verbose #23375 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:13 verbose #23376 > > │ ### position                                                                 │
00:36:13 verbose #23377 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:13 verbose #23378 > >
00:36:13 verbose #23379 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:13 verbose #23380 > > type position =
00:36:13 verbose #23381 > >     {
00:36:13 verbose #23382 > >         line : int
00:36:13 verbose #23383 > >         col : int
00:36:13 verbose #23384 > >     }
00:36:13 verbose #23385 > 00:36:12   debug #1342 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c9df713fcb716283937fd314ec7aa50d751be070a46cbb6351f2225444c2f204/main.spi
00:36:13 verbose #23386 > >
00:36:13 verbose #23387 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:13 verbose #23388 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:13 verbose #23389 > > │ ### parser_state                                                             │
00:36:13 verbose #23390 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:13 verbose #23391 > >
00:36:13 verbose #23392 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:13 verbose #23393 > > nominal parser_state =
00:36:13 verbose #23394 > >     {
00:36:13 verbose #23395 > >         line_text : sm'.string_builder
00:36:13 verbose #23396 > >         position : position
00:36:13 verbose #23397 > >     }
00:36:13 verbose #23398 > 00:36:13   debug #1343 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a650669ec8cebb8700462c75d93992dd7c0208b0ed2701233ad68beb87ce0d29/main.spi
00:36:14 verbose #23399 > >
00:36:14 verbose #23400 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:14 verbose #23401 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:14 verbose #23402 > > │ ### parser                                                                   │
00:36:14 verbose #23403 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:14 verbose #23404 > >
00:36:14 verbose #23405 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:14 verbose #23406 > > type parser t = string * parser_state -> result (t * string * parser_state)
00:36:14 verbose #23407 > > string
00:36:14 verbose #23408 > 00:36:13   debug #1344 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7c9701010f76f3345b2709d82fed11f1673fbb5e63d7098195f8167140245efd/main.spi
00:36:14 verbose #23409 > >
00:36:14 verbose #23410 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:14 verbose #23411 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:14 verbose #23412 > > │ ### parse                                                                    │
00:36:14 verbose #23413 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:14 verbose #23414 > >
00:36:14 verbose #23415 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:14 verbose #23416 > > inl parse forall t. (p : parser t) (input : string) : result (t * string *
00:36:14 verbose #23417 > > parser_state) string =
00:36:14 verbose #23418 > >     inl input =
00:36:14 verbose #23419 > >         input
00:36:14 verbose #23420 > >         |> optionm'.of_obj
00:36:14 verbose #23421 > >         |> optionm'.default_value' ""
00:36:14 verbose #23422 > >     p (input, { line_text = "" |> sm'.string_builder; position = { line = 1; col
00:36:14 verbose #23423 > > = 1 } } |> parser_state)
00:36:14 verbose #23424 > 00:36:13   debug #1345 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cca6edc73bf01a90b1a43babaade655be8fcf480d92cef940a00c5e395da7894/main.spi
00:36:14 verbose #23425 > >
00:36:14 verbose #23426 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:14 verbose #23427 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:14 verbose #23428 > > │ ### inc                                                                      │
00:36:14 verbose #23429 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:14 verbose #23430 > >
00:36:14 verbose #23431 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:14 verbose #23432 > > inl inc c (parser_state s) =
00:36:14 verbose #23433 > >     match c with
00:36:14 verbose #23434 > >     | '\n' => { line = s.position.line + 1; col = 1 }
00:36:14 verbose #23435 > >     | _ => { s.position with col = s.position.col + 1 }.position
00:36:15 verbose #23436 > 00:36:14   debug #1346 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1d632252386dc1ec63f076f8a799472d92e2cfb9bbe779b50a307d840eef8ca7/main.spi
00:36:15 verbose #23437 > >
00:36:15 verbose #23438 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:15 verbose #23439 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:15 verbose #23440 > > │ ### update                                                                   │
00:36:15 verbose #23441 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:15 verbose #23442 > >
00:36:15 verbose #23443 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:15 verbose #23444 > > inl update result s =
00:36:15 verbose #23445 > >     (s, result |> sm'.to_char_array |> a |> (fun x => x : _ int _) |>
00:36:15 verbose #23446 > > am'.to_list' |> listm'.unbox)
00:36:15 verbose #23447 > >     ||> listm.fold fun (parser_state s) c =>
00:36:15 verbose #23448 > >         { s with
00:36:15 verbose #23449 > >             position = s |> parser_state |> inc c
00:36:15 verbose #23450 > >             line_text =
00:36:15 verbose #23451 > >                 match c with
00:36:15 verbose #23452 > >                 | '\n' => s.line_text |> sm'.builder_clear
00:36:15 verbose #23453 > >                 | c => s.line_text |> sm'.builder_append (sm'.obj_to_string c)
00:36:15 verbose #23454 > >         } |> parser_state
00:36:15 verbose #23455 > 00:36:14   debug #1347 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1245cbdfbcfcde715579be997989952cfd8002d2d0e5910c72b607c582c167fa/main.spi
00:36:15 verbose #23456 > >
00:36:15 verbose #23457 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:15 verbose #23458 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:15 verbose #23459 > > │ ### any_char                                                                 │
00:36:15 verbose #23460 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:15 verbose #23461 > >
00:36:15 verbose #23462 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:15 verbose #23463 > > inl any_char () : parser char = function
00:36:15 verbose #23464 > >     | "", s => Error $'$"parsing.any_char / unexpected end of input / s:
00:36:15 verbose #23465 > > %A{!s}"'
00:36:15 verbose #23466 > >     | x, s =>
00:36:15 verbose #23467 > >         inl first_char = x |> sm'.index 0i32
00:36:15 verbose #23468 > >         inl rest = x |> sm'.range (am'.Start 1i32) (am'.End id)
00:36:15 verbose #23469 > >         in Ok (first_char, rest, s |> update (sm'.obj_to_string first_char))
00:36:15 verbose #23470 > 00:36:14   debug #1348 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/75ec8ab67d6d89f6563f7b380cb38f83649279ada3fdd47535c91b11839a1d65/main.spi
00:36:15 verbose #23471 > >
00:36:15 verbose #23472 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:15 verbose #23473 > > //// test
00:36:15 verbose #23474 > >
00:36:15 verbose #23475 > > "abc"
00:36:15 verbose #23476 > > |> parse (any_char ())
00:36:15 verbose #23477 > > |> resultm.get
00:36:15 verbose #23478 > > |> sm'.format_debug
00:36:15 verbose #23479 > > |> _assert_eq (
00:36:15 verbose #23480 > >     ('a', "bc", { line_text = "a" |> sm'.string_builder; position = { line =
00:36:15 verbose #23481 > > 1i32; col = 2i32 } })
00:36:15 verbose #23482 > >     |> sm'.format_debug
00:36:15 verbose #23483 > > )
00:36:16 verbose #23484 > 00:36:15   debug #1349 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3a9565c72b0cc0f4952a0dafd5f98ceb154fb8a9eab17b832926d03ceaf57a61/main.spi
00:36:16 verbose #23485 > >
00:36:16 verbose #23486 > > ╭─[ 624.27ms - stdout ]────────────────────────────────────────────────────────╮
00:36:16 verbose #23487 > > │ __assert_eq / actual: "struct ('a', "bc", a, 1, 2)" / expected: "struct      │
00:36:16 verbose #23488 > > │ ('a', "bc", a, 1, 2)"                                                        │
00:36:16 verbose #23489 > > │                                                                              │
00:36:16 verbose #23490 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:16 verbose #23491 > >
00:36:16 verbose #23492 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:16 verbose #23493 > > //// test
00:36:16 verbose #23494 > >
00:36:16 verbose #23495 > > "abc"
00:36:16 verbose #23496 > > |> parse_ (any_char_ ())
00:36:16 verbose #23497 > > |> resultm.get
00:36:16 verbose #23498 > > |> sm'.format_debug
00:36:16 verbose #23499 > > |> _assert_eq' (('a', ($'FParsec.Position (null, 0, 1, 2)' : position_)) |>
00:36:16 verbose #23500 > > sm'.format_debug)
00:36:16 verbose #23501 > 00:36:15   debug #1350 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/25f88a2943f27d00aa4eabc3c3b88e23ccf0ad9800e6fbd5e7e3bf33622fa34b/main.spi
00:36:16 verbose #23502 > >
00:36:16 verbose #23503 > > ╭─[ 452.19ms - stdout ]────────────────────────────────────────────────────────╮
00:36:16 verbose #23504 > > │ __assert_eq' / actual: "struct ('a', (Ln: 1, Col: 2))" / expected: "struct   │
00:36:16 verbose #23505 > > │ ('a', (Ln: 1, Col: 2))"                                                      │
00:36:16 verbose #23506 > > │                                                                              │
00:36:16 verbose #23507 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:16 verbose #23508 > >
00:36:16 verbose #23509 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:16 verbose #23510 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:16 verbose #23511 > > │ ### p_char                                                                   │
00:36:16 verbose #23512 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:16 verbose #23513 > >
00:36:16 verbose #23514 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:16 verbose #23515 > > inl p_char (c : char) : parser char = function
00:36:16 verbose #23516 > >     | "", s => Error $'$"parsing.p_char / unexpected end of input / s: %A{!s}"'
00:36:16 verbose #23517 > >     | input, parser_state ({ line_text position = { line col } } as s) =>
00:36:16 verbose #23518 > >         inl first_char = input |> sm'.index 0i32
00:36:16 verbose #23519 > >         if first_char = c
00:36:16 verbose #23520 > >         then Ok (
00:36:16 verbose #23521 > >             first_char,
00:36:16 verbose #23522 > >             input |> sm'.range (am'.Start 1i32) (am'.End id),
00:36:16 verbose #23523 > >             s |> parser_state |> update (sm'.obj_to_string first_char)
00:36:16 verbose #23524 > >         )
00:36:16 verbose #23525 > >         else
00:36:16 verbose #23526 > >             inl message : string =
00:36:16 verbose #23527 > >                 inl rest =
00:36:16 verbose #23528 > >                     input
00:36:16 verbose #23529 > >                     |> sm'.range
00:36:16 verbose #23530 > >                         (am'.Start 0i32)
00:36:16 verbose #23531 > >                         (am'.End fun l =>
00:36:16 verbose #23532 > >                             match (input |> sm'.index_of "\n") - 1 with
00:36:16 verbose #23533 > >                             | -2 => l
00:36:16 verbose #23534 > >                             | l => l
00:36:16 verbose #23535 > >                         )
00:36:16 verbose #23536 > >                 $'$"parsing.p_char / expected: \'{!c}\' / line: {!line} / col:
00:36:16 verbose #23537 > > {!col}\n{!line_text}{!rest}"'
00:36:16 verbose #23538 > >             inl pointer_line = (sm'.replicate (col - 1) " ") +. "^"
00:36:16 verbose #23539 > >             $'$"{!message}\n{!pointer_line}\n"' |> Error
00:36:17 verbose #23540 > 00:36:16   debug #1351 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/25cc9060e762e3ca857fcf7ea4df37d3cd5763c34397f934fb6d8ece1141d423/main.spi
00:36:17 verbose #23541 > >
00:36:17 verbose #23542 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:17 verbose #23543 > > //// test
00:36:17 verbose #23544 > >
00:36:17 verbose #23545 > > "abc"
00:36:17 verbose #23546 > > |> parse (p_char 'a')
00:36:17 verbose #23547 > > |> resultm.get
00:36:17 verbose #23548 > > |> sm'.format_debug
00:36:17 verbose #23549 > > |> _assert_eq (
00:36:17 verbose #23550 > >     ('a', "bc", { line_text = "a" |> sm'.string_builder; position = { line =
00:36:17 verbose #23551 > > 1i32; col = 2i32 } })
00:36:17 verbose #23552 > >     |> sm'.format_debug
00:36:17 verbose #23553 > > )
00:36:17 verbose #23554 > 00:36:16   debug #1352 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2542a378e68af2433f17550087f2af0436a044b6a29216b51e53938ce06fa424/main.spi
00:36:17 verbose #23555 > >
00:36:17 verbose #23556 > > ╭─[ 518.60ms - stdout ]────────────────────────────────────────────────────────╮
00:36:17 verbose #23557 > > │ __assert_eq / actual: "struct ('a', "bc", a, 1, 2)" / expected: "struct      │
00:36:17 verbose #23558 > > │ ('a', "bc", a, 1, 2)"                                                        │
00:36:17 verbose #23559 > > │                                                                              │
00:36:17 verbose #23560 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:17 verbose #23561 > >
00:36:17 verbose #23562 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:17 verbose #23563 > > //// test
00:36:17 verbose #23564 > >
00:36:17 verbose #23565 > > "abc"
00:36:17 verbose #23566 > > |> parse_ (p_char_ 'a')
00:36:17 verbose #23567 > > |> resultm.get
00:36:17 verbose #23568 > > |> sm'.format_debug
00:36:17 verbose #23569 > > |> _assert_eq' (('a', ($'FParsec.Position (null, 0, 1, 2)' : position_)) |>
00:36:17 verbose #23570 > > sm'.format_debug)
00:36:18 verbose #23571 > 00:36:17   debug #1353 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8f522eccfc0f68b64e576e86262eb7845dc7e10f691b40774bde3432e0fc0c77/main.spi
00:36:18 verbose #23572 > >
00:36:18 verbose #23573 > > ╭─[ 466.31ms - stdout ]────────────────────────────────────────────────────────╮
00:36:18 verbose #23574 > > │ __assert_eq' / actual: "struct ('a', (Ln: 1, Col: 2))" / expected: "struct   │
00:36:18 verbose #23575 > > │ ('a', (Ln: 1, Col: 2))"                                                      │
00:36:18 verbose #23576 > > │                                                                              │
00:36:18 verbose #23577 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:18 verbose #23578 > >
00:36:18 verbose #23579 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:18 verbose #23580 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:18 verbose #23581 > > │ ### any_string                                                               │
00:36:18 verbose #23582 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:18 verbose #23583 > >
00:36:18 verbose #23584 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:18 verbose #23585 > > inl any_string length : parser string = fun input, s =>
00:36:18 verbose #23586 > >     if sm'.length input < length
00:36:18 verbose #23587 > >     then Error $'$"parsing.any_string / unexpected end of input / s: %A{!s}"'
00:36:18 verbose #23588 > >     else
00:36:18 verbose #23589 > >         inl result = input |> sm'.range (am'.Start 0i32) (am'.End fun _ =>
00:36:18 verbose #23590 > > length - 1)
00:36:18 verbose #23591 > >         inl rest = input |> sm'.range (am'.Start length) (am'.End id)
00:36:18 verbose #23592 > >         Ok (result, rest, s |> update result)
00:36:18 verbose #23593 > 00:36:17   debug #1354 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/646785eddcc007028f17c81eebf6d5304e87f001729a015a0717b5dd8cf6f25a/main.spi
00:36:18 verbose #23594 > >
00:36:18 verbose #23595 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:18 verbose #23596 > > //// test
00:36:18 verbose #23597 > >
00:36:18 verbose #23598 > > "abcdef"
00:36:18 verbose #23599 > > |> parse (any_string 3i32)
00:36:18 verbose #23600 > > |> resultm.get
00:36:18 verbose #23601 > > |> sm'.format_debug
00:36:18 verbose #23602 > > |> _assert_eq (
00:36:18 verbose #23603 > >     ("abc", "def", { line_text = "abc" |> sm'.string_builder; position = { line
00:36:18 verbose #23604 > > = 1i32; col = 4i32 } })
00:36:18 verbose #23605 > >     |> sm'.format_debug
00:36:18 verbose #23606 > > )
00:36:18 verbose #23607 > 00:36:18   debug #1355 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e9475db193c5b067e05547ebe1e54a2aefa8bd081d65a76ef23ca67be89a7579/main.spi
00:36:19 verbose #23608 > >
00:36:19 verbose #23609 > > ╭─[ 527.35ms - stdout ]────────────────────────────────────────────────────────╮
00:36:19 verbose #23610 > > │ __assert_eq / actual: "struct ("abc", "def", abc, 1, 4)" / expected: "struct │
00:36:19 verbose #23611 > > │ ("abc", "def", abc, 1, 4)"                                                   │
00:36:19 verbose #23612 > > │                                                                              │
00:36:19 verbose #23613 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:19 verbose #23614 > >
00:36:19 verbose #23615 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:19 verbose #23616 > > //// test
00:36:19 verbose #23617 > >
00:36:19 verbose #23618 > > "abcdef"
00:36:19 verbose #23619 > > |> parse_ (any_string__ 3)
00:36:19 verbose #23620 > > |> resultm.get
00:36:19 verbose #23621 > > |> sm'.obj_to_string
00:36:19 verbose #23622 > > |> _assert_eq' (("abc", ($'FParsec.Position (null, 0, 1, 4)' : position_)) |>
00:36:19 verbose #23623 > > sm'.obj_to_string)
00:36:19 verbose #23624 > 00:36:18   debug #1356 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d883960dbbccbed5d047dc90374d11223b00fa9e02ff6b75cd7a117c4fcfe0b4/main.spi
00:36:19 verbose #23625 > >
00:36:19 verbose #23626 > > ╭─[ 474.20ms - stdout ]────────────────────────────────────────────────────────╮
00:36:19 verbose #23627 > > │ __assert_eq' / actual: "(abc, (Ln: 1, Col: 4))" / expected: "(abc, (Ln: 1,   │
00:36:19 verbose #23628 > > │ Col: 4))"                                                                    │
00:36:19 verbose #23629 > > │                                                                              │
00:36:19 verbose #23630 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:19 verbose #23631 > >
00:36:19 verbose #23632 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:19 verbose #23633 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:19 verbose #23634 > > │ ### skip_any_string                                                          │
00:36:19 verbose #23635 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:19 verbose #23636 > >
00:36:19 verbose #23637 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:19 verbose #23638 > > inl skip_any_string length : parser () = fun input, s =>
00:36:19 verbose #23639 > >     if sm'.length input < length
00:36:19 verbose #23640 > >     then Error $'$"parsing.skip_any_string / unexpected end of input / s:
00:36:19 verbose #23641 > > %A{!s}"'
00:36:19 verbose #23642 > >     else Ok (
00:36:19 verbose #23643 > >         (),
00:36:19 verbose #23644 > >         input |> sm'.range (am'.Start length) (am'.End id),
00:36:19 verbose #23645 > >         s |> update (input |> sm'.range (am'.Start 0i32) (am'.End fun _ =>
00:36:19 verbose #23646 > > length - 1))
00:36:19 verbose #23647 > >     )
00:36:19 verbose #23648 > 00:36:18   debug #1357 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/716a0a21c571518601a7689c5357be36450330c33f7d6613eaec520d144353e8/main.spi
00:36:20 verbose #23649 > >
00:36:20 verbose #23650 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:20 verbose #23651 > > //// test
00:36:20 verbose #23652 > >
00:36:20 verbose #23653 > > "abcdef"
00:36:20 verbose #23654 > > |> parse (skip_any_string 3i32)
00:36:20 verbose #23655 > > |> resultm.get
00:36:20 verbose #23656 > > |> sm'.format_debug
00:36:20 verbose #23657 > > |> _assert_eq (
00:36:20 verbose #23658 > >     ((), "def", { line_text = "abc" |> sm'.string_builder; position = { line =
00:36:20 verbose #23659 > > 1i32; col = 4i32 } })
00:36:20 verbose #23660 > >     |> sm'.format_debug
00:36:20 verbose #23661 > > )
00:36:20 verbose #23662 > 00:36:19   debug #1358 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8cd5e84844d78285753ea73241d2f2317acf61eab093ce5266fe6aa81bc42a48/main.spi
00:36:20 verbose #23663 > >
00:36:20 verbose #23664 > > ╭─[ 514.22ms - stdout ]────────────────────────────────────────────────────────╮
00:36:20 verbose #23665 > > │ __assert_eq / actual: "struct ("def", abc, 1, 4)" / expected: "struct        │
00:36:20 verbose #23666 > > │ ("def", abc, 1, 4)"                                                          │
00:36:20 verbose #23667 > > │                                                                              │
00:36:20 verbose #23668 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:20 verbose #23669 > >
00:36:20 verbose #23670 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:20 verbose #23671 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:20 verbose #23672 > > │ ### (>>.)                                                                    │
00:36:20 verbose #23673 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:20 verbose #23674 > >
00:36:20 verbose #23675 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:20 verbose #23676 > > inl (>>.) forall t u. (a : parser t) (b : parser u) : parser u = fun input, s =>
00:36:20 verbose #23677 > >     match a (input, s) with
00:36:20 verbose #23678 > >     | Ok (_, rest, s) => b (rest, s)
00:36:20 verbose #23679 > >     | Error e => Error e
00:36:20 verbose #23680 > 00:36:19   debug #1359 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d91e4c19a5361ad089771923a75352e43a70c3b13b6f6355ebdd49786855eb7f/main.spi
00:36:21 verbose #23681 > >
00:36:21 verbose #23682 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:21 verbose #23683 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:21 verbose #23684 > > │ ### (>>.)                                                                    │
00:36:21 verbose #23685 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:21 verbose #23686 > >
00:36:21 verbose #23687 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:21 verbose #23688 > > inl (.>>) forall t u. (a : parser t) (b : parser u) : parser t = fun input, s =>
00:36:21 verbose #23689 > >     match a (input, s) with
00:36:21 verbose #23690 > >     | Ok (result, rest, s) =>
00:36:21 verbose #23691 > >         match b (rest, s) with
00:36:21 verbose #23692 > >         | Ok (_, rest, s) => Ok (result, rest, s)
00:36:21 verbose #23693 > >         | Error e => Error e
00:36:21 verbose #23694 > >     | Error e => Error e
00:36:21 verbose #23695 > 00:36:20   debug #1360 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/de020e09a6a2010d1c712b6964f2dfcb22b771629bc9d5a427f387b137b7e735/main.spi
00:36:21 verbose #23696 > >
00:36:21 verbose #23697 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:21 verbose #23698 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:21 verbose #23699 > > │ ### (.>>.)                                                                   │
00:36:21 verbose #23700 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:21 verbose #23701 > >
00:36:21 verbose #23702 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:21 verbose #23703 > > inl (.>>.) forall t u. (a : parser t) (b : parser u) : parser (t * u) = fun
00:36:21 verbose #23704 > > input, s =>
00:36:21 verbose #23705 > >     match a (input, s) with
00:36:21 verbose #23706 > >     | Ok (result_a, rest, s) =>
00:36:21 verbose #23707 > >         match b (rest, s) with
00:36:21 verbose #23708 > >         | Ok (result_b, rest, s) => Ok ((result_a, result_b), rest, s)
00:36:21 verbose #23709 > >         | Error e => Error e
00:36:21 verbose #23710 > >     | Error e => Error e
00:36:21 verbose #23711 > 00:36:20   debug #1361 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/22b8e82567158eb3bc8a94417e237e9f4b76b9652119be69e0f6a40b09acfefb/main.spi
00:36:21 verbose #23712 > >
00:36:21 verbose #23713 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:21 verbose #23714 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:21 verbose #23715 > > │ ### (>>%)                                                                    │
00:36:21 verbose #23716 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:21 verbose #23717 > >
00:36:21 verbose #23718 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:21 verbose #23719 > > inl (>>%) forall t u. (a : parser t) (b : u) : parser u = fun input, s =>
00:36:21 verbose #23720 > >     match a (input, s) with
00:36:21 verbose #23721 > >     | Ok (_, rest, s) => Ok (b, rest, s)
00:36:21 verbose #23722 > >     | Error e => Error e
00:36:22 verbose #23723 > 00:36:21   debug #1362 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1e8770323e2ad788b365bd503635c2759af43a85a7c9355017e969813495017e/main.spi
00:36:22 verbose #23724 > >
00:36:22 verbose #23725 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:22 verbose #23726 > > //// test
00:36:22 verbose #23727 > >
00:36:22 verbose #23728 > > "abc"
00:36:22 verbose #23729 > > |> parse (p_char 'a' >>. p_char 'b')
00:36:22 verbose #23730 > > |> resultm.get
00:36:22 verbose #23731 > > |> sm'.format_debug
00:36:22 verbose #23732 > > |> _assert_eq (
00:36:22 verbose #23733 > >     ('b', "c", { line_text = "ab" |> sm'.string_builder; position = { line =
00:36:22 verbose #23734 > > 1i32; col = 3i32 } })
00:36:22 verbose #23735 > >     |> sm'.format_debug
00:36:22 verbose #23736 > > )
00:36:22 verbose #23737 > >
00:36:22 verbose #23738 > > "abc\ndef\nghi"
00:36:22 verbose #23739 > > |> parse (skip_any_string 5i32 >>. p_char 'a')
00:36:22 verbose #23740 > > |> _assert_eq (Error "parsing.p_char / expected: 'a' / line: 2 / col: 2\ndef\n
00:36:22 verbose #23741 > > ^\n")
00:36:22 verbose #23742 > 00:36:21   debug #1363 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b2160254c65a4ac95a475ed0b8bb6ba2fea5ce7361f3cca3e8499bf592ce7a2f/main.spi
00:36:22 verbose #23743 > >
00:36:22 verbose #23744 > > ╭─[ 670.68ms - stdout ]────────────────────────────────────────────────────────╮
00:36:22 verbose #23745 > > │ __assert_eq / actual: "struct ('b', "c", ab, 1, 3)" / expected: "struct      │
00:36:22 verbose #23746 > > │ ('b', "c", ab, 1, 3)"                                                        │
00:36:22 verbose #23747 > > │ __assert_eq / actual: US0_1 "parsing.p_char / expected: 'a' / line: 2 / col: │
00:36:22 verbose #23748 > > │ 2                                                                            │
00:36:22 verbose #23749 > > │ def                                                                          │
00:36:22 verbose #23750 > > │  ^                                                                           │
00:36:22 verbose #23751 > > │ " / expected: US0_1 "parsing.p_char / expected: 'a' / line: 2 / col: 2       │
00:36:22 verbose #23752 > > │ def                                                                          │
00:36:22 verbose #23753 > > │  ^                                                                           │
00:36:22 verbose #23754 > > │ "                                                                            │
00:36:22 verbose #23755 > > │                                                                              │
00:36:22 verbose #23756 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:22 verbose #23757 > >
00:36:22 verbose #23758 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:22 verbose #23759 > > //// test
00:36:22 verbose #23760 > >
00:36:22 verbose #23761 > > "abc"
00:36:22 verbose #23762 > > |> parse_ (p_char_ 'a' >>.$ p_char_ 'b')
00:36:22 verbose #23763 > > |> resultm.get
00:36:22 verbose #23764 > > |> sm'.obj_to_string
00:36:22 verbose #23765 > > |> _assert_eq' (('b', ($'FParsec.Position (null, 0, 1, 3)' : position_)) |>
00:36:22 verbose #23766 > > sm'.obj_to_string)
00:36:23 verbose #23767 > 00:36:22   debug #1364 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/62be0641ac6021c0f703014aaaeb6e190f805781232f20be6175224e57e6a6f7/main.spi
00:36:23 verbose #23768 > >
00:36:23 verbose #23769 > > ╭─[ 486.25ms - stdout ]────────────────────────────────────────────────────────╮
00:36:23 verbose #23770 > > │ __assert_eq' / actual: "(b, (Ln: 1, Col: 3))" / expected: "(b, (Ln: 1, Col:  │
00:36:23 verbose #23771 > > │ 3))"                                                                         │
00:36:23 verbose #23772 > > │                                                                              │
00:36:23 verbose #23773 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:23 verbose #23774 > >
00:36:23 verbose #23775 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:23 verbose #23776 > > //// test
00:36:23 verbose #23777 > >
00:36:23 verbose #23778 > > "abc\ndef\nghi"
00:36:23 verbose #23779 > > |> parse_ (skip_any_string_ 5 >>.$ p_char_ 'a')
00:36:23 verbose #23780 > > |> resultm.unwrap_err
00:36:23 verbose #23781 > > |> sm'.obj_to_string
00:36:23 verbose #23782 > > |> sm'.replace "\r\n" "\n"
00:36:23 verbose #23783 > > |> _assert_eq "(Error in Ln: 2 Col: 2\ndef\n ^\nExpecting: 'a'\n, Error in Ln: 2
00:36:23 verbose #23784 > > Col: 2\nExpecting: 'a'\n)"
00:36:23 verbose #23785 > 00:36:22   debug #1365 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f69fb73abb76ff30dc464393b7ef421a665e89a03d9a139636804dd870ac0d00/main.spi
00:36:23 verbose #23786 > >
00:36:23 verbose #23787 > > ╭─[ 499.41ms - stdout ]────────────────────────────────────────────────────────╮
00:36:23 verbose #23788 > > │ __assert_eq / actual: "(Error in Ln: 2 Col: 2                                │
00:36:23 verbose #23789 > > │ def                                                                          │
00:36:23 verbose #23790 > > │  ^                                                                           │
00:36:23 verbose #23791 > > │ Expecting: 'a'                                                               │
00:36:23 verbose #23792 > > │ , Error in Ln: 2 Col: 2                                                      │
00:36:23 verbose #23793 > > │ Expecting: 'a'                                                               │
00:36:23 verbose #23794 > > │ )" / expected: "(Error in Ln: 2 Col: 2                                       │
00:36:23 verbose #23795 > > │ def                                                                          │
00:36:23 verbose #23796 > > │  ^                                                                           │
00:36:23 verbose #23797 > > │ Expecting: 'a'                                                               │
00:36:23 verbose #23798 > > │ , Error in Ln: 2 Col: 2                                                      │
00:36:23 verbose #23799 > > │ Expecting: 'a'                                                               │
00:36:23 verbose #23800 > > │ )"                                                                           │
00:36:23 verbose #23801 > > │                                                                              │
00:36:23 verbose #23802 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:23 verbose #23803 > >
00:36:23 verbose #23804 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:23 verbose #23805 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:23 verbose #23806 > > │ ### none_of                                                                  │
00:36:23 verbose #23807 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:23 verbose #23808 > >
00:36:23 verbose #23809 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:23 verbose #23810 > > inl none_of (chars : list char) : parser char = function
00:36:23 verbose #23811 > >     | "", s =>
00:36:23 verbose #23812 > >         inl chars = chars |> listm'.box |> listm'.to_array'
00:36:23 verbose #23813 > >         Error $'$"parsing.none_of / unexpected end of input / chars: %A{!chars}
00:36:23 verbose #23814 > > / s: %A{!s}"'
00:36:23 verbose #23815 > >     | x, s =>
00:36:23 verbose #23816 > >         inl first_char = x |> sm'.index 0i32
00:36:23 verbose #23817 > >         inl rest = x |> sm'.range (am'.Start 1i32) (am'.End id)
00:36:23 verbose #23818 > >         if chars |> listm'.exists' ((=) first_char) |> not
00:36:23 verbose #23819 > >         then Ok (first_char, rest, s |> update (sm'.obj_to_string first_char))
00:36:23 verbose #23820 > >         else
00:36:23 verbose #23821 > >             inl chars = chars |> listm'.box |> listm'.to_array'
00:36:23 verbose #23822 > >             Error $'$"parsing.none_of / unexpected char: \'{!first_char}\'
00:36:23 verbose #23823 > > chars: %A{!chars} / s: %A{!s}"'
00:36:24 verbose #23824 > 00:36:23   debug #1366 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5b0efb3ccd8d0367db06e657acc834660dc6dea018b5ba619438eedf9c030fdb/main.spi
00:36:24 verbose #23825 > >
00:36:24 verbose #23826 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:24 verbose #23827 > > //// test
00:36:24 verbose #23828 > >
00:36:24 verbose #23829 > > "abc"
00:36:24 verbose #23830 > > |> parse (none_of [['a'; 'b'; 'c']])
00:36:24 verbose #23831 > > |> _assert_eq (Error "parsing.none_of / unexpected char: \'a\' / chars: [[|'a';
00:36:24 verbose #23832 > > 'b'; 'c'|]] / s: struct (, 1, 1)")
00:36:24 verbose #23833 > >
00:36:24 verbose #23834 > > "def"
00:36:24 verbose #23835 > > |> parse (none_of [['a'; 'b'; 'c']])
00:36:24 verbose #23836 > > |> resultm.get
00:36:24 verbose #23837 > > |> sm'.format_debug
00:36:24 verbose #23838 > > |> _assert_eq (
00:36:24 verbose #23839 > >     ('d', "ef", { line_text = "d" |> sm'.string_builder; position = { line =
00:36:24 verbose #23840 > > 1i32; col = 2i32 } })
00:36:24 verbose #23841 > >     |> sm'.format_debug
00:36:24 verbose #23842 > > )
00:36:24 verbose #23843 > 00:36:23   debug #1367 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d05e16a6530483173221c8add2b09ddc354a2c26f2464fb1333cf1840f482104/main.spi
00:36:25 verbose #23844 > >
00:36:25 verbose #23845 > > ╭─[ 665.96ms - stdout ]────────────────────────────────────────────────────────╮
00:36:25 verbose #23846 > > │ __assert_eq / actual: US0_1                                                  │
00:36:25 verbose #23847 > > │   "parsing.none_of / unexpected char: 'a' / chars: [|'a'; 'b'; 'c'|] / s:    │
00:36:25 verbose #23848 > > │ struct (, 1, 1)" / expected: US0_1                                           │
00:36:25 verbose #23849 > > │   "parsing.none_of / unexpected char: 'a' / chars: [|'a'; 'b'; 'c'|] / s:    │
00:36:25 verbose #23850 > > │ struct (, 1, 1)"                                                             │
00:36:25 verbose #23851 > > │ __assert_eq / actual: "struct ('d', "ef", d, 1, 2)" / expected: "struct      │
00:36:25 verbose #23852 > > │ ('d', "ef", d, 1, 2)"                                                        │
00:36:25 verbose #23853 > > │                                                                              │
00:36:25 verbose #23854 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:25 verbose #23855 > >
00:36:25 verbose #23856 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:25 verbose #23857 > > //// test
00:36:25 verbose #23858 > >
00:36:25 verbose #23859 > > "abc"
00:36:25 verbose #23860 > > |> parse_ (none_of_ [['a'; 'b'; 'c']])
00:36:25 verbose #23861 > > |> resultm.unwrap_err
00:36:25 verbose #23862 > > |> sm'.obj_to_string
00:36:25 verbose #23863 > > |> sm'.replace "\r\n" "\n"
00:36:25 verbose #23864 > > |> _assert_eq ($'"(Error in Ln: 1 Col: 1\nabc\n^\nExpecting: any char not in
00:36:25 verbose #23865 > > ‘abc’\n, Error in Ln: 1 Col: 1\nExpecting: any char not in ‘abc’\n)"')
00:36:25 verbose #23866 > >
00:36:25 verbose #23867 > > "def"
00:36:25 verbose #23868 > > |> parse_ (none_of_ [['a'; 'b'; 'c']])
00:36:25 verbose #23869 > > |> resultm.get
00:36:25 verbose #23870 > > |> sm'.obj_to_string
00:36:25 verbose #23871 > > |> _assert_eq' (('d', ($'FParsec.Position (null, 0, 1, 2)' : position_)) |>
00:36:25 verbose #23872 > > sm'.obj_to_string)
00:36:25 verbose #23873 > 00:36:24   debug #1368 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5a8bf27ab8e36a4f691621cda2ae027d6fae5c9b673517dddd3c3cb374da5444/main.spi
00:36:25 verbose #23874 > >
00:36:25 verbose #23875 > > ╭─[ 519.29ms - stdout ]────────────────────────────────────────────────────────╮
00:36:25 verbose #23876 > > │ __assert_eq / actual: "(Error in Ln: 1 Col: 1                                │
00:36:25 verbose #23877 > > │ abc                                                                          │
00:36:25 verbose #23878 > > │ ^                                                                            │
00:36:25 verbose #23879 > > │ Expecting: any char not in ‘abc’                                             │
00:36:25 verbose #23880 > > │ , Error in Ln: 1 Col: 1                                                      │
00:36:25 verbose #23881 > > │ Expecting: any char not in ‘abc’                                             │
00:36:25 verbose #23882 > > │ )" / expected: "(Error in Ln: 1 Col: 1                                       │
00:36:25 verbose #23883 > > │ abc                                                                          │
00:36:25 verbose #23884 > > │ ^                                                                            │
00:36:25 verbose #23885 > > │ Expecting: any char not in ‘abc’                                             │
00:36:25 verbose #23886 > > │ , Error in Ln: 1 Col: 1                                                      │
00:36:25 verbose #23887 > > │ Expecting: any char not in ‘abc’                                             │
00:36:25 verbose #23888 > > │ )"                                                                           │
00:36:25 verbose #23889 > > │ __assert_eq' / actual: "(d, (Ln: 1, Col: 2))" / expected: "(d, (Ln: 1, Col:  │
00:36:25 verbose #23890 > > │ 2))"                                                                         │
00:36:25 verbose #23891 > > │                                                                              │
00:36:25 verbose #23892 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:25 verbose #23893 > >
00:36:25 verbose #23894 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:25 verbose #23895 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:25 verbose #23896 > > │ ### (<|>)                                                                    │
00:36:25 verbose #23897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:25 verbose #23898 > >
00:36:25 verbose #23899 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:25 verbose #23900 > > inl (<|>) forall t. (a : parser t) (b : parser t) : parser t = fun input, s =>
00:36:25 verbose #23901 > >     match a (input, s) with
00:36:25 verbose #23902 > >     | Ok _ as result => result
00:36:25 verbose #23903 > >     | Error _ => b (input, s)
00:36:25 verbose #23904 > 00:36:24   debug #1369 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3f04c5c12c05e0b29180cc04df094259f928dd0a3efea57319e7a3de40736823/main.spi
00:36:25 verbose #23905 > >
00:36:25 verbose #23906 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:25 verbose #23907 > > //// test
00:36:25 verbose #23908 > >
00:36:25 verbose #23909 > > "abc"
00:36:25 verbose #23910 > > |> parse (p_char 'a' <|> p_char 'b')
00:36:25 verbose #23911 > > |> resultm.get
00:36:25 verbose #23912 > > |> sm'.format_debug
00:36:25 verbose #23913 > > |> _assert_eq (
00:36:25 verbose #23914 > >     ('a', "bc", { line_text = "a" |> sm'.string_builder; position = { line =
00:36:25 verbose #23915 > > 1i32; col = 2i32 } })
00:36:25 verbose #23916 > >     |> sm'.format_debug
00:36:25 verbose #23917 > > )
00:36:25 verbose #23918 > >
00:36:25 verbose #23919 > > "cba"
00:36:25 verbose #23920 > > |> parse (p_char 'a' <|> p_char 'b')
00:36:25 verbose #23921 > > |> _assert_eq (Error "parsing.p_char / expected: 'b' / line: 1 / col:
00:36:25 verbose #23922 > > 1\ncba\n^\n")
00:36:26 verbose #23923 > 00:36:25   debug #1370 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e0c9911e8b012ff729d18e53fdbc4f7fe6c133ef58191c87a0461820e719e17a/main.spi
00:36:26 verbose #23924 > >
00:36:26 verbose #23925 > > ╭─[ 622.92ms - stdout ]────────────────────────────────────────────────────────╮
00:36:26 verbose #23926 > > │ __assert_eq / actual: "struct ('a', "bc", a, 1, 2)" / expected: "struct      │
00:36:26 verbose #23927 > > │ ('a', "bc", a, 1, 2)"                                                        │
00:36:26 verbose #23928 > > │ __assert_eq / actual: US0_1 "parsing.p_char / expected: 'b' / line: 1 / col: │
00:36:26 verbose #23929 > > │ 1                                                                            │
00:36:26 verbose #23930 > > │ cba                                                                          │
00:36:26 verbose #23931 > > │ ^                                                                            │
00:36:26 verbose #23932 > > │ " / expected: US0_1 "parsing.p_char / expected: 'b' / line: 1 / col: 1       │
00:36:26 verbose #23933 > > │ cba                                                                          │
00:36:26 verbose #23934 > > │ ^                                                                            │
00:36:26 verbose #23935 > > │ "                                                                            │
00:36:26 verbose #23936 > > │                                                                              │
00:36:26 verbose #23937 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:26 verbose #23938 > >
00:36:26 verbose #23939 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:26 verbose #23940 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:26 verbose #23941 > > │ ### (|>>)                                                                    │
00:36:26 verbose #23942 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:26 verbose #23943 > >
00:36:26 verbose #23944 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:26 verbose #23945 > > inl (|>>) p f : parser _ = fun input =>
00:36:26 verbose #23946 > >     match p input with
00:36:26 verbose #23947 > >     | Ok (result, rest) => Ok (f result, rest)
00:36:26 verbose #23948 > >     | Error e => Error e
00:36:26 verbose #23949 > 00:36:25   debug #1371 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9466a7dcbe586a994b175d5b354a79c47569335ffae6f4d08c6c19958287aefb/main.spi
00:36:26 verbose #23950 > >
00:36:26 verbose #23951 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:26 verbose #23952 > > //// test
00:36:26 verbose #23953 > >
00:36:26 verbose #23954 > > "abc"
00:36:26 verbose #23955 > > |> parse (p_char 'a' |>> sm'.char_to_upper)
00:36:26 verbose #23956 > > |> resultm.get
00:36:26 verbose #23957 > > |> sm'.format_debug
00:36:26 verbose #23958 > > |> _assert_eq (
00:36:26 verbose #23959 > >     ('A', "bc", { line_text = "a" |> sm'.string_builder; position = { line =
00:36:26 verbose #23960 > > 1i32; col = 2i32 } })
00:36:26 verbose #23961 > >     |> sm'.format_debug
00:36:26 verbose #23962 > > )
00:36:27 verbose #23963 > 00:36:26   debug #1372 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b05fb2408574279ac8c07977fa0c192733670e5e8a2cc9f3282ff96bee6c7552/main.spi
00:36:27 verbose #23964 > >
00:36:27 verbose #23965 > > ╭─[ 556.75ms - stdout ]────────────────────────────────────────────────────────╮
00:36:27 verbose #23966 > > │ __assert_eq / actual: "struct ('A', "bc", a, 1, 2)" / expected: "struct      │
00:36:27 verbose #23967 > > │ ('A', "bc", a, 1, 2)"                                                        │
00:36:27 verbose #23968 > > │                                                                              │
00:36:27 verbose #23969 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:27 verbose #23970 > >
00:36:27 verbose #23971 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:27 verbose #23972 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:27 verbose #23973 > > │ ### many                                                                     │
00:36:27 verbose #23974 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:27 verbose #23975 > >
00:36:27 verbose #23976 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:27 verbose #23977 > > inl many p : parser (list _) = fun input =>
00:36:27 verbose #23978 > >     let rec loop acc input =
00:36:27 verbose #23979 > >         match p input with
00:36:27 verbose #23980 > >         | Ok (result, rest) => loop (result :: acc) rest
00:36:27 verbose #23981 > >         | Error _ => Ok (listm.rev acc, input)
00:36:27 verbose #23982 > >     loop [[]] input
00:36:27 verbose #23983 > 00:36:26   debug #1373 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7e5ded0b93f3d936ab34ce73d4a61def2a858b983cae91286c0f4f294b9934b1/main.spi
00:36:27 verbose #23984 > >
00:36:27 verbose #23985 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:27 verbose #23986 > > //// test
00:36:27 verbose #23987 > >
00:36:27 verbose #23988 > > "aaabbc"
00:36:27 verbose #23989 > > |> parse (many (p_char 'a' <|> p_char 'b'))
00:36:27 verbose #23990 > > |> resultm.get
00:36:27 verbose #23991 > > |> sm'.format_debug
00:36:27 verbose #23992 > > |> _assert_eq (
00:36:27 verbose #23993 > >     ([['a'; 'a'; 'a'; 'b'; 'b']], "c", { line_text = "aaabb" |>
00:36:27 verbose #23994 > > sm'.string_builder; position = { line = 1i32; col = 6i32 } })
00:36:27 verbose #23995 > >     |> sm'.format_debug
00:36:27 verbose #23996 > > )
00:36:28 verbose #23997 > 00:36:27   debug #1374 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/03db0a1c5feb5f2c0172a590441670826f7931f0ee6c8d7a52f51deb956984fa/main.spi
00:36:28 verbose #23998 > >
00:36:28 verbose #23999 > > ╭─[ 645.81ms - stdout ]────────────────────────────────────────────────────────╮
00:36:28 verbose #24000 > > │ __assert_eq / actual: "struct (UH0_1 ('a', UH0_1 ('a', UH0_1 ('a', UH0_1     │
00:36:28 verbose #24001 > > │ ('b', UH0_1 ('b', UH0_0))))),                                                │
00:36:28 verbose #24002 > > │         "c", aaabb, 1, 6)" / expected: "struct (UH0_1 ('a', UH0_1 ('a',      │
00:36:28 verbose #24003 > > │ UH0_1 ('a', UH0_1 ('b', UH0_1 ('b', UH0_0))))),                              │
00:36:28 verbose #24004 > > │         "c", aaabb, 1, 6)"                                                   │
00:36:28 verbose #24005 > > │                                                                              │
00:36:28 verbose #24006 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:28 verbose #24007 > >
00:36:28 verbose #24008 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:28 verbose #24009 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:28 verbose #24010 > > │ ### many1_chars                                                              │
00:36:28 verbose #24011 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:28 verbose #24012 > >
00:36:28 verbose #24013 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:28 verbose #24014 > > inl many1_chars p : parser string = fun input =>
00:36:28 verbose #24015 > >     match p input with
00:36:28 verbose #24016 > >     | Error e => Error e
00:36:28 verbose #24017 > >     | Ok (first_result, rest) =>
00:36:28 verbose #24018 > >         let rec loop acc input =
00:36:28 verbose #24019 > >             match p input with
00:36:28 verbose #24020 > >             | Ok (result, rest) => loop (acc +. sm'.obj_to_string result) rest
00:36:28 verbose #24021 > >             | Error _ => Ok (acc, input)
00:36:28 verbose #24022 > >         loop (sm'.obj_to_string first_result) rest
00:36:28 verbose #24023 > 00:36:27   debug #1375 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4faa820af98250cb826c45fa7960ce5c8445c6ba71784147790d89885549b415/main.spi
00:36:28 verbose #24024 > >
00:36:28 verbose #24025 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:28 verbose #24026 > > //// test
00:36:28 verbose #24027 > >
00:36:28 verbose #24028 > > "aaabbc"
00:36:28 verbose #24029 > > |> parse (many1_chars (p_char 'a' <|> p_char 'b'))
00:36:28 verbose #24030 > > |> resultm.get
00:36:28 verbose #24031 > > |> sm'.format_debug
00:36:28 verbose #24032 > > |> _assert_eq (
00:36:28 verbose #24033 > >     ("aaabb", "c", { line_text = "aaabb" |> sm'.string_builder; position = {
00:36:28 verbose #24034 > > line = 1i32; col = 6i32 } })
00:36:28 verbose #24035 > >     |> sm'.format_debug
00:36:28 verbose #24036 > > )
00:36:29 verbose #24037 > 00:36:28   debug #1376 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3500ece4ebb11657a5e97bca3b12d51644aa2341639f7af4132a03f0232aac49/main.spi
00:36:29 verbose #24038 > >
00:36:29 verbose #24039 > > ╭─[ 654.53ms - stdout ]────────────────────────────────────────────────────────╮
00:36:29 verbose #24040 > > │ __assert_eq / actual: "struct ("aaabb", "c", aaabb, 1, 6)" / expected:       │
00:36:29 verbose #24041 > > │ "struct ("aaabb", "c", aaabb, 1, 6)"                                         │
00:36:29 verbose #24042 > > │                                                                              │
00:36:29 verbose #24043 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:29 verbose #24044 > >
00:36:29 verbose #24045 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:29 verbose #24046 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:29 verbose #24047 > > │ ### many_chars                                                               │
00:36:29 verbose #24048 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:29 verbose #24049 > >
00:36:29 verbose #24050 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:29 verbose #24051 > > inl many_chars p : parser string = fun input =>
00:36:29 verbose #24052 > >     match many1_chars p input with
00:36:29 verbose #24053 > >     | Ok (result, rest) => Ok (result, rest)
00:36:29 verbose #24054 > >     | Error e => Ok ("", input)
00:36:29 verbose #24055 > 00:36:28   debug #1377 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/88e99ae3c4177509a3888e2aa8c9b37f2c309e0b82bc30bcc8f2c8395f4f400d/main.spi
00:36:30 verbose #24056 > >
00:36:30 verbose #24057 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:30 verbose #24058 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:30 verbose #24059 > > │ ### many_chars_till                                                          │
00:36:30 verbose #24060 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:30 verbose #24061 > >
00:36:30 verbose #24062 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:30 verbose #24063 > > inl many_chars_till p end_p : parser string = fun input =>
00:36:30 verbose #24064 > >     match end_p input with
00:36:30 verbose #24065 > >     | Ok _ => Ok ("", input)
00:36:30 verbose #24066 > >     | Error _ =>
00:36:30 verbose #24067 > >         match many_chars p input with
00:36:30 verbose #24068 > >         | Ok (result, rest) => Ok (result, rest)
00:36:30 verbose #24069 > >         | Error e => Error e
00:36:30 verbose #24070 > 00:36:29   debug #1378 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2f149a2888280b5f07b9d1831709a905d250f736ea0fa46dd0cf3bd7faa6e33f/main.spi
00:36:30 verbose #24071 > >
00:36:30 verbose #24072 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:30 verbose #24073 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:30 verbose #24074 > > │ ### many1                                                                    │
00:36:30 verbose #24075 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:30 verbose #24076 > >
00:36:30 verbose #24077 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:30 verbose #24078 > > inl many1 p : parser (list _) = fun input =>
00:36:30 verbose #24079 > >     match p input with
00:36:30 verbose #24080 > >     | Error e => Error e
00:36:30 verbose #24081 > >     | Ok (first_result, rest) =>
00:36:30 verbose #24082 > >         let rec loop acc input =
00:36:30 verbose #24083 > >             match p input with
00:36:30 verbose #24084 > >             | Ok (result, rest) => loop (result :: acc) rest
00:36:30 verbose #24085 > >             | Error _ => Ok (listm.rev acc, input)
00:36:30 verbose #24086 > >         loop [[ first_result ]] rest
00:36:30 verbose #24087 > 00:36:29   debug #1379 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bf7b79be2e63317244864926057e2571c9d70c219c7fa206cee8400d9e24cb87/main.spi
00:36:30 verbose #24088 > >
00:36:30 verbose #24089 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:30 verbose #24090 > > //// test
00:36:30 verbose #24091 > >
00:36:30 verbose #24092 > > "aaabbc"
00:36:30 verbose #24093 > > |> parse (many1 (p_char 'a' <|> p_char 'b'))
00:36:30 verbose #24094 > > |> resultm.get
00:36:30 verbose #24095 > > |> sm'.format_debug
00:36:30 verbose #24096 > > |> _assert_eq (
00:36:30 verbose #24097 > >     ([['a'; 'a'; 'a'; 'b'; 'b']], "c", { line_text = "aaabb" |>
00:36:30 verbose #24098 > > sm'.string_builder; position = { line = 1i32; col = 6i32 } })
00:36:30 verbose #24099 > >     |> sm'.format_debug
00:36:30 verbose #24100 > > )
00:36:30 verbose #24101 > >
00:36:30 verbose #24102 > > "bcc"
00:36:30 verbose #24103 > > |> parse (many1 (p_char 'a' <|> p_char 'b'))
00:36:30 verbose #24104 > > |> resultm.get
00:36:30 verbose #24105 > > |> sm'.format_debug
00:36:30 verbose #24106 > > |> _assert_eq (
00:36:30 verbose #24107 > >     ([['b']], "cc", { line_text = "b" |> sm'.string_builder; position = { line =
00:36:30 verbose #24108 > > 1i32; col = 2i32 } })
00:36:30 verbose #24109 > >     |> sm'.format_debug
00:36:30 verbose #24110 > > )
00:36:30 verbose #24111 > >
00:36:30 verbose #24112 > > "cba"
00:36:30 verbose #24113 > > |> parse (many1 (p_char 'a' <|> p_char 'b'))
00:36:30 verbose #24114 > > |> _assert_eq (Error "parsing.p_char / expected: 'b' / line: 1 / col:
00:36:30 verbose #24115 > > 1\ncba\n^\n")
00:36:31 verbose #24116 > 00:36:30   debug #1380 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b02800b4de5002ffa649049e0ed555930a90033c05aec99bf16f76bdf6b81e47/main.spi
00:36:31 verbose #24117 > >
00:36:31 verbose #24118 > > ╭─[ 937.82ms - stdout ]────────────────────────────────────────────────────────╮
00:36:31 verbose #24119 > > │ __assert_eq / actual: "struct (UH0_1 ('a', UH0_1 ('a', UH0_1 ('a', UH0_1     │
00:36:31 verbose #24120 > > │ ('b', UH0_1 ('b', UH0_0))))),                                                │
00:36:31 verbose #24121 > > │         "c", aaabb, 1, 6)" / expected: "struct (UH0_1 ('a', UH0_1 ('a',      │
00:36:31 verbose #24122 > > │ UH0_1 ('a', UH0_1 ('b', UH0_1 ('b', UH0_0))))),                              │
00:36:31 verbose #24123 > > │         "c", aaabb, 1, 6)"                                                   │
00:36:31 verbose #24124 > > │ __assert_eq / actual: "struct (UH0_1 ('b', UH0_0), "cc", b, 1, 2)" /         │
00:36:31 verbose #24125 > > │ expected: "struct (UH0_1 ('b', UH0_0), "cc", b, 1, 2)"                       │
00:36:31 verbose #24126 > > │ __assert_eq / actual: US1_1 "parsing.p_char / expected: 'b' / line: 1 / col: │
00:36:31 verbose #24127 > > │ 1                                                                            │
00:36:31 verbose #24128 > > │ cba                                                                          │
00:36:31 verbose #24129 > > │ ^                                                                            │
00:36:31 verbose #24130 > > │ " / expected: US1_1 "parsing.p_char / expected: 'b' / line: 1 / col: 1       │
00:36:31 verbose #24131 > > │ cba                                                                          │
00:36:31 verbose #24132 > > │ ^                                                                            │
00:36:31 verbose #24133 > > │ "                                                                            │
00:36:31 verbose #24134 > > │                                                                              │
00:36:31 verbose #24135 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:31 verbose #24136 > >
00:36:31 verbose #24137 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:31 verbose #24138 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:31 verbose #24139 > > │ ### many1_strings                                                            │
00:36:31 verbose #24140 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:31 verbose #24141 > >
00:36:31 verbose #24142 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:31 verbose #24143 > > inl many1_strings p : parser string = fun input =>
00:36:31 verbose #24144 > >     match many1 p input with
00:36:31 verbose #24145 > >     | Ok (results, rest) =>
00:36:31 verbose #24146 > >         Ok (results |> listm.map sm'.obj_to_string |> listm'.box |> seq.of_list'
00:36:31 verbose #24147 > > |> sm'.concat "", rest)
00:36:31 verbose #24148 > >     | Error e => Error e
00:36:32 verbose #24149 > 00:36:31   debug #1381 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4db7f897dfc10a3c023fcb9fa3bfd19f4be658f2d449dbcd55459a037a50c71a/main.spi
00:36:32 verbose #24150 > >
00:36:32 verbose #24151 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:32 verbose #24152 > > //// test
00:36:32 verbose #24153 > >
00:36:32 verbose #24154 > > "aaabbc"
00:36:32 verbose #24155 > > |> parse (many1_strings (p_char 'a' <|> p_char 'b'))
00:36:32 verbose #24156 > > |> resultm.get
00:36:32 verbose #24157 > > |> sm'.format_debug
00:36:32 verbose #24158 > > |> _assert_eq (
00:36:32 verbose #24159 > >     ("aaabb", "c", { line_text = "aaabb" |> sm'.string_builder; position = {
00:36:32 verbose #24160 > > line = 1i32; col = 6i32 } })
00:36:32 verbose #24161 > >     |> sm'.format_debug
00:36:32 verbose #24162 > > )
00:36:32 verbose #24163 > 00:36:31   debug #1382 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/daf738fdc51d3ced1ed65c4ead1ca992011a5f6e7b8ca4307128d39430c34b26/main.spi
00:36:32 verbose #24164 > >
00:36:32 verbose #24165 > > ╭─[ 671.71ms - stdout ]────────────────────────────────────────────────────────╮
00:36:32 verbose #24166 > > │ __assert_eq / actual: "struct ("aaabb", "c", aaabb, 1, 6)" / expected:       │
00:36:32 verbose #24167 > > │ "struct ("aaabb", "c", aaabb, 1, 6)"                                         │
00:36:32 verbose #24168 > > │                                                                              │
00:36:32 verbose #24169 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:32 verbose #24170 > >
00:36:32 verbose #24171 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:32 verbose #24172 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:32 verbose #24173 > > │ ### many_strings                                                             │
00:36:32 verbose #24174 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:32 verbose #24175 > >
00:36:32 verbose #24176 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:32 verbose #24177 > > inl many_strings p : parser string = fun input =>
00:36:32 verbose #24178 > >     match many p input with
00:36:32 verbose #24179 > >     | Ok (results, rest) =>
00:36:32 verbose #24180 > >         Ok (results |> listm.map sm'.obj_to_string |> listm'.box |> seq.of_list'
00:36:32 verbose #24181 > > |> sm'.concat "", rest)
00:36:32 verbose #24182 > >     | Error e => Ok ("", input)
00:36:33 verbose #24183 > 00:36:32   debug #1383 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4d57f92da626cbabc27c7d44828518ae6ed0cc0abce74cc914333937154088cc/main.spi
00:36:33 verbose #24184 > >
00:36:33 verbose #24185 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:33 verbose #24186 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:33 verbose #24187 > > │ ### choice                                                                   │
00:36:33 verbose #24188 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:33 verbose #24189 > >
00:36:33 verbose #24190 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:33 verbose #24191 > > inl choice parsers : parser _ = fun input =>
00:36:33 verbose #24192 > >     let rec loop = function
00:36:33 verbose #24193 > >         | [[]] => Error "choice / no parsers succeeded"
00:36:33 verbose #24194 > >         | p :: ps =>
00:36:33 verbose #24195 > >             match p input with
00:36:33 verbose #24196 > >             | Ok _ as result => result
00:36:33 verbose #24197 > >             | Error _ => loop ps
00:36:33 verbose #24198 > >     loop parsers
00:36:33 verbose #24199 > 00:36:32   debug #1384 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/28f131313db64ce0ad64a3c09002c7210095e837cbeace5c2c49e2c79073f2e2/main.spi
00:36:33 verbose #24200 > >
00:36:33 verbose #24201 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:33 verbose #24202 > > //// test
00:36:33 verbose #24203 > >
00:36:33 verbose #24204 > > "bca"
00:36:33 verbose #24205 > > |> parse (choice [[p_char 'a'; p_char 'b'; p_char 'c']])
00:36:33 verbose #24206 > > |> resultm.get
00:36:33 verbose #24207 > > |> sm'.format_debug
00:36:33 verbose #24208 > > |> _assert_eq (
00:36:33 verbose #24209 > >     ('b', "ca", { line_text = "b" |> sm'.string_builder; position = { line =
00:36:33 verbose #24210 > > 1i32; col = 2i32 } })
00:36:33 verbose #24211 > >     |> sm'.format_debug
00:36:33 verbose #24212 > > )
00:36:33 verbose #24213 > >
00:36:33 verbose #24214 > > "cba"
00:36:33 verbose #24215 > > |> parse (choice [[p_char 'a'; p_char 'b'; p_char 'c']])
00:36:33 verbose #24216 > > |> resultm.get
00:36:33 verbose #24217 > > |> sm'.format_debug
00:36:33 verbose #24218 > > |> _assert_eq (
00:36:33 verbose #24219 > >     ('c', "ba", { line_text = "c" |> sm'.string_builder; position = { line =
00:36:33 verbose #24220 > > 1i32; col = 2i32 } })
00:36:33 verbose #24221 > >     |> sm'.format_debug
00:36:33 verbose #24222 > > )
00:36:34 verbose #24223 > 00:36:33   debug #1385 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/73c49782a9b574ccfbabede35de38c7f648b8b006d4775e2137ac9351639aa88/main.spi
00:36:34 verbose #24224 > >
00:36:34 verbose #24225 > > ╭─[ 664.71ms - stdout ]────────────────────────────────────────────────────────╮
00:36:34 verbose #24226 > > │ __assert_eq / actual: "struct ('b', "ca", b, 1, 2)" / expected: "struct      │
00:36:34 verbose #24227 > > │ ('b', "ca", b, 1, 2)"                                                        │
00:36:34 verbose #24228 > > │ __assert_eq / actual: "struct ('c', "ba", c, 1, 2)" / expected: "struct      │
00:36:34 verbose #24229 > > │ ('c', "ba", c, 1, 2)"                                                        │
00:36:34 verbose #24230 > > │                                                                              │
00:36:34 verbose #24231 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:34 verbose #24232 > >
00:36:34 verbose #24233 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:34 verbose #24234 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:34 verbose #24235 > > │ ### between                                                                  │
00:36:34 verbose #24236 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:34 verbose #24237 > >
00:36:34 verbose #24238 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:34 verbose #24239 > > inl between p_open p_close p_content : parser _ = fun input =>
00:36:34 verbose #24240 > >     match p_open input with
00:36:34 verbose #24241 > >     | Ok (_, rest1) =>
00:36:34 verbose #24242 > >         match p_content rest1 with
00:36:34 verbose #24243 > >         | Ok (result, rest2) =>
00:36:34 verbose #24244 > >             match p_close rest2 with
00:36:34 verbose #24245 > >             | Ok (_, rest3) => Ok (result, rest3)
00:36:34 verbose #24246 > >             | Error e => Error $'$"between / expected closing delimiter / e:
00:36:34 verbose #24247 > > %A{!e} / input: %A{!input} / rest1: %A{!rest1} / rest2: %A{!rest2}"'
00:36:34 verbose #24248 > >         | Error _ => Error "between / expected content"
00:36:34 verbose #24249 > >     | Error e => Error e
00:36:34 verbose #24250 > 00:36:33   debug #1386 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9bb508862cd23b585b3064d144f5f7ab4db0aeb738fce76c65c1cc6c0c1157cb/main.spi
00:36:34 verbose #24251 > >
00:36:34 verbose #24252 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:34 verbose #24253 > > //// test
00:36:34 verbose #24254 > >
00:36:34 verbose #24255 > > "[[aaabb]]"
00:36:34 verbose #24256 > > |> parse (between (p_char '[[') (p_char ']]') (many1_chars (p_char 'a' <|>
00:36:34 verbose #24257 > > p_char 'b')))
00:36:34 verbose #24258 > > |> resultm.get
00:36:34 verbose #24259 > > |> sm'.format_debug
00:36:34 verbose #24260 > > |> _assert_eq (
00:36:34 verbose #24261 > >     ("aaabb", "", { line_text = "[[aaabb]]" |> sm'.string_builder; position = {
00:36:34 verbose #24262 > > line = 1i32; col = 8i32 } })
00:36:34 verbose #24263 > >     |> sm'.format_debug
00:36:34 verbose #24264 > > )
00:36:34 verbose #24265 > >
00:36:34 verbose #24266 > > "[[aaabb"
00:36:34 verbose #24267 > > |> parse (between (p_char '[[') (p_char ']]') (many1_chars (p_char 'a' <|>
00:36:34 verbose #24268 > > p_char 'b')))
00:36:34 verbose #24269 > > |> resultm.unwrap_err
00:36:34 verbose #24270 > > |> sm'.format_debug
00:36:34 verbose #24271 > > |> _assert_eq "\"between / expected closing delimiter / e: \"parsing.p_char
00:36:34 verbose #24272 > > unexpected end of input / s: struct ([[aaabb, 1, 7)\" / input: struct
00:36:34 verbose #24273 > > (\"[[aaabb\", [[aaabb, 1, 1) / rest1: struct (\"aaabb\", [[aaabb, 1, 2) / rest2:
00:36:34 verbose #24274 > > struct (\"\", [[aaabb, 1, 7)\""
00:36:35 verbose #24275 > 00:36:34   debug #1387 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/120c58bd61ae9ee68d2bef0754032b8ebf019351bb8c29d99d26a91877220670/main.spi
00:36:35 verbose #24276 > >
00:36:35 verbose #24277 > > ╭─[ 861.80ms - stdout ]────────────────────────────────────────────────────────╮
00:36:35 verbose #24278 > > │ __assert_eq / actual: "struct ("aaabb", "", [aaabb], 1, 8)" / expected:      │
00:36:35 verbose #24279 > > │ "struct ("aaabb", "", [aaabb], 1, 8)"                                        │
00:36:35 verbose #24280 > > │ __assert_eq / actual: ""between / expected closing delimiter / e:            │
00:36:35 verbose #24281 > > │ "parsing.p_char / unexpected end of input / s: struct ([aaabb, 1, 7)" /      │
00:36:35 verbose #24282 > > │ input: struct ("[aaabb", [aaabb, 1, 1) / rest1: struct ("aaabb", [aaabb, 1,  │
00:36:35 verbose #24283 > > │ 2) / rest2: struct ("", [aaabb, 1, 7)"" / expected: ""between / expected     │
00:36:35 verbose #24284 > > │ closing delimiter / e: "parsing.p_char / unexpected end of input / s: struct │
00:36:35 verbose #24285 > > │ ([aaabb, 1, 7)" / input: struct ("[aaabb", [aaabb, 1, 1) / rest1: struct     │
00:36:35 verbose #24286 > > │ ("aaabb", [aaabb, 1, 2) / rest2: struct ("", [aaabb, 1, 7)""                 │
00:36:35 verbose #24287 > > │                                                                              │
00:36:35 verbose #24288 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:35 verbose #24289 > >
00:36:35 verbose #24290 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:35 verbose #24291 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:35 verbose #24292 > > │ ### sep_by                                                                   │
00:36:35 verbose #24293 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:35 verbose #24294 > >
00:36:35 verbose #24295 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:35 verbose #24296 > > inl sep_by p sep : parser (list _) = fun input, s =>
00:36:35 verbose #24297 > >     let rec loop acc input s =
00:36:35 verbose #24298 > >         match p (input, s) with
00:36:35 verbose #24299 > >         | Error _ => Ok (acc |> listm.rev, input, s)
00:36:35 verbose #24300 > >         | Ok (result, rest, s) =>
00:36:35 verbose #24301 > >             match sep (rest, s) with
00:36:35 verbose #24302 > >             | Error _ => Ok ((result :: acc) |> listm.rev, rest, s)
00:36:35 verbose #24303 > >             | Ok (_, rest, s) => loop (result :: acc) rest s
00:36:35 verbose #24304 > >     loop [[]] input s
00:36:35 verbose #24305 > 00:36:35   debug #1388 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf3ddc4ed4d8b57c8aed7af00f4bd14612c67e2a5ada2c03abd5e4255db6d70d/main.spi
00:36:36 verbose #24306 > >
00:36:36 verbose #24307 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:36 verbose #24308 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:36 verbose #24309 > > │ ### span                                                                     │
00:36:36 verbose #24310 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:36 verbose #24311 > >
00:36:36 verbose #24312 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:36 verbose #24313 > > inl span pred str =
00:36:36 verbose #24314 > >     let rec loop i =
00:36:36 verbose #24315 > >         if i >= sm'.length str
00:36:36 verbose #24316 > >         then i
00:36:36 verbose #24317 > >         elif pred (str |> sm'.index i)
00:36:36 verbose #24318 > >         then loop (i + 1)
00:36:36 verbose #24319 > >         else i
00:36:36 verbose #24320 > >     loop 0
00:36:36 verbose #24321 > 00:36:35   debug #1389 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ef6213d388f6f561f2f2215c0c8b3a836d7a2d3fe869d263cc5caafa7af5370e/main.spi
00:36:36 verbose #24322 > >
00:36:36 verbose #24323 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:36 verbose #24324 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:36 verbose #24325 > > │ ### spaces1                                                                  │
00:36:36 verbose #24326 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:36 verbose #24327 > >
00:36:36 verbose #24328 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:36 verbose #24329 > > inl spaces1 () : parser () = fun input, s =>
00:36:36 verbose #24330 > >     match input |> span fun c => c = ' ' with
00:36:36 verbose #24331 > >     | 0i32 => Error "spaces1 / expected at least one space"
00:36:36 verbose #24332 > >     | n => Ok ((), input |> sm'.range (am'.Start n) (am'.End id), s)
00:36:36 verbose #24333 > 00:36:36   debug #1390 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fdd73f850f00d3fc031147e77990cdc1afa4b5c263b16c48c2e00c6066dc066b/main.spi
00:36:37 verbose #24334 > >
00:36:37 verbose #24335 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:37 verbose #24336 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:37 verbose #24337 > > │ ### spaces                                                                   │
00:36:37 verbose #24338 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:37 verbose #24339 > >
00:36:37 verbose #24340 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:37 verbose #24341 > > inl spaces () : parser () = fun input, s =>
00:36:37 verbose #24342 > >     input
00:36:37 verbose #24343 > >     |> span fun c => c = ' '
00:36:37 verbose #24344 > >     |> fun (n : i32) => Ok ((), input |> sm'.range (am'.Start n) (am'.End id),
00:36:37 verbose #24345 > > s)
00:36:37 verbose #24346 > 00:36:36   debug #1391 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c125b7f53dd16dd27c9836dacd8a63e604901495b811ab32a88c2046f608d24f/main.spi
00:36:37 verbose #24347 > >
00:36:37 verbose #24348 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:37 verbose #24349 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:37 verbose #24350 > > │ ### p_digit                                                                  │
00:36:37 verbose #24351 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:37 verbose #24352 > >
00:36:37 verbose #24353 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:37 verbose #24354 > > inl p_digit () : parser char = fun input, s =>
00:36:37 verbose #24355 > >     match input |> sm'.index 0i32 with
00:36:37 verbose #24356 > >     | ('0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9') as c =>
00:36:37 verbose #24357 > >         Ok (c, input |> sm'.range (am'.Start 1i32) (am'.End id), s)
00:36:37 verbose #24358 > >     | c => Error $'$"p_digit / unexpected char: {!c}"'
00:36:37 verbose #24359 > 00:36:36   debug #1392 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5c1f01dc757d35e12b32a50d6a0979899be8d81286cbb0cfeb94e6e76a20db89/main.spi
00:36:37 verbose #24360 > >
00:36:37 verbose #24361 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:37 verbose #24362 > > //// test
00:36:37 verbose #24363 > >
00:36:37 verbose #24364 > > "1 2 3"
00:36:37 verbose #24365 > > |> parse (sep_by (p_digit ()) (spaces1 ()))
00:36:37 verbose #24366 > > |> resultm.get
00:36:37 verbose #24367 > > |> sm'.format_debug
00:36:37 verbose #24368 > > |> _assert_eq (
00:36:37 verbose #24369 > >     ([['1'; '2'; '3']], "", { line_text = "" |> sm'.string_builder; position = {
00:36:37 verbose #24370 > > col = 1i32; line = 1i32 } })
00:36:37 verbose #24371 > >     |> sm'.format_debug
00:36:37 verbose #24372 > > )
00:36:38 verbose #24373 > 00:36:37   debug #1393 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/328dd81266a276737802e46f808180647f8ff04b90a43b50926d4f0b67a5b4c2/main.spi
00:36:38 verbose #24374 > >
00:36:38 verbose #24375 > > ╭─[ 543.73ms - stdout ]────────────────────────────────────────────────────────╮
00:36:38 verbose #24376 > > │ __assert_eq / actual: "struct (UH0_1 ('1', UH0_1 ('2', UH0_1 ('3', UH0_0))), │
00:36:38 verbose #24377 > > │ "", , 1, 1)" / expected: "struct (UH0_1 ('1', UH0_1 ('2', UH0_1 ('3',        │
00:36:38 verbose #24378 > > │ UH0_0))), "", , 1, 1)"                                                       │
00:36:38 verbose #24379 > > │                                                                              │
00:36:38 verbose #24380 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:38 verbose #24381 > >
00:36:38 verbose #24382 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:38 verbose #24383 > > //// test
00:36:38 verbose #24384 > >
00:36:38 verbose #24385 > > "1 a 2"
00:36:38 verbose #24386 > > |> parse (sep_by (p_digit ()) (spaces1 ()))
00:36:38 verbose #24387 > > |> resultm.get
00:36:38 verbose #24388 > > |> sm'.format_debug
00:36:38 verbose #24389 > > |> _assert_eq (
00:36:38 verbose #24390 > >     ([['1']], "a 2", { line_text = "" |> sm'.string_builder; position = { col =
00:36:38 verbose #24391 > > 1i32; line = 1i32 } })
00:36:38 verbose #24392 > >     |> sm'.format_debug
00:36:38 verbose #24393 > > )
00:36:38 verbose #24394 > 00:36:37   debug #1394 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2747b9f3bada241d68ada8a367b439f49680dad4ad91fb8de927a9fee1a3b31a/main.spi
00:36:39 verbose #24395 > >
00:36:39 verbose #24396 > > ╭─[ 566.50ms - stdout ]────────────────────────────────────────────────────────╮
00:36:39 verbose #24397 > > │ __assert_eq / actual: "struct (UH0_1 ('1', UH0_0), "a 2", , 1, 1)" /         │
00:36:39 verbose #24398 > > │ expected: "struct (UH0_1 ('1', UH0_0), "a 2", , 1, 1)"                       │
00:36:39 verbose #24399 > > │                                                                              │
00:36:39 verbose #24400 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:39 verbose #24401 > >
00:36:39 verbose #24402 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:39 verbose #24403 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:39 verbose #24404 > > │ ### opt                                                                      │
00:36:39 verbose #24405 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:39 verbose #24406 > >
00:36:39 verbose #24407 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:39 verbose #24408 > > inl opt p : parser (option _) = fun input, s =>
00:36:39 verbose #24409 > >     match p (input, s) with
00:36:39 verbose #24410 > >     | Ok (result, rest, s) => Ok (Some result, rest, s)
00:36:39 verbose #24411 > >     | Error _ => Ok (None, input, s)
00:36:39 verbose #24412 > 00:36:38   debug #1395 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0fd65a969658fb62006e04d34fa3e62bfce0a24227f185ae96056e034074a095/main.spi
00:36:39 verbose #24413 > >
00:36:39 verbose #24414 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:39 verbose #24415 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:39 verbose #24416 > > │ ### rest_of_line                                                             │
00:36:39 verbose #24417 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:39 verbose #24418 > >
00:36:39 verbose #24419 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:39 verbose #24420 > > inl rest_of_line () : parser string = fun input, s =>
00:36:39 verbose #24421 > >     inl i : i32 = input |> span ((<>) '\n')
00:36:39 verbose #24422 > >     Ok (input |> sm'.range (am'.Start i) (am'.End id), input |> sm'.range
00:36:39 verbose #24423 > > (am'.Start i) (am'.End id), s)
00:36:39 verbose #24424 > 00:36:38   debug #1396 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cceec9d1fc02d33435f9dc6193ecdec2e387dfc6f5b1dd2e883ed9289438c0b7/main.spi
00:36:39 verbose #24425 > >
00:36:39 verbose #24426 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:39 verbose #24427 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:39 verbose #24428 > > │ ### eof                                                                      │
00:36:39 verbose #24429 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:39 verbose #24430 > >
00:36:39 verbose #24431 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:39 verbose #24432 > > inl eof () : parser () = fun input, s =>
00:36:39 verbose #24433 > >     if sm'.length input = 0i32
00:36:39 verbose #24434 > >     then Ok ((), input, s)
00:36:39 verbose #24435 > >     else Error $'$"parsing.eof / expected end of input / input: %A{!input}"'
00:36:40 verbose #24436 > 00:36:39   debug #1397 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0ca277ea50de9667e94480b31bdb72fb6845d5cfc87c4a907efa811c3de86218/main.spi
00:36:40 verbose #24437 > 00:01:19 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 93248 }
00:36:40 verbose #24438 > 00:01:19   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:36:40 verbose #24439 >     "nbconvert",
00:36:40 verbose #24440 >     "c:/home/git/polyglot/lib/spiral/parsing.dib.ipynb",
00:36:40 verbose #24441 >     "--to",
00:36:40 verbose #24442 >     "html",
00:36:40 verbose #24443 >     "--HTMLExporter.theme=dark",
00:36:40 verbose #24444 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/parsing.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:36:42 verbose #24445 > 00:01:21 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/parsing.dib.ipynb to html
00:36:42 verbose #24446 > 00:01:21 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:36:42 verbose #24447 > 00:01:21 verbose #7 !   validate(nb)
00:36:45 verbose #24448 > 00:01:24 verbose #8 ! [NbConvertApp] Writing 506170 bytes to c:\home\git\polyglot\lib\spiral\parsing.dib.html
00:36:45 verbose #24449 > 00:01:24 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 645 }
00:36:45 verbose #24450 > 00:01:24   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 645 }
00:36:45 verbose #24451 > 00:01:24   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:36:45 verbose #24452 >     "-c",
00:36:45 verbose #24453 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/parsing.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:36:45 verbose #24454 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/parsing.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:36:46 verbose #24455 > 00:01:25 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:36:46 verbose #24456 > 00:01:25   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:36:47 verbose #24457 > 00:01:26   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 93952 }
00:36:47   debug #24458 runtime.execute_with_options_async / { exit_code = 0; output_length = 100333 }
00:36:47   debug #32 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path parsing.dib --retries 3
00:36:47   debug #24459 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path threading.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:36:47 verbose #24460 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "threading.dib", "--retries", "3"])) }
00:36:47 verbose #24461 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:36:47 verbose #24462 >     "repl",
00:36:47 verbose #24463 >     "--exit-after-run",
00:36:47 verbose #24464 >     "--run",
00:36:47 verbose #24465 >     "c:/home/git/polyglot/lib/spiral/threading.dib",
00:36:47 verbose #24466 >     "--output-path",
00:36:47 verbose #24467 >     "c:/home/git/polyglot/lib/spiral/threading.dib.ipynb",
00:36:47 verbose #24468 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/threading.dib" --output-path "c:/home/git/polyglot/lib/spiral/threading.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:36:49 verbose #24469 > >
00:36:49 verbose #24470 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:49 verbose #24471 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:49 verbose #24472 > > │ # threading                                                                  │
00:36:49 verbose #24473 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:53 verbose #24474 > >
00:36:53 verbose #24475 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:53 verbose #24476 > > open rust
00:36:53 verbose #24477 > > open rust_operators
00:36:53 verbose #24478 > 00:36:52   debug #1398 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd47537238fcdc924c2a6b0a99d4f87ecbbde40a43ba8772a0907b5bf4a50e9d/main.spi
00:36:54 verbose #24479 > >
00:36:54 verbose #24480 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:54 verbose #24481 > > //// test
00:36:54 verbose #24482 > >
00:36:54 verbose #24483 > > open testing
00:36:54 verbose #24484 > 00:36:53   debug #1399 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f990f43922e45080129606975ec74b3f88780cb3b27c2ae1151c776db6e5e262/main.spi
00:36:54 verbose #24485 > >
00:36:54 verbose #24486 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:54 verbose #24487 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:54 verbose #24488 > > │ ## rust                                                                      │
00:36:54 verbose #24489 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:54 verbose #24490 > >
00:36:54 verbose #24491 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:54 verbose #24492 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:54 verbose #24493 > > │ ### sleep                                                                    │
00:36:54 verbose #24494 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:54 verbose #24495 > >
00:36:54 verbose #24496 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:54 verbose #24497 > > inl sleep (duration : date_time.duration) : () =
00:36:54 verbose #24498 > >     inl duration = join duration
00:36:54 verbose #24499 > >     !\($'"std::thread::sleep(!duration)"')
00:36:54 verbose #24500 > 00:36:54   debug #1400 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/977038b66c0ad3e795cac3b2de993a8673fb828080aed8074389dbc131b29b87/main.spi
00:36:55 verbose #24501 > >
00:36:55 verbose #24502 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:55 verbose #24503 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:55 verbose #24504 > > │ ### join_handle                                                              │
00:36:55 verbose #24505 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:55 verbose #24506 > >
00:36:55 verbose #24507 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:55 verbose #24508 > > nominal join_handle t =
00:36:55 verbose #24509 > >     `(
00:36:55 verbose #24510 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:36:55 verbose #24511 > > Fable.Core.Emit(\"std::thread::JoinHandle<$0>\")>]]\n#endif\ntype
00:36:55 verbose #24512 > > std_thread_JoinHandle<'T> = class end"
00:36:55 verbose #24513 > >         $'' : $'std_thread_JoinHandle<`t>'
00:36:55 verbose #24514 > >     )
00:36:55 verbose #24515 > 00:36:54   debug #1401 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d9e7ae05ea191d9b4f03d4394e5f9f5a14b93f4cdbd73af3b7ccc46835d2c1fb/main.spi
00:36:55 verbose #24516 > >
00:36:55 verbose #24517 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:55 verbose #24518 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:55 verbose #24519 > > │ ### spawn                                                                    │
00:36:55 verbose #24520 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:55 verbose #24521 > >
00:36:55 verbose #24522 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:55 verbose #24523 > > inl spawn forall t. depth flag (x : () -> t) : join_handle t =
00:36:55 verbose #24524 > >     if flag = 1u8
00:36:55 verbose #24525 > >     then (!\($'"true; let __spawn = std::thread::spawn(move || { //"') : bool)
00:36:55 verbose #24526 > > |> ignore
00:36:55 verbose #24527 > >     else (!\($'"true; let __spawn = std::thread::spawn(|| { //"') : bool) |>
00:36:55 verbose #24528 > > ignore
00:36:55 verbose #24529 > >
00:36:55 verbose #24530 > >     let x' = x ()
00:36:55 verbose #24531 > >     inl x' = join x'
00:36:55 verbose #24532 > >
00:36:55 verbose #24533 > >     x' |> rust.fix_closure depth
00:36:55 verbose #24534 > >
00:36:55 verbose #24535 > >     !\($'"__spawn"')
00:36:55 verbose #24536 > 00:36:54   debug #1402 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6c490a2338ece99193054a9373abe83019e544730992001ff186d285cddd4a2c/main.spi
00:36:55 verbose #24537 > >
00:36:55 verbose #24538 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:55 verbose #24539 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:55 verbose #24540 > > │ ### join'                                                                    │
00:36:55 verbose #24541 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:55 verbose #24542 > >
00:36:55 verbose #24543 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:55 verbose #24544 > > inl join' forall t.
00:36:55 verbose #24545 > >     (x : join_handle t)
00:36:55 verbose #24546 > >     : resultm.result'
00:36:55 verbose #24547 > >         t
00:36:55 verbose #24548 > >         (
00:36:55 verbose #24549 > >             rust.box (
00:36:55 verbose #24550 > >                 rust.lifetime_ref
00:36:55 verbose #24551 > >                     rust.dyn'
00:36:55 verbose #24552 > >                     (
00:36:55 verbose #24553 > >                         rust.lifetime_join
00:36:55 verbose #24554 > >                             rust.any
00:36:55 verbose #24555 > >                             (
00:36:55 verbose #24556 > >                                 rust.lifetime_ref
00:36:55 verbose #24557 > >                                     rust.send
00:36:55 verbose #24558 > >                                     rust.static_lifetime
00:36:55 verbose #24559 > >                             )
00:36:55 verbose #24560 > >                     )
00:36:55 verbose #24561 > >             )
00:36:55 verbose #24562 > >         ) =
00:36:55 verbose #24563 > >     !\\(x, $'"std::thread::JoinHandle::join($0)"')
00:36:55 verbose #24564 > 00:36:55   debug #1403 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b02b5604b06742f5428be54a81ef2d82cf9095812047c33dcc2b2eac4dd5b3a3/main.spi
00:36:56 verbose #24565 > >
00:36:56 verbose #24566 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:56 verbose #24567 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:56 verbose #24568 > > │ ### arc                                                                      │
00:36:56 verbose #24569 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:56 verbose #24570 > >
00:36:56 verbose #24571 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:56 verbose #24572 > > nominal arc t =
00:36:56 verbose #24573 > >     `(
00:36:56 verbose #24574 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:36:56 verbose #24575 > > Fable.Core.Emit(\"std::sync::Arc<$0>\")>]]\n#endif\ntype std_sync_Arc<'T> =
00:36:56 verbose #24576 > > class end"
00:36:56 verbose #24577 > >         $'' : $'std_sync_Arc<`t>'
00:36:56 verbose #24578 > >     )
00:36:56 verbose #24579 > 00:36:55   debug #1404 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf2084378b96c723210b081e65a7675bb84771669563c1171dc67b124aa46752/main.spi
00:36:56 verbose #24580 > >
00:36:56 verbose #24581 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:56 verbose #24582 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:56 verbose #24583 > > │ ### new_arc                                                                  │
00:36:56 verbose #24584 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:56 verbose #24585 > >
00:36:56 verbose #24586 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:56 verbose #24587 > > inl new_arc forall t. (x : t) : arc t =
00:36:56 verbose #24588 > >     !\\(x, $'"std::sync::Arc::new($0)"')
00:36:56 verbose #24589 > 00:36:55   debug #1405 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/caf1406b90829dc2e687016a4b5a62473880de224fa33ba28f321d4714484c5f/main.spi
00:36:56 verbose #24590 > >
00:36:56 verbose #24591 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:56 verbose #24592 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:56 verbose #24593 > > │ ### mutex                                                                    │
00:36:56 verbose #24594 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:56 verbose #24595 > >
00:36:56 verbose #24596 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:56 verbose #24597 > > nominal mutex t =
00:36:56 verbose #24598 > >     `(
00:36:56 verbose #24599 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:36:56 verbose #24600 > > Fable.Core.Emit(\"std::sync::Mutex<$0>\")>]]\n#endif\ntype std_sync_Mutex<'T> =
00:36:56 verbose #24601 > > class end"
00:36:56 verbose #24602 > >         $'' : $'std_sync_Mutex<`t>'
00:36:56 verbose #24603 > >     )
00:36:57 verbose #24604 > 00:36:56   debug #1406 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/696019fa2bfe8a9ef7b74f591ca8f835fc59c393aa0881cd07c781a173ba1e5a/main.spi
00:36:57 verbose #24605 > >
00:36:57 verbose #24606 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:57 verbose #24607 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:57 verbose #24608 > > │ ### new_mutex                                                                │
00:36:57 verbose #24609 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:57 verbose #24610 > >
00:36:57 verbose #24611 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:57 verbose #24612 > > inl new_mutex forall t. (x : t) : mutex t =
00:36:57 verbose #24613 > >     !\\(x, $'"std::sync::Mutex::new($0)"')
00:36:57 verbose #24614 > 00:36:56   debug #1407 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e89e928d849beb28f73ab4d9f13c5f8ba5cff97fc86ca514ecc9da50aeabe186/main.spi
00:36:57 verbose #24615 > >
00:36:57 verbose #24616 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:57 verbose #24617 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:57 verbose #24618 > > │ ### rw_lock                                                                  │
00:36:57 verbose #24619 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:57 verbose #24620 > >
00:36:57 verbose #24621 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:57 verbose #24622 > > nominal rw_lock t =
00:36:57 verbose #24623 > >     `(
00:36:57 verbose #24624 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:36:57 verbose #24625 > > Fable.Core.Emit(\"std::sync::RwLock<$0>\")>]]\n#endif\ntype std_sync_RwLock<'T>
00:36:57 verbose #24626 > > = class end"
00:36:57 verbose #24627 > >         $'' : $'std_sync_RwLock<`t>'
00:36:57 verbose #24628 > >     )
00:36:57 verbose #24629 > 00:36:56   debug #1408 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b7051748a411841af5b877b7d3b3a6fa708f00f92ef67a3a19073b5d491a9f67/main.spi
00:36:57 verbose #24630 > >
00:36:57 verbose #24631 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:57 verbose #24632 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:57 verbose #24633 > > │ ### new_rw_lock                                                              │
00:36:57 verbose #24634 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:57 verbose #24635 > >
00:36:57 verbose #24636 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:57 verbose #24637 > > inl new_rw_lock forall t. (x : t) : rw_lock t =
00:36:57 verbose #24638 > >     !\\(x, $'"std::sync::RwLock::new($0)"')
00:36:58 verbose #24639 > 00:36:57   debug #1409 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/edb96a6dd861f0bb47385f03e1f68396e3374cb9759785c2ddd4588904204fb0/main.spi
00:36:58 verbose #24640 > >
00:36:58 verbose #24641 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:58 verbose #24642 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:58 verbose #24643 > > │ ### new_arc_mutex                                                            │
00:36:58 verbose #24644 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:58 verbose #24645 > >
00:36:58 verbose #24646 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:58 verbose #24647 > > inl new_arc_mutex forall t. (x : t) : arc (mutex t) =
00:36:58 verbose #24648 > >     x |> new_mutex |> new_arc
00:36:58 verbose #24649 > 00:36:57   debug #1410 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5e3dedbfcb4eccccfa4dcf8cc263a096f4214be28ab4fc67ca5137b7946e9df0/main.spi
00:36:58 verbose #24650 > >
00:36:58 verbose #24651 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:58 verbose #24652 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:58 verbose #24653 > > │ ### new_arc_rw_lock                                                          │
00:36:58 verbose #24654 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:58 verbose #24655 > >
00:36:58 verbose #24656 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:58 verbose #24657 > > inl new_arc_rw_lock forall t. (x : t) : arc (rw_lock t) =
00:36:58 verbose #24658 > >     x |> new_rw_lock |> new_arc
00:36:58 verbose #24659 > 00:36:57   debug #1411 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3fc2dd29ed60edd306c3e9a6ab498901fb418679bb94d947ffb908f206a6cb80/main.spi
00:36:58 verbose #24660 > >
00:36:58 verbose #24661 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:58 verbose #24662 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:58 verbose #24663 > > │ ### arc_clone                                                                │
00:36:58 verbose #24664 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:58 verbose #24665 > >
00:36:58 verbose #24666 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:58 verbose #24667 > > inl arc_clone forall t. (x : arc t) : arc t =
00:36:58 verbose #24668 > >     inl x = join x
00:36:58 verbose #24669 > >     !\($'"std::sync::Arc::clone(&!x)"')
00:36:59 verbose #24670 > 00:36:58   debug #1412 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c95442e428027c37540413252c56d545a0eb3cfb375c30d53479c11fb183ddb8/main.spi
00:36:59 verbose #24671 > >
00:36:59 verbose #24672 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:59 verbose #24673 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:59 verbose #24674 > > │ ### arc_ptr_eq                                                               │
00:36:59 verbose #24675 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:59 verbose #24676 > >
00:36:59 verbose #24677 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:59 verbose #24678 > > inl arc_ptr_eq forall t. (a : rust.ref (arc t)) (b : rust.ref (arc t)) : bool =
00:36:59 verbose #24679 > >     !\\((a, b), $'"std::sync::Arc::ptr_eq($0, $1)"')
00:36:59 verbose #24680 > 00:36:58   debug #1413 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4eecef5c6723e7710e8d87f9ec78f9057c56fb14abb2d914f9be71abdb83f8da/main.spi
00:36:59 verbose #24681 > >
00:36:59 verbose #24682 > > ── markdown ────────────────────────────────────────────────────────────────────
00:36:59 verbose #24683 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:36:59 verbose #24684 > > │ ### arc_try_unwrap                                                           │
00:36:59 verbose #24685 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:36:59 verbose #24686 > >
00:36:59 verbose #24687 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:36:59 verbose #24688 > > inl arc_try_unwrap forall t. (x : arc t) : resultm.result' t (arc t) =
00:36:59 verbose #24689 > >     !\\(x, $'"std::sync::Arc::try_unwrap($0)"')
00:36:59 verbose #24690 > 00:36:58   debug #1414 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4106adb6f6365604b5d9927749db49e9c0c41c6bdb1185ec186813452ca5f1b0/main.spi
00:37:00 verbose #24691 > >
00:37:00 verbose #24692 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:00 verbose #24693 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:00 verbose #24694 > > │ ### arc_into_raw                                                             │
00:37:00 verbose #24695 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:00 verbose #24696 > >
00:37:00 verbose #24697 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:00 verbose #24698 > > inl arc_into_raw forall t. (x : arc t) : rust.ptr t =
00:37:00 verbose #24699 > >     !\\(x, $'"std::sync::Arc::into_raw($0)"')
00:37:00 verbose #24700 > 00:36:59   debug #1415 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9e167424dcf8b3714ae96ab7b85540fcddbd9ec152cd5ed93e8db44ab002afb1/main.spi
00:37:00 verbose #24701 > >
00:37:00 verbose #24702 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:00 verbose #24703 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:00 verbose #24704 > > │ ### arc_from_raw                                                             │
00:37:00 verbose #24705 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:00 verbose #24706 > >
00:37:00 verbose #24707 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:00 verbose #24708 > > inl arc_from_raw forall t. (x : rust.ptr t) : arc t =
00:37:00 verbose #24709 > >     !\\(x, $'"std::sync::Arc::from_raw($0)"')
00:37:00 verbose #24710 > 00:36:59   debug #1416 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e3254a4f40f2c9f8e05082fb9acc2be895c2f91fc127077bd4c36da4303880f2/main.spi
00:37:00 verbose #24711 > >
00:37:00 verbose #24712 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:00 verbose #24713 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:00 verbose #24714 > > │ ### partial_eq_wrapper_arc_eq                                                │
00:37:00 verbose #24715 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:00 verbose #24716 > >
00:37:00 verbose #24717 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:00 verbose #24718 > > inl partial_eq_wrapper_arc_eq forall t.
00:37:00 verbose #24719 > >     (self : rust.ref (rust.partial_eq_wrapper (arc t)))
00:37:00 verbose #24720 > >     (other : rust.ref (rust.partial_eq_wrapper (arc t)))
00:37:00 verbose #24721 > >     =
00:37:00 verbose #24722 > >     self
00:37:00 verbose #24723 > >     |> rust.unwrap_0_ref
00:37:00 verbose #24724 > >     |> arc_ptr_eq (
00:37:00 verbose #24725 > >         other
00:37:00 verbose #24726 > >         |> rust.unwrap_0_ref
00:37:00 verbose #24727 > >     )
00:37:00 verbose #24728 > 00:37:00   debug #1417 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fb55a94463990a16fab21a97fd988fc810e0ad09e87f5d661d33f856e96c3a4c/main.spi
00:37:01 verbose #24729 > >
00:37:01 verbose #24730 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:01 verbose #24731 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:01 verbose #24732 > > │ ### new_partial_eq_wrapper_arc                                               │
00:37:01 verbose #24733 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:01 verbose #24734 > >
00:37:01 verbose #24735 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:01 verbose #24736 > > inl new_partial_eq_wrapper_arc forall t. (x : arc t) : rust.partial_eq_wrapper
00:37:01 verbose #24737 > > (arc t) =
00:37:01 verbose #24738 > >     x |> rust.new_partial_eq_wrapper partial_eq_wrapper_arc_eq
00:37:01 verbose #24739 > 00:37:00   debug #1418 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e5a358a4c93ce61db40ef264c0d0de0214e0a9b2c3e0df0dcb79c862391be0f1/main.spi
00:37:01 verbose #24740 > >
00:37:01 verbose #24741 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:01 verbose #24742 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:01 verbose #24743 > > │ ### mutex_guard                                                              │
00:37:01 verbose #24744 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:01 verbose #24745 > >
00:37:01 verbose #24746 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:01 verbose #24747 > > nominal mutex_guard t =
00:37:01 verbose #24748 > >     `(
00:37:01 verbose #24749 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:01 verbose #24750 > > Fable.Core.Emit(\"std::sync::MutexGuard<$0>\")>]]\n#endif\ntype
00:37:01 verbose #24751 > > std_sync_MutexGuard<'T> = class end"
00:37:01 verbose #24752 > >         $'' : $'std_sync_MutexGuard<`t>'
00:37:01 verbose #24753 > >     )
00:37:01 verbose #24754 > 00:37:00   debug #1419 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/49850f4a630df2501f7dbc265e6072f84576490bf325ad924f8d4d09ad36c991/main.spi
00:37:01 verbose #24755 > >
00:37:01 verbose #24756 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:01 verbose #24757 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:01 verbose #24758 > > │ ### rw_lock_read_guard                                                       │
00:37:01 verbose #24759 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:01 verbose #24760 > >
00:37:01 verbose #24761 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:01 verbose #24762 > > nominal rw_lock_read_guard t =
00:37:01 verbose #24763 > >     `(
00:37:01 verbose #24764 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:01 verbose #24765 > > Fable.Core.Emit(\"std::sync::RwLockReadGuard<$0>\")>]]\n#endif\ntype
00:37:01 verbose #24766 > > std_sync_RwLockReadGuard<'T> = class end"
00:37:01 verbose #24767 > >         $'' : $'std_sync_RwLockReadGuard<`t>'
00:37:01 verbose #24768 > >     )
00:37:01 verbose #24769 > 00:37:01   debug #1420 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3d062c3526a941dadd448747d878da889d580635650e5ddd56eb130083f28ae8/main.spi
00:37:02 verbose #24770 > >
00:37:02 verbose #24771 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:02 verbose #24772 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:02 verbose #24773 > > │ ### rw_lock_write_guard                                                      │
00:37:02 verbose #24774 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:02 verbose #24775 > >
00:37:02 verbose #24776 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:02 verbose #24777 > > nominal rw_lock_write_guard t =
00:37:02 verbose #24778 > >     `(
00:37:02 verbose #24779 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:02 verbose #24780 > > Fable.Core.Emit(\"std::sync::RwLockWriteGuard<$0>\")>]]\n#endif\ntype
00:37:02 verbose #24781 > > std_sync_RwLockWriteGuard<'T> = class end"
00:37:02 verbose #24782 > >         $'' : $'std_sync_RwLockWriteGuard<`t>'
00:37:02 verbose #24783 > >     )
00:37:02 verbose #24784 > 00:37:01   debug #1421 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9e4f40350240119b0831c0352ed521841a7279b913cc9b93b3ff92bb5a8ae478/main.spi
00:37:02 verbose #24785 > >
00:37:02 verbose #24786 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:02 verbose #24787 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:02 verbose #24788 > > │ ### poison_error                                                             │
00:37:02 verbose #24789 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:02 verbose #24790 > >
00:37:02 verbose #24791 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:02 verbose #24792 > > nominal poison_error t =
00:37:02 verbose #24793 > >     `(
00:37:02 verbose #24794 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:02 verbose #24795 > > Fable.Core.Emit(\"std::sync::PoisonError<$0>\")>]]\n#endif\ntype
00:37:02 verbose #24796 > > std_sync_PoisonError<'T> = class end"
00:37:02 verbose #24797 > >         $'' : $'std_sync_PoisonError<`t>'
00:37:02 verbose #24798 > >     )
00:37:02 verbose #24799 > 00:37:01   debug #1422 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1191394f2bb7641eac4c20675797b60ce64f946bbb15744bb8f1ea8d9ac2b378/main.spi
00:37:02 verbose #24800 > >
00:37:02 verbose #24801 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:02 verbose #24802 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:02 verbose #24803 > > │ ### try_lock_error                                                           │
00:37:02 verbose #24804 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:02 verbose #24805 > >
00:37:02 verbose #24806 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:02 verbose #24807 > > nominal try_lock_error t =
00:37:02 verbose #24808 > >     `(
00:37:02 verbose #24809 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:02 verbose #24810 > > Fable.Core.Emit(\"std::sync::TryLockError<$0>\")>]]\n#endif\ntype
00:37:02 verbose #24811 > > std_sync_TryLockError<'T> = class end"
00:37:02 verbose #24812 > >         $'' : $'std_sync_TryLockError<`t>'
00:37:02 verbose #24813 > >     )
00:37:03 verbose #24814 > 00:37:02   debug #1423 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d3aec44bf0421ffa291e25c1dff0ad00ae6faaf5fed63b62a04067d621547ec0/main.spi
00:37:03 verbose #24815 > >
00:37:03 verbose #24816 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:03 verbose #24817 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:03 verbose #24818 > > │ ### arc_mutex_lock                                                           │
00:37:03 verbose #24819 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:03 verbose #24820 > >
00:37:03 verbose #24821 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:03 verbose #24822 > > inl arc_mutex_lock forall t. (x : arc (mutex t)) : resultm.result' (mutex_guard
00:37:03 verbose #24823 > > t) (poison_error (mutex_guard t)) =
00:37:03 verbose #24824 > >     inl x = x |> rust.emit
00:37:03 verbose #24825 > >     !\($'"!x.lock()"')
00:37:03 verbose #24826 > 00:37:02   debug #1424 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/672ffbf40ca0d933ffea115178ce134d3c451b078232e86f8c8280f5f1167a81/main.spi
00:37:03 verbose #24827 > >
00:37:03 verbose #24828 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:03 verbose #24829 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:03 verbose #24830 > > │ ### arc_rw_lock_read                                                         │
00:37:03 verbose #24831 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:03 verbose #24832 > >
00:37:03 verbose #24833 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:03 verbose #24834 > > inl arc_rw_lock_read forall t. (x : arc (rw_lock t)) : resultm.result'
00:37:03 verbose #24835 > > (rw_lock_read_guard t) (poison_error (rw_lock_read_guard t)) =
00:37:03 verbose #24836 > >     inl x = x |> rust.emit
00:37:03 verbose #24837 > >     !\($'"!x.read()"')
00:37:03 verbose #24838 > 00:37:02   debug #1425 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/87b79426d610e4403fe07a468ea21d917c167e804be4a87eda2bed547aaf015c/main.spi
00:37:03 verbose #24839 > >
00:37:03 verbose #24840 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:03 verbose #24841 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:03 verbose #24842 > > │ ### arc_rw_lock_write                                                        │
00:37:03 verbose #24843 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:03 verbose #24844 > >
00:37:03 verbose #24845 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:03 verbose #24846 > > inl arc_rw_lock_write forall t. (x : arc (rw_lock t)) : resultm.result'
00:37:03 verbose #24847 > > (rw_lock_write_guard t) (poison_error (rw_lock_write_guard t)) =
00:37:03 verbose #24848 > >     inl x = x |> rust.emit
00:37:03 verbose #24849 > >     !\($'"!x.write()"')
00:37:04 verbose #24850 > 00:37:03   debug #1426 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/677f254f57f2ff1c855b2e0193b9369d9b2bd28ecbbeb0eceaa1ab0b217987f1/main.spi
00:37:04 verbose #24851 > >
00:37:04 verbose #24852 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:04 verbose #24853 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:04 verbose #24854 > > │ ### arc_rw_lock_try_read                                                     │
00:37:04 verbose #24855 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:04 verbose #24856 > >
00:37:04 verbose #24857 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:04 verbose #24858 > > inl arc_rw_lock_try_read forall t. (x : arc (rw_lock t)) : resultm.result'
00:37:04 verbose #24859 > > (rw_lock_read_guard t) (try_lock_error (rw_lock_read_guard t)) =
00:37:04 verbose #24860 > >     inl x = x |> rust.emit
00:37:04 verbose #24861 > >     !\($'"!x.try_read()"')
00:37:04 verbose #24862 > 00:37:03   debug #1427 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0cf9e456bbda294b1759cf7214d0003237a66485ab6a12c4e978616db4299f64/main.spi
00:37:04 verbose #24863 > >
00:37:04 verbose #24864 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:04 verbose #24865 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:04 verbose #24866 > > │ ### arc_rw_lock_try_write                                                    │
00:37:04 verbose #24867 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:04 verbose #24868 > >
00:37:04 verbose #24869 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:04 verbose #24870 > > inl arc_rw_lock_try_write forall t. (x : arc (rw_lock t)) : resultm.result'
00:37:04 verbose #24871 > > (rw_lock_write_guard t) (try_lock_error (rw_lock_write_guard t)) =
00:37:04 verbose #24872 > >     inl x = x |> rust.emit
00:37:04 verbose #24873 > >     !\($'"!x.try_write()"')
00:37:04 verbose #24874 > 00:37:03   debug #1428 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/20aea69fb431fe6710088825ef84acd3ba9d1309035926ba9f311d4cbe2af043/main.spi
00:37:04 verbose #24875 > >
00:37:04 verbose #24876 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:04 verbose #24877 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:04 verbose #24878 > > │ ### mutex_guard_ref                                                          │
00:37:04 verbose #24879 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:04 verbose #24880 > >
00:37:04 verbose #24881 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:04 verbose #24882 > > inl mutex_guard_ref forall t. (x : mutex_guard t) : rust.ref t =
00:37:04 verbose #24883 > >     !\\(x, $'"&$0"')
00:37:05 verbose #24884 > 00:37:04   debug #1429 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d823cb4a90784b46290b9334cd9ccb885e3c7efa0602e66d77571ff00ceb92cc/main.spi
00:37:05 verbose #24885 > >
00:37:05 verbose #24886 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:05 verbose #24887 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:05 verbose #24888 > > │ ### rw_lock_read_guard_ref                                                   │
00:37:05 verbose #24889 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:05 verbose #24890 > >
00:37:05 verbose #24891 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:05 verbose #24892 > > inl rw_lock_read_guard_ref forall t. (x : rw_lock_read_guard t) : rust.ref t =
00:37:05 verbose #24893 > >     !\\(x, $'"&$0"')
00:37:05 verbose #24894 > 00:37:04   debug #1430 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/784d2471ce19ccaafa4c55dbdca918393bcb0c222580268b81ca5ab4ae6ca99a/main.spi
00:37:05 verbose #24895 > >
00:37:05 verbose #24896 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:05 verbose #24897 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:05 verbose #24898 > > │ ### rw_lock_write_guard_ref                                                  │
00:37:05 verbose #24899 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:05 verbose #24900 > >
00:37:05 verbose #24901 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:05 verbose #24902 > > inl rw_lock_write_guard_ref forall t. (x : rw_lock_write_guard t) : rust.ref t =
00:37:05 verbose #24903 > >     !\\(x, $'"&$0"')
00:37:05 verbose #24904 > 00:37:04   debug #1431 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/53bd565d4c6c4fbd4777665343bed77acae29442fb5da59d31730d3b6b59cfee/main.spi
00:37:06 verbose #24905 > >
00:37:06 verbose #24906 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:06 verbose #24907 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:06 verbose #24908 > > │ ### mutex_guard_ref_mut                                                      │
00:37:06 verbose #24909 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:06 verbose #24910 > >
00:37:06 verbose #24911 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:06 verbose #24912 > > inl mutex_guard_ref_mut forall t. (x : mutex_guard t) : rust.ref (rust.mut' t) =
00:37:06 verbose #24913 > >     (!\($'"true; let mut !x = !x"') : bool) |> ignore
00:37:06 verbose #24914 > >     !\\(x, $'"&mut $0"')
00:37:06 verbose #24915 > 00:37:05   debug #1432 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d2dcfe3557f613a4fe8194ff037c81e2de6c8a9c5b55255d0f1f4d02dfe8d4c/main.spi
00:37:06 verbose #24916 > >
00:37:06 verbose #24917 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:06 verbose #24918 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:06 verbose #24919 > > │ ### mutex_guard_as_mut                                                       │
00:37:06 verbose #24920 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:06 verbose #24921 > >
00:37:06 verbose #24922 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:06 verbose #24923 > > inl mutex_guard_as_mut forall (t : * -> *) u. (x : mutex_guard (t u)) : t
00:37:06 verbose #24924 > > (rust.ref (rust.mut' u)) =
00:37:06 verbose #24925 > >     (!\($'"true; let mut !x = !x"') : bool) |> ignore
00:37:06 verbose #24926 > >     !\\(x, $'"$0.as_mut()"')
00:37:06 verbose #24927 > 00:37:05   debug #1433 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aa2450ce8cec58d397ffaaa3b4d1f514ebce3d22dcad985f6fe6dfdd7c30b37d/main.spi
00:37:06 verbose #24928 > >
00:37:06 verbose #24929 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:06 verbose #24930 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:06 verbose #24931 > > │ ### channel_receiver                                                         │
00:37:06 verbose #24932 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:06 verbose #24933 > >
00:37:06 verbose #24934 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:06 verbose #24935 > > nominal channel_receiver t =
00:37:06 verbose #24936 > >     `(
00:37:06 verbose #24937 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:06 verbose #24938 > > Fable.Core.Emit(\"std::sync::mpsc::Receiver<$0>\")>]]\n#endif\ntype
00:37:06 verbose #24939 > > std_sync_mpsc_Receiver<'T> = class end"
00:37:06 verbose #24940 > >         $'' : $'std_sync_mpsc_Receiver<`t>'
00:37:06 verbose #24941 > >     )
00:37:07 verbose #24942 > 00:37:06   debug #1434 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f1e8496a79556ec954c68ff6eb9d64c453b98d80f8da4afe0a9159f64603439c/main.spi
00:37:07 verbose #24943 > >
00:37:07 verbose #24944 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:07 verbose #24945 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:07 verbose #24946 > > │ ### channel_sender                                                           │
00:37:07 verbose #24947 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:07 verbose #24948 > >
00:37:07 verbose #24949 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:07 verbose #24950 > > nominal channel_sender t =
00:37:07 verbose #24951 > >     `(
00:37:07 verbose #24952 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:07 verbose #24953 > > Fable.Core.Emit(\"std::sync::mpsc::Sender<$0>\")>]]\n#endif\ntype
00:37:07 verbose #24954 > > std_sync_mpsc_Sender<'T> = class end"
00:37:07 verbose #24955 > >         $'' : $'std_sync_mpsc_Sender<`t>'
00:37:07 verbose #24956 > >     )
00:37:07 verbose #24957 > 00:37:06   debug #1435 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/91f9cc1e630c3372eb4af558c226effcd74847b81aa7fac970fe823909c915d1/main.spi
00:37:07 verbose #24958 > >
00:37:07 verbose #24959 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:07 verbose #24960 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:07 verbose #24961 > > │ ### new_channel                                                              │
00:37:07 verbose #24962 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:07 verbose #24963 > >
00:37:07 verbose #24964 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:07 verbose #24965 > > inl new_channel () : channel_sender sm'.std_string * arc (channel_receiver
00:37:07 verbose #24966 > > sm'.std_string) =
00:37:07 verbose #24967 > >     !\($'"{ let (sender, receiver) = std::sync::mpsc::channel(); (sender,
00:37:07 verbose #24968 > > std::sync::Arc::new(receiver)) }"')
00:37:07 verbose #24969 > 00:37:06   debug #1436 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2e7a1773fff899131e23b6228eb6eaa1e313c8d32f8ca952ada1ed0d358065f6/main.spi
00:37:07 verbose #24970 > >
00:37:07 verbose #24971 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:07 verbose #24972 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:07 verbose #24973 > > │ ### send_error                                                               │
00:37:07 verbose #24974 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:07 verbose #24975 > >
00:37:07 verbose #24976 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:07 verbose #24977 > > nominal send_error t =
00:37:07 verbose #24978 > >     `(
00:37:07 verbose #24979 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:37:07 verbose #24980 > > Fable.Core.Emit(\"std::sync::mpsc::SendError<$0>\")>]]\n#endif\ntype
00:37:07 verbose #24981 > > std_sync_mpsc_SendError<'T> = class end"
00:37:07 verbose #24982 > >         $'' : $'std_sync_mpsc_SendError<`t>'
00:37:07 verbose #24983 > >     )
00:37:08 verbose #24984 > 00:37:07   debug #1437 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/093d521e62e1110a0923e3ce7491709b8272db81f41220682acd6003c53043b4/main.spi
00:37:08 verbose #24985 > >
00:37:08 verbose #24986 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:08 verbose #24987 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:08 verbose #24988 > > │ ### channel_send                                                             │
00:37:08 verbose #24989 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:08 verbose #24990 > >
00:37:08 verbose #24991 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:08 verbose #24992 > > inl channel_send forall t. (line : t) (sender : rust.ref (channel_sender t)) :
00:37:08 verbose #24993 > > resultm.result' () (send_error sm'.std_string) =
00:37:08 verbose #24994 > >     !\\((sender, line), $'"$0.send($1)"')
00:37:08 verbose #24995 > 00:37:07   debug #1438 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/449e95f6ac2dfa34bed3680d73a319302f237f8b488813a27d527a254a4cbe66/main.spi
00:37:08 verbose #24996 > >
00:37:08 verbose #24997 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:08 verbose #24998 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:08 verbose #24999 > > │ ## fsharp                                                                    │
00:37:08 verbose #25000 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:08 verbose #25001 > >
00:37:08 verbose #25002 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:08 verbose #25003 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:08 verbose #25004 > > │ ### sleep'                                                                   │
00:37:08 verbose #25005 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:08 verbose #25006 > >
00:37:08 verbose #25007 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:08 verbose #25008 > > inl sleep' (n : i32) : () =
00:37:08 verbose #25009 > >     run_target function
00:37:08 verbose #25010 > >         | Fsharp (Native) => fun () => $'System.Threading.Thread.Sleep' n
00:37:08 verbose #25011 > >         | _ => fun () => ()
00:37:08 verbose #25012 > 00:37:07   debug #1439 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f67141d3ad8f2911c8bc5efb5a79bb96625587f733265458326b3a7cb5678918/main.spi
00:37:08 verbose #25013 > >
00:37:08 verbose #25014 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:08 verbose #25015 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:08 verbose #25016 > > │ ### thread                                                                   │
00:37:08 verbose #25017 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:08 verbose #25018 > >
00:37:09 verbose #25019 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:09 verbose #25020 > > nominal thread = $'System.Threading.Thread'
00:37:09 verbose #25021 > 00:37:08   debug #1440 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e42d85e48fdc332adb29e42621a7daee9b65351e972a0624b8bcb514900cd44e/main.spi
00:37:09 verbose #25022 > >
00:37:09 verbose #25023 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:09 verbose #25024 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:09 verbose #25025 > > │ ### cancellation_token                                                       │
00:37:09 verbose #25026 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:09 verbose #25027 > >
00:37:09 verbose #25028 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:09 verbose #25029 > > nominal cancellation_token = $'System.Threading.CancellationToken'
00:37:09 verbose #25030 > 00:37:08   debug #1441 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/77d62689799e4a2961b954ce75f1763f26f9f612d542a8b4455cc7ac140354de/main.spi
00:37:09 verbose #25031 > >
00:37:09 verbose #25032 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:09 verbose #25033 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:09 verbose #25034 > > │ ### cancellation_token_source                                                │
00:37:09 verbose #25035 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:09 verbose #25036 > >
00:37:09 verbose #25037 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:09 verbose #25038 > > nominal cancellation_token_source = $'System.Threading.CancellationTokenSource'
00:37:09 verbose #25039 > 00:37:09   debug #1442 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ff7104a1091e786ba614439a41a48b493f6caa4170f5bc6882306bb1c787dd51/main.spi
00:37:10 verbose #25040 > >
00:37:10 verbose #25041 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:10 verbose #25042 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:10 verbose #25043 > > │ ### cancellation_token_registration                                          │
00:37:10 verbose #25044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:10 verbose #25045 > >
00:37:10 verbose #25046 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:10 verbose #25047 > > nominal cancellation_token_registration =
00:37:10 verbose #25048 > > $'System.Threading.CancellationTokenRegistration'
00:37:10 verbose #25049 > 00:37:09   debug #1443 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4e315c533713d6299bdc2f20d124eb6bca36167f640225234f032a19642e3f4e/main.spi
00:37:10 verbose #25050 > >
00:37:10 verbose #25051 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:10 verbose #25052 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:10 verbose #25053 > > │ ### cancellation_source_token                                                │
00:37:10 verbose #25054 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:10 verbose #25055 > >
00:37:10 verbose #25056 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:10 verbose #25057 > > inl cancellation_source_token (x : cancellation_token_source) :
00:37:10 verbose #25058 > > cancellation_token =
00:37:10 verbose #25059 > >     $'!x.Token'
00:37:10 verbose #25060 > 00:37:09   debug #1444 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f5826b336c94938c0a88cc8b448b3117afc82d46b1da03e5bd2c7a1f3b95e77a/main.spi
00:37:10 verbose #25061 > >
00:37:10 verbose #25062 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:10 verbose #25063 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:10 verbose #25064 > > │ ### cancellation_source_cancel                                               │
00:37:10 verbose #25065 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:10 verbose #25066 > >
00:37:10 verbose #25067 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:10 verbose #25068 > > inl cancellation_source_cancel (x : cancellation_token_source) : () =
00:37:10 verbose #25069 > >     run_target function
00:37:10 verbose #25070 > >         | Fsharp (Native) => fun () =>
00:37:10 verbose #25071 > >             $'!x.Cancel' ()
00:37:10 verbose #25072 > >         | _ => fun () => null ()
00:37:10 verbose #25073 > 00:37:10   debug #1445 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f51ab662d0d94e1f9ab7cc7d92cb3ff282ec40c45f4f7258ba8273ce8ba2716c/main.spi
00:37:11 verbose #25074 > >
00:37:11 verbose #25075 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:11 verbose #25076 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:11 verbose #25077 > > │ ### create_linked_token_source                                               │
00:37:11 verbose #25078 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:11 verbose #25079 > >
00:37:11 verbose #25080 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:11 verbose #25081 > > inl create_linked_token_source (x : array_base cancellation_token) :
00:37:11 verbose #25082 > > cancellation_token_source =
00:37:11 verbose #25083 > >     x |> $'System.Threading.CancellationTokenSource.CreateLinkedTokenSource'
00:37:11 verbose #25084 > 00:37:10   debug #1446 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0835b9f2e7189e0d3b23fe46464eaec7e163394ac01892b6c504f445fa7d6a41/main.spi
00:37:11 verbose #25085 > >
00:37:11 verbose #25086 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:11 verbose #25087 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:11 verbose #25088 > > │ ### concurrent_stack                                                         │
00:37:11 verbose #25089 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:11 verbose #25090 > >
00:37:11 verbose #25091 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:11 verbose #25092 > > nominal concurrent_stack t =
00:37:11 verbose #25093 > > $'System.Collections.Concurrent.ConcurrentStack<`t>'
00:37:11 verbose #25094 > 00:37:10   debug #1447 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0bf84c16c1814899e2ab9e25027a40be1351551aabcd6bbc6d1ac2832c10286a/main.spi
00:37:11 verbose #25095 > >
00:37:11 verbose #25096 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:11 verbose #25097 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:11 verbose #25098 > > │ ### concurrent_stack_push                                                    │
00:37:11 verbose #25099 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:11 verbose #25100 > >
00:37:11 verbose #25101 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:11 verbose #25102 > > inl concurrent_stack_push forall t. (item : t) (stack : concurrent_stack t) : ()
00:37:11 verbose #25103 > > =
00:37:11 verbose #25104 > >     $'!stack.Push' item
00:37:12 verbose #25105 > 00:37:11   debug #1448 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8ff1926a74e2c69bbeba9eb757d863fd2d304c62b5d496bd800a3f6da3146cf9/main.spi
00:37:12 verbose #25106 > >
00:37:12 verbose #25107 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:12 verbose #25108 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:12 verbose #25109 > > │ ### token_none                                                               │
00:37:12 verbose #25110 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:12 verbose #25111 > >
00:37:12 verbose #25112 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:12 verbose #25113 > > inl token_none () : cancellation_token =
00:37:12 verbose #25114 > >     $'`cancellation_token.None'
00:37:12 verbose #25115 > 00:37:11   debug #1449 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8845f5b02f4ac884003d51c6709671f2d86557baf647d7d03f95ea94656c2969/main.spi
00:37:12 verbose #25116 > >
00:37:12 verbose #25117 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:12 verbose #25118 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:12 verbose #25119 > > │ ### new_concurrent_stack                                                     │
00:37:12 verbose #25120 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:12 verbose #25121 > >
00:37:12 verbose #25122 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:12 verbose #25123 > > inl new_concurrent_stack forall t. () : concurrent_stack t =
00:37:12 verbose #25124 > >     $'System.Collections.Concurrent.ConcurrentStack<`t>' ()
00:37:12 verbose #25125 > 00:37:11   debug #1450 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/65f118b9a112267b7abbce90cc1d3cddb927a1fd3032f0e58c7042c6c67046a5/main.spi
00:37:12 verbose #25126 > >
00:37:12 verbose #25127 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:12 verbose #25128 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:12 verbose #25129 > > │ ### token_register                                                           │
00:37:12 verbose #25130 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:12 verbose #25131 > >
00:37:12 verbose #25132 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:12 verbose #25133 > > inl token_register (fn : () -> ()) (ct : cancellation_token) :
00:37:12 verbose #25134 > > cancellation_token_registration =
00:37:12 verbose #25135 > >     fn |> $'!ct.Register'
00:37:13 verbose #25136 > 00:37:12   debug #1451 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/72efe341acee65597bbaf81ef4ecbfe1f95fa3d8c18e38e8c98bd62b7485fc4c/main.spi
00:37:13 verbose #25137 > >
00:37:13 verbose #25138 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:13 verbose #25139 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:13 verbose #25140 > > │ ### new_cancellation_token_source                                            │
00:37:13 verbose #25141 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:13 verbose #25142 > >
00:37:13 verbose #25143 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:13 verbose #25144 > > inl new_cancellation_token_source () : cancellation_token_source =
00:37:13 verbose #25145 > >     $'new `cancellation_token_source ()'
00:37:13 verbose #25146 > 00:37:12   debug #1452 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/53325cec1c53463039a61a32b6ac8885d3d55d02318901030fa56aa973dc3b31/main.spi
00:37:13 verbose #25147 > >
00:37:13 verbose #25148 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:13 verbose #25149 > > inl token_cancellation_requested (ct : cancellation_token) : bool =
00:37:13 verbose #25150 > >     $'!ct.IsCancellationRequested'
00:37:13 verbose #25151 > 00:37:12   debug #1453 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8760456465ace829e55d316760a17514cbee4d0e6dd55770a31cc2adda855f3d/main.spi
00:37:14 verbose #25152 > >
00:37:14 verbose #25153 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:14 verbose #25154 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:14 verbose #25155 > > │ ### new_disposable_token                                                     │
00:37:14 verbose #25156 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:14 verbose #25157 > >
00:37:14 verbose #25158 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:14 verbose #25159 > > inl new_disposable_token (merge_token : optionm'.option' cancellation_token) =
00:37:14 verbose #25160 > >     run_target function
00:37:14 verbose #25161 > >         | Fsharp (Native) => fun () =>
00:37:14 verbose #25162 > >             inl cts = new_cancellation_token_source ()
00:37:14 verbose #25163 > >             inl cts =
00:37:14 verbose #25164 > >                 match merge_token |> optionm'.unbox with
00:37:14 verbose #25165 > >                 | None => cts
00:37:14 verbose #25166 > >                 | Some merge_token =>
00:37:14 verbose #25167 > >                     create_linked_token_source ;[[ cts |>
00:37:14 verbose #25168 > > cancellation_source_token; merge_token ]]
00:37:14 verbose #25169 > >             inl disposable : _ () = new_disposable fun () =>
00:37:14 verbose #25170 > >                 cts |> cancellation_source_cancel
00:37:14 verbose #25171 > >             cts |> cancellation_source_token, disposable
00:37:14 verbose #25172 > >         | _ => fun () => null ()
00:37:14 verbose #25173 > 00:37:13   debug #1454 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a1c59a2cb59a7e2f95b22eaab16131546238bb4829d2032dd297ccae0cb42178/main.spi
00:37:14 verbose #25174 > >
00:37:14 verbose #25175 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:14 verbose #25176 > > //// test
00:37:14 verbose #25177 > >
00:37:14 verbose #25178 > > inl run fn =
00:37:14 verbose #25179 > >     inl token, disposable = new_disposable_token (None |> optionm'.box)
00:37:14 verbose #25180 > >     disposable |> use |> ignore
00:37:14 verbose #25181 > >     fn token
00:37:14 verbose #25182 > >     fun () =>
00:37:14 verbose #25183 > >         fn token
00:37:14 verbose #25184 > >     |> async.new_async
00:37:14 verbose #25185 > >     |> async.start
00:37:14 verbose #25186 > >
00:37:14 verbose #25187 > > fun () =>
00:37:14 verbose #25188 > >     inl counter = mut 0i32
00:37:14 verbose #25189 > >
00:37:14 verbose #25190 > >     inl fn (token : cancellation_token) =
00:37:14 verbose #25191 > >         counter <- *counter + (if token |> token_cancellation_requested then 10
00:37:14 verbose #25192 > > else 1)
00:37:14 verbose #25193 > >
00:37:14 verbose #25194 > >     join run fn
00:37:14 verbose #25195 > >     async.sleep 10 |> async.do
00:37:14 verbose #25196 > >     return *counter
00:37:14 verbose #25197 > > |> async.new_async_unit
00:37:14 verbose #25198 > > |> async.run_synchronously
00:37:14 verbose #25199 > > |> _assert_eq 11i32
00:37:14 verbose #25200 > 00:37:13   debug #1455 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7935697b5243e424a97d292b38be670229ae5b1d0ba3f113dbb1cd194764fad7/main.spi
00:37:16 verbose #25201 > >
00:37:16 verbose #25202 > > ╭─[ 1.92s - stdout ]───────────────────────────────────────────────────────────╮
00:37:16 verbose #25203 > > │ __assert_eq / actual: 11 / expected: 11                                      │
00:37:16 verbose #25204 > > │                                                                              │
00:37:16 verbose #25205 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:16 verbose #25206 > >
00:37:16 verbose #25207 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:16 verbose #25208 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:16 verbose #25209 > > │ ## main                                                                      │
00:37:16 verbose #25210 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:16 verbose #25211 > >
00:37:16 verbose #25212 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:16 verbose #25213 > > inl main () =
00:37:16 verbose #25214 > >     $'let new_disposable_token x = !new_disposable_token x' : ()
00:37:16 verbose #25215 > 00:37:15   debug #1456 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bd423c0a37bd6b93612364a93df6f8f14f4aaa1fcf9e66b1c08617169ce9df79/main.spi
00:37:16 verbose #25216 > 00:00:29 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 34247 }
00:37:16 verbose #25217 > 00:00:29   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:37:16 verbose #25218 >     "nbconvert",
00:37:16 verbose #25219 >     "c:/home/git/polyglot/lib/spiral/threading.dib.ipynb",
00:37:16 verbose #25220 >     "--to",
00:37:16 verbose #25221 >     "html",
00:37:16 verbose #25222 >     "--HTMLExporter.theme=dark",
00:37:16 verbose #25223 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/threading.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:37:18 verbose #25224 > 00:00:31 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/threading.dib.ipynb to html
00:37:18 verbose #25225 > 00:00:31 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:37:18 verbose #25226 > 00:00:31 verbose #7 !   validate(nb)
00:37:20 verbose #25227 > 00:00:33 verbose #8 ! [NbConvertApp] Writing 377543 bytes to c:\home\git\polyglot\lib\spiral\threading.dib.html
00:37:20 verbose #25228 > 00:00:33 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 649 }
00:37:20 verbose #25229 > 00:00:33   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 649 }
00:37:20 verbose #25230 > 00:00:33   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:37:20 verbose #25231 >     "-c",
00:37:20 verbose #25232 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/threading.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:37:20 verbose #25233 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/threading.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:37:21 verbose #25234 > 00:00:34 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:37:21 verbose #25235 > 00:00:34   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:37:22 verbose #25236 > 00:00:35   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 34955 }
00:37:22   debug #25237 runtime.execute_with_options_async / { exit_code = 0; output_length = 39036 }
00:37:22   debug #33 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path threading.dib --retries 3
00:37:22   debug #25238 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path benchmark.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:37:22 verbose #25239 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "benchmark.dib", "--retries", "3"])) }
00:37:22 verbose #25240 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:37:22 verbose #25241 >     "repl",
00:37:22 verbose #25242 >     "--exit-after-run",
00:37:22 verbose #25243 >     "--run",
00:37:22 verbose #25244 >     "c:/home/git/polyglot/lib/spiral/benchmark.dib",
00:37:22 verbose #25245 >     "--output-path",
00:37:22 verbose #25246 >     "c:/home/git/polyglot/lib/spiral/benchmark.dib.ipynb",
00:37:22 verbose #25247 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/benchmark.dib" --output-path "c:/home/git/polyglot/lib/spiral/benchmark.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:37:24 verbose #25248 > >
00:37:24 verbose #25249 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:24 verbose #25250 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:24 verbose #25251 > > │ ## benchmark                                                                 │
00:37:24 verbose #25252 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:28 verbose #25253 > >
00:37:28 verbose #25254 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:28 verbose #25255 > > //// test
00:37:28 verbose #25256 > >
00:37:28 verbose #25257 > > open testing
00:37:29 verbose #25258 > 00:37:28   debug #1457 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:37:29 verbose #25259 > >
00:37:29 verbose #25260 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:29 verbose #25261 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:29 verbose #25262 > > │ ## fsharp                                                                    │
00:37:29 verbose #25263 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:29 verbose #25264 > >
00:37:29 verbose #25265 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:29 verbose #25266 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:29 verbose #25267 > > │ ### test_case_result                                                         │
00:37:29 verbose #25268 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:29 verbose #25269 > >
00:37:29 verbose #25270 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:29 verbose #25271 > > type test_case_result =
00:37:29 verbose #25272 > >     {
00:37:29 verbose #25273 > >         input : string
00:37:29 verbose #25274 > >         expected : string
00:37:29 verbose #25275 > >         result : string
00:37:29 verbose #25276 > >         time_list : array_base i64
00:37:29 verbose #25277 > >     }
00:37:29 verbose #25278 > 00:37:28   debug #1458 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/15d929cf08c028299e48d797581c0a711100163c268b9ffb95fc65527ed60c03/main.spi
00:37:30 verbose #25279 > >
00:37:30 verbose #25280 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:30 verbose #25281 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:30 verbose #25282 > > │ ### run'                                                                     │
00:37:30 verbose #25283 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:30 verbose #25284 > >
00:37:30 verbose #25285 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:30 verbose #25286 > > inl run' forall t. count (fn : () -> t) =
00:37:30 verbose #25287 > >     runtime.gc_collect ()
00:37:30 verbose #25288 > >     inl stopwatch = date_time.stopwatch ()
00:37:30 verbose #25289 > >     stopwatch |> date_time.stopwatch_start
00:37:30 verbose #25290 > >     inl time1 = stopwatch |> date_time.stopwatch_elapsed_milliseconds
00:37:30 verbose #25291 > >     inl result : t =
00:37:30 verbose #25292 > >         am'.init_series 0 count 1i32
00:37:30 verbose #25293 > >         |> fun x => a x : _ int _
00:37:30 verbose #25294 > >         |> am'.parallel_map fun _n => fn ()
00:37:30 verbose #25295 > >         |> am'.last
00:37:30 verbose #25296 > >     inl time2 = (stopwatch |> date_time.stopwatch_elapsed_milliseconds) - time1
00:37:30 verbose #25297 > >     result, time2
00:37:30 verbose #25298 > 00:37:29   debug #1459 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab04195d3cbb704fd3cef229af62d68737b74dbc9e86c0ac5ccda5981b33de1c/main.spi
00:37:30 verbose #25299 > >
00:37:30 verbose #25300 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:30 verbose #25301 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:30 verbose #25302 > > │ ### run                                                                      │
00:37:30 verbose #25303 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:30 verbose #25304 > >
00:37:30 verbose #25305 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:30 verbose #25306 > > inl run forall input expected.
00:37:30 verbose #25307 > >     count
00:37:30 verbose #25308 > >     (solutions : list (string * (input -> expected)))
00:37:30 verbose #25309 > >     ((input, expected) : (input * expected))
00:37:30 verbose #25310 > >     : test_case_result
00:37:30 verbose #25311 > >     =
00:37:30 verbose #25312 > >     inl input_str = input |> sm'.format_debug
00:37:30 verbose #25313 > >
00:37:30 verbose #25314 > >     console.write_line ""
00:37:30 verbose #25315 > >     trace Verbose
00:37:30 verbose #25316 > >         fun () => $'$"benchmark.run"'
00:37:30 verbose #25317 > >         fun () => { input_str = input_str |> sm'.ellipsis_end 40 }
00:37:30 verbose #25318 > >
00:37:30 verbose #25319 > >     inl results_with_time : array_base _ =
00:37:30 verbose #25320 > >         solutions
00:37:30 verbose #25321 > >         |> listm'.indexed
00:37:30 verbose #25322 > >         |> listm'.box
00:37:30 verbose #25323 > >         |> listm'.to_array'
00:37:30 verbose #25324 > >         |> am'.map_base fun ((i : int), (test_name, solution)) =>
00:37:30 verbose #25325 > >             inl result, time =
00:37:30 verbose #25326 > >                 fun () => solution input
00:37:30 verbose #25327 > >                 |> run' count
00:37:30 verbose #25328 > >             trace Verbose
00:37:30 verbose #25329 > >                 fun () => $'$"benchmark.run / solutions.map"'
00:37:30 verbose #25330 > >                 fun () => { i = i + 1; test_name time }
00:37:30 verbose #25331 > >             result, time
00:37:30 verbose #25332 > >
00:37:30 verbose #25333 > >     match results_with_time |> am'.map_base fst with
00:37:30 verbose #25334 > >     | array when (array |> (fun x => a x : _ int _) |> am'.length) <= 1 => ()
00:37:30 verbose #25335 > >     | array when array |> (fun x => a x : _ int _) |> am.forall' ((=) (array |>
00:37:30 verbose #25336 > > (fun x => a x : _ int _) |> am'.index 0)) => ()
00:37:30 verbose #25337 > >     | results => failwith ($'$"benchmark.run / error / results: {!results}"' :
00:37:30 verbose #25338 > > string)
00:37:30 verbose #25339 > >
00:37:30 verbose #25340 > >     {
00:37:30 verbose #25341 > >         input = input_str
00:37:30 verbose #25342 > >         expected = expected |> sm'.format_debug
00:37:30 verbose #25343 > >         result = results_with_time |> am'.map_base fst |> (fun x => a x : _ int
00:37:30 verbose #25344 > > _) |> am'.index 0 |> sm'.format_debug
00:37:30 verbose #25345 > >         time_list = results_with_time |> am'.map_base snd
00:37:30 verbose #25346 > >     }
00:37:30 verbose #25347 > 00:37:29   debug #1460 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/830bc0bdfe1230bdf3943c7cb7810109dab5b2d5cbf7e8ef46b6f915f4981748/main.spi
00:37:30 verbose #25348 > >
00:37:30 verbose #25349 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:30 verbose #25350 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:30 verbose #25351 > > │ ### run_all                                                                  │
00:37:30 verbose #25352 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:30 verbose #25353 > >
00:37:30 verbose #25354 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:30 verbose #25355 > > inl run_all forall input expected.
00:37:30 verbose #25356 > >     test_name
00:37:30 verbose #25357 > >     count
00:37:30 verbose #25358 > >     (solutions : list (string * (input -> expected)))
00:37:30 verbose #25359 > >     test_cases
00:37:30 verbose #25360 > >     =
00:37:30 verbose #25361 > >     console.write_line ""
00:37:30 verbose #25362 > >     console.write_line "```"
00:37:30 verbose #25363 > >     trace Verbose
00:37:30 verbose #25364 > >         fun () => $'$"benchmark.run_all"'
00:37:30 verbose #25365 > >         fun () => { test_name count }
00:37:30 verbose #25366 > >     test_cases
00:37:30 verbose #25367 > >     |> listm'.box
00:37:30 verbose #25368 > >     |> listm'.to_array'
00:37:30 verbose #25369 > >     |> am'.map_base (run count solutions)
00:37:30 verbose #25370 > 00:37:30   debug #1461 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/93ebabde9462ad086e303644937ea344ed5e262fe5e284600ef14f98b9d9f258/main.spi
00:37:31 verbose #25371 > >
00:37:31 verbose #25372 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:31 verbose #25373 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:31 verbose #25374 > > │ ### sort_result_list                                                         │
00:37:31 verbose #25375 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:31 verbose #25376 > >
00:37:31 verbose #25377 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:31 verbose #25378 > > inl sort_result_list results =
00:37:31 verbose #25379 > >     inl table =
00:37:31 verbose #25380 > >         inl rows =
00:37:31 verbose #25381 > >             results
00:37:31 verbose #25382 > >             |> am'.map_base fun (result : test_case_result) =>
00:37:31 verbose #25383 > >                 inl best =
00:37:31 verbose #25384 > >                     result.time_list
00:37:31 verbose #25385 > >                     |> am'.indexed
00:37:31 verbose #25386 > >                     |> am'.map_base fun (i, time) =>
00:37:31 verbose #25387 > >                         i + 1i32, time
00:37:31 verbose #25388 > >                     |> fun x => a x : _ int _
00:37:31 verbose #25389 > >                     |> am'.sort_by snd
00:37:31 verbose #25390 > >                     |> am'.index 0i32
00:37:31 verbose #25391 > >                     |> sm'.format
00:37:31 verbose #25392 > >                 inl row =
00:37:31 verbose #25393 > >                     [[
00:37:31 verbose #25394 > >                         result.input |> sm'.ellipsis_end 40 |> sm'.replace "|"
00:37:31 verbose #25395 > > ""
00:37:31 verbose #25396 > >                         result.expected
00:37:31 verbose #25397 > >                         result.result
00:37:31 verbose #25398 > >                         best
00:37:31 verbose #25399 > >                     ]]
00:37:31 verbose #25400 > >                 inl color : option console.console_color =
00:37:31 verbose #25401 > >                     open console
00:37:31 verbose #25402 > >                     match result.expected = result.result with
00:37:31 verbose #25403 > >                     | true => Some $'`console_color.DarkGreen'
00:37:31 verbose #25404 > >                     | false => Some $'`console_color.DarkRed'
00:37:31 verbose #25405 > >                 row, color
00:37:31 verbose #25406 > >
00:37:31 verbose #25407 > >         inl header =
00:37:31 verbose #25408 > >             [[
00:37:31 verbose #25409 > >                 [[
00:37:31 verbose #25410 > >                     "input"
00:37:31 verbose #25411 > >                     "expected"
00:37:31 verbose #25412 > >                     "result"
00:37:31 verbose #25413 > >                     "best"
00:37:31 verbose #25414 > >                 ]]
00:37:31 verbose #25415 > >                 [[
00:37:31 verbose #25416 > >                     "---"
00:37:31 verbose #25417 > >                     "---"
00:37:31 verbose #25418 > >                     "---"
00:37:31 verbose #25419 > >                     "---"
00:37:31 verbose #25420 > >                 ]]
00:37:31 verbose #25421 > >             ]]
00:37:31 verbose #25422 > >             |> listm.map fun row => row, None
00:37:31 verbose #25423 > >             |> listm'.box
00:37:31 verbose #25424 > >             |> listm'.to_array'
00:37:31 verbose #25425 > >             |> fun x => a x : _ int _
00:37:31 verbose #25426 > >         a rows
00:37:31 verbose #25427 > >         |> am.append header
00:37:31 verbose #25428 > >         |> fun (a x) => x
00:37:31 verbose #25429 > >
00:37:31 verbose #25430 > >     inl formatted_table =
00:37:31 verbose #25431 > >         inl length_map : mapm.map i32 i64 =
00:37:31 verbose #25432 > >             table
00:37:31 verbose #25433 > >             |> am'.map_base (fst >> listm'.box >> listm'.to_array')
00:37:31 verbose #25434 > >             |> am'.transpose
00:37:31 verbose #25435 > >             |> am'.map_base fun column =>
00:37:31 verbose #25436 > >                 column
00:37:31 verbose #25437 > >                 |> am'.map_base sm.length
00:37:31 verbose #25438 > >                 |> fun x => a x : _ int _
00:37:31 verbose #25439 > >                 |> am'.sort_descending
00:37:31 verbose #25440 > >                 |> am'.try_item 0i32
00:37:31 verbose #25441 > >                 |> optionm'.default_value 0i64
00:37:31 verbose #25442 > >             |> am'.indexed
00:37:31 verbose #25443 > >             |> fun x => a x : _ int _
00:37:31 verbose #25444 > >             |> mapm.of_array
00:37:31 verbose #25445 > >         table
00:37:31 verbose #25446 > >         |> am'.map_base fun (row, color) =>
00:37:31 verbose #25447 > >             inl new_row =
00:37:31 verbose #25448 > >                 row
00:37:31 verbose #25449 > >                 |> listm'.indexed
00:37:31 verbose #25450 > >                 |> listm.map fun (i, cell) =>
00:37:31 verbose #25451 > >                     cell |> sm'.pad_right (length_map |> mapm.item i |> conv) '
00:37:31 verbose #25452 > > '
00:37:31 verbose #25453 > >                 |> listm'.box
00:37:31 verbose #25454 > >                 |> listm'.to_array'
00:37:31 verbose #25455 > >             new_row, color
00:37:31 verbose #25456 > >
00:37:31 verbose #25457 > >     console.write_line "```"
00:37:31 verbose #25458 > >     formatted_table
00:37:31 verbose #25459 > >     |> fun x => a x : _ int _
00:37:31 verbose #25460 > >     |> am'.to_list'
00:37:31 verbose #25461 > >     |> listm'.unbox
00:37:31 verbose #25462 > >     |> listm.iter fun (row, color) =>
00:37:31 verbose #25463 > >         match color with
00:37:31 verbose #25464 > >         | Some color => color |> console.set_foreground_color
00:37:31 verbose #25465 > >         | None => console.reset_color ()
00:37:31 verbose #25466 > >
00:37:31 verbose #25467 > >         a row |> sm'.join' "\t| " |> console.write_line
00:37:31 verbose #25468 > >
00:37:31 verbose #25469 > >         console.reset_color ()
00:37:31 verbose #25470 > >
00:37:31 verbose #25471 > >     inl averages =
00:37:31 verbose #25472 > >         results
00:37:31 verbose #25473 > >         |> am'.map_base fun result =>
00:37:31 verbose #25474 > >             result.time_list
00:37:31 verbose #25475 > >             |> am'.map_base ($'float' : i64 -> f64)
00:37:31 verbose #25476 > >         |> am'.transpose
00:37:31 verbose #25477 > >         |> am'.map_base ((fun x => a x : _ int _) >> am'.average)
00:37:31 verbose #25478 > >         |> am'.map_base ($'int64' : f64 -> i64)
00:37:31 verbose #25479 > >         |> am'.indexed
00:37:31 verbose #25480 > >         |> fun x => a x : _ u64 _
00:37:31 verbose #25481 > >
00:37:31 verbose #25482 > >     console.write_line "```"
00:37:31 verbose #25483 > >     averages
00:37:31 verbose #25484 > >     |> am'.sort_by snd
00:37:31 verbose #25485 > >     |> am'.to_list'
00:37:31 verbose #25486 > >     |> listm'.unbox
00:37:31 verbose #25487 > >     |> listm.iter fun ((i : i32), avg) =>
00:37:31 verbose #25488 > >         trace Verbose
00:37:31 verbose #25489 > >             fun () => $'$"benchmark.sort_result_list / averages.iter"'
00:37:31 verbose #25490 > >             fun () => { i = i + 1; avg }
00:37:31 verbose #25491 > >     console.write_line "```"
00:37:31 verbose #25492 > 00:37:30   debug #1462 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7e08eb848abcbf5ab1274881b8563a46f4525f1cf586f2a0cedf68cb13d0472e/main.spi
00:37:31 verbose #25493 > >
00:37:31 verbose #25494 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:31 verbose #25495 > > //// test
00:37:31 verbose #25496 > >
00:37:31 verbose #25497 > > inl is_fast () =
00:37:31 verbose #25498 > >     false
00:37:31 verbose #25499 > 00:37:30   debug #1463 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c170003e2c18e797b7c4691a459c15edb09b57cb7e2cef450225b4a4ee8cd564/main.spi
00:37:31 verbose #25500 > >
00:37:31 verbose #25501 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:31 verbose #25502 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:31 verbose #25503 > > │ ### empty2Tests                                                              │
00:37:31 verbose #25504 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:31 verbose #25505 > >
00:37:31 verbose #25506 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:31 verbose #25507 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:31 verbose #25508 > > │ Test: Empty2                                                                 │
00:37:31 verbose #25509 > > │                                                                              │
00:37:31 verbose #25510 > > │ Solution: (a, a)                                                             │
00:37:31 verbose #25511 > > │ Test case 1. A. Time: 59L                                                    │
00:37:31 verbose #25512 > > │                                                                              │
00:37:31 verbose #25513 > > │ Solution: (a, a)                                                             │
00:37:31 verbose #25514 > > │ Test case 1. A. Time: 53L                                                    │
00:37:31 verbose #25515 > > │                                                                              │
00:37:31 verbose #25516 > > │ Input   | Expected        | Result  | Best                                   │
00:37:31 verbose #25517 > > │ ---     | ---             | ---     | ---                                    │
00:37:31 verbose #25518 > > │ (a, a)  | a               | a       | (1, 59)                                │
00:37:31 verbose #25519 > > │ (a, a)  | a               | a       | (1, 53)                                │
00:37:31 verbose #25520 > > │                                                                              │
00:37:31 verbose #25521 > > │ Averages                                                                     │
00:37:31 verbose #25522 > > │ Test case 1. Average Time: 56L                                               │
00:37:31 verbose #25523 > > │                                                                              │
00:37:31 verbose #25524 > > │ Ranking                                                                      │
00:37:31 verbose #25525 > > │ Test case 1. Average Time: 56L                                               │
00:37:31 verbose #25526 > > │                                                                              │
00:37:31 verbose #25527 > > │ ---                                                                          │
00:37:31 verbose #25528 > > │                                                                              │
00:37:31 verbose #25529 > > │                                                                              │
00:37:31 verbose #25530 > > │ ```                                                                          │
00:37:31 verbose #25531 > > │ 01:12:03 verbose #1 benchmark.run_all / {count = 2000000; test_name =   │
00:37:31 verbose #25532 > > │ empty_2_tests}                                                               │
00:37:31 verbose #25533 > > │ 01:12:03 verbose #2 benchmark.run / {count = 2000000; expected = a;     │
00:37:31 verbose #25534 > > │ input = a, a; input_str = struct ("a", "a")}                                 │
00:37:31 verbose #25535 > > │ 01:12:03 verbose #3 benchmark.run / solutions.map / {count = 2000000;   │
00:37:31 verbose #25536 > > │ expected = a; i = 0; input = a, a; input_str = struct ("a", "a"); test_name  │
00:37:31 verbose #25537 > > │ = A; time = 119}                                                             │
00:37:31 verbose #25538 > > │ 01:12:04 verbose #4 benchmark.run / solutions.map / {count = 2000000;   │
00:37:31 verbose #25539 > > │ expected = a; i = 1; input = a, a; input_str = struct ("a", "a"); test_name  │
00:37:31 verbose #25540 > > │ = B; time = 122}                                                             │
00:37:31 verbose #25541 > > │ 01:12:04 verbose #5 benchmark.run / {count = 2000000; expected = b;     │
00:37:31 verbose #25542 > > │ input = b, b; input_str = struct ("b", "b")}                                 │
00:37:31 verbose #25543 > > │ 01:12:04 verbose #6 benchmark.run / solutions.map / {count = 2000000;   │
00:37:31 verbose #25544 > > │ expected = b; i = 0; input = b, b; input_str = struct ("b", "b"); test_name  │
00:37:31 verbose #25545 > > │ = A; time = 110}                                                             │
00:37:31 verbose #25546 > > │ 01:12:04 verbose #7 benchmark.run / solutions.map / {count = 2000000;   │
00:37:31 verbose #25547 > > │ expected = b; i = 1; input = b, b; input_str = struct ("b", "b"); test_name  │
00:37:31 verbose #25548 > > │ = B; time = 120}                                                             │
00:37:31 verbose #25549 > > │ ```                                                                          │
00:37:31 verbose #25550 > > │ Input            	| Expected	| Result	| Best                                       │
00:37:31 verbose #25551 > > │ ---              	| ---     	| ---   	| ---                                        │
00:37:31 verbose #25552 > > │ struct ("a", "a")	| "a"     	| "a"   	| struct (1L, 119L)                          │
00:37:31 verbose #25553 > > │ struct ("b", "b")	| "b"     	| "b"   	| struct (1L, 110L)                          │
00:37:31 verbose #25554 > > │ ```                                                                          │
00:37:31 verbose #25555 > > │ 01:12:04 verbose #8 benchmark.sort_result_list / averages.iter / {avg = │
00:37:31 verbose #25556 > > │ 114; i = 0}                                                                  │
00:37:31 verbose #25557 > > │ 01:12:04 verbose #9 benchmark.sort_result_list / averages.iter / {avg = │
00:37:31 verbose #25558 > > │ 121; i = 1}                                                                  │
00:37:31 verbose #25559 > > │ ```                                                                          │
00:37:31 verbose #25560 > > │ `                                                                            │
00:37:31 verbose #25561 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:31 verbose #25562 > >
00:37:31 verbose #25563 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:31 verbose #25564 > > //// test
00:37:31 verbose #25565 > >
00:37:31 verbose #25566 > > inl get_solutions () =
00:37:31 verbose #25567 > >     [[
00:37:31 verbose #25568 > >         "A",
00:37:31 verbose #25569 > >         fun (a, _b) =>
00:37:31 verbose #25570 > >             a
00:37:31 verbose #25571 > >
00:37:31 verbose #25572 > >         "B",
00:37:31 verbose #25573 > >         fun (_a, b) =>
00:37:31 verbose #25574 > >             b
00:37:31 verbose #25575 > >     ]]
00:37:31 verbose #25576 > >
00:37:31 verbose #25577 > > inl rec empty_2_tests () =
00:37:31 verbose #25578 > >     inl test_cases = [[
00:37:31 verbose #25579 > >         ("a", "a"), "a"
00:37:31 verbose #25580 > >         ("b", "b"), "b"
00:37:31 verbose #25581 > >     ]]
00:37:31 verbose #25582 > >
00:37:31 verbose #25583 > >     inl solutions = get_solutions ()
00:37:31 verbose #25584 > >
00:37:31 verbose #25585 > >     // inl is_fast () = true
00:37:31 verbose #25586 > >
00:37:31 verbose #25587 > >     inl count =
00:37:31 verbose #25588 > >         if is_fast ()
00:37:31 verbose #25589 > >         then 1000i32
00:37:31 verbose #25590 > >         else 2000000i32
00:37:31 verbose #25591 > >
00:37:31 verbose #25592 > >     run_all (reflection.nameof { empty_2_tests }) count solutions test_cases
00:37:31 verbose #25593 > >     |> sort_result_list
00:37:31 verbose #25594 > >
00:37:31 verbose #25595 > > empty_2_tests ()
00:37:32 verbose #25596 > 00:37:31   debug #1464 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ba852c5eae3b1c6b84856391478800b2483b999a9c78b21e5c433cd85d569b54/main.spi
00:37:37 verbose #25597 > >
00:37:37 verbose #25598 > > ╭─[ 5.19s - stdout ]───────────────────────────────────────────────────────────╮
00:37:37 verbose #25599 > > │                                                                              │
00:37:37 verbose #25600 > > │ ```                                                                          │
00:37:37 verbose #25601 > > │ 00:00:00 verbose #1 benchmark.run_all / { test_name = empty_2_tests;    │
00:37:37 verbose #25602 > > │ count = 2000000 }                                                            │
00:37:37 verbose #25603 > > │                                                                              │
00:37:37 verbose #25604 > > │ 00:00:00 verbose #2 benchmark.run / { input_str = struct ("a", "a") }   │
00:37:37 verbose #25605 > > │ 00:00:00 verbose #3 benchmark.run / solutions.map / { i = 1; test_name  │
00:37:37 verbose #25606 > > │ = A; time = 140 }                                                            │
00:37:37 verbose #25607 > > │ 00:00:00 verbose #4 benchmark.run / solutions.map / { i = 2; test_name  │
00:37:37 verbose #25608 > > │ = B; time = 116 }                                                            │
00:37:37 verbose #25609 > > │                                                                              │
00:37:37 verbose #25610 > > │ 00:00:00 verbose #5 benchmark.run / { input_str = struct ("b", "b") }   │
00:37:37 verbose #25611 > > │ 00:00:00 verbose #6 benchmark.run / solutions.map / { i = 1; test_name  │
00:37:37 verbose #25612 > > │ = A; time = 133 }                                                            │
00:37:37 verbose #25613 > > │ 00:00:01 verbose #7 benchmark.run / solutions.map / { i = 2; test_name  │
00:37:37 verbose #25614 > > │ = B; time = 133 }                                                            │
00:37:37 verbose #25615 > > │ ```                                                                          │
00:37:37 verbose #25616 > > │ input            	| expected	| result	| best                                       │
00:37:37 verbose #25617 > > │ ---              	| ---     	| ---   	| ---                                        │
00:37:37 verbose #25618 > > │ struct ("a", "a")	| "a"     	| "a"   	| 2, 116                                     │
00:37:37 verbose #25619 > > │ struct ("b", "b")	| "b"     	| "b"   	| 1, 133                                     │
00:37:37 verbose #25620 > > │ ```                                                                          │
00:37:37 verbose #25621 > > │ 00:00:01 verbose #8 benchmark.sort_result_list / averages.iter / { i =  │
00:37:37 verbose #25622 > > │ 2; avg = 124 }                                                               │
00:37:37 verbose #25623 > > │ 00:00:01 verbose #9 benchmark.sort_result_list / averages.iter / { i =  │
00:37:37 verbose #25624 > > │ 1; avg = 136 }                                                               │
00:37:37 verbose #25625 > > │ ```                                                                          │
00:37:37 verbose #25626 > > │                                                                              │
00:37:37 verbose #25627 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:37 verbose #25628 > >
00:37:37 verbose #25629 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:37 verbose #25630 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:37 verbose #25631 > > │ ### emptyTests                                                               │
00:37:37 verbose #25632 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:37 verbose #25633 > >
00:37:37 verbose #25634 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:37 verbose #25635 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:37 verbose #25636 > > │ Test: Empty                                                                  │
00:37:37 verbose #25637 > > │                                                                              │
00:37:37 verbose #25638 > > │ Solution: 0                                                                  │
00:37:37 verbose #25639 > > │ Test case 1. A. Time: 61L                                                    │
00:37:37 verbose #25640 > > │                                                                              │
00:37:37 verbose #25641 > > │ Solution: 2                                                                  │
00:37:37 verbose #25642 > > │ Test case 1. A. Time: 62L                                                    │
00:37:37 verbose #25643 > > │                                                                              │
00:37:37 verbose #25644 > > │ Solution: 5                                                                  │
00:37:37 verbose #25645 > > │ Test case 1. A. Time: 70L                                                    │
00:37:37 verbose #25646 > > │                                                                              │
00:37:37 verbose #25647 > > │ Input   | Expected        | Result  | Best                                   │
00:37:37 verbose #25648 > > │ ---     | ---             | ---     | ---                                    │
00:37:37 verbose #25649 > > │ 0       | 0               | 0       | (1, 61)                                │
00:37:37 verbose #25650 > > │ 2       | 2               | 2       | (1, 62)                                │
00:37:37 verbose #25651 > > │ 5       | 5               | 5       | (1, 70)                                │
00:37:37 verbose #25652 > > │                                                                              │
00:37:37 verbose #25653 > > │ Averages                                                                     │
00:37:37 verbose #25654 > > │ Test case 1. Average Time: 64L                                               │
00:37:37 verbose #25655 > > │                                                                              │
00:37:37 verbose #25656 > > │ Ranking                                                                      │
00:37:37 verbose #25657 > > │ Test case 1. Average Time: 64L                                               │
00:37:37 verbose #25658 > > │                                                                              │
00:37:37 verbose #25659 > > │ ---                                                                          │
00:37:37 verbose #25660 > > │                                                                              │
00:37:37 verbose #25661 > > │ ```                                                                          │
00:37:37 verbose #25662 > > │ 01:21:25 verbose #1 benchmark.run_all / {count = 2000000; test_name =   │
00:37:37 verbose #25663 > > │ empty_1_tests}                                                               │
00:37:37 verbose #25664 > > │ 01:21:25 verbose #2 benchmark.run / {count = 2000000; expected =        │
00:37:37 verbose #25665 > > │ +1.000000; input = +0.000000; input_str = 0.0}                               │
00:37:37 verbose #25666 > > │ 01:21:25 verbose #3 benchmark.run / solutions.map / {count = 2000000;   │
00:37:37 verbose #25667 > > │ expected = +1.000000; i = 0; input = +0.000000; input_str = 0.0; test_name = │
00:37:37 verbose #25668 > > │ A; time = 36}                                                                │
00:37:37 verbose #25669 > > │ 01:21:25 verbose #4 benchmark.run / {count = 2000000; expected =        │
00:37:37 verbose #25670 > > │ +3.000000; input = +2.000000; input_str = 2.0}                               │
00:37:37 verbose #25671 > > │ 01:21:25 verbose #5 benchmark.run / solutions.map / {count = 2000000;   │
00:37:37 verbose #25672 > > │ expected = +3.000000; i = 0; input = +2.000000; input_str = 2.0; test_name = │
00:37:37 verbose #25673 > > │ A; time = 20}                                                                │
00:37:37 verbose #25674 > > │ 01:21:25 verbose #6 benchmark.run / {count = 2000000; expected =        │
00:37:37 verbose #25675 > > │ +6.000000; input = +5.000000; input_str = 5.0}                               │
00:37:37 verbose #25676 > > │ 01:21:25 verbose #7 benchmark.run / solutions.map / {count = 2000000;   │
00:37:37 verbose #25677 > > │ expected = +6.000000; i = 0; input = +5.000000; input_str = 5.0; test_name = │
00:37:37 verbose #25678 > > │ A; time = 22}                                                                │
00:37:37 verbose #25679 > > │ ```                                                                          │
00:37:37 verbose #25680 > > │ Input	| Expected	| Result	| Best                                                   │
00:37:37 verbose #25681 > > │ ---  	| ---     	| ---   	| ---                                                    │
00:37:37 verbose #25682 > > │ 0.0  	| 1.0     	| 1.0   	| struct (1L, 36L)                                       │
00:37:37 verbose #25683 > > │ 2.0  	| 3.0     	| 3.0   	| struct (1L, 20L)                                       │
00:37:37 verbose #25684 > > │ 5.0  	| 6.0     	| 6.0   	| struct (1L, 22L)                                       │
00:37:37 verbose #25685 > > │ ```                                                                          │
00:37:37 verbose #25686 > > │ 01:21:25 verbose #8 benchmark.sort_result_list / averages.iter / {avg = │
00:37:37 verbose #25687 > > │ 26; i = 0}                                                                   │
00:37:37 verbose #25688 > > │ ```                                                                          │
00:37:37 verbose #25689 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:37 verbose #25690 > >
00:37:37 verbose #25691 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:37:37 verbose #25692 > > //// test
00:37:37 verbose #25693 > >
00:37:37 verbose #25694 > > inl get_solutions () =
00:37:37 verbose #25695 > >     [[
00:37:37 verbose #25696 > >         "A",
00:37:37 verbose #25697 > >         fun n =>
00:37:37 verbose #25698 > >             n + 1f64
00:37:37 verbose #25699 > >     ]]
00:37:37 verbose #25700 > >
00:37:37 verbose #25701 > > inl rec empty_1_tests () =
00:37:37 verbose #25702 > >     inl test_cases = [[
00:37:37 verbose #25703 > >         0, 1
00:37:37 verbose #25704 > >         2, 3
00:37:37 verbose #25705 > >         5, 6
00:37:37 verbose #25706 > >     ]]
00:37:37 verbose #25707 > >
00:37:37 verbose #25708 > >     inl solutions = get_solutions ()
00:37:37 verbose #25709 > >
00:37:37 verbose #25710 > >     // inl is_fast () = true
00:37:37 verbose #25711 > >
00:37:37 verbose #25712 > >     inl count =
00:37:37 verbose #25713 > >         if is_fast ()
00:37:37 verbose #25714 > >         then 1000i32
00:37:37 verbose #25715 > >         else 2000000i32
00:37:37 verbose #25716 > >
00:37:37 verbose #25717 > >     run_all (reflection.nameof { empty_1_tests }) count solutions test_cases
00:37:37 verbose #25718 > >     |> sort_result_list
00:37:37 verbose #25719 > >
00:37:37 verbose #25720 > > empty_1_tests ()
00:37:37 verbose #25721 > 00:37:36   debug #1465 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/21bf73bb807bd227f12854ea69a02118996cd90e47a68c34380920581c379ae3/main.spi
00:37:40 verbose #25722 > >
00:37:40 verbose #25723 > > ╭─[ 3.01s - stdout ]───────────────────────────────────────────────────────────╮
00:37:40 verbose #25724 > > │                                                                              │
00:37:40 verbose #25725 > > │ ```                                                                          │
00:37:40 verbose #25726 > > │ 00:00:00 verbose #1 benchmark.run_all / { test_name = empty_1_tests;    │
00:37:40 verbose #25727 > > │ count = 2000000 }                                                            │
00:37:40 verbose #25728 > > │                                                                              │
00:37:40 verbose #25729 > > │ 00:00:00 verbose #2 benchmark.run / { input_str = 0.0 }                 │
00:37:40 verbose #25730 > > │ 00:00:00 verbose #3 benchmark.run / solutions.map / { i = 1; test_name  │
00:37:40 verbose #25731 > > │ = A; time = 26 }                                                             │
00:37:40 verbose #25732 > > │                                                                              │
00:37:40 verbose #25733 > > │ 00:00:00 verbose #4 benchmark.run / { input_str = 2.0 }                 │
00:37:40 verbose #25734 > > │ 00:00:00 verbose #5 benchmark.run / solutions.map / { i = 1; test_name  │
00:37:40 verbose #25735 > > │ = A; time = 16 }                                                             │
00:37:40 verbose #25736 > > │                                                                              │
00:37:40 verbose #25737 > > │ 00:00:00 verbose #6 benchmark.run / { input_str = 5.0 }                 │
00:37:40 verbose #25738 > > │ 00:00:00 verbose #7 benchmark.run / solutions.map / { i = 1; test_name  │
00:37:40 verbose #25739 > > │ = A; time = 14 }                                                             │
00:37:40 verbose #25740 > > │ ```                                                                          │
00:37:40 verbose #25741 > > │ input	| expected	| result	| best                                                   │
00:37:40 verbose #25742 > > │ ---  	| ---     	| ---   	| ---                                                    │
00:37:40 verbose #25743 > > │ 0.0  	| 1.0     	| 1.0   	| 1, 26                                                  │
00:37:40 verbose #25744 > > │ 2.0  	| 3.0     	| 3.0   	| 1, 16                                                  │
00:37:40 verbose #25745 > > │ 5.0  	| 6.0     	| 6.0   	| 1, 14                                                  │
00:37:40 verbose #25746 > > │ ```                                                                          │
00:37:40 verbose #25747 > > │ 00:00:00 verbose #8 benchmark.sort_result_list / averages.iter / { i =  │
00:37:40 verbose #25748 > > │ 1; avg = 18 }                                                                │
00:37:40 verbose #25749 > > │ ```                                                                          │
00:37:40 verbose #25750 > > │                                                                              │
00:37:40 verbose #25751 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:37:40 verbose #25752 > 00:00:18 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 24854 }
00:37:40 verbose #25753 > 00:00:18   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:37:40 verbose #25754 >     "nbconvert",
00:37:40 verbose #25755 >     "c:/home/git/polyglot/lib/spiral/benchmark.dib.ipynb",
00:37:40 verbose #25756 >     "--to",
00:37:40 verbose #25757 >     "html",
00:37:40 verbose #25758 >     "--HTMLExporter.theme=dark",
00:37:40 verbose #25759 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/benchmark.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:37:42 verbose #25760 > 00:00:20 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/benchmark.dib.ipynb to html
00:37:42 verbose #25761 > 00:00:20 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:37:42 verbose #25762 > 00:00:20 verbose #7 !   validate(nb)
00:37:43 verbose #25763 > 00:00:21 verbose #8 ! [NbConvertApp] Writing 316754 bytes to c:\home\git\polyglot\lib\spiral\benchmark.dib.html
00:37:43 verbose #25764 > 00:00:21 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 649 }
00:37:43 verbose #25765 > 00:00:21   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 649 }
00:37:43 verbose #25766 > 00:00:21   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:37:43 verbose #25767 >     "-c",
00:37:43 verbose #25768 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/benchmark.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:37:43 verbose #25769 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/benchmark.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:37:44 verbose #25770 > 00:00:22 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:37:44 verbose #25771 > 00:00:22   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:37:45 verbose #25772 > 00:00:23   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 25562 }
00:37:45   debug #25773 runtime.execute_with_options_async / { exit_code = 0; output_length = 29257 }
00:37:45   debug #34 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path benchmark.dib --retries 3
00:37:45   debug #25774 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path physics.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:37:45 verbose #25775 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "physics.dib", "--retries", "3"])) }
00:37:45 verbose #25776 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:37:45 verbose #25777 >     "repl",
00:37:45 verbose #25778 >     "--exit-after-run",
00:37:45 verbose #25779 >     "--run",
00:37:45 verbose #25780 >     "c:/home/git/polyglot/lib/spiral/physics.dib",
00:37:45 verbose #25781 >     "--output-path",
00:37:45 verbose #25782 >     "c:/home/git/polyglot/lib/spiral/physics.dib.ipynb",
00:37:45 verbose #25783 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/physics.dib" --output-path "c:/home/git/polyglot/lib/spiral/physics.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:37:47 verbose #25784 > >
00:37:47 verbose #25785 > > ── markdown ────────────────────────────────────────────────────────────────────
00:37:47 verbose #25786 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:37:47 verbose #25787 > > │ # physics                                                                    │
00:37:47 verbose #25788 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:09 verbose #25789 > >
00:38:09 verbose #25790 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:09 verbose #25791 > > //// test
00:38:09 verbose #25792 > >
00:38:09 verbose #25793 > > open testing
00:38:10 verbose #25794 > 00:38:09   debug #1466 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:38:10 verbose #25795 > >
00:38:10 verbose #25796 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:10 verbose #25797 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:10 verbose #25798 > > │ ### init_series                                                              │
00:38:10 verbose #25799 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:10 verbose #25800 > >
00:38:10 verbose #25801 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:10 verbose #25802 > > //// test
00:38:10 verbose #25803 > >
00:38:10 verbose #25804 > > inl x = am'.init_series -3f64 3 0.01
00:38:10 verbose #25805 > > inl y = x |> am'.map_base math.square
00:38:10 verbose #25806 > > "square", "x", "y", ;[[ "square", x, y ]]
00:38:10 verbose #25807 > 00:38:09   debug #1467 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1a7ad985805fb6991339e38a1741fe40fa03196f8017dcafcb6a3a6ccd6d666f/main.spi
00:38:10 verbose #25808 > >
00:38:10 verbose #25809 > > ╭─[ 414.41ms - return value ]──────────────────────────────────────────────────╮
00:38:10 verbose #25810 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:10 verbose #25811 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:10 verbose #25812 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:10 verbose #25813 > > │ stroke="none"/>                                                              │
00:38:10 verbose #25814 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:10 verbose #25815 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:10 verbose #25816 > > │ fill="#FFFFFF">                                                              │
00:38:10 verbose #25817 > > │ square                                                                       │
00:38:10 verbose #25818 > > │ </text>                                                                      │
00:38:10 verbose #25819 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:38:10 verbose #25820 > > │ y2="75"/>                                                                    │
00:38:10 verbose #25821 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:10 verbose #25822 > > │ y2="75"/>                                                                    │
00:38:10 verbose #25823 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:38:10 verbose #25824 > > │ y2="75"/>                                                                    │
00:38:10 verbose #25825 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:38:10 verbose #25826 > > │ y2="75"/>                                                                    │
00:38:10 verbose #25827 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:38:10 verbose #25828 > > │ y2="75"/>                                                                    │
00:38:10 verbose #25829 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="103" y1="424"        │
00:38:10 verbose #25830 > > │ x2="103" y2="75"/>                                                           │
00:38:10 verbose #25831 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="111" y1="424"        │
00:38:10 verbose #25832 > > │ x2="111" y2="75"/>                                                           │
00:38:10 verbose #25833 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:10 verbose #25834 > > │ x2="119" y2="75"/>                                                           │
00:38:10 verbose #25835 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="128" y1="424"        │
00:38:10 verbose #25836 > > │ x2="128" y2="75"/>                                                           │
00:38:10 verbose #25837 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="136" y1="424"        │
00:38:10 verbose #25838 > > │ x2="136" y2="75"/>                                                           │
00:38:10 verbose #25839 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="144" y1="424"        │
00:38:10 verbose #25840 > > │ x2="144" y2="75"/>                                                           │
00:38:10 verbose #25841 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="153" y1="424"        │
00:38:10 verbose #25842 > > │ x2="153" y2="75"/>                                                           │
00:38:10 verbose #25843 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="161" y1="424"        │
00:38:10 verbose #25844 > > │ x2="161" y2="75"/>                                                           │
00:38:10 verbose #25845 > > │ <line opacity="1" stroke="#... 449,326 450,324 450,323 451,322 452,321       │
00:38:10 verbose #25846 > > │ 453,320 454,319 455,317 455,316 456,315 457,314 458,313 459,311 460,310      │
00:38:10 verbose #25847 > > │ 460,309 461,308 462,306 463,305 464,304 465,303 465,301 466,300 467,299      │
00:38:10 verbose #25848 > > │ 468,297 469,296 470,295 470,293 471,292 472,291 473,289 474,288 475,287      │
00:38:10 verbose #25849 > > │ 475,285 476,284 477,283 478,281 479,280 480,278 480,277 481,276 482,274      │
00:38:10 verbose #25850 > > │ 483,273 484,271 485,270 485,268 486,267 487,265 488,264 489,262 490,261      │
00:38:10 verbose #25851 > > │ 490,259 491,258 492,256 493,255 494,253 495,252 495,250 496,249 497,247      │
00:38:10 verbose #25852 > > │ 498,246 499,244 499,242 500,241 501,239 502,238 503,236 504,234 504,233      │
00:38:10 verbose #25853 > > │ 505,231 506,229 507,228 508,226 509,224 509,223 510,221 511,219 512,218      │
00:38:10 verbose #25854 > > │ 513,216 514,214 514,213 515,211 516,209 517,207 518,206 519,204 519,202      │
00:38:10 verbose #25855 > > │ 520,200 521,199 522,197 523,195 524,193 524,191 525,190 526,188 527,186      │
00:38:10 verbose #25856 > > │ 528,184 529,182 529,180 530,179 531,177 532,175 533,173 534,171 534,169      │
00:38:10 verbose #25857 > > │ 535,167 536,165 537,164 538,162 539,160 539,158 540,156 541,154 542,152      │
00:38:10 verbose #25858 > > │ 543,150 544,148 544,146 545,144 546,142 547,140 548,138 549,136 549,134      │
00:38:10 verbose #25859 > > │ 550,132 551,130 552,128 553,126 554,124 554,122 555,120 556,117 557,115      │
00:38:10 verbose #25860 > > │ 558,113 559,111 559,109 560,107 561,105 562,103 563,101 564,98 564,96 565,94 │
00:38:10 verbose #25861 > > │ 566,92 567,90 568,88 569,85 "/>                                              │
00:38:10 verbose #25862 > > │ <rect x="497" y="235" width="83" height="30" opacity="1" fill="none"         │
00:38:10 verbose #25863 > > │ stroke="#FFFFFF"/>                                                           │
00:38:10 verbose #25864 > > │ <text x="537" y="245" dy="0.76em" text-anchor="start"                        │
00:38:10 verbose #25865 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:10 verbose #25866 > > │ fill="#FFFFFF">                                                              │
00:38:10 verbose #25867 > > │ square                                                                       │
00:38:10 verbose #25868 > > │ </text>                                                                      │
00:38:10 verbose #25869 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:10 verbose #25870 > > │ points="507,250 527,250 "/>                                                  │
00:38:10 verbose #25871 > > │ </svg>                                                                       │
00:38:10 verbose #25872 > > │                                                                              │
00:38:10 verbose #25873 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:10 verbose #25874 > >
00:38:10 verbose #25875 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:10 verbose #25876 > > //// test
00:38:10 verbose #25877 > >
00:38:10 verbose #25878 > > inl x = am'.init_series -10f64 10 0.1
00:38:10 verbose #25879 > > inl y_sin = x |> am'.map_base sin
00:38:10 verbose #25880 > > inl y_cos = x |> am'.map_base cos
00:38:10 verbose #25881 > > "sin cos", "x", "y", ;[[ "sin", x, y_sin; "cos", x, y_cos ]]
00:38:11 verbose #25882 > 00:38:10   debug #1468 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/810b585c3b9f35674862bc78476fbff1b676964e99081f1b6297792e7fb0c079/main.spi
00:38:11 verbose #25883 > >
00:38:11 verbose #25884 > > ╭─[ 406.61ms - return value ]──────────────────────────────────────────────────╮
00:38:11 verbose #25885 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:11 verbose #25886 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:11 verbose #25887 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:11 verbose #25888 > > │ stroke="none"/>                                                              │
00:38:11 verbose #25889 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:11 verbose #25890 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:11 verbose #25891 > > │ fill="#FFFFFF">                                                              │
00:38:11 verbose #25892 > > │ sin cos                                                                      │
00:38:11 verbose #25893 > > │ </text>                                                                      │
00:38:11 verbose #25894 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:38:11 verbose #25895 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25896 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:11 verbose #25897 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25898 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:38:11 verbose #25899 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25900 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:38:11 verbose #25901 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25902 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1="424"        │
00:38:11 verbose #25903 > > │ x2="107" y2="75"/>                                                           │
00:38:11 verbose #25904 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:11 verbose #25905 > > │ x2="119" y2="75"/>                                                           │
00:38:11 verbose #25906 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="132" y1="424"        │
00:38:11 verbose #25907 > > │ x2="132" y2="75"/>                                                           │
00:38:11 verbose #25908 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="144" y1="424"        │
00:38:11 verbose #25909 > > │ x2="144" y2="75"/>                                                           │
00:38:11 verbose #25910 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="157" y1="424"        │
00:38:11 verbose #25911 > > │ x2="157" y2="75"/>                                                           │
00:38:11 verbose #25912 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:11 verbose #25913 > > │ x2="169" y2="75"/>                                                           │
00:38:11 verbose #25914 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="182" y1="424"        │
00:38:11 verbose #25915 > > │ x2="182" y2="75"/>                                                           │
00:38:11 verbose #25916 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="194" y1="424"        │
00:38:11 verbose #25917 > > │ x2="194" y2="75"/>                                                           │
00:38:11 verbose #25918 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="207" y1="424"        │
00:38:11 verbose #25919 > > │ x2="207" y2="75"/>                                                           │
00:38:11 verbose #25920 > > │ <line opacity="1" stroke...55 282,238 284,222 287,206 289,190 292,175        │
00:38:11 verbose #25921 > > │ 294,161 297,148 299,135 302,124 304,114 307,106 309,98 312,93 314,89 317,86  │
00:38:11 verbose #25922 > > │ 319,85 321,86 324,89 326,93 329,98 331,106 334,114 336,124 339,135 341,148   │
00:38:11 verbose #25923 > > │ 344,161 346,175 349,190 351,206 354,222 356,238 359,255 361,271 364,287      │
00:38:11 verbose #25924 > > │ 366,303 369,319 371,333 374,347 376,360 379,371 381,382 384,391 386,399      │
00:38:11 verbose #25925 > > │ 389,405 391,410 394,413 396,414 399,414 401,413 404,409 406,404 409,398      │
00:38:11 verbose #25926 > > │ 411,390 414,380 416,370 419,358 421,345 424,331 426,316 429,301 431,285      │
00:38:11 verbose #25927 > > │ 434,268 436,252 439,236 441,219 444,203 446,188 449,173 451,159 454,146      │
00:38:11 verbose #25928 > > │ 456,133 459,122 461,113 464,104 466,97 469,92 471,88 474,86 476,85 479,86    │
00:38:11 verbose #25929 > > │ 481,89 484,94 486,99 489,107 491,116 494,126 496,137 499,150 501,163 504,178 │
00:38:11 verbose #25930 > > │ 506,193 509,209 511,225 514,241 516,258 519,274 521,290 524,306 526,321      │
00:38:11 verbose #25931 > > │ 529,335 531,349 534,362 536,373 539,384 541,392 544,400 546,406 549,410      │
00:38:11 verbose #25932 > > │ 551,413 554,415 556,414 559,412 561,408 564,403 566,396 569,388 "/>          │
00:38:11 verbose #25933 > > │ <rect x="514" y="227" width="66" height="45" opacity="1" fill="none"         │
00:38:11 verbose #25934 > > │ stroke="#FFFFFF"/>                                                           │
00:38:11 verbose #25935 > > │ <text x="554" y="237" dy="0.76em" text-anchor="start"                        │
00:38:11 verbose #25936 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:11 verbose #25937 > > │ fill="#FFFFFF">                                                              │
00:38:11 verbose #25938 > > │ sin                                                                          │
00:38:11 verbose #25939 > > │ </text>                                                                      │
00:38:11 verbose #25940 > > │ <text x="554" y="252" dy="0.76em" text-anchor="start"                        │
00:38:11 verbose #25941 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:11 verbose #25942 > > │ fill="#FFFFFF">                                                              │
00:38:11 verbose #25943 > > │ cos                                                                          │
00:38:11 verbose #25944 > > │ </text>                                                                      │
00:38:11 verbose #25945 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:11 verbose #25946 > > │ points="524,242 544,242 "/>                                                  │
00:38:11 verbose #25947 > > │ <polyline fill="none" opacity="1" stroke="#0000FF" stroke-width="1"          │
00:38:11 verbose #25948 > > │ points="524,257 544,257 "/>                                                  │
00:38:11 verbose #25949 > > │ </svg>                                                                       │
00:38:11 verbose #25950 > > │                                                                              │
00:38:11 verbose #25951 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:11 verbose #25952 > >
00:38:11 verbose #25953 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:11 verbose #25954 > > //// test
00:38:11 verbose #25955 > >
00:38:11 verbose #25956 > > inl y_pos y0 vy0 ay t =
00:38:11 verbose #25957 > >     y0 + vy0 * t + ay * (t |> math.square) / 2
00:38:11 verbose #25958 > >
00:38:11 verbose #25959 > > inl x = am'.init_series 0f64 5 0.01
00:38:11 verbose #25960 > > inl y = x |> am'.map_base (y_pos 0 20 -9.8)
00:38:11 verbose #25961 > > "projectile motion", "time (s)", "", ;[[ "height of projectile (m)", x, y ]]
00:38:11 verbose #25962 > 00:38:10   debug #1469 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/288a212fee50dfad7344c70905581751e7325cba0d50c8c991d8ae508fd94a2f/main.spi
00:38:11 verbose #25963 > >
00:38:11 verbose #25964 > > ╭─[ 428.93ms - return value ]──────────────────────────────────────────────────╮
00:38:11 verbose #25965 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:11 verbose #25966 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:11 verbose #25967 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:11 verbose #25968 > > │ stroke="none"/>                                                              │
00:38:11 verbose #25969 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:11 verbose #25970 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:11 verbose #25971 > > │ fill="#FFFFFF">                                                              │
00:38:11 verbose #25972 > > │ projectile motion                                                            │
00:38:11 verbose #25973 > > │ </text>                                                                      │
00:38:11 verbose #25974 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:38:11 verbose #25975 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25976 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:11 verbose #25977 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25978 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:38:11 verbose #25979 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25980 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:38:11 verbose #25981 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25982 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="424" x2="99" │
00:38:11 verbose #25983 > > │ y2="75"/>                                                                    │
00:38:11 verbose #25984 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="109" y1="424"        │
00:38:11 verbose #25985 > > │ x2="109" y2="75"/>                                                           │
00:38:11 verbose #25986 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:11 verbose #25987 > > │ x2="119" y2="75"/>                                                           │
00:38:11 verbose #25988 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:11 verbose #25989 > > │ x2="129" y2="75"/>                                                           │
00:38:11 verbose #25990 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:11 verbose #25991 > > │ x2="139" y2="75"/>                                                           │
00:38:11 verbose #25992 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="149" y1="424"        │
00:38:11 verbose #25993 > > │ x2="149" y2="75"/>                                                           │
00:38:11 verbose #25994 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="159" y1="424"        │
00:38:11 verbose #25995 > > │ x2="159" y2="75"/>                                                           │
00:38:11 verbose #25996 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:11 verbose #25997 > > │ x2="169" y2="75"/>                                                           │
00:38:11 verbose #25998 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="179" y1="424"        │
00:38:11 verbose #25999 > > │ x2="179" y2="75"/>                                                           │
00:38:11 verbose #26000 > > │ <line opacity="1...28,176 429,177 430,178 431,179 432,180 433,182 434,183    │
00:38:11 verbose #26001 > > │ 435,184 436,185 437,186 438,188 439,189 440,190 441,191 442,193 443,194      │
00:38:11 verbose #26002 > > │ 444,195 445,197 446,198 447,199 448,200 449,202 450,203 451,204 452,206      │
00:38:11 verbose #26003 > > │ 453,207 454,208 455,210 456,211 457,213 458,214 459,215 460,217 461,218      │
00:38:11 verbose #26004 > > │ 462,220 463,221 464,222 465,224 466,225 467,227 468,228 469,230 470,231      │
00:38:11 verbose #26005 > > │ 471,233 472,234 473,236 474,237 475,239 476,240 477,242 478,243 479,245      │
00:38:11 verbose #26006 > > │ 480,246 481,248 482,249 483,251 484,253 485,254 486,256 487,257 488,259      │
00:38:11 verbose #26007 > > │ 489,261 490,262 491,264 492,266 493,267 494,269 495,271 496,272 497,274      │
00:38:11 verbose #26008 > > │ 498,276 499,277 500,279 501,281 502,282 503,284 504,286 505,288 506,289      │
00:38:11 verbose #26009 > > │ 507,291 508,293 509,295 510,296 511,298 512,300 513,302 514,304 515,305      │
00:38:11 verbose #26010 > > │ 516,307 517,309 518,311 519,313 520,315 521,316 522,318 523,320 524,322      │
00:38:11 verbose #26011 > > │ 525,324 526,326 527,328 528,330 529,332 530,334 531,335 532,337 533,339      │
00:38:11 verbose #26012 > > │ 534,341 535,343 536,345 537,347 538,349 539,351 540,353 541,355 542,357      │
00:38:11 verbose #26013 > > │ 543,359 544,361 545,363 546,365 547,367 548,370 549,372 550,374 551,376      │
00:38:11 verbose #26014 > > │ 552,378 553,380 554,382 555,384 556,386 557,388 558,391 559,393 560,395      │
00:38:11 verbose #26015 > > │ 561,397 562,399 563,401 564,404 565,406 566,408 567,410 568,412 569,415 "/>  │
00:38:11 verbose #26016 > > │ <rect x="399" y="235" width="181" height="30" opacity="1" fill="none"        │
00:38:11 verbose #26017 > > │ stroke="#FFFFFF"/>                                                           │
00:38:11 verbose #26018 > > │ <text x="439" y="245" dy="0.76em" text-anchor="start"                        │
00:38:11 verbose #26019 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:11 verbose #26020 > > │ fill="#FFFFFF">                                                              │
00:38:11 verbose #26021 > > │ height of projectile (m)                                                     │
00:38:11 verbose #26022 > > │ </text>                                                                      │
00:38:11 verbose #26023 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:11 verbose #26024 > > │ points="409,250 429,250 "/>                                                  │
00:38:11 verbose #26025 > > │ </svg>                                                                       │
00:38:11 verbose #26026 > > │                                                                              │
00:38:11 verbose #26027 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:11 verbose #26028 > >
00:38:11 verbose #26029 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:11 verbose #26030 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:11 verbose #26031 > > │ ### velocity_cf                                                              │
00:38:11 verbose #26032 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:11 verbose #26033 > >
00:38:11 verbose #26034 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:11 verbose #26035 > > type mass = f64
00:38:11 verbose #26036 > > type time = f64
00:38:11 verbose #26037 > > type position = f64
00:38:11 verbose #26038 > > type velocity = f64
00:38:11 verbose #26039 > > type force = f64
00:38:11 verbose #26040 > >
00:38:11 verbose #26041 > > type velocity_cf = mass -> velocity -> list force -> (time -> velocity)
00:38:11 verbose #26042 > >
00:38:11 verbose #26043 > > inl velocity_cf m v0 fs =
00:38:11 verbose #26044 > >     inl f_net = fs |> listm'.sum
00:38:11 verbose #26045 > >     inl a0 = f_net / m
00:38:11 verbose #26046 > >     inl v t = v0 + a0 * t
00:38:11 verbose #26047 > >     v
00:38:12 verbose #26048 > 00:38:11   debug #1470 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/313e4aa9581625299dff75773fb55c6630e9d836ce37307c6698d46513e882c3/main.spi
00:38:12 verbose #26049 > >
00:38:12 verbose #26050 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:12 verbose #26051 > > //// test
00:38:12 verbose #26052 > >
00:38:12 verbose #26053 > > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 0
00:38:12 verbose #26054 > > |> _assert_eq 0.6
00:38:12 verbose #26055 > >
00:38:12 verbose #26056 > > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 1
00:38:12 verbose #26057 > > |> _assert_eq 0.2
00:38:12 verbose #26058 > 00:38:11   debug #1471 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b69f07cd5cbe3602d135eb4804e16819046c15a1d304bc80652c08373bebc2f4/main.spi
00:38:12 verbose #26059 > >
00:38:12 verbose #26060 > > ╭─[ 378.05ms - stdout ]────────────────────────────────────────────────────────╮
00:38:12 verbose #26061 > > │ __assert_eq / actual: 0.6 / expected: 0.6                                    │
00:38:12 verbose #26062 > > │ __assert_eq / actual: 0.2 / expected: 0.2                                    │
00:38:12 verbose #26063 > > │                                                                              │
00:38:12 verbose #26064 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:12 verbose #26065 > >
00:38:12 verbose #26066 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:12 verbose #26067 > > //// test
00:38:12 verbose #26068 > >
00:38:12 verbose #26069 > > inl x = am'.init_series 0f64 4 0.1
00:38:12 verbose #26070 > > inl y = x |> am'.map_base (velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]])
00:38:12 verbose #26071 > > "car on an air track", "time (s)", "", ;[[ "velocity of car (m/s)", x, y ]]
00:38:12 verbose #26072 > 00:38:11   debug #1472 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4ee895a8c40325362074de083c9b61d797af55f40efe265c277931e43c6ad593/main.spi
00:38:12 verbose #26073 > >
00:38:12 verbose #26074 > > ╭─[ 341.63ms - return value ]──────────────────────────────────────────────────╮
00:38:12 verbose #26075 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:12 verbose #26076 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:12 verbose #26077 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:12 verbose #26078 > > │ stroke="none"/>                                                              │
00:38:12 verbose #26079 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:12 verbose #26080 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:12 verbose #26081 > > │ fill="#FFFFFF">                                                              │
00:38:12 verbose #26082 > > │ car on an air track                                                          │
00:38:12 verbose #26083 > > │ </text>                                                                      │
00:38:12 verbose #26084 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:38:12 verbose #26085 > > │ y2="75"/>                                                                    │
00:38:12 verbose #26086 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:12 verbose #26087 > > │ y2="75"/>                                                                    │
00:38:12 verbose #26088 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:38:12 verbose #26089 > > │ y2="75"/>                                                                    │
00:38:12 verbose #26090 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:38:12 verbose #26091 > > │ y2="75"/>                                                                    │
00:38:12 verbose #26092 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1="424"        │
00:38:12 verbose #26093 > > │ x2="107" y2="75"/>                                                           │
00:38:12 verbose #26094 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:12 verbose #26095 > > │ x2="119" y2="75"/>                                                           │
00:38:12 verbose #26096 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="132" y1="424"        │
00:38:12 verbose #26097 > > │ x2="132" y2="75"/>                                                           │
00:38:12 verbose #26098 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="144" y1="424"        │
00:38:12 verbose #26099 > > │ x2="144" y2="75"/>                                                           │
00:38:12 verbose #26100 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="157" y1="424"        │
00:38:12 verbose #26101 > > │ x2="157" y2="75"/>                                                           │
00:38:12 verbose #26102 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:12 verbose #26103 > > │ x2="169" y2="75"/>                                                           │
00:38:12 verbose #26104 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="182" y1="424"        │
00:38:12 verbose #26105 > > │ x2="182" y2="75"/>                                                           │
00:38:12 verbose #26106 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="194" y1="424"        │
00:38:12 verbose #26107 > > │ x2="194" y2="75"/>                                                           │
00:38:12 verbose #26108 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="207" y1="424"        │
00:38:12 verbose #26109 > > │ x2="207" y2="75"/>                                                           │
00:38:12 verbose #26110 > > │ <line opacit...85,209 590,209 "/>                                            │
00:38:12 verbose #26111 > > │ <text x="617" y="168" dy="0.5ex" text-anchor="end" font-family="sans-serif"  │
00:38:12 verbose #26112 > > │ font-size="9.67741935483871" opacity="1" fill="#FFFFFF">                     │
00:38:12 verbose #26113 > > │ 0.2                                                                          │
00:38:12 verbose #26114 > > │ </text>                                                                      │
00:38:12 verbose #26115 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:12 verbose #26116 > > │ points="585,168 590,168 "/>                                                  │
00:38:12 verbose #26117 > > │ <text x="617" y="127" dy="0.5ex" text-anchor="end" font-family="sans-serif"  │
00:38:12 verbose #26118 > > │ font-size="9.67741935483871" opacity="1" fill="#FFFFFF">                     │
00:38:12 verbose #26119 > > │ 0.4                                                                          │
00:38:12 verbose #26120 > > │ </text>                                                                      │
00:38:12 verbose #26121 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:12 verbose #26122 > > │ points="585,127 590,127 "/>                                                  │
00:38:12 verbose #26123 > > │ <text x="617" y="85" dy="0.5ex" text-anchor="end" font-family="sans-serif"   │
00:38:12 verbose #26124 > > │ font-size="9.67741935483871" opacity="1" fill="#FFFFFF">                     │
00:38:12 verbose #26125 > > │ 0.6                                                                          │
00:38:12 verbose #26126 > > │ </text>                                                                      │
00:38:12 verbose #26127 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:12 verbose #26128 > > │ points="585,85 590,85 "/>                                                    │
00:38:12 verbose #26129 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:12 verbose #26130 > > │ points="69,85 82,94 94,102 107,110 119,118 132,127 144,135 157,143 169,151   │
00:38:12 verbose #26131 > > │ 182,159 194,168 207,176 219,184 232,192 244,201 257,209 269,217 282,225      │
00:38:12 verbose #26132 > > │ 294,234 307,242 319,250 331,258 344,266 356,275 369,283 381,291 394,299      │
00:38:12 verbose #26133 > > │ 406,308 419,316 431,324 444,332 456,341 469,349 481,357 494,365 506,373      │
00:38:12 verbose #26134 > > │ 519,382 531,390 544,398 556,406 569,415 "/>                                  │
00:38:12 verbose #26135 > > │ <rect x="415" y="235" width="165" height="30" opacity="1" fill="none"        │
00:38:12 verbose #26136 > > │ stroke="#FFFFFF"/>                                                           │
00:38:12 verbose #26137 > > │ <text x="455" y="245" dy="0.76em" text-anchor="start"                        │
00:38:12 verbose #26138 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:12 verbose #26139 > > │ fill="#FFFFFF">                                                              │
00:38:12 verbose #26140 > > │ velocity of car (m/s)                                                        │
00:38:12 verbose #26141 > > │ </text>                                                                      │
00:38:12 verbose #26142 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:12 verbose #26143 > > │ points="425,250 445,250 "/>                                                  │
00:38:12 verbose #26144 > > │ </svg>                                                                       │
00:38:12 verbose #26145 > > │                                                                              │
00:38:12 verbose #26146 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:12 verbose #26147 > >
00:38:12 verbose #26148 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:12 verbose #26149 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:12 verbose #26150 > > │ ### derivative                                                               │
00:38:12 verbose #26151 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:12 verbose #26152 > >
00:38:12 verbose #26153 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:12 verbose #26154 > > type derivative = (f64 -> f64) -> f64 -> f64
00:38:12 verbose #26155 > >
00:38:12 verbose #26156 > > inl derivative dt : derivative =
00:38:12 verbose #26157 > >     fun x t =>
00:38:12 verbose #26158 > >         (x (t + dt / 2) - x (t - dt / 2)) / dt
00:38:13 verbose #26159 > 00:38:12   debug #1473 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8f860e1f3d0990020e70e2c28807ba63a8da055d56e1afb66cbc6abc219fbbef/main.spi
00:38:13 verbose #26160 > >
00:38:13 verbose #26161 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:13 verbose #26162 > > //// test
00:38:13 verbose #26163 > >
00:38:13 verbose #26164 > > derivative 1 (fun x => x ** 4 / 4) 1 - 1
00:38:13 verbose #26165 > > |> _assert_approx_eq None 0.25
00:38:13 verbose #26166 > >
00:38:13 verbose #26167 > > derivative 0.001 (fun x => x ** 4 / 4) 1 - 1
00:38:13 verbose #26168 > > |> _assert_approx_eq None 0.0000002499998827953931
00:38:13 verbose #26169 > >
00:38:13 verbose #26170 > > derivative 0.000001 (fun x => x ** 4 / 4) 1 - 1
00:38:13 verbose #26171 > > |> _assert_approx_eq None 0.000000000001000088900582341
00:38:13 verbose #26172 > >
00:38:13 verbose #26173 > > derivative 0.000000001 (fun x => x ** 4 / 4) 1 - 1
00:38:13 verbose #26174 > > |> _assert_approx_eq None 0.00000008274037099909037
00:38:13 verbose #26175 > >
00:38:13 verbose #26176 > > derivative 0.000000000001 (fun x => x ** 4 / 4) 1 - 1
00:38:13 verbose #26177 > > |> _assert_approx_eq None 0.00008890058234101161
00:38:13 verbose #26178 > >
00:38:13 verbose #26179 > > derivative 0.000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:38:13 verbose #26180 > > |> _assert_approx_eq None -0.0007992778373592246
00:38:13 verbose #26181 > >
00:38:13 verbose #26182 > > derivative 0.000000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:38:13 verbose #26183 > > |> _assert_approx_eq None -1
00:38:13 verbose #26184 > 00:38:12   debug #1474 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7628cf77d47c9e60c40b69653cec51d8eacf6028f0530fb6a8d9f7b39523ca38/main.spi
00:38:13 verbose #26185 > >
00:38:13 verbose #26186 > > ╭─[ 406.37ms - stdout ]────────────────────────────────────────────────────────╮
00:38:13 verbose #26187 > > │ __assert_approx_eq / actual: 0.25 / expected: 0.25                           │
00:38:13 verbose #26188 > > │ __assert_approx_eq / actual: 2.499998828e-07 / expected: 2.499998828e-07     │
00:38:13 verbose #26189 > > │ __assert_approx_eq / actual: 1.000088901e-12 / expected: 1.000088901e-12     │
00:38:13 verbose #26190 > > │ __assert_approx_eq / actual: 8.2740371e-08 / expected: 8.2740371e-08         │
00:38:13 verbose #26191 > > │ __assert_approx_eq / actual: 8.890058234e-05 / expected: 8.890058234e-05     │
00:38:13 verbose #26192 > > │ __assert_approx_eq / actual: -0.0007992778374 / expected: -0.0007992778374   │
00:38:13 verbose #26193 > > │ __assert_approx_eq / actual: -1.0 / expected: -1.0                           │
00:38:13 verbose #26194 > > │                                                                              │
00:38:13 verbose #26195 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:13 verbose #26196 > >
00:38:13 verbose #26197 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:13 verbose #26198 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:13 verbose #26199 > > │ ### integration                                                              │
00:38:13 verbose #26200 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:13 verbose #26201 > >
00:38:13 verbose #26202 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:13 verbose #26203 > > type integration = (f64 -> f64) -> f64 -> f64 -> f64
00:38:13 verbose #26204 > >
00:38:13 verbose #26205 > > inl integral dt : integration =
00:38:13 verbose #26206 > >     fun f a b =>
00:38:13 verbose #26207 > >         inl rec loop t y =
00:38:13 verbose #26208 > >             if t < b
00:38:13 verbose #26209 > >             then loop (t + dt) (y + f t * dt)
00:38:13 verbose #26210 > >             else t, y
00:38:13 verbose #26211 > >         loop (a + dt / 2) 0
00:38:13 verbose #26212 > >         |> snd
00:38:13 verbose #26213 > 00:38:12   debug #1475 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/be1f0345fa4d30548c696dcca0a6aabc7e45579a50b72db44e14189fd4675b17/main.spi
00:38:13 verbose #26214 > >
00:38:13 verbose #26215 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:13 verbose #26216 > > //// test
00:38:13 verbose #26217 > >
00:38:13 verbose #26218 > > integral 0.01 math.square 0 1
00:38:13 verbose #26219 > > |> _assert_approx_eq None 0.33332500000000004
00:38:14 verbose #26220 > 00:38:13   debug #1476 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8e1c1d73fce6d392577082ccf529fe2b9ec437d7f8dd9c9a19376dba9a5f99d5/main.spi
00:38:14 verbose #26221 > >
00:38:14 verbose #26222 > > ╭─[ 363.96ms - stdout ]────────────────────────────────────────────────────────╮
00:38:14 verbose #26223 > > │ __assert_approx_eq / actual: 0.333325 / expected: 0.333325                   │
00:38:14 verbose #26224 > > │                                                                              │
00:38:14 verbose #26225 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:14 verbose #26226 > >
00:38:14 verbose #26227 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:14 verbose #26228 > > inl integral' dt : integration =
00:38:14 verbose #26229 > >     fun f a b =>
00:38:14 verbose #26230 > >         listm'.init_series (a + dt / 2) (b - dt / 2) dt
00:38:14 verbose #26231 > >         |> listm.map (f >> (*) dt)
00:38:14 verbose #26232 > >         |> listm'.sum
00:38:14 verbose #26233 > 00:38:13   debug #1477 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/657ea893f7fdca273a4f1ff12463b00c632ee5f27d912cf612ad9ff0de31bce2/main.spi
00:38:14 verbose #26234 > >
00:38:14 verbose #26235 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:14 verbose #26236 > > //// test
00:38:14 verbose #26237 > >
00:38:14 verbose #26238 > > integral' 0.1 math.square 0 1
00:38:14 verbose #26239 > > |> _assert_approx_eq None (integral 0.1 math.square 0 1)
00:38:14 verbose #26240 > 00:38:14   debug #1478 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9a570ba76aa5b78b3f3a5732dc305814c5323232d6b25e3893b12cf02aca818d/main.spi
00:38:15 verbose #26241 > >
00:38:15 verbose #26242 > > ╭─[ 391.15ms - stdout ]────────────────────────────────────────────────────────╮
00:38:15 verbose #26243 > > │ __assert_approx_eq / actual: 0.3325 / expected: 0.3325                       │
00:38:15 verbose #26244 > > │                                                                              │
00:38:15 verbose #26245 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:15 verbose #26246 > >
00:38:15 verbose #26247 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:15 verbose #26248 > > inl integral'' dt : integration =
00:38:15 verbose #26249 > >     fun f x y =>
00:38:15 verbose #26250 > >         am'.init_series (x + dt / 2) (y - dt / 2) dt
00:38:15 verbose #26251 > >         |> fun x => a x : _ int _
00:38:15 verbose #26252 > >         |> am.map (f >> (*) dt)
00:38:15 verbose #26253 > >         |> am'.sum
00:38:15 verbose #26254 > 00:38:14   debug #1479 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8352259675c39c397c7fd22720b22c952458e0f72b826d18a1166a83c3b483d9/main.spi
00:38:15 verbose #26255 > >
00:38:15 verbose #26256 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:15 verbose #26257 > > //// test
00:38:15 verbose #26258 > >
00:38:15 verbose #26259 > > integral'' 0.01 math.square 0 1
00:38:15 verbose #26260 > > |> _assert_approx_eq None (integral 0.01 math.square 0 1)
00:38:15 verbose #26261 > 00:38:14   debug #1480 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/227e67a37874d1ca72b39a4e78078d07e66375e70c7c67975b35a4fa43c2090c/main.spi
00:38:15 verbose #26262 > >
00:38:15 verbose #26263 > > ╭─[ 437.96ms - stdout ]────────────────────────────────────────────────────────╮
00:38:15 verbose #26264 > > │ __assert_approx_eq / actual: 0.333325 / expected: 0.333325                   │
00:38:15 verbose #26265 > > │                                                                              │
00:38:15 verbose #26266 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:15 verbose #26267 > >
00:38:15 verbose #26268 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:15 verbose #26269 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:15 verbose #26270 > > │ ### anti_derivative                                                          │
00:38:15 verbose #26271 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:15 verbose #26272 > >
00:38:15 verbose #26273 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:15 verbose #26274 > > inl anti_derivative dt v0 a t =
00:38:15 verbose #26275 > >     v0 + integral' dt a 0 t
00:38:16 verbose #26276 > 00:38:15   debug #1481 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c6b26a8138c573a03699cf5c5c41045846ca4dbe4cda15eec2d546f1a8855693/main.spi
00:38:16 verbose #26277 > >
00:38:16 verbose #26278 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:16 verbose #26279 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:16 verbose #26280 > > │ ### velocity_ft                                                              │
00:38:16 verbose #26281 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:16 verbose #26282 > >
00:38:16 verbose #26283 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:16 verbose #26284 > > type velocity_ft = mass -> velocity -> list (time -> force) -> (time ->
00:38:16 verbose #26285 > > velocity)
00:38:16 verbose #26286 > >
00:38:16 verbose #26287 > > inl velocity_ft dt : velocity_ft =
00:38:16 verbose #26288 > >     fun m v0 fs =>
00:38:16 verbose #26289 > >         inl f_net t = fs |> listm.map (fun f => f t) |> listm'.sum
00:38:16 verbose #26290 > >         inl a t = f_net t / m
00:38:16 verbose #26291 > >         anti_derivative dt v0 a
00:38:16 verbose #26292 > 00:38:15   debug #1482 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/94e3edccb37643f1977335f24f98ccc7f0d2b0855b6eae6670fbba3fdff2e1a9/main.spi
00:38:16 verbose #26293 > >
00:38:16 verbose #26294 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:16 verbose #26295 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:16 verbose #26296 > > │ ### position_ft                                                              │
00:38:16 verbose #26297 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:16 verbose #26298 > >
00:38:16 verbose #26299 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:16 verbose #26300 > > type position_ft = mass -> position -> velocity -> list (time -> force) -> (time
00:38:16 verbose #26301 > > -> position)
00:38:16 verbose #26302 > >
00:38:16 verbose #26303 > > inl position_ft dt : position_ft =
00:38:16 verbose #26304 > >     fun m x0 v0 fs =>
00:38:16 verbose #26305 > >         velocity_ft dt m v0 fs
00:38:16 verbose #26306 > >         |> anti_derivative dt x0
00:38:16 verbose #26307 > 00:38:15   debug #1483 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1fae363dd912673194dfd1412730c57d95a128b7c8c28c38ea626ea93fd81eb9/main.spi
00:38:17 verbose #26308 > >
00:38:17 verbose #26309 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:17 verbose #26310 > > //// test
00:38:17 verbose #26311 > >
00:38:17 verbose #26312 > > inl pedal_coast (t : time) : force =
00:38:17 verbose #26313 > >     inl t_cycle = 20
00:38:17 verbose #26314 > >     inl n_complete : i32 = t / t_cycle |> conv
00:38:17 verbose #26315 > >     inl remainder = t - conv n_complete * t_cycle
00:38:17 verbose #26316 > >     if remainder > 0 && remainder < 10
00:38:17 verbose #26317 > >     then 10
00:38:17 verbose #26318 > >     else 0
00:38:17 verbose #26319 > >
00:38:17 verbose #26320 > > inl x = am'.init_series -5f64 45 0.1
00:38:17 verbose #26321 > > inl y = x |> am'.map_base pedal_coast
00:38:17 verbose #26322 > > "child pedaling then coasting", "time (s)", "", ;[[ "force on bike (N)", x, y ]]
00:38:17 verbose #26323 > 00:38:16   debug #1484 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/009d321e96d917ef744ce3f13a6420cc3879eac327ca3a9a8292f391e893a6d4/main.spi
00:38:17 verbose #26324 > >
00:38:17 verbose #26325 > > ╭─[ 380.11ms - return value ]──────────────────────────────────────────────────╮
00:38:17 verbose #26326 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:17 verbose #26327 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:17 verbose #26328 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:17 verbose #26329 > > │ stroke="none"/>                                                              │
00:38:17 verbose #26330 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:17 verbose #26331 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:17 verbose #26332 > > │ fill="#FFFFFF">                                                              │
00:38:17 verbose #26333 > > │ child pedaling then coasting                                                 │
00:38:17 verbose #26334 > > │ </text>                                                                      │
00:38:17 verbose #26335 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:38:17 verbose #26336 > > │ y2="75"/>                                                                    │
00:38:17 verbose #26337 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:17 verbose #26338 > > │ y2="75"/>                                                                    │
00:38:17 verbose #26339 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:38:17 verbose #26340 > > │ y2="75"/>                                                                    │
00:38:17 verbose #26341 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:38:17 verbose #26342 > > │ y2="75"/>                                                                    │
00:38:17 verbose #26343 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="424" x2="99" │
00:38:17 verbose #26344 > > │ y2="75"/>                                                                    │
00:38:17 verbose #26345 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="109" y1="424"        │
00:38:17 verbose #26346 > > │ x2="109" y2="75"/>                                                           │
00:38:17 verbose #26347 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:17 verbose #26348 > > │ x2="119" y2="75"/>                                                           │
00:38:17 verbose #26349 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:17 verbose #26350 > > │ x2="129" y2="75"/>                                                           │
00:38:17 verbose #26351 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:17 verbose #26352 > > │ x2="139" y2="75"/>                                                           │
00:38:17 verbose #26353 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="149" y1="424"        │
00:38:17 verbose #26354 > > │ x2="149" y2="75"/>                                                           │
00:38:17 verbose #26355 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="159" y1="424"        │
00:38:17 verbose #26356 > > │ x2="159" y2="75"/>                                                           │
00:38:17 verbose #26357 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:17 verbose #26358 > > │ x2="169" y2="75"/>                                                           │
00:38:17 verbose #26359 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="179" y1="424"        │
00:38:17 verbose #26360 > > │ x2="179" y2="75"/>                                                           │
00:38:17 verbose #26361 > > │ <line...421,415 422,415 423,415 424,415 425,415 426,415 427,415 428,415      │
00:38:17 verbose #26362 > > │ 429,415 430,415 431,415 432,415 433,415 434,415 435,415 436,415 437,415      │
00:38:17 verbose #26363 > > │ 438,415 439,415 440,415 441,415 442,415 443,415 444,415 445,415 446,415      │
00:38:17 verbose #26364 > > │ 447,415 448,415 449,415 450,415 451,415 452,415 453,415 454,415 455,415      │
00:38:17 verbose #26365 > > │ 456,415 457,415 458,415 459,415 460,415 461,415 462,415 463,415 464,415      │
00:38:17 verbose #26366 > > │ 465,415 466,415 467,415 468,415 469,415 470,415 471,415 472,415 473,415      │
00:38:17 verbose #26367 > > │ 474,415 475,415 476,415 477,415 478,415 479,415 480,415 481,415 482,415      │
00:38:17 verbose #26368 > > │ 483,415 484,415 485,415 486,415 487,415 488,415 489,415 490,415 491,415      │
00:38:17 verbose #26369 > > │ 492,415 493,415 494,415 495,415 496,415 497,415 498,415 499,415 500,415      │
00:38:17 verbose #26370 > > │ 501,415 502,415 503,415 504,415 505,415 506,415 507,415 508,415 509,415      │
00:38:17 verbose #26371 > > │ 510,415 511,415 512,415 513,415 514,415 515,415 516,415 517,415 518,415      │
00:38:17 verbose #26372 > > │ 519,415 520,85 521,85 522,85 523,85 524,85 525,85 526,85 527,85 528,85       │
00:38:17 verbose #26373 > > │ 529,85 530,85 531,85 532,85 533,85 534,85 535,85 536,85 537,85 538,85 539,85 │
00:38:17 verbose #26374 > > │ 540,85 541,85 542,85 543,85 544,85 545,85 546,85 547,85 548,85 549,85 550,85 │
00:38:17 verbose #26375 > > │ 551,85 552,85 553,85 554,85 555,85 556,85 557,85 558,85 559,85 560,85 561,85 │
00:38:17 verbose #26376 > > │ 562,85 563,85 564,85 565,85 566,85 567,85 568,85 569,85 "/>                  │
00:38:17 verbose #26377 > > │ <rect x="437" y="235" width="143" height="30" opacity="1" fill="none"        │
00:38:17 verbose #26378 > > │ stroke="#FFFFFF"/>                                                           │
00:38:17 verbose #26379 > > │ <text x="477" y="245" dy="0.76em" text-anchor="start"                        │
00:38:17 verbose #26380 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:17 verbose #26381 > > │ fill="#FFFFFF">                                                              │
00:38:17 verbose #26382 > > │ force on bike (N)                                                            │
00:38:17 verbose #26383 > > │ </text>                                                                      │
00:38:17 verbose #26384 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:17 verbose #26385 > > │ points="447,250 467,250 "/>                                                  │
00:38:17 verbose #26386 > > │ </svg>                                                                       │
00:38:17 verbose #26387 > > │                                                                              │
00:38:17 verbose #26388 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:17 verbose #26389 > >
00:38:17 verbose #26390 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:17 verbose #26391 > > //// test
00:38:17 verbose #26392 > >
00:38:17 verbose #26393 > > inl x = am'.init_series -5 45 1
00:38:17 verbose #26394 > > inl y = x |> am'.map_base (position_ft 0.1f64 20 0 0 [[ pedal_coast ]])
00:38:17 verbose #26395 > > "child pedaling then coasting", "time (s)", "", ;[[ "position of bike (m)", x, y
00:38:17 verbose #26396 > > ]]
00:38:17 verbose #26397 > 00:38:16   debug #1485 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2c7d1270324106a1cacc8aecd846cfdb5078621408d7dc37845c85febb0af287/main.spi
00:38:18 verbose #26398 > >
00:38:18 verbose #26399 > > ╭─[ 711.08ms - return value ]──────────────────────────────────────────────────╮
00:38:18 verbose #26400 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:18 verbose #26401 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:18 verbose #26402 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:18 verbose #26403 > > │ stroke="none"/>                                                              │
00:38:18 verbose #26404 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:18 verbose #26405 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:18 verbose #26406 > > │ fill="#FFFFFF">                                                              │
00:38:18 verbose #26407 > > │ child pedaling then coasting                                                 │
00:38:18 verbose #26408 > > │ </text>                                                                      │
00:38:18 verbose #26409 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:38:18 verbose #26410 > > │ y2="75"/>                                                                    │
00:38:18 verbose #26411 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:18 verbose #26412 > > │ y2="75"/>                                                                    │
00:38:18 verbose #26413 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:38:18 verbose #26414 > > │ y2="75"/>                                                                    │
00:38:18 verbose #26415 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:38:18 verbose #26416 > > │ y2="75"/>                                                                    │
00:38:18 verbose #26417 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="424" x2="99" │
00:38:18 verbose #26418 > > │ y2="75"/>                                                                    │
00:38:18 verbose #26419 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="109" y1="424"        │
00:38:18 verbose #26420 > > │ x2="109" y2="75"/>                                                           │
00:38:18 verbose #26421 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:18 verbose #26422 > > │ x2="119" y2="75"/>                                                           │
00:38:18 verbose #26423 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:18 verbose #26424 > > │ x2="129" y2="75"/>                                                           │
00:38:18 verbose #26425 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:18 verbose #26426 > > │ x2="139" y2="75"/>                                                           │
00:38:18 verbose #26427 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="149" y1="424"        │
00:38:18 verbose #26428 > > │ x2="149" y2="75"/>                                                           │
00:38:18 verbose #26429 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="159" y1="424"        │
00:38:18 verbose #26430 > > │ x2="159" y2="75"/>                                                           │
00:38:18 verbose #26431 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:18 verbose #26432 > > │ x2="169" y2="75"/>                                                           │
00:38:18 verbose #26433 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="179" y1="424"        │
00:38:18 verbose #26434 > > │ x2="179" y2="75"/>                                                           │
00:38:18 verbose #26435 > > │ <line...serif" font-size="9.67741935483871" opacity="1" fill="#FFFFFF">      │
00:38:18 verbose #26436 > > │ 200.0                                                                        │
00:38:18 verbose #26437 > > │ </text>                                                                      │
00:38:18 verbose #26438 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:18 verbose #26439 > > │ points="585,201 590,201 "/>                                                  │
00:38:18 verbose #26440 > > │ <text x="595" y="147" dy="0.5ex" text-anchor="start"                         │
00:38:18 verbose #26441 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:18 verbose #26442 > > │ fill="#FFFFFF">                                                              │
00:38:18 verbose #26443 > > │ 250.0                                                                        │
00:38:18 verbose #26444 > > │ </text>                                                                      │
00:38:18 verbose #26445 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:18 verbose #26446 > > │ points="585,147 590,147 "/>                                                  │
00:38:18 verbose #26447 > > │ <text x="595" y="94" dy="0.5ex" text-anchor="start" font-family="sans-serif" │
00:38:18 verbose #26448 > > │ font-size="9.67741935483871" opacity="1" fill="#FFFFFF">                     │
00:38:18 verbose #26449 > > │ 300.0                                                                        │
00:38:18 verbose #26450 > > │ </text>                                                                      │
00:38:18 verbose #26451 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:18 verbose #26452 > > │ points="585,94 590,94 "/>                                                    │
00:38:18 verbose #26453 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:18 verbose #26454 > > │ points="69,415 79,415 89,415 99,415 109,415 119,415 129,414 139,413 149,412  │
00:38:18 verbose #26455 > > │ 159,410 169,408 179,405 189,401 199,397 209,393 219,388 229,382 239,377      │
00:38:18 verbose #26456 > > │ 249,372 259,366 269,361 279,356 289,350 299,345 309,340 319,334 329,329      │
00:38:18 verbose #26457 > > │ 339,322 349,316 359,308 369,301 379,292 389,284 399,274 409,264 419,254      │
00:38:18 verbose #26458 > > │ 429,243 439,232 449,221 459,210 469,199 479,189 489,178 499,167 509,157      │
00:38:18 verbose #26459 > > │ 519,146 529,135 539,123 549,111 559,99 569,85 "/>                            │
00:38:18 verbose #26460 > > │ <rect x="421" y="235" width="159" height="30" opacity="1" fill="none"        │
00:38:18 verbose #26461 > > │ stroke="#FFFFFF"/>                                                           │
00:38:18 verbose #26462 > > │ <text x="461" y="245" dy="0.76em" text-anchor="start"                        │
00:38:18 verbose #26463 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:18 verbose #26464 > > │ fill="#FFFFFF">                                                              │
00:38:18 verbose #26465 > > │ position of bike (m)                                                         │
00:38:18 verbose #26466 > > │ </text>                                                                      │
00:38:18 verbose #26467 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:18 verbose #26468 > > │ points="431,250 451,250 "/>                                                  │
00:38:18 verbose #26469 > > │ </svg>                                                                       │
00:38:18 verbose #26470 > > │                                                                              │
00:38:18 verbose #26471 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:18 verbose #26472 > >
00:38:18 verbose #26473 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:18 verbose #26474 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:18 verbose #26475 > > │ ### velocity_fv                                                              │
00:38:18 verbose #26476 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:18 verbose #26477 > >
00:38:18 verbose #26478 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:18 verbose #26479 > > inl newton_second_v m fs v0 =
00:38:18 verbose #26480 > >     fs |> listm.map (fun f => f v0) |> listm'.sum |> fun x => x / m
00:38:18 verbose #26481 > >
00:38:18 verbose #26482 > > inl update_velocity dt m fs v0 =
00:38:18 verbose #26483 > >     v0 + newton_second_v m fs v0 * dt
00:38:18 verbose #26484 > >
00:38:18 verbose #26485 > > inl velocity_fv dt m v0 fs t =
00:38:18 verbose #26486 > >     stream.iterate (update_velocity dt m fs) v0
00:38:18 verbose #26487 > >     |> stream.try_item (t / dt |> math.round |> abs)
00:38:18 verbose #26488 > >     |> optionm'.default_value 0
00:38:18 verbose #26489 > 00:38:17   debug #1486 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/23eb02e4436a1723863c20ba010497cf8423e4fcc6fb822b55cfca750f19f379/main.spi
00:38:18 verbose #26490 > >
00:38:18 verbose #26491 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:18 verbose #26492 > > inl f_air drag rho area v =
00:38:18 verbose #26493 > >     -drag * rho * area * abs v * v / 2
00:38:18 verbose #26494 > 00:38:17   debug #1487 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ecc4d6aff5f0952778ba37f1401d76e69cf791fd8fddd202bac43aa5df6c417a/main.spi
00:38:18 verbose #26495 > >
00:38:18 verbose #26496 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:18 verbose #26497 > > //// test
00:38:18 verbose #26498 > >
00:38:18 verbose #26499 > > inl x = am'.init_series 0 60 0.5
00:38:18 verbose #26500 > > inl y = x |> am'.map_base (velocity_fv 1 70 0f64 [[ fun _ => 100; f_air 2 1.225
00:38:18 verbose #26501 > > 0.6 ]])
00:38:18 verbose #26502 > > "bike velocity", "time (s)", "", ;[[ "velocity of bike (m/s)", x, y ]]
00:38:19 verbose #26503 > 00:38:18   debug #1488 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f9fc005af62c9b4842af3fdc7fce4ad946e621a3e1d9229bf4a01150d8f6a1a/main.spi
00:38:19 verbose #26504 > >
00:38:19 verbose #26505 > > ╭─[ 718.03ms - return value ]──────────────────────────────────────────────────╮
00:38:19 verbose #26506 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:19 verbose #26507 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:19 verbose #26508 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:19 verbose #26509 > > │ stroke="none"/>                                                              │
00:38:19 verbose #26510 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:19 verbose #26511 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:19 verbose #26512 > > │ fill="#FFFFFF">                                                              │
00:38:19 verbose #26513 > > │ bike velocity                                                                │
00:38:19 verbose #26514 > > │ </text>                                                                      │
00:38:19 verbose #26515 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:38:19 verbose #26516 > > │ y2="75"/>                                                                    │
00:38:19 verbose #26517 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:19 verbose #26518 > > │ y2="75"/>                                                                    │
00:38:19 verbose #26519 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:38:19 verbose #26520 > > │ y2="75"/>                                                                    │
00:38:19 verbose #26521 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:38:19 verbose #26522 > > │ y2="75"/>                                                                    │
00:38:19 verbose #26523 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:38:19 verbose #26524 > > │ y2="75"/>                                                                    │
00:38:19 verbose #26525 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="103" y1="424"        │
00:38:19 verbose #26526 > > │ x2="103" y2="75"/>                                                           │
00:38:19 verbose #26527 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="111" y1="424"        │
00:38:19 verbose #26528 > > │ x2="111" y2="75"/>                                                           │
00:38:19 verbose #26529 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:19 verbose #26530 > > │ x2="119" y2="75"/>                                                           │
00:38:19 verbose #26531 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="128" y1="424"        │
00:38:19 verbose #26532 > > │ x2="128" y2="75"/>                                                           │
00:38:19 verbose #26533 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="136" y1="424"        │
00:38:19 verbose #26534 > > │ x2="136" y2="75"/>                                                           │
00:38:19 verbose #26535 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="144" y1="424"        │
00:38:19 verbose #26536 > > │ x2="144" y2="75"/>                                                           │
00:38:19 verbose #26537 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="153" y1="424"        │
00:38:19 verbose #26538 > > │ x2="153" y2="75"/>                                                           │
00:38:19 verbose #26539 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="161" y1="424"        │
00:38:19 verbose #26540 > > │ x2="161" y2="75"/>                                                           │
00:38:19 verbose #26541 > > │ <line opacity="1" st...t" font-family="sans-serif"                           │
00:38:19 verbose #26542 > > │ font-size="9.67741935483871" opacity="1" fill="#FFFFFF">                     │
00:38:19 verbose #26543 > > │ 12.0                                                                         │
00:38:19 verbose #26544 > > │ </text>                                                                      │
00:38:19 verbose #26545 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:19 verbose #26546 > > │ points="585,76 590,76 "/>                                                    │
00:38:19 verbose #26547 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:19 verbose #26548 > > │ points="69,415 74,415 78,374 82,335 86,335 90,335 94,297 99,261 103,261      │
00:38:19 verbose #26549 > > │ 107,261 111,230 115,202 119,202 124,202 128,179 132,159 136,159 140,159      │
00:38:19 verbose #26550 > > │ 144,143 148,130 153,130 157,130 161,120 165,112 169,112 173,112 178,106      │
00:38:19 verbose #26551 > > │ 182,101 186,101 190,101 194,97 198,94 203,94 207,94 211,92 215,91 219,91     │
00:38:19 verbose #26552 > > │ 223,91 228,89 232,88 236,88 240,88 244,88 248,87 252,87 257,87 261,87 265,86 │
00:38:19 verbose #26553 > > │ 269,86 273,86 277,86 282,86 286,86 290,86 294,86 298,86 302,86 307,86 311,86 │
00:38:19 verbose #26554 > > │ 315,86 319,86 323,86 327,86 331,85 336,85 340,85 344,85 348,85 352,85 356,85 │
00:38:19 verbose #26555 > > │ 361,85 365,85 369,85 373,85 377,85 381,85 386,85 390,85 394,85 398,85 402,85 │
00:38:19 verbose #26556 > > │ 406,85 410,85 415,85 419,85 423,85 427,85 431,85 435,85 440,85 444,85 448,85 │
00:38:19 verbose #26557 > > │ 452,85 456,85 460,85 465,85 469,85 473,85 477,85 481,85 485,85 490,85 494,85 │
00:38:19 verbose #26558 > > │ 498,85 502,85 506,85 510,85 514,85 519,85 523,85 527,85 531,85 535,85 539,85 │
00:38:19 verbose #26559 > > │ 544,85 548,85 552,85 556,85 560,85 564,85 569,85 "/>                         │
00:38:19 verbose #26560 > > │ <rect x="410" y="235" width="170" height="30" opacity="1" fill="none"        │
00:38:19 verbose #26561 > > │ stroke="#FFFFFF"/>                                                           │
00:38:19 verbose #26562 > > │ <text x="450" y="245" dy="0.76em" text-anchor="start"                        │
00:38:19 verbose #26563 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:19 verbose #26564 > > │ fill="#FFFFFF">                                                              │
00:38:19 verbose #26565 > > │ velocity of bike (m/s)                                                       │
00:38:19 verbose #26566 > > │ </text>                                                                      │
00:38:19 verbose #26567 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:19 verbose #26568 > > │ points="420,250 440,250 "/>                                                  │
00:38:19 verbose #26569 > > │ </svg>                                                                       │
00:38:19 verbose #26570 > > │                                                                              │
00:38:19 verbose #26571 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:19 verbose #26572 > >
00:38:19 verbose #26573 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:19 verbose #26574 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:19 verbose #26575 > > │ ### velocity_ftv                                                             │
00:38:19 verbose #26576 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:19 verbose #26577 > >
00:38:19 verbose #26578 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:19 verbose #26579 > > inl newton_second_tv m fs (t, v0) =
00:38:19 verbose #26580 > >     inl f_net = fs |> listm.map (fun f => f (t, v0)) |> listm'.sum
00:38:19 verbose #26581 > >     inl acc = f_net / m
00:38:19 verbose #26582 > >     1, acc
00:38:19 verbose #26583 > >
00:38:19 verbose #26584 > > inl update_tv dt m fs (t, v0) =
00:38:19 verbose #26585 > >     inl dtdt, dvdt = newton_second_tv m fs (t, v0)
00:38:19 verbose #26586 > >     t + dtdt * dt, v0 + dvdt * dt
00:38:19 verbose #26587 > >
00:38:19 verbose #26588 > > inl velocity_ftv dt m tv0 fs t =
00:38:19 verbose #26589 > >     stream.iterate (join update_tv dt m fs) tv0
00:38:19 verbose #26590 > >     |> stream.try_item (t / dt |> math.round |> abs)
00:38:19 verbose #26591 > >     |> optionm.map snd
00:38:19 verbose #26592 > >     |> optionm'.default_value 0
00:38:19 verbose #26593 > 00:38:18   debug #1489 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fb330b1c26ba7cccf749e5ac9ab861b60028abae2bc4a2f60c3103158127d4b2/main.spi
00:38:19 verbose #26594 > >
00:38:19 verbose #26595 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:19 verbose #26596 > > //// test
00:38:19 verbose #26597 > >
00:38:19 verbose #26598 > > inl x = am'.init_series 0 100 0.1
00:38:19 verbose #26599 > > inl y =
00:38:19 verbose #26600 > >     x
00:38:19 verbose #26601 > >     |> am'.map_base (
00:38:19 verbose #26602 > >         velocity_ftv 0.1 20 (dyn (0, 0)) [[ fun (t, _) => pedal_coast t; fun (_,
00:38:19 verbose #26603 > > v) => f_air 2 1.225 0.5 v ]]
00:38:19 verbose #26604 > >     )
00:38:19 verbose #26605 > > "pedaling and coasting with air", "time (s)", "", ;[[ "velocity of bike (m/s)",
00:38:19 verbose #26606 > > x, y ]]
00:38:20 verbose #26607 > 00:38:19   debug #1490 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5237935cef7c8c2cd9b66da7603fef6d8d0433a19547d3ec203aa90db317ce01/main.spi
00:38:20 verbose #26608 > >
00:38:20 verbose #26609 > > ╭─[ 634.09ms - return value ]──────────────────────────────────────────────────╮
00:38:20 verbose #26610 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:20 verbose #26611 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:20 verbose #26612 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:20 verbose #26613 > > │ stroke="none"/>                                                              │
00:38:20 verbose #26614 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:20 verbose #26615 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:20 verbose #26616 > > │ fill="#FFFFFF">                                                              │
00:38:20 verbose #26617 > > │ pedaling and coasting with air                                               │
00:38:20 verbose #26618 > > │ </text>                                                                      │
00:38:20 verbose #26619 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:38:20 verbose #26620 > > │ y2="75"/>                                                                    │
00:38:20 verbose #26621 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:20 verbose #26622 > > │ y2="75"/>                                                                    │
00:38:20 verbose #26623 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:38:20 verbose #26624 > > │ y2="75"/>                                                                    │
00:38:20 verbose #26625 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:38:20 verbose #26626 > > │ y2="75"/>                                                                    │
00:38:20 verbose #26627 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="424" x2="99" │
00:38:20 verbose #26628 > > │ y2="75"/>                                                                    │
00:38:20 verbose #26629 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="109" y1="424"        │
00:38:20 verbose #26630 > > │ x2="109" y2="75"/>                                                           │
00:38:20 verbose #26631 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:20 verbose #26632 > > │ x2="119" y2="75"/>                                                           │
00:38:20 verbose #26633 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:20 verbose #26634 > > │ x2="129" y2="75"/>                                                           │
00:38:20 verbose #26635 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:20 verbose #26636 > > │ x2="139" y2="75"/>                                                           │
00:38:20 verbose #26637 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="149" y1="424"        │
00:38:20 verbose #26638 > > │ x2="149" y2="75"/>                                                           │
00:38:20 verbose #26639 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="159" y1="424"        │
00:38:20 verbose #26640 > > │ x2="159" y2="75"/>                                                           │
00:38:20 verbose #26641 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:20 verbose #26642 > > │ x2="169" y2="75"/>                                                           │
00:38:20 verbose #26643 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="179" y1="424"        │
00:38:20 verbose #26644 > > │ x2="179" y2="75"/>                                                           │
00:38:20 verbose #26645 > > │ <li... 497,128 497,126 498,125 498,123 499,122 499,121 500,119 500,118       │
00:38:20 verbose #26646 > > │ 501,117 501,116 502,114 502,113 503,112 503,111 504,110 504,109 505,108      │
00:38:20 verbose #26647 > > │ 505,107 506,106 506,105 507,104 507,103 508,102 508,101 509,100 509,99       │
00:38:20 verbose #26648 > > │ 510,98 510,98 511,97 511,96 512,95 512,94 513,94 513,93 514,92 514,92 515,91 │
00:38:20 verbose #26649 > > │ 515,90 516,90 516,89 517,88 517,88 518,87 518,87 519,86 519,85 520,89 520,93 │
00:38:20 verbose #26650 > > │ 521,97 521,100 522,104 522,107 523,110 523,114 524,117 524,120 525,123       │
00:38:20 verbose #26651 > > │ 525,126 526,129 526,132 527,135 527,137 528,140 528,143 529,145 529,148      │
00:38:20 verbose #26652 > > │ 530,150 530,153 531,155 531,158 532,160 532,162 533,165 533,167 534,169      │
00:38:20 verbose #26653 > > │ 534,171 535,173 535,175 536,177 536,179 537,181 537,183 538,185 538,187      │
00:38:20 verbose #26654 > > │ 539,189 539,190 540,192 540,194 541,196 541,197 542,199 542,201 543,202      │
00:38:20 verbose #26655 > > │ 543,204 544,205 544,207 545,208 545,210 546,211 546,213 547,214 547,216      │
00:38:20 verbose #26656 > > │ 548,217 548,219 549,220 549,221 550,223 550,224 551,225 551,226 552,228      │
00:38:20 verbose #26657 > > │ 552,229 553,230 553,231 554,232 554,234 555,235 555,236 556,237 556,238      │
00:38:20 verbose #26658 > > │ 557,239 557,240 558,241 558,242 559,243 559,245 560,246 560,247 561,248      │
00:38:20 verbose #26659 > > │ 561,249 562,249 562,250 563,251 563,252 564,253 564,254 565,255 565,256      │
00:38:20 verbose #26660 > > │ 566,257 566,258 567,259 567,259 568,260 568,261 569,262 "/>                  │
00:38:20 verbose #26661 > > │ <rect x="410" y="235" width="170" height="30" opacity="1" fill="none"        │
00:38:20 verbose #26662 > > │ stroke="#FFFFFF"/>                                                           │
00:38:20 verbose #26663 > > │ <text x="450" y="245" dy="0.76em" text-anchor="start"                        │
00:38:20 verbose #26664 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:20 verbose #26665 > > │ fill="#FFFFFF">                                                              │
00:38:20 verbose #26666 > > │ velocity of bike (m/s)                                                       │
00:38:20 verbose #26667 > > │ </text>                                                                      │
00:38:20 verbose #26668 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:20 verbose #26669 > > │ points="420,250 440,250 "/>                                                  │
00:38:20 verbose #26670 > > │ </svg>                                                                       │
00:38:20 verbose #26671 > > │                                                                              │
00:38:20 verbose #26672 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:20 verbose #26673 > >
00:38:20 verbose #26674 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:20 verbose #26675 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:20 verbose #26676 > > │ ### velocity_ftxv                                                            │
00:38:20 verbose #26677 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:20 verbose #26678 > >
00:38:20 verbose #26679 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:20 verbose #26680 > > nominal state_1d = time * position * velocity
00:38:20 verbose #26681 > > nominal rrr = f64 * f64 * f64
00:38:20 verbose #26682 > >
00:38:20 verbose #26683 > > inl newton_second_1d m fs (state_1d (t, x0, v0)) =
00:38:20 verbose #26684 > >     inl f_net = fs |> listm.map (fun f => f (state_1d (t, x0, v0))) |>
00:38:20 verbose #26685 > > listm'.sum
00:38:20 verbose #26686 > >     inl acc = f_net / m
00:38:20 verbose #26687 > >     rrr (1f64, v0, acc)
00:38:20 verbose #26688 > >
00:38:20 verbose #26689 > > inl euler_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:38:20 verbose #26690 > >     inl (rrr (_, _, dvdt)) = deriv t
00:38:20 verbose #26691 > >     inl t1 = t0 + dt
00:38:20 verbose #26692 > >     inl x1 = x0 + v0 * dt
00:38:20 verbose #26693 > >     inl v1 = v0 + dvdt * dt
00:38:20 verbose #26694 > >     state_1d (t1, x1, v1)
00:38:20 verbose #26695 > >
00:38:20 verbose #26696 > > inl update_txv dt m fs =
00:38:20 verbose #26697 > >     newton_second_1d m fs |> euler_1d dt
00:38:20 verbose #26698 > >
00:38:20 verbose #26699 > > inl states_txv dt m txv0 fs =
00:38:20 verbose #26700 > >     seq.iterate_ (update_txv dt m fs) txv0
00:38:20 verbose #26701 > >
00:38:20 verbose #26702 > > inl velocity_1d sts t =
00:38:20 verbose #26703 > >     inl (state_1d (t0, _, _)) = sts 0
00:38:20 verbose #26704 > >     inl (state_1d (t1, _, _)) = sts 1
00:38:20 verbose #26705 > >     inl dt = t1 - t0
00:38:20 verbose #26706 > >     inl num_steps = t / dt |> math.round |> abs
00:38:20 verbose #26707 > >     inl (state_1d (_, _, v0)) = sts num_steps
00:38:20 verbose #26708 > >     v0
00:38:20 verbose #26709 > >
00:38:20 verbose #26710 > > inl velocity_ftxv dt m txv0 fs =
00:38:20 verbose #26711 > >     states_txv dt m txv0 fs |> velocity_1d
00:38:20 verbose #26712 > >
00:38:20 verbose #26713 > > inl position_1d sts t =
00:38:20 verbose #26714 > >     inl (state_1d (t0, _, _)) = sts 0
00:38:20 verbose #26715 > >     inl (state_1d (t1, _, _)) = sts 1
00:38:20 verbose #26716 > >     inl dt = t1 - t0
00:38:20 verbose #26717 > >     inl num_steps = t / dt |> math.round |> abs
00:38:20 verbose #26718 > >     inl (state_1d (_, x0, _)) = sts num_steps
00:38:20 verbose #26719 > >     x0
00:38:20 verbose #26720 > >
00:38:20 verbose #26721 > > inl position_ftxv dt m txv0 fs =
00:38:20 verbose #26722 > >     states_txv dt m txv0 fs |> position_1d
00:38:20 verbose #26723 > >
00:38:20 verbose #26724 > > inl spring_force k (state_1d (_, x0, _)) =
00:38:20 verbose #26725 > >     -k * x0
00:38:20 verbose #26726 > 00:38:19   debug #1491 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5b26059111ed60409ab4be3e3d578c9f88f0ed4e2ab0827652530723a1471c39/main.spi
00:38:21 verbose #26727 > >
00:38:21 verbose #26728 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:21 verbose #26729 > > //// test
00:38:21 verbose #26730 > >
00:38:21 verbose #26731 > > inl damped_ho_forces () =
00:38:21 verbose #26732 > >     [[
00:38:21 verbose #26733 > >         spring_force 0.8
00:38:21 verbose #26734 > >         fun (state_1d (_, _, v0)) => f_air 2 1.225 (pi * math.square 0.02) v0
00:38:21 verbose #26735 > >         fun _ => -0.0027 * 9.80665
00:38:21 verbose #26736 > >     ]]
00:38:21 verbose #26737 > >
00:38:21 verbose #26738 > > inl damped_ho_states () =
00:38:21 verbose #26739 > >     states_txv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ())
00:38:21 verbose #26740 > >
00:38:21 verbose #26741 > > inl pingpong_position t =
00:38:21 verbose #26742 > >     position_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:38:21 verbose #26743 > >
00:38:21 verbose #26744 > > inl x = am'.init_series 0 3 0.01
00:38:21 verbose #26745 > > inl y = x |> am'.map_base pingpong_position
00:38:21 verbose #26746 > > "ping pong ball on a slinky", "time (s)", "", ;[[ "position (m)", x, y ]]
00:38:21 verbose #26747 > 00:38:20   debug #1492 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e39341c86ea083ff2e6a49a337d7d1932da50be56a679b9194d19c3fb2effd11/main.spi
00:38:21 verbose #26748 > >
00:38:21 verbose #26749 > > ╭─[ 463.91ms - return value ]──────────────────────────────────────────────────╮
00:38:21 verbose #26750 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:21 verbose #26751 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:21 verbose #26752 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:21 verbose #26753 > > │ stroke="none"/>                                                              │
00:38:21 verbose #26754 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:21 verbose #26755 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:21 verbose #26756 > > │ fill="#FFFFFF">                                                              │
00:38:21 verbose #26757 > > │ ping pong ball on a slinky                                                   │
00:38:21 verbose #26758 > > │ </text>                                                                      │
00:38:21 verbose #26759 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:38:21 verbose #26760 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26761 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:21 verbose #26762 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26763 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:38:21 verbose #26764 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26765 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:38:21 verbose #26766 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26767 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:38:21 verbose #26768 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26769 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="103" y1="424"        │
00:38:21 verbose #26770 > > │ x2="103" y2="75"/>                                                           │
00:38:21 verbose #26771 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="111" y1="424"        │
00:38:21 verbose #26772 > > │ x2="111" y2="75"/>                                                           │
00:38:21 verbose #26773 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:21 verbose #26774 > > │ x2="119" y2="75"/>                                                           │
00:38:21 verbose #26775 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="128" y1="424"        │
00:38:21 verbose #26776 > > │ x2="128" y2="75"/>                                                           │
00:38:21 verbose #26777 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="136" y1="424"        │
00:38:21 verbose #26778 > > │ x2="136" y2="75"/>                                                           │
00:38:21 verbose #26779 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="144" y1="424"        │
00:38:21 verbose #26780 > > │ x2="144" y2="75"/>                                                           │
00:38:21 verbose #26781 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="153" y1="424"        │
00:38:21 verbose #26782 > > │ x2="153" y2="75"/>                                                           │
00:38:21 verbose #26783 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="161" y1="424"        │
00:38:21 verbose #26784 > > │ x2="161" y2="75"/>                                                           │
00:38:21 verbose #26785 > > │ <line o...88 332,305 334,321 336,334 337,346 339,354 341,360 342,363 344,362 │
00:38:21 verbose #26786 > > │ 346,359 347,352 349,342 351,330 352,316 354,300 356,283 357,265 359,247      │
00:38:21 verbose #26787 > > │ 361,229 362,212 364,197 366,183 367,172 369,163 371,156 372,153 374,153      │
00:38:21 verbose #26788 > > │ 376,156 377,161 379,170 381,181 382,194 384,209 386,226 387,243 389,260      │
00:38:21 verbose #26789 > > │ 391,277 392,294 394,309 396,323 397,335 399,344 401,351 402,355 404,356      │
00:38:21 verbose #26790 > > │ 406,354 407,349 409,341 410,331 412,319 414,305 415,289 417,273 419,256      │
00:38:21 verbose #26791 > > │ 420,239 422,223 424,208 425,194 427,182 429,172 430,165 432,161 434,159      │
00:38:21 verbose #26792 > > │ 435,160 437,164 439,171 440,180 442,192 444,205 445,220 447,235 449,252      │
00:38:21 verbose #26793 > > │ 450,268 452,284 454,299 455,313 457,325 459,335 460,342 462,347 464,350      │
00:38:21 verbose #26794 > > │ 465,349 467,346 469,340 470,332 472,321 474,309 475,295 477,280 479,264      │
00:38:21 verbose #26795 > > │ 480,248 482,232 484,217 485,204 487,192 489,181 490,173 492,168 494,165      │
00:38:21 verbose #26796 > > │ 495,165 497,167 499,172 500,180 502,189 504,201 505,215 507,229 509,244      │
00:38:21 verbose #26797 > > │ 510,260 512,275 514,290 515,303 517,316 519,326 520,335 522,341 524,344      │
00:38:21 verbose #26798 > > │ 525,345 527,343 529,339 530,332 532,323 534,312 535,300 537,286 539,271      │
00:38:21 verbose #26799 > > │ 540,256 542,241 544,226 545,213 547,200 549,190 550,181 552,175 554,171      │
00:38:21 verbose #26800 > > │ 555,169 557,170 559,174 560,180 562,188 564,198 565,210 567,223 569,238 "/>  │
00:38:21 verbose #26801 > > │ <rect x="464" y="235" width="116" height="30" opacity="1" fill="none"        │
00:38:21 verbose #26802 > > │ stroke="#FFFFFF"/>                                                           │
00:38:21 verbose #26803 > > │ <text x="504" y="245" dy="0.76em" text-anchor="start"                        │
00:38:21 verbose #26804 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:21 verbose #26805 > > │ fill="#FFFFFF">                                                              │
00:38:21 verbose #26806 > > │ position (m)                                                                 │
00:38:21 verbose #26807 > > │ </text>                                                                      │
00:38:21 verbose #26808 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:21 verbose #26809 > > │ points="474,250 494,250 "/>                                                  │
00:38:21 verbose #26810 > > │ </svg>                                                                       │
00:38:21 verbose #26811 > > │                                                                              │
00:38:21 verbose #26812 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:21 verbose #26813 > >
00:38:21 verbose #26814 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:21 verbose #26815 > > //// test
00:38:21 verbose #26816 > >
00:38:21 verbose #26817 > > inl pingpong_velocity t =
00:38:21 verbose #26818 > >     velocity_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:38:21 verbose #26819 > >
00:38:21 verbose #26820 > > inl x = am'.init_series 0 3 0.01
00:38:21 verbose #26821 > > inl y = x |> am'.map_base pingpong_velocity
00:38:21 verbose #26822 > > "ping pong ball on a slinky", "time (s)", "", ;[[ "velocity (m/s)", x, y ]]
00:38:21 verbose #26823 > 00:38:20   debug #1493 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a8625e45963294b0e9f3aadbbb4a23b64014e8b401ced3383b278024e8b6e221/main.spi
00:38:21 verbose #26824 > >
00:38:21 verbose #26825 > > ╭─[ 385.55ms - return value ]──────────────────────────────────────────────────╮
00:38:21 verbose #26826 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:21 verbose #26827 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:21 verbose #26828 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:21 verbose #26829 > > │ stroke="none"/>                                                              │
00:38:21 verbose #26830 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:21 verbose #26831 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:21 verbose #26832 > > │ fill="#FFFFFF">                                                              │
00:38:21 verbose #26833 > > │ ping pong ball on a slinky                                                   │
00:38:21 verbose #26834 > > │ </text>                                                                      │
00:38:21 verbose #26835 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:38:21 verbose #26836 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26837 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:21 verbose #26838 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26839 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:38:21 verbose #26840 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26841 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:38:21 verbose #26842 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26843 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:38:21 verbose #26844 > > │ y2="75"/>                                                                    │
00:38:21 verbose #26845 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="103" y1="424"        │
00:38:21 verbose #26846 > > │ x2="103" y2="75"/>                                                           │
00:38:21 verbose #26847 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="111" y1="424"        │
00:38:21 verbose #26848 > > │ x2="111" y2="75"/>                                                           │
00:38:21 verbose #26849 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:21 verbose #26850 > > │ x2="119" y2="75"/>                                                           │
00:38:21 verbose #26851 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="128" y1="424"        │
00:38:21 verbose #26852 > > │ x2="128" y2="75"/>                                                           │
00:38:21 verbose #26853 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="136" y1="424"        │
00:38:21 verbose #26854 > > │ x2="136" y2="75"/>                                                           │
00:38:21 verbose #26855 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="144" y1="424"        │
00:38:21 verbose #26856 > > │ x2="144" y2="75"/>                                                           │
00:38:21 verbose #26857 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="153" y1="424"        │
00:38:21 verbose #26858 > > │ x2="153" y2="75"/>                                                           │
00:38:21 verbose #26859 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="161" y1="424"        │
00:38:21 verbose #26860 > > │ x2="161" y2="75"/>                                                           │
00:38:21 verbose #26861 > > │ <line o... 332,343 334,332 336,319 337,304 339,287 341,269 342,250 344,231   │
00:38:21 verbose #26862 > > │ 346,212 347,195 349,178 351,164 352,153 354,144 356,138 357,136 359,136      │
00:38:21 verbose #26863 > > │ 361,140 362,147 364,157 366,169 367,183 369,199 371,216 372,234 374,253      │
00:38:21 verbose #26864 > > │ 376,271 377,288 379,304 381,318 382,330 384,339 386,346 387,349 389,349      │
00:38:21 verbose #26865 > > │ 391,346 392,340 394,332 396,321 397,307 399,292 401,276 402,258 404,241      │
00:38:21 verbose #26866 > > │ 406,223 407,206 409,190 410,176 412,164 414,154 415,148 417,144 419,143      │
00:38:21 verbose #26867 > > │ 420,145 422,150 424,158 425,168 427,180 429,194 430,210 432,227 434,244      │
00:38:21 verbose #26868 > > │ 435,261 437,278 439,293 440,307 442,320 444,330 445,337 447,341 449,343      │
00:38:21 verbose #26869 > > │ 450,342 452,338 454,331 455,322 457,310 459,297 460,282 462,266 464,249      │
00:38:21 verbose #26870 > > │ 465,233 467,216 469,201 470,187 472,174 474,164 475,156 477,151 479,149      │
00:38:21 verbose #26871 > > │ 480,149 482,153 484,159 485,167 487,178 489,190 490,204 492,220 494,236      │
00:38:21 verbose #26872 > > │ 495,252 497,268 499,283 500,297 502,310 504,320 505,329 507,334 509,337      │
00:38:21 verbose #26873 > > │ 510,337 512,335 514,330 515,322 517,312 519,300 520,287 522,272 524,257      │
00:38:21 verbose #26874 > > │ 525,241 527,226 529,210 530,196 532,184 534,173 535,164 537,158 539,154      │
00:38:21 verbose #26875 > > │ 540,154 542,155 544,160 545,167 547,176 549,187 550,199 552,213 554,228      │
00:38:21 verbose #26876 > > │ 555,244 557,259 559,274 560,288 562,301 564,312 565,321 567,327 569,332 "/>  │
00:38:21 verbose #26877 > > │ <rect x="454" y="235" width="126" height="30" opacity="1" fill="none"        │
00:38:21 verbose #26878 > > │ stroke="#FFFFFF"/>                                                           │
00:38:21 verbose #26879 > > │ <text x="494" y="245" dy="0.76em" text-anchor="start"                        │
00:38:21 verbose #26880 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:21 verbose #26881 > > │ fill="#FFFFFF">                                                              │
00:38:21 verbose #26882 > > │ velocity (m/s)                                                               │
00:38:21 verbose #26883 > > │ </text>                                                                      │
00:38:21 verbose #26884 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:21 verbose #26885 > > │ points="464,250 484,250 "/>                                                  │
00:38:21 verbose #26886 > > │ </svg>                                                                       │
00:38:21 verbose #26887 > > │                                                                              │
00:38:21 verbose #26888 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:21 verbose #26889 > >
00:38:21 verbose #26890 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:21 verbose #26891 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:21 verbose #26892 > > │ ### shift                                                                    │
00:38:21 verbose #26893 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:21 verbose #26894 > >
00:38:21 verbose #26895 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:21 verbose #26896 > > type update_function s = s -> s
00:38:21 verbose #26897 > >
00:38:21 verbose #26898 > > type differential_equation s ds = s -> ds
00:38:21 verbose #26899 > >
00:38:21 verbose #26900 > > type numerical_method s ds = differential_equation s ds -> update_function s
00:38:21 verbose #26901 > >
00:38:21 verbose #26902 > >
00:38:21 verbose #26903 > > inl solver method =
00:38:21 verbose #26904 > >     method >> seq.iterate
00:38:21 verbose #26905 > > inl solver' method =
00:38:21 verbose #26906 > >     method >> seq.iterate'
00:38:21 verbose #26907 > > inl solver_ method =
00:38:21 verbose #26908 > >     method >> seq.iterate_
00:38:21 verbose #26909 > >
00:38:21 verbose #26910 > >
00:38:21 verbose #26911 > > inl euler_cromer_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:38:21 verbose #26912 > >     inl (rrr (_, _, dvdt)) = deriv t
00:38:21 verbose #26913 > >     inl t1 = t0 + dt
00:38:21 verbose #26914 > >     inl v1 = v0 + dvdt * dt
00:38:21 verbose #26915 > >     inl x1 = x0 + v1 * dt
00:38:21 verbose #26916 > >     state_1d (t1, x1, v1)
00:38:21 verbose #26917 > >
00:38:21 verbose #26918 > > inl update_txv_ec dt m fs =
00:38:21 verbose #26919 > >     euler_cromer_1d dt (newton_second_1d m fs)
00:38:21 verbose #26920 > >
00:38:21 verbose #26921 > > prototype (+++) ds : ds -> ds -> ds
00:38:21 verbose #26922 > > prototype scale ds : f64 -> ds -> ds
00:38:21 verbose #26923 > >
00:38:21 verbose #26924 > > instance (+++) rrr = fun (rrr (dtdt0, dxdt0, dvdt0)) (rrr (dtdt1, dxdt1, dvdt1))
00:38:21 verbose #26925 > > =>
00:38:21 verbose #26926 > >     rrr (dtdt0 + dtdt1, dxdt0 + dxdt1, dvdt0 + dvdt1)
00:38:21 verbose #26927 > >
00:38:21 verbose #26928 > > instance scale rrr = fun w (rrr (dtdt0, dxdt0, dvdt0)) =>
00:38:21 verbose #26929 > >     rrr (w * dtdt0, w * dxdt0, w * dvdt0)
00:38:21 verbose #26930 > >
00:38:21 verbose #26931 > > prototype shift s : forall ds. f64 -> ds -> s -> s
00:38:21 verbose #26932 > >
00:38:21 verbose #26933 > > instance shift state_1d = fun dt ds (state_1d (t, x, v)) =>
00:38:21 verbose #26934 > >     inl dtdt, dxdt, dvdt =
00:38:21 verbose #26935 > >         real
00:38:21 verbose #26936 > >             match ds with
00:38:21 verbose #26937 > >             | rrr x => x
00:38:21 verbose #26938 > >             | state_1d x => x
00:38:21 verbose #26939 > >     state_1d (t + dtdt * dt, x + dxdt * dt, v + dvdt * dt)
00:38:21 verbose #26940 > >
00:38:21 verbose #26941 > > inl euler dt deriv st0 =
00:38:21 verbose #26942 > >     shift dt (deriv st0) st0
00:38:21 verbose #26943 > >
00:38:21 verbose #26944 > > inl runge_kutta_4 dt deriv st0 =
00:38:21 verbose #26945 > >     inl m0 = deriv st0
00:38:21 verbose #26946 > >     inl m1 = deriv (shift (dt / 2) m0 st0)
00:38:21 verbose #26947 > >     inl m2 = deriv (shift (dt / 2) m1 st0)
00:38:21 verbose #26948 > >     inl m3 = deriv (shift dt m2 st0)
00:38:21 verbose #26949 > >     shift (dt / 6) (m0 +++ m1 +++ m1 +++ m2 +++ m2 +++ m3) st0
00:38:21 verbose #26950 > >
00:38:21 verbose #26951 > > inl exponential (_, x0, v0) =
00:38:21 verbose #26952 > >     1f64, v0, x0
00:38:21 verbose #26953 > >
00:38:21 verbose #26954 > > inl of_state_1d (state_1d (t, x, v)) =
00:38:21 verbose #26955 > >     t, x, v
00:38:22 verbose #26956 > 00:38:21   debug #1494 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2b177fa6e846fd6fe8c835d2b919f65eb7605ccdda9636c47e35dfa042b3ac26/main.spi
00:38:22 verbose #26957 > >
00:38:22 verbose #26958 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:22 verbose #26959 > > //// test
00:38:22 verbose #26960 > >
00:38:22 verbose #26961 > > solver (euler 0.01) (of_state_1d >> exponential >> state_1d) (state_1d (0, 1,
00:38:22 verbose #26962 > > 1)) 800i32
00:38:22 verbose #26963 > > |> _assert_eq (state_1d (7.999999999999874, 2864.8311229272326,
00:38:22 verbose #26964 > > 2864.8311229272326))
00:38:22 verbose #26965 > >
00:38:22 verbose #26966 > > solver (euler_cromer_1d 0.1) (of_state_1d >> exponential >> rrr) (state_1d (0,
00:38:22 verbose #26967 > > 1, 1)) 80i32
00:38:22 verbose #26968 > > |> _assert_eq (state_1d (7.999999999999988, 3043.379244966009,
00:38:22 verbose #26969 > > 2895.0121485099035))
00:38:22 verbose #26970 > >
00:38:22 verbose #26971 > > solver (runge_kutta_4 1) (of_state_1d >> exponential >> rrr) (state_1d (0, 1,
00:38:22 verbose #26972 > > 1)) 8i32
00:38:22 verbose #26973 > > |> _assert_eq (state_1d (8.0, 2894.789038540849, 2894.789038540849))
00:38:22 verbose #26974 > 00:38:21   debug #1495 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a84ed6aa97453ce0473d60123c8a13cc855b4896005faedfe86e4be5f38079c9/main.spi
00:38:22 verbose #26975 > >
00:38:22 verbose #26976 > > ╭─[ 512.68ms - stdout ]────────────────────────────────────────────────────────╮
00:38:22 verbose #26977 > > │ __assert_eq / actual: struct (8.0, 2864.831123, 2864.831123) / expected:     │
00:38:22 verbose #26978 > > │ struct (8.0, 2864.831123, 2864.831123)                                       │
00:38:22 verbose #26979 > > │ __assert_eq / actual: struct (8.0, 3043.379245, 2895.012149) / expected:     │
00:38:22 verbose #26980 > > │ struct (8.0, 3043.379245, 2895.012149)                                       │
00:38:22 verbose #26981 > > │ __assert_eq / actual: struct (8.0, 2894.789039, 2894.789039) / expected:     │
00:38:22 verbose #26982 > > │ struct (8.0, 2894.789039, 2894.789039)                                       │
00:38:22 verbose #26983 > > │                                                                              │
00:38:22 verbose #26984 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:22 verbose #26985 > >
00:38:22 verbose #26986 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:22 verbose #26987 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:22 verbose #26988 > > │ ### vec                                                                      │
00:38:22 verbose #26989 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:22 verbose #26990 > >
00:38:22 verbose #26991 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:22 verbose #26992 > > type vec =
00:38:22 verbose #26993 > >     {
00:38:22 verbose #26994 > >         x : f64
00:38:22 verbose #26995 > >         y : f64
00:38:22 verbose #26996 > >         z : f64
00:38:22 verbose #26997 > >     }
00:38:22 verbose #26998 > >
00:38:22 verbose #26999 > > inl vec x y z : vec =
00:38:22 verbose #27000 > >     { x y z }
00:38:23 verbose #27001 > 00:38:22   debug #1496 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c28cee7ab3252539f022429fa878866144d2047ab4135421fc603bcd098c50f1/main.spi
00:38:23 verbose #27002 > >
00:38:23 verbose #27003 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:23 verbose #27004 > > //// test
00:38:23 verbose #27005 > >
00:38:23 verbose #27006 > > vec 1 2 3 .z
00:38:23 verbose #27007 > > |> _assert_eq 3
00:38:23 verbose #27008 > 00:38:22   debug #1497 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32fa5d5587282464522590037b07108ac5de4837904f39dfe01d3348422df2f2/main.spi
00:38:23 verbose #27009 > >
00:38:23 verbose #27010 > > ╭─[ 363.65ms - stdout ]────────────────────────────────────────────────────────╮
00:38:23 verbose #27011 > > │ __assert_eq / actual: 3.0 / expected: 3.0                                    │
00:38:23 verbose #27012 > > │                                                                              │
00:38:23 verbose #27013 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:23 verbose #27014 > >
00:38:23 verbose #27015 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:23 verbose #27016 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:23 verbose #27017 > > │ #### consts                                                                  │
00:38:23 verbose #27018 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:23 verbose #27019 > >
00:38:23 verbose #27020 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:23 verbose #27021 > > inl i_hat () = vec 1 0 0
00:38:23 verbose #27022 > > inl j_hat () = vec 0 1 0
00:38:23 verbose #27023 > > inl k_hat () = vec 0 0 1
00:38:23 verbose #27024 > > inl zero_vec () = vec 0 0 0
00:38:23 verbose #27025 > 00:38:22   debug #1498 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f788cd1834a9711c3513641fb8cdd0a4c456c1559dd1074498fbaa5feff8304b/main.spi
00:38:24 verbose #27026 > >
00:38:24 verbose #27027 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:24 verbose #27028 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:24 verbose #27029 > > │ #### ^+^                                                                     │
00:38:24 verbose #27030 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:24 verbose #27031 > >
00:38:24 verbose #27032 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:24 verbose #27033 > > inl (^+^) (a : vec) (b : vec) =
00:38:24 verbose #27034 > >     vec (a.x + b.x) (a.y + b.y) (a.z + b.z)
00:38:24 verbose #27035 > 00:38:23   debug #1499 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9f74772cbec4124144d174a5ab9e4accccd6db003a3d1c6c93859f1b2777fce6/main.spi
00:38:24 verbose #27036 > >
00:38:24 verbose #27037 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:24 verbose #27038 > > //// test
00:38:24 verbose #27039 > >
00:38:24 verbose #27040 > > vec 1 2 3 ^+^ vec 4 5 6
00:38:24 verbose #27041 > > |> _assert_eq (vec 5 7 9)
00:38:24 verbose #27042 > 00:38:23   debug #1500 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5245ecfda5104d7d1d4df505c026d5b0b182d9e741a27e682da71bf5afd01137/main.spi
00:38:24 verbose #27043 > >
00:38:24 verbose #27044 > > ╭─[ 412.05ms - stdout ]────────────────────────────────────────────────────────╮
00:38:24 verbose #27045 > > │ __assert_eq / actual: struct (5.0, 7.0, 9.0) / expected: struct (5.0, 7.0,   │
00:38:24 verbose #27046 > > │ 9.0)                                                                         │
00:38:24 verbose #27047 > > │                                                                              │
00:38:24 verbose #27048 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:24 verbose #27049 > >
00:38:24 verbose #27050 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:24 verbose #27051 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:24 verbose #27052 > > │ #### sum_vec                                                                 │
00:38:24 verbose #27053 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:24 verbose #27054 > >
00:38:24 verbose #27055 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:24 verbose #27056 > > inl sum_vec vs =
00:38:24 verbose #27057 > >     vs |> listm.fold (^+^) (zero_vec ())
00:38:25 verbose #27058 > 00:38:24   debug #1501 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3a67358f48b2ada0cc471184639b494e01dc0d23a7658e81fc425d664e785cf2/main.spi
00:38:25 verbose #27059 > >
00:38:25 verbose #27060 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:25 verbose #27061 > > //// test
00:38:25 verbose #27062 > >
00:38:25 verbose #27063 > > [[ vec 1 2 3; vec 4 5 6 ]]
00:38:25 verbose #27064 > > |> sum_vec
00:38:25 verbose #27065 > > |> _assert_eq (vec 5 7 9)
00:38:25 verbose #27066 > 00:38:24   debug #1502 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5442cf2c82771c1c0d111dc1153fc4641a89ff6577fb22786c2f1a32b7d058dd/main.spi
00:38:25 verbose #27067 > >
00:38:25 verbose #27068 > > ╭─[ 495.49ms - stdout ]────────────────────────────────────────────────────────╮
00:38:25 verbose #27069 > > │ __assert_eq / actual: struct (5.0, 7.0, 9.0) / expected: struct (5.0, 7.0,   │
00:38:25 verbose #27070 > > │ 9.0)                                                                         │
00:38:25 verbose #27071 > > │                                                                              │
00:38:25 verbose #27072 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:25 verbose #27073 > >
00:38:25 verbose #27074 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:25 verbose #27075 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:25 verbose #27076 > > │ #### *^                                                                      │
00:38:25 verbose #27077 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:25 verbose #27078 > >
00:38:25 verbose #27079 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:25 verbose #27080 > > inl (*^) c { x y z } =
00:38:25 verbose #27081 > >     vec (c * x) (c * y) (c * z)
00:38:26 verbose #27082 > 00:38:25   debug #1503 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/92bdd32c44dfc258a439cf535819f813e68866fae2c7c54b9e6d3a32ebbd2965/main.spi
00:38:26 verbose #27083 > >
00:38:26 verbose #27084 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:26 verbose #27085 > > //// test
00:38:26 verbose #27086 > >
00:38:26 verbose #27087 > > 5 *^ vec 1 2 3
00:38:26 verbose #27088 > > |> _assert_eq (vec 5 10 15)
00:38:26 verbose #27089 > 00:38:25   debug #1504 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ece1631e00b9c319a9b09efcd9208271eca60f83141fdcbddbb06480581a15d1/main.spi
00:38:26 verbose #27090 > >
00:38:26 verbose #27091 > > ╭─[ 411.85ms - stdout ]────────────────────────────────────────────────────────╮
00:38:26 verbose #27092 > > │ __assert_eq / actual: struct (5.0, 10.0, 15.0) / expected: struct (5.0,      │
00:38:26 verbose #27093 > > │ 10.0, 15.0)                                                                  │
00:38:26 verbose #27094 > > │                                                                              │
00:38:26 verbose #27095 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:26 verbose #27096 > >
00:38:26 verbose #27097 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:26 verbose #27098 > > //// test
00:38:26 verbose #27099 > >
00:38:26 verbose #27100 > > 3 *^ i_hat () ^+^ 4 *^ k_hat ()
00:38:26 verbose #27101 > > |> _assert_eq (vec 3 0 4)
00:38:26 verbose #27102 > 00:38:25   debug #1505 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8c11de930ff1bc25d289a930c42e23ff99f5670e28dc30fca88830e099e693fc/main.spi
00:38:26 verbose #27103 > >
00:38:26 verbose #27104 > > ╭─[ 346.21ms - stdout ]────────────────────────────────────────────────────────╮
00:38:26 verbose #27105 > > │ __assert_eq / actual: struct (3.0, 0.0, 4.0) / expected: struct (3.0, 0.0,   │
00:38:26 verbose #27106 > > │ 4.0)                                                                         │
00:38:26 verbose #27107 > > │                                                                              │
00:38:26 verbose #27108 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:26 verbose #27109 > >
00:38:26 verbose #27110 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:26 verbose #27111 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:26 verbose #27112 > > │ #### ^*                                                                      │
00:38:26 verbose #27113 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:26 verbose #27114 > >
00:38:26 verbose #27115 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:26 verbose #27116 > > inl (^*) v c =
00:38:26 verbose #27117 > >     (*^) c v
00:38:27 verbose #27118 > 00:38:26   debug #1506 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/59889c51298a8d14ac9095651bef3494224035f7d740352b1bda6b044acdbc04/main.spi
00:38:27 verbose #27119 > >
00:38:27 verbose #27120 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:27 verbose #27121 > > //// test
00:38:27 verbose #27122 > >
00:38:27 verbose #27123 > > vec 1 2 3 ^* 5
00:38:27 verbose #27124 > > |> _assert_eq (vec 5 10 15)
00:38:27 verbose #27125 > 00:38:26   debug #1507 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d380c606f15910da1731162281a3e40a8a089f146c35228494540187f7f9fe2/main.spi
00:38:27 verbose #27126 > >
00:38:27 verbose #27127 > > ╭─[ 399.53ms - stdout ]────────────────────────────────────────────────────────╮
00:38:27 verbose #27128 > > │ __assert_eq / actual: struct (5.0, 10.0, 15.0) / expected: struct (5.0,      │
00:38:27 verbose #27129 > > │ 10.0, 15.0)                                                                  │
00:38:27 verbose #27130 > > │                                                                              │
00:38:27 verbose #27131 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:27 verbose #27132 > >
00:38:27 verbose #27133 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:27 verbose #27134 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:27 verbose #27135 > > │ #### ^/                                                                      │
00:38:27 verbose #27136 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:27 verbose #27137 > >
00:38:27 verbose #27138 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:27 verbose #27139 > > inl (^/) { x y z } c =
00:38:27 verbose #27140 > >     vec (x / c) (y / c) (z / c)
00:38:27 verbose #27141 > 00:38:27   debug #1508 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/378cd9b6f74661d3c712706d623d491ace2c75df3f746e352e2097ec029f7075/main.spi
00:38:28 verbose #27142 > >
00:38:28 verbose #27143 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:28 verbose #27144 > > //// test
00:38:28 verbose #27145 > >
00:38:28 verbose #27146 > > vec 1 2 3 ^/ 5
00:38:28 verbose #27147 > > |> _assert_eq (vec 0.2 0.4 0.6)
00:38:28 verbose #27148 > 00:38:27   debug #1509 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/552f59ec93780eb5201f3e7a180a14f817e5c8d9b9fb8b354f5122362ce9d150/main.spi
00:38:28 verbose #27149 > >
00:38:28 verbose #27150 > > ╭─[ 480.37ms - stdout ]────────────────────────────────────────────────────────╮
00:38:28 verbose #27151 > > │ __assert_eq / actual: struct (0.2, 0.4, 0.6) / expected: struct (0.2, 0.4,   │
00:38:28 verbose #27152 > > │ 0.6)                                                                         │
00:38:28 verbose #27153 > > │                                                                              │
00:38:28 verbose #27154 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:28 verbose #27155 > >
00:38:28 verbose #27156 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:28 verbose #27157 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:28 verbose #27158 > > │ #### negate_vec                                                              │
00:38:28 verbose #27159 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:28 verbose #27160 > >
00:38:28 verbose #27161 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:28 verbose #27162 > > inl negate_vec v =
00:38:28 verbose #27163 > >     v ^* -1
00:38:28 verbose #27164 > 00:38:27   debug #1510 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/94131339c78ccd2c8d0a4031da3525710f40ec6258ab6fe6a34eaf9a43d2b1bb/main.spi
00:38:28 verbose #27165 > >
00:38:28 verbose #27166 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:28 verbose #27167 > > //// test
00:38:28 verbose #27168 > >
00:38:28 verbose #27169 > > vec 1 2 3
00:38:28 verbose #27170 > > |> negate_vec
00:38:28 verbose #27171 > > |> _assert_eq (vec -1 -2 -3)
00:38:29 verbose #27172 > 00:38:28   debug #1511 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fdedac425a2786add255f65932c63d6c0017b4f318bc624777cbd33cfd89bd23/main.spi
00:38:29 verbose #27173 > >
00:38:29 verbose #27174 > > ╭─[ 373.80ms - stdout ]────────────────────────────────────────────────────────╮
00:38:29 verbose #27175 > > │ __assert_eq / actual: struct (-1.0, -2.0, -3.0) / expected: struct (-1.0,    │
00:38:29 verbose #27176 > > │ -2.0, -3.0)                                                                  │
00:38:29 verbose #27177 > > │                                                                              │
00:38:29 verbose #27178 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:29 verbose #27179 > >
00:38:29 verbose #27180 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:29 verbose #27181 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:29 verbose #27182 > > │ #### ^-^                                                                     │
00:38:29 verbose #27183 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:29 verbose #27184 > >
00:38:29 verbose #27185 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:29 verbose #27186 > > inl (^-^) a b =
00:38:29 verbose #27187 > >     a ^+^ (negate_vec b)
00:38:29 verbose #27188 > 00:38:28   debug #1512 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/21fdbe192bd77f3a4e73490f37b52779b386f16099555bea04e906a05c22da17/main.spi
00:38:29 verbose #27189 > >
00:38:29 verbose #27190 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:29 verbose #27191 > > //// test
00:38:29 verbose #27192 > >
00:38:29 verbose #27193 > > vec 1 2 3 ^-^ vec 4 5 6
00:38:29 verbose #27194 > > |> _assert_eq (vec -3 -3 -3)
00:38:29 verbose #27195 > 00:38:29   debug #1513 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/917b97ceff00ea221782681c05a221c5d0f232ad35e4cd7160aa9ac74dc6eea1/main.spi
00:38:30 verbose #27196 > >
00:38:30 verbose #27197 > > ╭─[ 412.10ms - stdout ]────────────────────────────────────────────────────────╮
00:38:30 verbose #27198 > > │ __assert_eq / actual: struct (-3.0, -3.0, -3.0) / expected: struct (-3.0,    │
00:38:30 verbose #27199 > > │ -3.0, -3.0)                                                                  │
00:38:30 verbose #27200 > > │                                                                              │
00:38:30 verbose #27201 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:30 verbose #27202 > >
00:38:30 verbose #27203 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:30 verbose #27204 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:30 verbose #27205 > > │ #### <.>                                                                     │
00:38:30 verbose #27206 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:30 verbose #27207 > >
00:38:30 verbose #27208 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:30 verbose #27209 > > inl (<.>) { x = ax y = ay z = az } { x = bx y = by z = bz } =
00:38:30 verbose #27210 > >     ax * bx + ay * by + az * bz
00:38:30 verbose #27211 > 00:38:29   debug #1514 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/99065ad3b1b895ff28a5df348ec2bbea4f42427970f91af6aa2fae6941fc41de/main.spi
00:38:30 verbose #27212 > >
00:38:30 verbose #27213 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:30 verbose #27214 > > //// test
00:38:30 verbose #27215 > >
00:38:30 verbose #27216 > > vec 1 2 3 <.> vec 4 5 6
00:38:30 verbose #27217 > > |> _assert_eq 32
00:38:30 verbose #27218 > 00:38:29   debug #1515 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c592c23878dc38d73876d3c8040729162c10400637a35814485722934550778b/main.spi
00:38:31 verbose #27219 > >
00:38:31 verbose #27220 > > ╭─[ 380.80ms - stdout ]────────────────────────────────────────────────────────╮
00:38:31 verbose #27221 > > │ __assert_eq / actual: 32.0 / expected: 32.0                                  │
00:38:31 verbose #27222 > > │                                                                              │
00:38:31 verbose #27223 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:31 verbose #27224 > >
00:38:31 verbose #27225 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:31 verbose #27226 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:31 verbose #27227 > > │ #### \>\<                                                                    │
00:38:31 verbose #27228 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:31 verbose #27229 > >
00:38:31 verbose #27230 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:31 verbose #27231 > > inl (><) (a : vec) (b : vec) =
00:38:31 verbose #27232 > >     vec
00:38:31 verbose #27233 > >         (a.y * b.z - a.z * b.y)
00:38:31 verbose #27234 > >         (a.z * b.x - a.x * b.z)
00:38:31 verbose #27235 > >         (a.x * b.y - a.y * b.x)
00:38:31 verbose #27236 > 00:38:30   debug #1516 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aed2496334bafb5bd0a8a3712ad9c397e37ac9eb9540c9bd6ae381349f1f0c82/main.spi
00:38:31 verbose #27237 > >
00:38:31 verbose #27238 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:31 verbose #27239 > > //// test
00:38:31 verbose #27240 > >
00:38:31 verbose #27241 > > vec 1 2 3 >< vec 4 5 6
00:38:31 verbose #27242 > > |> _assert_eq (vec -3 6 -3)
00:38:31 verbose #27243 > 00:38:30   debug #1517 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4d2e5b8e098db900b3d3cbebe62eaa5095e497ecca8fc9d7c338a5d69dbaa146/main.spi
00:38:31 verbose #27244 > >
00:38:31 verbose #27245 > > ╭─[ 410.53ms - stdout ]────────────────────────────────────────────────────────╮
00:38:31 verbose #27246 > > │ __assert_eq / actual: struct (-3.0, 6.0, -3.0) / expected: struct (-3.0,     │
00:38:31 verbose #27247 > > │ 6.0, -3.0)                                                                   │
00:38:31 verbose #27248 > > │                                                                              │
00:38:31 verbose #27249 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:31 verbose #27250 > >
00:38:31 verbose #27251 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:31 verbose #27252 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:31 verbose #27253 > > │ #### magnitude                                                               │
00:38:31 verbose #27254 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:31 verbose #27255 > >
00:38:31 verbose #27256 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:31 verbose #27257 > > inl magnitude v =
00:38:31 verbose #27258 > >     v <.> v |> sqrt
00:38:32 verbose #27259 > 00:38:31   debug #1518 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5a4ef11f464163246b95d2d8a8a31049c400054f70717b4ac0c1129ef3769534/main.spi
00:38:32 verbose #27260 > >
00:38:32 verbose #27261 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:32 verbose #27262 > > //// test
00:38:32 verbose #27263 > >
00:38:32 verbose #27264 > > vec 1 2 3
00:38:32 verbose #27265 > > |> magnitude
00:38:32 verbose #27266 > > |> _assert_approx_eq None 3.7416573867739413
00:38:32 verbose #27267 > 00:38:31   debug #1519 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab3a75d21b70fe9b9216d4205d776cef4d56277a8a920676d80415fcb0fabd53/main.spi
00:38:32 verbose #27268 > >
00:38:32 verbose #27269 > > ╭─[ 443.62ms - stdout ]────────────────────────────────────────────────────────╮
00:38:32 verbose #27270 > > │ __assert_approx_eq / actual: 3.741657387 / expected: 3.741657387             │
00:38:32 verbose #27271 > > │                                                                              │
00:38:32 verbose #27272 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:32 verbose #27273 > >
00:38:32 verbose #27274 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:32 verbose #27275 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:32 verbose #27276 > > │ #### v1                                                                      │
00:38:32 verbose #27277 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:32 verbose #27278 > >
00:38:32 verbose #27279 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:32 verbose #27280 > > inl v1 t =
00:38:32 verbose #27281 > >     2 *^ (t ** 2 *^ i_hat () ^+^ 3 *^ (t ** 3 *^ j_hat () ^+^ t ** 4 *^ k_hat
00:38:32 verbose #27282 > > ()))
00:38:32 verbose #27283 > 00:38:31   debug #1520 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bccaf202d365272670f9847a8e686d3714808ec24394c0ad41e033008e5eae3b/main.spi
00:38:33 verbose #27284 > >
00:38:33 verbose #27285 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:33 verbose #27286 > > //// test
00:38:33 verbose #27287 > >
00:38:33 verbose #27288 > > v1 1
00:38:33 verbose #27289 > > |> _assert_eq (vec 2 6 6)
00:38:33 verbose #27290 > 00:38:32   debug #1521 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dd01ed090b29d53add2670d3f8311d2c964c1d5e37c395569e3a3accda865794/main.spi
00:38:33 verbose #27291 > >
00:38:33 verbose #27292 > > ╭─[ 414.57ms - stdout ]────────────────────────────────────────────────────────╮
00:38:33 verbose #27293 > > │ __assert_eq / actual: struct (2.0, 6.0, 6.0) / expected: struct (2.0, 6.0,   │
00:38:33 verbose #27294 > > │ 6.0)                                                                         │
00:38:33 verbose #27295 > > │                                                                              │
00:38:33 verbose #27296 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:33 verbose #27297 > >
00:38:33 verbose #27298 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:33 verbose #27299 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:33 verbose #27300 > > │ #### vec_derivative                                                          │
00:38:33 verbose #27301 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:33 verbose #27302 > >
00:38:33 verbose #27303 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:33 verbose #27304 > > type vec_derivative = (f64 -> vec) -> f64 -> vec
00:38:33 verbose #27305 > >
00:38:33 verbose #27306 > > inl vec_derivative dt : vec_derivative =
00:38:33 verbose #27307 > >     fun v t =>
00:38:33 verbose #27308 > >         (v (t + dt / 2) ^-^ v (t - dt / 2)) ^/ dt
00:38:33 verbose #27309 > 00:38:32   debug #1522 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/87e27af0bacfed532e3311bf8799be231fc5baf402cb779ed47aa9bb69ad6e0d/main.spi
00:38:33 verbose #27310 > >
00:38:33 verbose #27311 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:33 verbose #27312 > > //// test
00:38:33 verbose #27313 > >
00:38:33 verbose #27314 > > vec_derivative 0.01 v1 3 .x
00:38:33 verbose #27315 > > |> _assert_approx_eq None (derivative 0.01 (v1 >> fun v => v.x) 3)
00:38:34 verbose #27316 > 00:38:33   debug #1523 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8fc8071c92b6b3cf61db97bc0979dcddf2bd80f2bc4da43fc2257ab2fb395622/main.spi
00:38:34 verbose #27317 > >
00:38:34 verbose #27318 > > ╭─[ 475.32ms - stdout ]────────────────────────────────────────────────────────╮
00:38:34 verbose #27319 > > │ __assert_approx_eq / actual: 12.0 / expected: 12.0                           │
00:38:34 verbose #27320 > > │                                                                              │
00:38:34 verbose #27321 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:34 verbose #27322 > >
00:38:34 verbose #27323 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:34 verbose #27324 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:34 verbose #27325 > > │ ### states_ps                                                                │
00:38:34 verbose #27326 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:34 verbose #27327 > >
00:38:34 verbose #27328 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:34 verbose #27329 > > nominal particle_state =
00:38:34 verbose #27330 > >     {
00:38:34 verbose #27331 > >         mass : f64
00:38:34 verbose #27332 > >         charge : f64
00:38:34 verbose #27333 > >         time : f64
00:38:34 verbose #27334 > >         pos_vec : vec
00:38:34 verbose #27335 > >         velocity : vec
00:38:34 verbose #27336 > >     }
00:38:34 verbose #27337 > >
00:38:34 verbose #27338 > > inl default_particle_state () : particle_state =
00:38:34 verbose #27339 > >     particle_state {
00:38:34 verbose #27340 > >         mass = 1
00:38:34 verbose #27341 > >         charge = 0
00:38:34 verbose #27342 > >         time = 0
00:38:34 verbose #27343 > >         pos_vec = zero_vec ()
00:38:34 verbose #27344 > >         velocity = zero_vec ()
00:38:34 verbose #27345 > >     }
00:38:34 verbose #27346 > >
00:38:34 verbose #27347 > > type one_body_force = particle_state -> vec
00:38:34 verbose #27348 > >
00:38:34 verbose #27349 > > nominal d_particle_state =
00:38:34 verbose #27350 > >     {
00:38:34 verbose #27351 > >         dmdt : f64
00:38:34 verbose #27352 > >         dqdt : f64
00:38:34 verbose #27353 > >         dtdt : f64
00:38:34 verbose #27354 > >         drdt : vec
00:38:34 verbose #27355 > >         dvdt : vec
00:38:34 verbose #27356 > >     }
00:38:34 verbose #27357 > >
00:38:34 verbose #27358 > > inl newton_second_ps (fs : list one_body_force) (st : particle_state) :
00:38:34 verbose #27359 > > d_particle_state =
00:38:34 verbose #27360 > >     inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:38:34 verbose #27361 > >     d_particle_state {
00:38:34 verbose #27362 > >         dmdt = 0
00:38:34 verbose #27363 > >         dqdt = 0
00:38:34 verbose #27364 > >         dtdt = 1
00:38:34 verbose #27365 > >         drdt = st.velocity
00:38:34 verbose #27366 > >         dvdt = f_net ^/ st.mass
00:38:34 verbose #27367 > >     }
00:38:34 verbose #27368 > >
00:38:34 verbose #27369 > > inl earth_surface_gravity (st : particle_state) =
00:38:34 verbose #27370 > >     inl g = 9.80665
00:38:34 verbose #27371 > >     -st.mass * g *^ k_hat ()
00:38:34 verbose #27372 > >
00:38:34 verbose #27373 > > inl air_resistance drag rho area (st : particle_state) =
00:38:34 verbose #27374 > >     -0.5 * drag * rho * area * magnitude st.velocity *^ st.velocity
00:38:34 verbose #27375 > >
00:38:34 verbose #27376 > > inl euler_cromer_ps dt (deriv : particle_state -> d_particle_state)
00:38:34 verbose #27377 > > (particle_state st) =
00:38:34 verbose #27378 > >     inl dst : d_particle_state = deriv (particle_state st)
00:38:34 verbose #27379 > >     inl v' = st.velocity ^+^ dst.dvdt ^* dt
00:38:34 verbose #27380 > >     particle_state { st with
00:38:34 verbose #27381 > >         time = st.time + dt
00:38:34 verbose #27382 > >         pos_vec = st.pos_vec ^+^ v' ^* dt
00:38:34 verbose #27383 > >         velocity = st.velocity ^+^ dst.dvdt ^* dt
00:38:34 verbose #27384 > >     }
00:38:34 verbose #27385 > >
00:38:34 verbose #27386 > > instance (+++) d_particle_state = fun (dps : d_particle_state) (dps' :
00:38:34 verbose #27387 > > d_particle_state) =>
00:38:34 verbose #27388 > >     d_particle_state {
00:38:34 verbose #27389 > >         dmdt = dps.dmdt + dps'.dmdt
00:38:34 verbose #27390 > >         dqdt = dps.dqdt + dps'.dqdt
00:38:34 verbose #27391 > >         dtdt = dps.dtdt + dps'.dtdt
00:38:34 verbose #27392 > >         drdt = dps.drdt ^+^ dps'.drdt
00:38:34 verbose #27393 > >         dvdt = dps.dvdt ^+^ dps'.dvdt
00:38:34 verbose #27394 > >     }
00:38:34 verbose #27395 > >
00:38:34 verbose #27396 > > instance scale d_particle_state = fun w (dps : d_particle_state) =>
00:38:34 verbose #27397 > >     d_particle_state {
00:38:34 verbose #27398 > >         dmdt = w * dps.dmdt
00:38:34 verbose #27399 > >         dqdt = w * dps.dqdt
00:38:34 verbose #27400 > >         dtdt = w * dps.dtdt
00:38:34 verbose #27401 > >         drdt = w *^ dps.drdt
00:38:34 verbose #27402 > >         dvdt = w *^ dps.dvdt
00:38:34 verbose #27403 > >     }
00:38:34 verbose #27404 > >
00:38:34 verbose #27405 > > instance shift particle_state = fun dt dps (particle_state st) =>
00:38:34 verbose #27406 > >     inl (d_particle_state dps) =
00:38:34 verbose #27407 > >         real
00:38:34 verbose #27408 > >             match dps with
00:38:34 verbose #27409 > >             | d_particle_state _ => dps
00:38:34 verbose #27410 > >     particle_state { st with
00:38:34 verbose #27411 > >         time = st.time + dps.dtdt * dt
00:38:34 verbose #27412 > >         pos_vec = st.pos_vec ^+^ dps.drdt ^* dt
00:38:34 verbose #27413 > >         velocity = st.velocity ^+^ dps.dvdt ^* dt
00:38:34 verbose #27414 > >     }
00:38:34 verbose #27415 > >
00:38:34 verbose #27416 > > inl states_ps (method : numerical_method particle_state d_particle_state) : _ ->
00:38:34 verbose #27417 > > _ -> i32 -> particle_state =
00:38:34 verbose #27418 > >     newton_second_ps >> method >> seq.iterate_
00:38:34 verbose #27419 > >
00:38:34 verbose #27420 > > inl z_ge0 sts =
00:38:34 verbose #27421 > >     sts
00:38:34 verbose #27422 > >     |> seq.take_while_ (fun (particle_state st) _ => st.pos_vec.z >= 0)
00:38:34 verbose #27423 > >
00:38:34 verbose #27424 > > inl trajectory sts =
00:38:34 verbose #27425 > >     sts |> listm.map (fun (particle_state st) => st.pos_vec.y, st.pos_vec.z)
00:38:34 verbose #27426 > 00:38:33   debug #1524 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cd98f06c047657503dc797c251df3bbd477097d3bb62b295190aef5b973cefaf/main.spi
00:38:34 verbose #27427 > >
00:38:34 verbose #27428 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:34 verbose #27429 > > //// test
00:38:34 verbose #27430 > >
00:38:34 verbose #27431 > > inl update_ps (method : numerical_method particle_state d_particle_state) =
00:38:34 verbose #27432 > >     newton_second_ps >> method
00:38:34 verbose #27433 > >
00:38:34 verbose #27434 > > inl position_ps (method : numerical_method particle_state d_particle_state) fs
00:38:34 verbose #27435 > > st t =
00:38:34 verbose #27436 > >     inl states : i32 -> particle_state = states_ps method fs st
00:38:34 verbose #27437 > >     inl dt = (states 1).time - (states 0).time
00:38:34 verbose #27438 > >     inl num_steps = t / dt |> math.round |> abs
00:38:34 verbose #27439 > >     inl st1 = solver' method (newton_second_ps fs) st num_steps
00:38:34 verbose #27440 > >     st1.pos_vec
00:38:34 verbose #27441 > >
00:38:34 verbose #27442 > > inl sun_gravity (st : particle_state) : vec =
00:38:34 verbose #27443 > >     inl big_g = 0.0000000000667408
00:38:34 verbose #27444 > >     inl sun_mass = 1988480000000000000000000000000
00:38:34 verbose #27445 > >     -big_g * sun_mass * st.mass *^ st.pos_vec ^/ magnitude st.pos_vec ** 3
00:38:34 verbose #27446 > >
00:38:34 verbose #27447 > > inl wind_force v_wind drag rho area (st : particle_state) =
00:38:34 verbose #27448 > >     inl v_rel = st.velocity ^-^ v_wind
00:38:34 verbose #27449 > >     -0.5 * drag * rho * area * magnitude v_rel *^ v_rel
00:38:34 verbose #27450 > >
00:38:34 verbose #27451 > > inl rock_state () =
00:38:34 verbose #27452 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:34 verbose #27453 > >     particle_state { default_particle_state' with
00:38:34 verbose #27454 > >         mass = 2
00:38:34 verbose #27455 > >         velocity = vec 3 0 4
00:38:34 verbose #27456 > >     }
00:38:34 verbose #27457 > >
00:38:34 verbose #27458 > > inl halley_update dt =
00:38:34 verbose #27459 > >     update_ps (euler_cromer_ps dt) [[ sun_gravity ]]
00:38:34 verbose #27460 > >
00:38:34 verbose #27461 > > inl halley_initial () =
00:38:34 verbose #27462 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:34 verbose #27463 > >     particle_state { default_particle_state' with
00:38:34 verbose #27464 > >         mass = 220000000000000
00:38:34 verbose #27465 > >         pos_vec = 87660000000 *^ i_hat ()
00:38:34 verbose #27466 > >         velocity = 54569 *^ j_hat ()
00:38:34 verbose #27467 > >     }
00:38:34 verbose #27468 > 00:38:34   debug #1525 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1b5e617304f18bbdd8745dbb0f62afafedb648660c33e3b9762cc0e32be7f533/main.spi
00:38:35 verbose #27469 > >
00:38:35 verbose #27470 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:35 verbose #27471 > > //// test
00:38:35 verbose #27472 > >
00:38:35 verbose #27473 > > inl baseball_forces () =
00:38:35 verbose #27474 > >     inl area = pi * (0.074 / 2) ** 2
00:38:35 verbose #27475 > >     [[
00:38:35 verbose #27476 > >         earth_surface_gravity
00:38:35 verbose #27477 > >         air_resistance 0.3 1.225 area
00:38:35 verbose #27478 > >     ]]
00:38:35 verbose #27479 > >
00:38:35 verbose #27480 > > inl baseball_trajectory dt v0 theta_deg =
00:38:35 verbose #27481 > >     inl theta_rad = theta_deg * pi / 180
00:38:35 verbose #27482 > >     inl vy0 = v0 * cos theta_rad
00:38:35 verbose #27483 > >     inl vz0 = v0 * sin theta_rad
00:38:35 verbose #27484 > >     inl initial_state =
00:38:35 verbose #27485 > >         particle_state {
00:38:35 verbose #27486 > >             mass = 0.145
00:38:35 verbose #27487 > >             charge = 0
00:38:35 verbose #27488 > >             time = 0
00:38:35 verbose #27489 > >             pos_vec = zero_vec ()
00:38:35 verbose #27490 > >             velocity = vec 0 vy0 vz0
00:38:35 verbose #27491 > >         }
00:38:35 verbose #27492 > >     states_ps (euler_cromer_ps dt) (baseball_forces ()) initial_state
00:38:35 verbose #27493 > >     >> Some
00:38:35 verbose #27494 > >     |> z_ge0
00:38:35 verbose #27495 > >     |> trajectory
00:38:35 verbose #27496 > >
00:38:35 verbose #27497 > > inl baseball_range dt v0 theta_deg =
00:38:35 verbose #27498 > >     baseball_trajectory dt v0 theta_deg
00:38:35 verbose #27499 > >     |> listm.fold (fun _ (y, _) => y) 0
00:38:35 verbose #27500 > >
00:38:35 verbose #27501 > > inl x = am'.init_series 10 80 1
00:38:35 verbose #27502 > > inl y = x |> am'.map_base (baseball_range 0.01 45)
00:38:35 verbose #27503 > > "range for a baseball hit at 45 m/s",
00:38:35 verbose #27504 > > "angle above horizontal (degrees)",
00:38:35 verbose #27505 > > "",
00:38:35 verbose #27506 > > ;[[ "horizontal range (m)", x, y ]]
00:38:35 verbose #27507 > 00:38:34   debug #1526 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b082c8c9b4629cba8166099f9dc7d7b5dd1825c68823d95c9501fb39ba891bd4/main.spi
00:38:36 verbose #27508 > >
00:38:36 verbose #27509 > > ╭─[ 947.15ms - return value ]──────────────────────────────────────────────────╮
00:38:36 verbose #27510 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:36 verbose #27511 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:36 verbose #27512 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:36 verbose #27513 > > │ stroke="none"/>                                                              │
00:38:36 verbose #27514 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:36 verbose #27515 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:36 verbose #27516 > > │ fill="#FFFFFF">                                                              │
00:38:36 verbose #27517 > > │ range for a baseball hit at 45 m/s                                           │
00:38:36 verbose #27518 > > │ </text>                                                                      │
00:38:36 verbose #27519 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="55" y1="424" x2="55" │
00:38:36 verbose #27520 > > │ y2="75"/>                                                                    │
00:38:36 verbose #27521 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:38:36 verbose #27522 > > │ y2="75"/>                                                                    │
00:38:36 verbose #27523 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:36 verbose #27524 > > │ y2="75"/>                                                                    │
00:38:36 verbose #27525 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:38:36 verbose #27526 > > │ y2="75"/>                                                                    │
00:38:36 verbose #27527 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="84" y1="424" x2="84" │
00:38:36 verbose #27528 > > │ y2="75"/>                                                                    │
00:38:36 verbose #27529 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="91" y1="424" x2="91" │
00:38:36 verbose #27530 > > │ y2="75"/>                                                                    │
00:38:36 verbose #27531 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="98" y1="424" x2="98" │
00:38:36 verbose #27532 > > │ y2="75"/>                                                                    │
00:38:36 verbose #27533 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="105" y1="424"        │
00:38:36 verbose #27534 > > │ x2="105" y2="75"/>                                                           │
00:38:36 verbose #27535 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="112" y1="424"        │
00:38:36 verbose #27536 > > │ x2="112" y2="75"/>                                                           │
00:38:36 verbose #27537 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:36 verbose #27538 > > │ x2="119" y2="75"/>                                                           │
00:38:36 verbose #27539 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="127" y1="424"        │
00:38:36 verbose #27540 > > │ x2="127" y2="75"/>                                                           │
00:38:36 verbose #27541 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="134" y1="424"        │
00:38:36 verbose #27542 > > │ x2="134" y2="75"/>                                                           │
00:38:36 verbose #27543 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="141" y1="424"        │
00:38:36 verbose #27544 > > │ x2="141" y2="75"/>                                                           │
00:38:36 verbose #27545 > > │ <li...nts="585,199 590,199 "/>                                               │
00:38:36 verbose #27546 > > │ <text x="595" y="156" dy="0.5ex" text-anchor="start"                         │
00:38:36 verbose #27547 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:36 verbose #27548 > > │ fill="#FFFFFF">                                                              │
00:38:36 verbose #27549 > > │ 100.0                                                                        │
00:38:36 verbose #27550 > > │ </text>                                                                      │
00:38:36 verbose #27551 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:36 verbose #27552 > > │ points="585,156 590,156 "/>                                                  │
00:38:36 verbose #27553 > > │ <text x="595" y="114" dy="0.5ex" text-anchor="start"                         │
00:38:36 verbose #27554 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:36 verbose #27555 > > │ fill="#FFFFFF">                                                              │
00:38:36 verbose #27556 > > │ 110.0                                                                        │
00:38:36 verbose #27557 > > │ </text>                                                                      │
00:38:36 verbose #27558 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:36 verbose #27559 > > │ points="585,114 590,114 "/>                                                  │
00:38:36 verbose #27560 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:36 verbose #27561 > > │ points="69,343 77,325 84,307 91,290 98,275 105,259 112,245 119,231 127,219   │
00:38:36 verbose #27562 > > │ 134,207 141,196 148,184 155,174 162,164 169,155 176,147 184,139 191,132      │
00:38:36 verbose #27563 > > │ 198,126 205,119 212,114 219,109 226,104 233,100 241,96 248,93 255,91 262,89  │
00:38:36 verbose #27564 > > │ 269,88 276,86 283,86 290,85 298,86 305,87 312,88 319,90 326,92 333,95 340,98 │
00:38:36 verbose #27565 > > │ 348,102 355,106 362,110 369,115 376,120 383,126 390,132 397,139 405,146      │
00:38:36 verbose #27566 > > │ 412,153 419,161 426,169 433,178 440,187 447,197 454,207 462,217 469,228      │
00:38:36 verbose #27567 > > │ 476,239 483,250 490,262 497,274 504,287 511,300 519,313 526,326 533,340      │
00:38:36 verbose #27568 > > │ 540,355 547,369 554,384 561,399 569,415 "/>                                  │
00:38:36 verbose #27569 > > │ <rect x="421" y="235" width="159" height="30" opacity="1" fill="none"        │
00:38:36 verbose #27570 > > │ stroke="#FFFFFF"/>                                                           │
00:38:36 verbose #27571 > > │ <text x="461" y="245" dy="0.76em" text-anchor="start"                        │
00:38:36 verbose #27572 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:36 verbose #27573 > > │ fill="#FFFFFF">                                                              │
00:38:36 verbose #27574 > > │ horizontal range (m)                                                         │
00:38:36 verbose #27575 > > │ </text>                                                                      │
00:38:36 verbose #27576 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:36 verbose #27577 > > │ points="431,250 451,250 "/>                                                  │
00:38:36 verbose #27578 > > │ </svg>                                                                       │
00:38:36 verbose #27579 > > │                                                                              │
00:38:36 verbose #27580 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:36 verbose #27581 > >
00:38:36 verbose #27582 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:36 verbose #27583 > > //// test
00:38:36 verbose #27584 > >
00:38:36 verbose #27585 > > inl best_angle (min, max) =
00:38:36 verbose #27586 > >     let rec loop theta_deg (best_range, best_theta_deg) =
00:38:36 verbose #27587 > >         if theta_deg > max
00:38:36 verbose #27588 > >         then best_range, best_theta_deg
00:38:36 verbose #27589 > >         else
00:38:36 verbose #27590 > >             inl range = baseball_range 0.01 45 theta_deg
00:38:36 verbose #27591 > >             loop
00:38:36 verbose #27592 > >                 (theta_deg + 1)
00:38:36 verbose #27593 > >                 (if range > best_range
00:38:36 verbose #27594 > >                     then range, theta_deg
00:38:36 verbose #27595 > >                     else best_range, best_theta_deg)
00:38:36 verbose #27596 > >     loop min (0f64, min)
00:38:36 verbose #27597 > >
00:38:36 verbose #27598 > > best_angle (30f64, 60f64)
00:38:36 verbose #27599 > > |> _assert_eq (116.77499158246208, 41)
00:38:36 verbose #27600 > 00:38:35   debug #1527 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f7e80e7b688b48b95af684eaaf2fcf3b122ab2cfd2fc2b0fce171ac31255262b/main.spi
00:38:36 verbose #27601 > >
00:38:36 verbose #27602 > > ╭─[ 838.98ms - stdout ]────────────────────────────────────────────────────────╮
00:38:36 verbose #27603 > > │ __assert_eq / actual: struct (116.7749916, 41.0) / expected: struct          │
00:38:36 verbose #27604 > > │ (116.7749916, 41.0)                                                          │
00:38:36 verbose #27605 > > │                                                                              │
00:38:36 verbose #27606 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:36 verbose #27607 > >
00:38:36 verbose #27608 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:36 verbose #27609 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:36 verbose #27610 > > │ ### relativity_ps                                                            │
00:38:36 verbose #27611 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:36 verbose #27612 > >
00:38:36 verbose #27613 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:36 verbose #27614 > > inl relativity_ps fs (st : particle_state) =
00:38:36 verbose #27615 > >     inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:38:36 verbose #27616 > >     inl c = 299792458
00:38:36 verbose #27617 > >     inl u = st.velocity ^/ c
00:38:36 verbose #27618 > >     inl acc = sqrt (1 - (u <.> u)) *^ (f_net ^-^ (f_net <.> u) *^ u) ^/ st.mass
00:38:36 verbose #27619 > >     d_particle_state {
00:38:36 verbose #27620 > >         dmdt = 0
00:38:36 verbose #27621 > >         dqdt = 0
00:38:36 verbose #27622 > >         dtdt = 1
00:38:36 verbose #27623 > >         drdt = st.velocity
00:38:36 verbose #27624 > >         dvdt = acc
00:38:36 verbose #27625 > >     }
00:38:37 verbose #27626 > 00:38:36   debug #1528 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc6f44bd6e2446436c15debe35080a2ad13c8e950a697a7d1b69bac267631653/main.spi
00:38:37 verbose #27627 > >
00:38:37 verbose #27628 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:37 verbose #27629 > > //// test
00:38:37 verbose #27630 > >
00:38:37 verbose #27631 > > inl year = 365.25 * 24 * 60 * 60
00:38:37 verbose #27632 > > inl c = 299792458
00:38:37 verbose #27633 > > inl ~method = runge_kutta_4 100000
00:38:37 verbose #27634 > > inl forces = [[ fun _ => 10 *^ i_hat () ]]
00:38:37 verbose #27635 > > inl (particle_state default_particle_state') = default_particle_state ()
00:38:37 verbose #27636 > > inl initial_state =
00:38:37 verbose #27637 > >     particle_state { default_particle_state' with
00:38:37 verbose #27638 > >         mass = 1
00:38:37 verbose #27639 > >     }
00:38:37 verbose #27640 > >
00:38:37 verbose #27641 > > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:38:37 verbose #27642 > > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:38:37 verbose #27643 > >
00:38:37 verbose #27644 > > inl newton_x, newton_y =
00:38:37 verbose #27645 > >     newton_states
00:38:37 verbose #27646 > >     >> Some
00:38:37 verbose #27647 > >     |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:38:37 verbose #27648 > >     |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:38:37 verbose #27649 > >     |> listm'.unzip
00:38:37 verbose #27650 > >
00:38:37 verbose #27651 > > inl _, relativity_y =
00:38:37 verbose #27652 > >     relativity_states
00:38:37 verbose #27653 > >     >> Some
00:38:37 verbose #27654 > >     |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:38:37 verbose #27655 > >     |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:38:37 verbose #27656 > >     |> listm'.unzip
00:38:37 verbose #27657 > >
00:38:37 verbose #27658 > > inl newton_x = newton_x |> listm'.box |> listm'.to_array'
00:38:37 verbose #27659 > > inl newton_y = newton_y |> listm'.box |> listm'.to_array'
00:38:37 verbose #27660 > > inl relativity_y = relativity_y |> listm'.box |> listm'.to_array'
00:38:37 verbose #27661 > >
00:38:37 verbose #27662 > > "response to a constant force",
00:38:37 verbose #27663 > > "time (years)",
00:38:37 verbose #27664 > > "velocity (multiples of c)",
00:38:37 verbose #27665 > > ;[[
00:38:37 verbose #27666 > >     "newtonian", newton_x, newton_y
00:38:37 verbose #27667 > >     "relativistic", newton_x, relativity_y
00:38:37 verbose #27668 > > ]]
00:38:37 verbose #27669 > 00:38:36   debug #1529 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aeab0aedb278b0007b0c4f11522037445eb4ec89bf833d2ad08ae806801e8ae6/main.spi
00:38:37 verbose #27670 > >
00:38:37 verbose #27671 > > ╭─[ 703.47ms - return value ]──────────────────────────────────────────────────╮
00:38:37 verbose #27672 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:37 verbose #27673 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:37 verbose #27674 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:37 verbose #27675 > > │ stroke="none"/>                                                              │
00:38:37 verbose #27676 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:37 verbose #27677 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:37 verbose #27678 > > │ fill="#FFFFFF">                                                              │
00:38:37 verbose #27679 > > │ response to a constant force                                                 │
00:38:37 verbose #27680 > > │ </text>                                                                      │
00:38:37 verbose #27681 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:38:37 verbose #27682 > > │ y2="75"/>                                                                    │
00:38:37 verbose #27683 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:37 verbose #27684 > > │ y2="75"/>                                                                    │
00:38:37 verbose #27685 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:38:37 verbose #27686 > > │ y2="75"/>                                                                    │
00:38:37 verbose #27687 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:38:37 verbose #27688 > > │ y2="75"/>                                                                    │
00:38:37 verbose #27689 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="424" x2="99" │
00:38:37 verbose #27690 > > │ y2="75"/>                                                                    │
00:38:37 verbose #27691 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="109" y1="424"        │
00:38:37 verbose #27692 > > │ x2="109" y2="75"/>                                                           │
00:38:37 verbose #27693 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:37 verbose #27694 > > │ x2="119" y2="75"/>                                                           │
00:38:37 verbose #27695 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:37 verbose #27696 > > │ x2="129" y2="75"/>                                                           │
00:38:37 verbose #27697 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:37 verbose #27698 > > │ x2="139" y2="75"/>                                                           │
00:38:37 verbose #27699 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="149" y1="424"        │
00:38:37 verbose #27700 > > │ x2="149" y2="75"/>                                                           │
00:38:37 verbose #27701 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="159" y1="424"        │
00:38:37 verbose #27702 > > │ x2="159" y2="75"/>                                                           │
00:38:37 verbose #27703 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:37 verbose #27704 > > │ x2="169" y2="75"/>                                                           │
00:38:37 verbose #27705 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="179" y1="424"        │
00:38:37 verbose #27706 > > │ x2="179" y2="75"/>                                                           │
00:38:37 verbose #27707 > > │ <line... 393,238 394,238 396,237 397,237 399,236 401,235 402,235 404,234     │
00:38:37 verbose #27708 > > │ 405,234 407,233 409,233 410,232 412,231 413,231 415,230 416,230 418,229      │
00:38:37 verbose #27709 > > │ 420,229 421,228 423,228 424,227 426,227 428,226 429,225 431,225 432,224      │
00:38:37 verbose #27710 > > │ 434,224 435,223 437,223 439,222 440,222 442,221 443,221 445,220 447,220      │
00:38:37 verbose #27711 > > │ 448,219 450,219 451,218 453,218 454,217 456,217 458,216 459,216 461,215      │
00:38:37 verbose #27712 > > │ 462,215 464,214 466,214 467,213 469,213 470,213 472,212 473,212 475,211      │
00:38:37 verbose #27713 > > │ 477,211 478,210 480,210 481,209 483,209 485,208 486,208 488,208 489,207      │
00:38:37 verbose #27714 > > │ 491,207 492,206 494,206 496,205 497,205 499,204 500,204 502,204 504,203      │
00:38:37 verbose #27715 > > │ 505,203 507,202 508,202 510,202 511,201 513,201 515,200 516,200 518,200      │
00:38:37 verbose #27716 > > │ 519,199 521,199 523,198 524,198 526,198 527,197 529,197 531,196 532,196      │
00:38:37 verbose #27717 > > │ 534,196 535,195 537,195 538,194 540,194 542,194 543,193 545,193 546,193      │
00:38:37 verbose #27718 > > │ 548,192 550,192 551,192 553,191 554,191 556,190 557,190 559,190 561,189      │
00:38:37 verbose #27719 > > │ 562,189 564,189 565,188 567,188 569,188 "/>                                  │
00:38:37 verbose #27720 > > │ <rect x="464" y="227" width="116" height="45" opacity="1" fill="none"        │
00:38:37 verbose #27721 > > │ stroke="#FFFFFF"/>                                                           │
00:38:37 verbose #27722 > > │ <text x="504" y="237" dy="0.76em" text-anchor="start"                        │
00:38:37 verbose #27723 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:37 verbose #27724 > > │ fill="#FFFFFF">                                                              │
00:38:37 verbose #27725 > > │ newtonian                                                                    │
00:38:37 verbose #27726 > > │ </text>                                                                      │
00:38:37 verbose #27727 > > │ <text x="504" y="252" dy="0.76em" text-anchor="start"                        │
00:38:37 verbose #27728 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:37 verbose #27729 > > │ fill="#FFFFFF">                                                              │
00:38:37 verbose #27730 > > │ relativistic                                                                 │
00:38:37 verbose #27731 > > │ </text>                                                                      │
00:38:37 verbose #27732 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:37 verbose #27733 > > │ points="474,242 494,242 "/>                                                  │
00:38:37 verbose #27734 > > │ <polyline fill="none" opacity="1" stroke="#0000FF" stroke-width="1"          │
00:38:37 verbose #27735 > > │ points="474,257 494,257 "/>                                                  │
00:38:37 verbose #27736 > > │ </svg>                                                                       │
00:38:37 verbose #27737 > > │                                                                              │
00:38:37 verbose #27738 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:37 verbose #27739 > >
00:38:37 verbose #27740 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:37 verbose #27741 > > inl uniform_lorentz_force v_e v_b (st : particle_state) =
00:38:37 verbose #27742 > >     st.charge *^ (v_e ^+^ st.velocity >< v_b)
00:38:38 verbose #27743 > 00:38:37   debug #1530 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d1efff46697e56beaa0357f3355ee91d1a31053a313aee20a74d1293bc0fc604/main.spi
00:38:38 verbose #27744 > >
00:38:38 verbose #27745 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:38 verbose #27746 > > //// test
00:38:38 verbose #27747 > >
00:38:38 verbose #27748 > > inl c : f64 = 299792458
00:38:38 verbose #27749 > > inl ~method = runge_kutta_4 0.000000001
00:38:38 verbose #27750 > > inl forces = [[ uniform_lorentz_force (zero_vec ()) (k_hat ()) ]]
00:38:38 verbose #27751 > > inl (particle_state default_particle_state') = default_particle_state ()
00:38:38 verbose #27752 > > inl initial_state =
00:38:38 verbose #27753 > >     particle_state { default_particle_state' with
00:38:38 verbose #27754 > >         mass = 0.000000000000000000000000001672621898
00:38:38 verbose #27755 > >         charge = 0.0000000000000000001602176621
00:38:38 verbose #27756 > >         velocity = 0.8 *^ (c *^ j_hat ())
00:38:38 verbose #27757 > >     }
00:38:38 verbose #27758 > >
00:38:38 verbose #27759 > > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:38:38 verbose #27760 > > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:38:38 verbose #27761 > >
00:38:38 verbose #27762 > > inl newton_x, newton_y =
00:38:38 verbose #27763 > >     newton_states
00:38:38 verbose #27764 > >     >> Some
00:38:38 verbose #27765 > >     |> seq.take_while_ (fun (particle_state st) i => i < 100i32)
00:38:38 verbose #27766 > >     |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:38:38 verbose #27767 > >     |> listm'.unzip
00:38:38 verbose #27768 > >
00:38:38 verbose #27769 > > inl relativity_x, relativity_y =
00:38:38 verbose #27770 > >     relativity_states
00:38:38 verbose #27771 > >     >> Some
00:38:38 verbose #27772 > >     |> seq.take_while_ (fun (particle_state st) i => i < 165i32)
00:38:38 verbose #27773 > >     |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:38:38 verbose #27774 > >     |> listm'.unzip
00:38:38 verbose #27775 > >
00:38:38 verbose #27776 > > inl newton_x = newton_x |> listm'.box |> listm'.to_array'
00:38:38 verbose #27777 > > inl newton_y = newton_y |> listm'.box |> listm'.to_array'
00:38:38 verbose #27778 > >
00:38:38 verbose #27779 > > inl relativity_x = relativity_x |> listm'.box |> listm'.to_array'
00:38:38 verbose #27780 > > inl relativity_y = relativity_y |> listm'.box |> listm'.to_array'
00:38:38 verbose #27781 > >
00:38:38 verbose #27782 > > "proton in a 1-t magnetic field",
00:38:38 verbose #27783 > > "x (m)",
00:38:38 verbose #27784 > > "y (m)",
00:38:38 verbose #27785 > > ;[[
00:38:38 verbose #27786 > >     "newtonian", newton_x, newton_y
00:38:38 verbose #27787 > >     "relativistic", relativity_x, relativity_y
00:38:38 verbose #27788 > > ]]
00:38:38 verbose #27789 > 00:38:37   debug #1531 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f440865aa6942f3bbb3aed3718ddd7fdca8e880f7fc117024593652b81891107/main.spi
00:38:39 verbose #27790 > >
00:38:39 verbose #27791 > > ╭─[ 715.99ms - return value ]──────────────────────────────────────────────────╮
00:38:39 verbose #27792 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:39 verbose #27793 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:39 verbose #27794 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:39 verbose #27795 > > │ stroke="none"/>                                                              │
00:38:39 verbose #27796 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:39 verbose #27797 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:39 verbose #27798 > > │ fill="#FFFFFF">                                                              │
00:38:39 verbose #27799 > > │ proton in a 1-t magnetic field                                               │
00:38:39 verbose #27800 > > │ </text>                                                                      │
00:38:39 verbose #27801 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="58" y1="424" x2="58" │
00:38:39 verbose #27802 > > │ y2="75"/>                                                                    │
00:38:39 verbose #27803 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:39 verbose #27804 > > │ y2="75"/>                                                                    │
00:38:39 verbose #27805 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="81" y1="424" x2="81" │
00:38:39 verbose #27806 > > │ y2="75"/>                                                                    │
00:38:39 verbose #27807 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:38:39 verbose #27808 > > │ y2="75"/>                                                                    │
00:38:39 verbose #27809 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="105" y1="424"        │
00:38:39 verbose #27810 > > │ x2="105" y2="75"/>                                                           │
00:38:39 verbose #27811 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="117" y1="424"        │
00:38:39 verbose #27812 > > │ x2="117" y2="75"/>                                                           │
00:38:39 verbose #27813 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:39 verbose #27814 > > │ x2="129" y2="75"/>                                                           │
00:38:39 verbose #27815 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="141" y1="424"        │
00:38:39 verbose #27816 > > │ x2="141" y2="75"/>                                                           │
00:38:39 verbose #27817 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="153" y1="424"        │
00:38:39 verbose #27818 > > │ x2="153" y2="75"/>                                                           │
00:38:39 verbose #27819 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="165" y1="424"        │
00:38:39 verbose #27820 > > │ x2="165" y2="75"/>                                                           │
00:38:39 verbose #27821 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="177" y1="424"        │
00:38:39 verbose #27822 > > │ x2="177" y2="75"/>                                                           │
00:38:39 verbose #27823 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="189" y1="424"        │
00:38:39 verbose #27824 > > │ x2="189" y2="75"/>                                                           │
00:38:39 verbose #27825 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="201" y1="424"        │
00:38:39 verbose #27826 > > │ x2="201" y2="75"/>                                                           │
00:38:39 verbose #27827 > > │ <...555,197 560,206 563,216 566,225 567,234 568,244 568,253 568,263 566,272  │
00:38:39 verbose #27828 > > │ 564,281 561,291 557,300 552,309 547,317 540,326 533,334 526,342 517,350      │
00:38:39 verbose #27829 > > │ 508,357 499,364 488,371 478,377 466,383 455,388 442,393 430,398 417,402      │
00:38:39 verbose #27830 > > │ 403,405 390,408 376,410 362,412 348,414 333,414 319,415 305,414 290,414      │
00:38:39 verbose #27831 > > │ 276,412 262,410 248,408 235,405 221,401 208,397 196,393 183,388 171,383      │
00:38:39 verbose #27832 > > │ 160,377 149,371 139,364 129,357 120,350 112,342 104,334 97,326 91,317 86,309 │
00:38:39 verbose #27833 > > │ 81,300 77,290 74,281 72,272 70,263 70,253 70,244 71,234 72,225 75,215 78,206 │
00:38:39 verbose #27834 > > │ 83,197 88,188 93,180 100,171 107,163 115,155 124,148 133,140 143,133 153,127 │
00:38:39 verbose #27835 > > │ 164,121 176,115 188,110 200,105 213,101 226,97 239,94 253,91 267,89 281,87   │
00:38:39 verbose #27836 > > │ 295,86 310,85 324,85 338,86 353,87 367,88 381,90 394,93 408,96 421,100       │
00:38:39 verbose #27837 > > │ 434,104 447,109 459,114 470,119 482,125 492,131 502,138 512,145 520,153      │
00:38:39 verbose #27838 > > │ 529,161 536,169 543,177 549,186 554,194 558,203 562,213 565,222 567,231      │
00:38:39 verbose #27839 > > │ 568,241 569,250 "/>                                                          │
00:38:39 verbose #27840 > > │ <rect x="464" y="227" width="116" height="45" opacity="1" fill="none"        │
00:38:39 verbose #27841 > > │ stroke="#FFFFFF"/>                                                           │
00:38:39 verbose #27842 > > │ <text x="504" y="237" dy="0.76em" text-anchor="start"                        │
00:38:39 verbose #27843 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:39 verbose #27844 > > │ fill="#FFFFFF">                                                              │
00:38:39 verbose #27845 > > │ newtonian                                                                    │
00:38:39 verbose #27846 > > │ </text>                                                                      │
00:38:39 verbose #27847 > > │ <text x="504" y="252" dy="0.76em" text-anchor="start"                        │
00:38:39 verbose #27848 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:39 verbose #27849 > > │ fill="#FFFFFF">                                                              │
00:38:39 verbose #27850 > > │ relativistic                                                                 │
00:38:39 verbose #27851 > > │ </text>                                                                      │
00:38:39 verbose #27852 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:39 verbose #27853 > > │ points="474,242 494,242 "/>                                                  │
00:38:39 verbose #27854 > > │ <polyline fill="none" opacity="1" stroke="#0000FF" stroke-width="1"          │
00:38:39 verbose #27855 > > │ points="474,257 494,257 "/>                                                  │
00:38:39 verbose #27856 > > │ </svg>                                                                       │
00:38:39 verbose #27857 > > │                                                                              │
00:38:39 verbose #27858 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:39 verbose #27859 > >
00:38:39 verbose #27860 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:39 verbose #27861 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:39 verbose #27862 > > │ #### system kinetic energy versus time 1                                     │
00:38:39 verbose #27863 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:39 verbose #27864 > >
00:38:39 verbose #27865 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:39 verbose #27866 > > //// test
00:38:39 verbose #27867 > >
00:38:39 verbose #27868 > > inl central_force f (particle_state st1) (particle_state st2) =
00:38:39 verbose #27869 > >     inl r1 = st1.pos_vec
00:38:39 verbose #27870 > >     inl r2 = st2.pos_vec
00:38:39 verbose #27871 > >     inl r21 = r2 ^-^ r1
00:38:39 verbose #27872 > >     inl r21mag = magnitude r21
00:38:39 verbose #27873 > >     f r21mag *^ r21 ^/ r21mag
00:38:39 verbose #27874 > >
00:38:39 verbose #27875 > > inl billiard_force k re =
00:38:39 verbose #27876 > >     inl f r =
00:38:39 verbose #27877 > >         if r >= re
00:38:39 verbose #27878 > >         then 0
00:38:39 verbose #27879 > >         else -k * (r - re)
00:38:39 verbose #27880 > >     central_force f
00:38:39 verbose #27881 > >
00:38:39 verbose #27882 > > type force_vector = vec
00:38:39 verbose #27883 > > type two_body_force = particle_state -> particle_state -> force_vector
00:38:39 verbose #27884 > >
00:38:39 verbose #27885 > > union force =
00:38:39 verbose #27886 > >     | ExternalForce : i32 * one_body_force
00:38:39 verbose #27887 > >     | InternalForce : i32 * i32 * two_body_force
00:38:39 verbose #27888 > >
00:38:39 verbose #27889 > > nominal multi_particle_state = list particle_state
00:38:39 verbose #27890 > >
00:38:39 verbose #27891 > > nominal d_multi_particle_state = list d_particle_state
00:38:39 verbose #27892 > >
00:38:39 verbose #27893 > > inl force_on n sts force =
00:38:39 verbose #27894 > >     match force with
00:38:39 verbose #27895 > >     | ExternalForce (n0, f_one_body) =>
00:38:39 verbose #27896 > >         if n = n0
00:38:39 verbose #27897 > >         then f_one_body
00:38:39 verbose #27898 > >         else fun _ => zero_vec ()
00:38:39 verbose #27899 > >     | InternalForce (n0, n1, f_two_body) =>
00:38:39 verbose #27900 > >         if n = n0
00:38:39 verbose #27901 > >         then f_two_body (sts |> listm'.item n1)
00:38:39 verbose #27902 > >         elif n = n1
00:38:39 verbose #27903 > >         then f_two_body (sts |> listm'.item n0)
00:38:39 verbose #27904 > >         else fun _ => zero_vec ()
00:38:39 verbose #27905 > >
00:38:39 verbose #27906 > > inl forces_on n (multi_particle_state sts) fs =
00:38:39 verbose #27907 > >     fs |> listm.map (force_on n sts)
00:38:39 verbose #27908 > >
00:38:39 verbose #27909 > > inl newton_second_mps fs (multi_particle_state sts) : d_multi_particle_state =
00:38:39 verbose #27910 > >     inl deriv (n, st) =
00:38:39 verbose #27911 > >         newton_second_ps (forces_on n (multi_particle_state sts) fs) st
00:38:39 verbose #27912 > >     sts |> listm'.indexed |> listm.map deriv |> d_multi_particle_state
00:38:39 verbose #27913 > >
00:38:39 verbose #27914 > > instance (+++) d_multi_particle_state = fun (d_multi_particle_state dsts1)
00:38:39 verbose #27915 > > (d_multi_particle_state dsts2) =>
00:38:39 verbose #27916 > >     d_multi_particle_state (listm'.zip_with_ (+++) dsts1 dsts2)
00:38:39 verbose #27917 > >
00:38:39 verbose #27918 > > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>
00:38:39 verbose #27919 > >     d_multi_particle_state (dsts |> listm.map (scale w))
00:38:39 verbose #27920 > >
00:38:39 verbose #27921 > > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>
00:38:39 verbose #27922 > >     inl (d_multi_particle_state dsts) =
00:38:39 verbose #27923 > >         real
00:38:39 verbose #27924 > >             match dsts with
00:38:39 verbose #27925 > >             | d_multi_particle_state _ => dsts
00:38:39 verbose #27926 > >     listm'.zip_with_ (shift dt) dsts sts |> multi_particle_state
00:38:39 verbose #27927 > >
00:38:39 verbose #27928 > > inl euler_cromer_mps dt : numerical_method multi_particle_state
00:38:39 verbose #27929 > > d_multi_particle_state =
00:38:39 verbose #27930 > >     fun deriv mpst0 =>
00:38:39 verbose #27931 > >         inl mpst1 = euler dt deriv mpst0
00:38:39 verbose #27932 > >         inl (multi_particle_state sts0) = mpst0
00:38:39 verbose #27933 > >         inl (multi_particle_state sts1) = mpst1
00:38:39 verbose #27934 > >         sts1
00:38:39 verbose #27935 > >         |> listm'.zip_ sts0
00:38:39 verbose #27936 > >         |> listm.map (fun ((particle_state st0), (particle_state st1)) =>
00:38:39 verbose #27937 > >             particle_state {
00:38:39 verbose #27938 > >                 st1 with
00:38:39 verbose #27939 > >                     pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt
00:38:39 verbose #27940 > >             }
00:38:39 verbose #27941 > >         )
00:38:39 verbose #27942 > >         |> multi_particle_state
00:38:39 verbose #27943 > >
00:38:39 verbose #27944 > > inl update_mps (method : numerical_method multi_particle_state
00:38:39 verbose #27945 > > d_multi_particle_state) =
00:38:39 verbose #27946 > >     newton_second_mps >> method
00:38:39 verbose #27947 > >
00:38:39 verbose #27948 > > inl states_mps (method : numerical_method multi_particle_state
00:38:39 verbose #27949 > > d_multi_particle_state) =
00:38:39 verbose #27950 > >     newton_second_mps >> method >> seq.iterate_
00:38:39 verbose #27951 > >
00:38:39 verbose #27952 > >
00:38:39 verbose #27953 > > inl kinetic_energy (particle_state st) =
00:38:39 verbose #27954 > >     inl m = st.mass
00:38:39 verbose #27955 > >     inl v = magnitude st.velocity
00:38:39 verbose #27956 > >     0.5 * m * v ** 2
00:38:39 verbose #27957 > >
00:38:39 verbose #27958 > > inl system_ke (multi_particle_state sts) =
00:38:39 verbose #27959 > >     sts |> listm.map kinetic_energy |> listm'.sum
00:38:39 verbose #27960 > >
00:38:39 verbose #27961 > > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =
00:38:39 verbose #27962 > >     inl r1 = st1.pos_vec
00:38:39 verbose #27963 > >     inl r2 = st2.pos_vec
00:38:39 verbose #27964 > >     inl r21 = r2 ^-^ r1
00:38:39 verbose #27965 > >     inl r21mag = magnitude r21
00:38:39 verbose #27966 > >     k * (r21mag - re) ** 2 / 2
00:38:39 verbose #27967 > >
00:38:39 verbose #27968 > > inl earth_surface_gravity_pe (particle_state st) =
00:38:39 verbose #27969 > >     inl g = 9.80665
00:38:39 verbose #27970 > >     inl m = st.mass
00:38:39 verbose #27971 > >     inl z = st.pos_vec.z
00:38:39 verbose #27972 > >     m * g * z
00:38:39 verbose #27973 > >
00:38:39 verbose #27974 > > inl two_springs_pe (multi_particle_state sts) =
00:38:39 verbose #27975 > >     inl st0 = sts |> listm'.item 0i32
00:38:39 verbose #27976 > >     inl st1 = sts |> listm'.item 1i32
00:38:39 verbose #27977 > >     linear_spring_pe 100 0.5 (default_particle_state ()) st0
00:38:39 verbose #27978 > >     + linear_spring_pe 100 0.5 st0 st1
00:38:39 verbose #27979 > >     + earth_surface_gravity_pe st0
00:38:39 verbose #27980 > >     + earth_surface_gravity_pe st1
00:38:39 verbose #27981 > >
00:38:39 verbose #27982 > > inl two_springs_me mpst =
00:38:39 verbose #27983 > >     system_ke mpst + two_springs_pe mpst
00:38:39 verbose #27984 > >
00:38:39 verbose #27985 > > inl ball_radius () = 0.03
00:38:39 verbose #27986 > >
00:38:39 verbose #27987 > > inl billiard_forces k =
00:38:39 verbose #27988 > >     [[ InternalForce (0, 1, billiard_force k (2 * ball_radius ())) ]]
00:38:39 verbose #27989 > >
00:38:39 verbose #27990 > > inl billiard_update n_method k dt =
00:38:39 verbose #27991 > >     update_mps (n_method dt) (billiard_forces k)
00:38:39 verbose #27992 > >
00:38:39 verbose #27993 > > inl billiard_initial () =
00:38:39 verbose #27994 > >     inl ball_mass = 0.160
00:38:39 verbose #27995 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:39 verbose #27996 > >     multi_particle_state [[
00:38:39 verbose #27997 > >         particle_state {
00:38:39 verbose #27998 > >             default_particle_state' with
00:38:39 verbose #27999 > >                 mass = ball_mass
00:38:39 verbose #28000 > >                 pos_vec = zero_vec ()
00:38:39 verbose #28001 > >                 velocity = 0.2 *^ i_hat ()
00:38:39 verbose #28002 > >         }
00:38:39 verbose #28003 > >         particle_state {
00:38:39 verbose #28004 > >             default_particle_state' with
00:38:39 verbose #28005 > >                 mass = ball_mass
00:38:39 verbose #28006 > >                 pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()
00:38:39 verbose #28007 > >                 velocity = zero_vec ()
00:38:39 verbose #28008 > >         }
00:38:39 verbose #28009 > >     ]]
00:38:39 verbose #28010 > >
00:38:39 verbose #28011 > > inl billiard_states ~n_method k dt =
00:38:39 verbose #28012 > >     states_mps (n_method dt) (billiard_forces k) (billiard_initial ())
00:38:39 verbose #28013 > >
00:38:39 verbose #28014 > > inl billiard_states_finite n_method k dt =
00:38:39 verbose #28015 > >     billiard_states n_method k dt
00:38:39 verbose #28016 > >     >> Some
00:38:39 verbose #28017 > >     |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>
00:38:39 verbose #28018 > >         (mpst |> listm'.item 0i32).time <= 10
00:38:39 verbose #28019 > >     )
00:38:39 verbose #28020 > >
00:38:39 verbose #28021 > > inl momentum (particle_state st) =
00:38:39 verbose #28022 > >     inl m = st.mass
00:38:39 verbose #28023 > >     inl v = st.velocity
00:38:39 verbose #28024 > >     m *^ v
00:38:39 verbose #28025 > >
00:38:39 verbose #28026 > > inl system_p (multi_particle_state sts) =
00:38:39 verbose #28027 > >     sts |> listm.map momentum |> sum_vec
00:38:39 verbose #28028 > >
00:38:39 verbose #28029 > >
00:38:39 verbose #28030 > > inl time_ke_ec_x, time_ke_ec_y =
00:38:39 verbose #28031 > >     billiard_states_finite euler_cromer_mps 30 0.03
00:38:39 verbose #28032 > >     |> listm.map (fun (multi_particle_state mpst) =>
00:38:39 verbose #28033 > >         (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:38:39 verbose #28034 > >     )
00:38:39 verbose #28035 > >     |> listm'.unzip
00:38:39 verbose #28036 > >
00:38:39 verbose #28037 > > inl time_ke_rk4_x, time_ke_rk4_y =
00:38:39 verbose #28038 > >     billiard_states_finite runge_kutta_4 30 0.03
00:38:39 verbose #28039 > >     |> listm.map (fun (multi_particle_state mpst) =>
00:38:39 verbose #28040 > >         (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:38:39 verbose #28041 > >     )
00:38:39 verbose #28042 > >     |> listm'.unzip
00:38:39 verbose #28043 > >
00:38:39 verbose #28044 > > inl time_ke_ec_x = time_ke_ec_x |> listm'.box |> listm'.to_array'
00:38:39 verbose #28045 > > inl time_ke_ec_y = time_ke_ec_y |> listm'.box |> listm'.to_array'
00:38:39 verbose #28046 > >
00:38:39 verbose #28047 > > inl time_ke_rk4_x = time_ke_rk4_x |> listm'.box |> listm'.to_array'
00:38:39 verbose #28048 > > inl time_ke_rk4_y = time_ke_rk4_y |> listm'.box |> listm'.to_array'
00:38:39 verbose #28049 > >
00:38:39 verbose #28050 > > "system kinetic energy versus time",
00:38:39 verbose #28051 > > "time (s)",
00:38:39 verbose #28052 > > "system kinetic energy (j)",
00:38:39 verbose #28053 > > ;[[
00:38:39 verbose #28054 > >     "euler-cromer", time_ke_ec_x, time_ke_ec_y
00:38:39 verbose #28055 > >     "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y
00:38:39 verbose #28056 > > ]]
00:38:39 verbose #28057 > 00:38:38   debug #1532 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c8e2647289a2329c3212ac5ef16843ddaa6adb4bd294facbfc659041ecff24ec/main.spi
00:38:40 verbose #28058 > >
00:38:40 verbose #28059 > > ╭─[ 1.53s - return value ]─────────────────────────────────────────────────────╮
00:38:40 verbose #28060 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:40 verbose #28061 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:40 verbose #28062 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:40 verbose #28063 > > │ stroke="none"/>                                                              │
00:38:40 verbose #28064 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:40 verbose #28065 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:40 verbose #28066 > > │ fill="#FFFFFF">                                                              │
00:38:40 verbose #28067 > > │ system kinetic energy versus time                                            │
00:38:40 verbose #28068 > > │ </text>                                                                      │
00:38:40 verbose #28069 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:38:40 verbose #28070 > > │ y2="75"/>                                                                    │
00:38:40 verbose #28071 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:40 verbose #28072 > > │ y2="75"/>                                                                    │
00:38:40 verbose #28073 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:38:40 verbose #28074 > > │ y2="75"/>                                                                    │
00:38:40 verbose #28075 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:38:40 verbose #28076 > > │ y2="75"/>                                                                    │
00:38:40 verbose #28077 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="424" x2="99" │
00:38:40 verbose #28078 > > │ y2="75"/>                                                                    │
00:38:40 verbose #28079 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="109" y1="424"        │
00:38:40 verbose #28080 > > │ x2="109" y2="75"/>                                                           │
00:38:40 verbose #28081 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:40 verbose #28082 > > │ x2="119" y2="75"/>                                                           │
00:38:40 verbose #28083 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:40 verbose #28084 > > │ x2="129" y2="75"/>                                                           │
00:38:40 verbose #28085 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:40 verbose #28086 > > │ x2="139" y2="75"/>                                                           │
00:38:40 verbose #28087 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="149" y1="424"        │
00:38:40 verbose #28088 > > │ x2="149" y2="75"/>                                                           │
00:38:40 verbose #28089 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="159" y1="424"        │
00:38:40 verbose #28090 > > │ x2="159" y2="75"/>                                                           │
00:38:40 verbose #28091 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:40 verbose #28092 > > │ x2="169" y2="75"/>                                                           │
00:38:40 verbose #28093 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="179" y1="424"        │
00:38:40 verbose #28094 > > │ x2="179" y2="75"/>                                                           │
00:38:40 verbose #28095 > > │ ...,104 404,104 405,104 407,104 408,104 410,104 411,104 413,104 414,104      │
00:38:40 verbose #28096 > > │ 416,104 417,104 419,104 420,104 422,104 423,104 425,104 426,104 428,104      │
00:38:40 verbose #28097 > > │ 429,104 431,104 432,104 434,104 435,104 437,104 438,104 440,104 441,104      │
00:38:40 verbose #28098 > > │ 443,104 444,104 446,104 447,104 449,104 450,104 452,104 453,104 455,104      │
00:38:40 verbose #28099 > > │ 456,104 458,104 459,104 461,104 462,104 464,104 465,104 467,104 468,104      │
00:38:40 verbose #28100 > > │ 470,104 471,104 473,104 474,104 476,104 477,104 479,104 480,104 482,104      │
00:38:40 verbose #28101 > > │ 483,104 485,104 486,104 488,104 489,104 491,104 492,104 494,104 495,104      │
00:38:40 verbose #28102 > > │ 497,104 498,104 500,104 501,104 503,104 504,104 506,104 507,104 509,104      │
00:38:40 verbose #28103 > > │ 510,104 512,104 513,104 515,104 516,104 518,104 519,104 521,104 522,104      │
00:38:40 verbose #28104 > > │ 524,104 525,104 527,104 528,104 530,104 531,104 533,104 534,104 536,104      │
00:38:40 verbose #28105 > > │ 537,104 539,104 540,104 542,104 543,104 545,104 546,104 548,104 549,104      │
00:38:40 verbose #28106 > > │ 551,104 552,104 554,104 555,104 557,104 558,104 560,104 561,104 563,104      │
00:38:40 verbose #28107 > > │ 564,104 566,104 567,104 569,104 "/>                                          │
00:38:40 verbose #28108 > > │ <rect x="459" y="227" width="121" height="45" opacity="1" fill="none"        │
00:38:40 verbose #28109 > > │ stroke="#FFFFFF"/>                                                           │
00:38:40 verbose #28110 > > │ <text x="499" y="237" dy="0.76em" text-anchor="start"                        │
00:38:40 verbose #28111 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:40 verbose #28112 > > │ fill="#FFFFFF">                                                              │
00:38:40 verbose #28113 > > │ euler-cromer                                                                 │
00:38:40 verbose #28114 > > │ </text>                                                                      │
00:38:40 verbose #28115 > > │ <text x="499" y="252" dy="0.76em" text-anchor="start"                        │
00:38:40 verbose #28116 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:40 verbose #28117 > > │ fill="#FFFFFF">                                                              │
00:38:40 verbose #28118 > > │ runge-kutta 4                                                                │
00:38:40 verbose #28119 > > │ </text>                                                                      │
00:38:40 verbose #28120 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:40 verbose #28121 > > │ points="469,242 489,242 "/>                                                  │
00:38:40 verbose #28122 > > │ <polyline fill="none" opacity="1" stroke="#0000FF" stroke-width="1"          │
00:38:40 verbose #28123 > > │ points="469,257 489,257 "/>                                                  │
00:38:40 verbose #28124 > > │ </svg>                                                                       │
00:38:40 verbose #28125 > > │                                                                              │
00:38:40 verbose #28126 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:40 verbose #28127 > >
00:38:40 verbose #28128 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:40 verbose #28129 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:40 verbose #28130 > > │ #### wave 1                                                                  │
00:38:40 verbose #28131 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:40 verbose #28132 > >
00:38:40 verbose #28133 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:40 verbose #28134 > > //// test
00:38:40 verbose #28135 > >
00:38:40 verbose #28136 > > inl linear_spring k re (particle_state st1) (particle_state st2) =
00:38:40 verbose #28137 > >     inl r1 = st1.pos_vec
00:38:40 verbose #28138 > >     inl r2 = st2.pos_vec
00:38:40 verbose #28139 > >     inl r21 = r2 ^-^ r1
00:38:40 verbose #28140 > >     inl r21mag = magnitude r21
00:38:40 verbose #28141 > >     -k * (r21mag - re) *^ r21 ^/ r21mag
00:38:40 verbose #28142 > >
00:38:40 verbose #28143 > > inl fixed_linear_spring k re r1 =
00:38:40 verbose #28144 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:40 verbose #28145 > >     linear_spring k re (particle_state { default_particle_state' with pos_vec =
00:38:40 verbose #28146 > > r1 })
00:38:40 verbose #28147 > >
00:38:40 verbose #28148 > > inl forces_string () =
00:38:40 verbose #28149 > >     [[
00:38:40 verbose #28150 > >         ExternalForce (0, fixed_linear_spring 5384 0 (zero_vec ()))
00:38:40 verbose #28151 > >         ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))
00:38:40 verbose #28152 > >     ]] ++ (
00:38:40 verbose #28153 > >         listm'.init_series 0 59 1
00:38:40 verbose #28154 > >         |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))
00:38:40 verbose #28155 > >     )
00:38:40 verbose #28156 > >
00:38:40 verbose #28157 > > inl string_update dt =
00:38:40 verbose #28158 > >     update_mps (runge_kutta_4 dt) (forces_string ())
00:38:40 verbose #28159 > >
00:38:40 verbose #28160 > > inl string_initial_overtone n =
00:38:40 verbose #28161 > >     inl ball_mass = 0.0008293 * 0.65 / 64
00:38:40 verbose #28162 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:40 verbose #28163 > >     listm'.init_series 0.01 0.64 0.01
00:38:40 verbose #28164 > >     |> listm.map (fun x =>
00:38:40 verbose #28165 > >         inl y = 0.005 * sin (conv n * pi * x / 0.65)
00:38:40 verbose #28166 > >         particle_state {
00:38:40 verbose #28167 > >             default_particle_state' with
00:38:40 verbose #28168 > >                 mass = ball_mass
00:38:40 verbose #28169 > >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:38:40 verbose #28170 > >                 velocity = zero_vec ()
00:38:40 verbose #28171 > >         }
00:38:40 verbose #28172 > >     )
00:38:40 verbose #28173 > >     |> multi_particle_state
00:38:40 verbose #28174 > >
00:38:40 verbose #28175 > > inl string_initial_pluck () =
00:38:40 verbose #28176 > >     inl ball_mass = 0.0008293 * 0.65 / 64
00:38:40 verbose #28177 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:40 verbose #28178 > >     listm'.init_series 0.01 0.64 0.01
00:38:40 verbose #28179 > >     |> listm.map (fun x =>
00:38:40 verbose #28180 > >         inl y =
00:38:40 verbose #28181 > >             inl n = if x <= 0.51 then 0 else 0.65
00:38:40 verbose #28182 > >             0.005 / (0.51 - n) * (x - n)
00:38:40 verbose #28183 > >         particle_state {
00:38:40 verbose #28184 > >             default_particle_state' with
00:38:40 verbose #28185 > >                 mass = ball_mass
00:38:40 verbose #28186 > >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:38:40 verbose #28187 > >                 velocity = zero_vec ()
00:38:40 verbose #28188 > >         }
00:38:40 verbose #28189 > >     )
00:38:40 verbose #28190 > >     |> multi_particle_state
00:38:40 verbose #28191 > >
00:38:40 verbose #28192 > > let main () =
00:38:40 verbose #28193 > >     inl ~frames = listm'.init_series 0 9 1f64
00:38:40 verbose #28194 > >     inl initial_state = string_initial_overtone 3i32
00:38:40 verbose #28195 > >     inl frames =
00:38:40 verbose #28196 > >         frames
00:38:40 verbose #28197 > >         |> listm.map (fun n =>
00:38:40 verbose #28198 > >             inl (multi_particle_state sts) =
00:38:40 verbose #28199 > >                 seq.iterate' (string_update 0.000025) initial_state |> fun f =>
00:38:40 verbose #28200 > > f 0f64
00:38:40 verbose #28201 > >             inl rs =
00:38:40 verbose #28202 > >                 [[ zero_vec () ]]
00:38:40 verbose #28203 > >                 ++ (sts |> listm.map (fun (particle_state st) => st.pos_vec))
00:38:40 verbose #28204 > >                 ++ [[ 0.65 *^ i_hat () ]]
00:38:40 verbose #28205 > >             inl x, y =
00:38:40 verbose #28206 > >                 rs
00:38:40 verbose #28207 > >                 |> listm.map (fun r => r.x, r.y)
00:38:40 verbose #28208 > >                 |> listm'.unzip
00:38:40 verbose #28209 > >             inl x = x |> listm'.box |> listm'.to_array'
00:38:40 verbose #28210 > >             inl y = y |> listm'.box |> listm'.to_array'
00:38:40 verbose #28211 > >             x, y
00:38:40 verbose #28212 > >         )
00:38:40 verbose #28213 > >         |> listm'.box |> listm'.to_array'
00:38:40 verbose #28214 > >
00:38:40 verbose #28215 > >     inl n = 0i32
00:38:40 verbose #28216 > >
00:38:40 verbose #28217 > >     inl x, y = a frames |> am'.index n
00:38:40 verbose #28218 > >
00:38:40 verbose #28219 > >     "wave",
00:38:40 verbose #28220 > >     "position (m)",
00:38:40 verbose #28221 > >     "displacement (m)",
00:38:40 verbose #28222 > >     ;[[
00:38:40 verbose #28223 > >         ($'$"{!n}"' : string), x, y
00:38:40 verbose #28224 > >     ]]
00:38:40 verbose #28225 > 00:38:39   debug #1533 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f6b18424855979ef25e67e10654bdc2d22c6d1ab98f1cabe81e780b2a5242fe7/main.spi
00:38:41 verbose #28226 > >
00:38:41 verbose #28227 > > ╭─[ 698.35ms - return value ]──────────────────────────────────────────────────╮
00:38:41 verbose #28228 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:41 verbose #28229 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:41 verbose #28230 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:41 verbose #28231 > > │ stroke="none"/>                                                              │
00:38:41 verbose #28232 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:41 verbose #28233 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:41 verbose #28234 > > │ fill="#FFFFFF">                                                              │
00:38:41 verbose #28235 > > │ wave                                                                         │
00:38:41 verbose #28236 > > │ </text>                                                                      │
00:38:41 verbose #28237 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:38:41 verbose #28238 > > │ y2="75"/>                                                                    │
00:38:41 verbose #28239 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:41 verbose #28240 > > │ y2="75"/>                                                                    │
00:38:41 verbose #28241 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:38:41 verbose #28242 > > │ y2="75"/>                                                                    │
00:38:41 verbose #28243 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424" x2="85" │
00:38:41 verbose #28244 > > │ y2="75"/>                                                                    │
00:38:41 verbose #28245 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:38:41 verbose #28246 > > │ y2="75"/>                                                                    │
00:38:41 verbose #28247 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="100" y1="424"        │
00:38:41 verbose #28248 > > │ x2="100" y2="75"/>                                                           │
00:38:41 verbose #28249 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="108" y1="424"        │
00:38:41 verbose #28250 > > │ x2="108" y2="75"/>                                                           │
00:38:41 verbose #28251 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="116" y1="424"        │
00:38:41 verbose #28252 > > │ x2="116" y2="75"/>                                                           │
00:38:41 verbose #28253 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="123" y1="424"        │
00:38:41 verbose #28254 > > │ x2="123" y2="75"/>                                                           │
00:38:41 verbose #28255 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="131" y1="424"        │
00:38:41 verbose #28256 > > │ x2="131" y2="75"/>                                                           │
00:38:41 verbose #28257 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:41 verbose #28258 > > │ x2="139" y2="75"/>                                                           │
00:38:41 verbose #28259 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="146" y1="424"        │
00:38:41 verbose #28260 > > │ x2="146" y2="75"/>                                                           │
00:38:41 verbose #28261 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="154" y1="424"        │
00:38:41 verbose #28262 > > │ x2="154" y2="75"/>                                                           │
00:38:41 verbose #28263 > > │ <line opacity="1" stroke="#32...ne fill="none" opacity="1" stroke="#FFFFFF"  │
00:38:41 verbose #28264 > > │ stroke-width="1" points="585,250 590,250 "/>                                 │
00:38:41 verbose #28265 > > │ <text x="617" y="184" dy="0.5ex" text-anchor="end" font-family="sans-serif"  │
00:38:41 verbose #28266 > > │ font-size="9.67741935483871" opacity="1" fill="#FFFFFF">                     │
00:38:41 verbose #28267 > > │ 0.0                                                                          │
00:38:41 verbose #28268 > > │ </text>                                                                      │
00:38:41 verbose #28269 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:41 verbose #28270 > > │ points="585,184 590,184 "/>                                                  │
00:38:41 verbose #28271 > > │ <text x="617" y="118" dy="0.5ex" text-anchor="end" font-family="sans-serif"  │
00:38:41 verbose #28272 > > │ font-size="9.67741935483871" opacity="1" fill="#FFFFFF">                     │
00:38:41 verbose #28273 > > │ 0.0                                                                          │
00:38:41 verbose #28274 > > │ </text>                                                                      │
00:38:41 verbose #28275 > > │ <polyline fill="none" opacity="1" stroke="#FFFFFF" stroke-width="1"          │
00:38:41 verbose #28276 > > │ points="585,118 590,118 "/>                                                  │
00:38:41 verbose #28277 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:41 verbose #28278 > > │ points="69,250 77,226 85,203 93,181 100,160 108,141 116,124 123,110 131,99   │
00:38:41 verbose #28279 > > │ 139,91 146,87 154,85 162,88 169,93 177,102 185,115 192,129 200,147 208,167   │
00:38:41 verbose #28280 > > │ 215,188 223,211 231,234 238,258 246,282 254,305 261,327 269,347 277,365      │
00:38:41 verbose #28281 > > │ 284,381 292,394 300,404 307,411 315,415 323,415 331,411 338,404 346,394      │
00:38:41 verbose #28282 > > │ 354,381 361,365 369,347 377,327 384,305 392,282 400,258 407,234 415,211      │
00:38:41 verbose #28283 > > │ 423,188 430,167 438,147 446,129 453,115 461,102 469,93 476,88 484,85 492,87  │
00:38:41 verbose #28284 > > │ 499,91 507,99 515,110 522,124 530,141 538,160 545,181 553,203 561,226        │
00:38:41 verbose #28285 > > │ 569,250 "/>                                                                  │
00:38:41 verbose #28286 > > │ <rect x="525" y="235" width="55" height="30" opacity="1" fill="none"         │
00:38:41 verbose #28287 > > │ stroke="#FFFFFF"/>                                                           │
00:38:41 verbose #28288 > > │ <text x="565" y="245" dy="0.76em" text-anchor="start"                        │
00:38:41 verbose #28289 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:41 verbose #28290 > > │ fill="#FFFFFF">                                                              │
00:38:41 verbose #28291 > > │ 0                                                                            │
00:38:41 verbose #28292 > > │ </text>                                                                      │
00:38:41 verbose #28293 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:41 verbose #28294 > > │ points="535,250 555,250 "/>                                                  │
00:38:41 verbose #28295 > > │ </svg>                                                                       │
00:38:41 verbose #28296 > > │                                                                              │
00:38:41 verbose #28297 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:41 verbose #28298 > >
00:38:41 verbose #28299 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:41 verbose #28300 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:41 verbose #28301 > > │ #### system kinetic energy versus time 2                                     │
00:38:41 verbose #28302 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:41 verbose #28303 > >
00:38:41 verbose #28304 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:41 verbose #28305 > > //// test
00:38:41 verbose #28306 > >
00:38:41 verbose #28307 > > inl central_force f (particle_state st1) (particle_state st2) =
00:38:41 verbose #28308 > >     inl r1 = st1.pos_vec
00:38:41 verbose #28309 > >     inl r2 = st2.pos_vec
00:38:41 verbose #28310 > >     inl r21 = r2 ^-^ r1
00:38:41 verbose #28311 > >     inl r21mag = magnitude r21
00:38:41 verbose #28312 > >     f r21mag *^ r21 ^/ r21mag
00:38:41 verbose #28313 > >
00:38:41 verbose #28314 > > inl billiard_force k re =
00:38:41 verbose #28315 > >     inl f r =
00:38:41 verbose #28316 > >         if r >= re
00:38:41 verbose #28317 > >         then 0
00:38:41 verbose #28318 > >         else -k * (r - re)
00:38:41 verbose #28319 > >     central_force f
00:38:41 verbose #28320 > >
00:38:41 verbose #28321 > > type force_vector = vec
00:38:41 verbose #28322 > > type two_body_force = particle_state -> particle_state -> force_vector
00:38:41 verbose #28323 > >
00:38:41 verbose #28324 > > union force t =
00:38:41 verbose #28325 > >     | ExternalForce : t * one_body_force
00:38:41 verbose #28326 > >     | InternalForce : t * t * two_body_force
00:38:41 verbose #28327 > >
00:38:41 verbose #28328 > > nominal multi_particle_state = stream.stream particle_state
00:38:41 verbose #28329 > >
00:38:41 verbose #28330 > > nominal d_multi_particle_state = stream.stream d_particle_state
00:38:41 verbose #28331 > >
00:38:41 verbose #28332 > > inl force_on n s force =
00:38:41 verbose #28333 > >     match force with
00:38:41 verbose #28334 > >     | ExternalForce (n0, f_one_body) =>
00:38:41 verbose #28335 > >         if n = n0
00:38:41 verbose #28336 > >         then f_one_body
00:38:41 verbose #28337 > >         else fun _ => zero_vec ()
00:38:41 verbose #28338 > >     | InternalForce (n0, n1, f_two_body) =>
00:38:41 verbose #28339 > >         if n = n0
00:38:41 verbose #28340 > >         then s |> stream.try_item n1 |> optionm.map f_two_body
00:38:41 verbose #28341 > >         elif n = n1
00:38:41 verbose #28342 > >         then s |> stream.try_item n0 |> optionm.map f_two_body
00:38:41 verbose #28343 > >         else None
00:38:41 verbose #28344 > >         |> optionm'.default_value (fun _ => zero_vec ())
00:38:41 verbose #28345 > >
00:38:41 verbose #28346 > > inl forces_on n (multi_particle_state sts) fs =
00:38:41 verbose #28347 > >     fs
00:38:41 verbose #28348 > >     |> listm.map (force_on n sts)
00:38:41 verbose #28349 > >
00:38:41 verbose #28350 > > inl newton_second_mps fs ((multi_particle_state sts) as mpst) =
00:38:41 verbose #28351 > >     inl deriv (n, st) =
00:38:41 verbose #28352 > >         newton_second_ps (forces_on n mpst fs) st
00:38:41 verbose #28353 > >     sts |> stream.indexed |> stream.map deriv |> d_multi_particle_state
00:38:41 verbose #28354 > >
00:38:41 verbose #28355 > > instance (+++) d_multi_particle_state =
00:38:41 verbose #28356 > >     fun (d_multi_particle_state dsts1) (d_multi_particle_state dsts2) =>
00:38:41 verbose #28357 > >         (dsts1, dsts2)
00:38:41 verbose #28358 > >         ||> stream.zip_with (+++)
00:38:41 verbose #28359 > >         |> d_multi_particle_state
00:38:41 verbose #28360 > >
00:38:41 verbose #28361 > > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>
00:38:41 verbose #28362 > >     dsts
00:38:41 verbose #28363 > >     |> stream.map (scale w)
00:38:41 verbose #28364 > >     |> d_multi_particle_state
00:38:41 verbose #28365 > >
00:38:41 verbose #28366 > > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>
00:38:41 verbose #28367 > >     inl (d_multi_particle_state dsts) =
00:38:41 verbose #28368 > >         real
00:38:41 verbose #28369 > >             match dsts with
00:38:41 verbose #28370 > >             | d_multi_particle_state _ => dsts
00:38:41 verbose #28371 > >     (dsts, sts)
00:38:41 verbose #28372 > >     ||> stream.zip_with (shift dt)
00:38:41 verbose #28373 > >     |> stream.memoize
00:38:41 verbose #28374 > >     |> fun x => x ()
00:38:41 verbose #28375 > >     |> multi_particle_state
00:38:41 verbose #28376 > >
00:38:41 verbose #28377 > > inl euler_cromer_mps dt : numerical_method multi_particle_state
00:38:41 verbose #28378 > > d_multi_particle_state =
00:38:41 verbose #28379 > >     fun deriv ((multi_particle_state sts0) as mpst0) =>
00:38:41 verbose #28380 > >         inl (multi_particle_state sts1) = euler dt deriv mpst0
00:38:41 verbose #28381 > >         (sts0, sts1)
00:38:41 verbose #28382 > >         ||> stream.zip
00:38:41 verbose #28383 > >         |> stream.map (fun ((particle_state st0), (particle_state st1)) =>
00:38:41 verbose #28384 > >             particle_state {
00:38:41 verbose #28385 > >                 st1 with
00:38:41 verbose #28386 > >                     pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt
00:38:41 verbose #28387 > >             }
00:38:41 verbose #28388 > >         )
00:38:41 verbose #28389 > >         |> multi_particle_state
00:38:41 verbose #28390 > >
00:38:41 verbose #28391 > > inl update_mps (method : numerical_method multi_particle_state
00:38:41 verbose #28392 > > d_multi_particle_state) =
00:38:41 verbose #28393 > >     newton_second_mps >> method
00:38:41 verbose #28394 > >
00:38:41 verbose #28395 > > inl states_mps (method : numerical_method multi_particle_state
00:38:41 verbose #28396 > > d_multi_particle_state) =
00:38:41 verbose #28397 > >     newton_second_mps
00:38:41 verbose #28398 > >     >> method
00:38:41 verbose #28399 > >     >> (fun x (multi_particle_state y) =>
00:38:41 verbose #28400 > >         y
00:38:41 verbose #28401 > >         |> stream.memoize
00:38:41 verbose #28402 > >         |> (fun x => x ())
00:38:41 verbose #28403 > >         |> multi_particle_state |> x
00:38:41 verbose #28404 > >     )
00:38:41 verbose #28405 > >     // >> stream.iterate
00:38:41 verbose #28406 > >     >> seq.iterate'
00:38:41 verbose #28407 > >
00:38:41 verbose #28408 > > inl kinetic_energy (particle_state st) =
00:38:41 verbose #28409 > >     inl m = st.mass
00:38:41 verbose #28410 > >     inl v = magnitude st.velocity
00:38:41 verbose #28411 > >     0.5 * m * v ** 2
00:38:41 verbose #28412 > >
00:38:41 verbose #28413 > > inl system_ke (multi_particle_state sts) =
00:38:41 verbose #28414 > >     sts
00:38:41 verbose #28415 > >     |> stream.map kinetic_energy
00:38:41 verbose #28416 > >     |> stream.sum
00:38:41 verbose #28417 > >
00:38:41 verbose #28418 > > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =
00:38:41 verbose #28419 > >     inl r1 = st1.pos_vec
00:38:41 verbose #28420 > >     inl r2 = st2.pos_vec
00:38:41 verbose #28421 > >     inl r21 = r2 ^-^ r1
00:38:41 verbose #28422 > >     inl r21mag = magnitude r21
00:38:41 verbose #28423 > >     k * (r21mag - re) ** 2 / 2
00:38:41 verbose #28424 > >
00:38:41 verbose #28425 > > inl earth_surface_gravity_pe (particle_state st) =
00:38:41 verbose #28426 > >     inl g = 9.80665
00:38:41 verbose #28427 > >     inl m = st.mass
00:38:41 verbose #28428 > >     inl z = st.pos_vec.z
00:38:41 verbose #28429 > >     m * g * z
00:38:41 verbose #28430 > >
00:38:41 verbose #28431 > > inl ball_radius () = 0.03
00:38:41 verbose #28432 > >
00:38:41 verbose #28433 > > inl billiard_forces k =
00:38:41 verbose #28434 > >     [[ InternalForce (0i32, 1, billiard_force k (2 * ball_radius ())) ]]
00:38:41 verbose #28435 > >
00:38:41 verbose #28436 > > inl billiard_initial () =
00:38:41 verbose #28437 > >     inl ball_mass = 0.160
00:38:41 verbose #28438 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:41 verbose #28439 > >     [[
00:38:41 verbose #28440 > >         particle_state {
00:38:41 verbose #28441 > >             default_particle_state' with
00:38:41 verbose #28442 > >                 mass = ball_mass
00:38:41 verbose #28443 > >                 pos_vec = zero_vec ()
00:38:41 verbose #28444 > >                 velocity = 0.2 *^ i_hat ()
00:38:41 verbose #28445 > >         }
00:38:41 verbose #28446 > >         particle_state {
00:38:41 verbose #28447 > >             default_particle_state' with
00:38:41 verbose #28448 > >                 mass = ball_mass
00:38:41 verbose #28449 > >                 pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()
00:38:41 verbose #28450 > >                 velocity = zero_vec ()
00:38:41 verbose #28451 > >         }
00:38:41 verbose #28452 > >     ]]
00:38:41 verbose #28453 > >     |> stream.from_list
00:38:41 verbose #28454 > >     |> multi_particle_state
00:38:41 verbose #28455 > >
00:38:41 verbose #28456 > > inl billiard_states ~n_method k dt =
00:38:41 verbose #28457 > >     states_mps (n_method dt) (billiard_forces k) (billiard_initial ())
00:38:41 verbose #28458 > >
00:38:41 verbose #28459 > > inl billiard_states_finite n_method k dt =
00:38:41 verbose #28460 > >     billiard_states n_method k dt
00:38:41 verbose #28461 > >     >> Some
00:38:41 verbose #28462 > >     |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>
00:38:41 verbose #28463 > >         match mpst |> stream.try_item 0i32 with
00:38:41 verbose #28464 > >         | Some st =>
00:38:41 verbose #28465 > >             st.time <= 10
00:38:41 verbose #28466 > >         | None => false
00:38:41 verbose #28467 > >     )
00:38:41 verbose #28468 > >
00:38:41 verbose #28469 > > inl momentum (particle_state st) =
00:38:41 verbose #28470 > >     inl m = st.mass
00:38:41 verbose #28471 > >     inl v = st.velocity
00:38:41 verbose #28472 > >     m *^ v
00:38:41 verbose #28473 > >
00:38:41 verbose #28474 > > inl system_p (multi_particle_state sts) =
00:38:41 verbose #28475 > >     sts
00:38:41 verbose #28476 > >     |> stream.map momentum
00:38:41 verbose #28477 > >     |> stream.fold (^+^) (zero_vec ())
00:38:41 verbose #28478 > >
00:38:41 verbose #28479 > > inl time_ke_ec_x, time_ke_ec_y =
00:38:41 verbose #28480 > >     billiard_states_finite euler_cromer_mps 30 0.03
00:38:41 verbose #28481 > >     |> listm.map (fun (multi_particle_state mpst) =>
00:38:41 verbose #28482 > >         mpst |> stream.try_item 0i32
00:38:41 verbose #28483 > >         |> optionm.map (fun st =>
00:38:41 verbose #28484 > >             st.time, system_ke (multi_particle_state mpst)
00:38:41 verbose #28485 > >         )
00:38:41 verbose #28486 > >     )
00:38:41 verbose #28487 > >     // |> stream.to_list
00:38:41 verbose #28488 > >     |> listm'.choose id
00:38:41 verbose #28489 > >     |> listm'.unzip
00:38:41 verbose #28490 > >
00:38:41 verbose #28491 > > inl time_ke_rk4_x, time_ke_rk4_y =
00:38:41 verbose #28492 > >     billiard_states_finite runge_kutta_4 30 0.03
00:38:41 verbose #28493 > >     |> listm.map (fun (multi_particle_state mpst) =>
00:38:41 verbose #28494 > >         mpst |> stream.try_item 0i32
00:38:41 verbose #28495 > >         |> optionm.map (fun st =>
00:38:41 verbose #28496 > >             st.time, system_ke (multi_particle_state mpst)
00:38:41 verbose #28497 > >         )
00:38:41 verbose #28498 > >     )
00:38:41 verbose #28499 > >     // |> stream.to_list
00:38:41 verbose #28500 > >     |> listm'.choose id
00:38:41 verbose #28501 > >     |> listm'.unzip
00:38:41 verbose #28502 > >
00:38:41 verbose #28503 > > inl time_ke_ec_x = time_ke_ec_x |> listm'.box |> listm'.to_array'
00:38:41 verbose #28504 > > inl time_ke_ec_y = time_ke_ec_y |> listm'.box |> listm'.to_array'
00:38:41 verbose #28505 > >
00:38:41 verbose #28506 > > inl time_ke_rk4_x = time_ke_rk4_x |> listm'.box |> listm'.to_array'
00:38:41 verbose #28507 > > inl time_ke_rk4_y = time_ke_rk4_y |> listm'.box |> listm'.to_array'
00:38:41 verbose #28508 > >
00:38:41 verbose #28509 > > "system kinetic energy versus time",
00:38:41 verbose #28510 > > "time (s)",
00:38:41 verbose #28511 > > "system kinetic energy (j)",
00:38:41 verbose #28512 > > ;[[
00:38:41 verbose #28513 > >     "euler-cromer", time_ke_ec_x, time_ke_ec_y
00:38:41 verbose #28514 > >     "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y
00:38:41 verbose #28515 > > ]]
00:38:41 verbose #28516 > 00:38:40   debug #1534 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ceffa832d897ffa85ad4257e1162e9703894f6d15d021ab9e6d78e4f64aa7453/main.spi
00:38:43 verbose #28517 > >
00:38:43 verbose #28518 > > ╭─[ 2.20s - return value ]─────────────────────────────────────────────────────╮
00:38:43 verbose #28519 > > │ <svg width="640" height="480" viewBox="0 0 640 480"                          │
00:38:43 verbose #28520 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:43 verbose #28521 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:43 verbose #28522 > > │ stroke="none"/>                                                              │
00:38:43 verbose #28523 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:43 verbose #28524 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:43 verbose #28525 > > │ fill="#FFFFFF">                                                              │
00:38:43 verbose #28526 > > │ system kinetic energy versus time                                            │
00:38:43 verbose #28527 > > │ </text>                                                                      │
00:38:43 verbose #28528 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:38:43 verbose #28529 > > │ y2="75"/>                                                                    │
00:38:43 verbose #28530 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:43 verbose #28531 > > │ y2="75"/>                                                                    │
00:38:43 verbose #28532 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:38:43 verbose #28533 > > │ y2="75"/>                                                                    │
00:38:43 verbose #28534 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:38:43 verbose #28535 > > │ y2="75"/>                                                                    │
00:38:43 verbose #28536 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="424" x2="99" │
00:38:43 verbose #28537 > > │ y2="75"/>                                                                    │
00:38:43 verbose #28538 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="109" y1="424"        │
00:38:43 verbose #28539 > > │ x2="109" y2="75"/>                                                           │
00:38:43 verbose #28540 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="119" y1="424"        │
00:38:43 verbose #28541 > > │ x2="119" y2="75"/>                                                           │
00:38:43 verbose #28542 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="129" y1="424"        │
00:38:43 verbose #28543 > > │ x2="129" y2="75"/>                                                           │
00:38:43 verbose #28544 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:43 verbose #28545 > > │ x2="139" y2="75"/>                                                           │
00:38:43 verbose #28546 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="149" y1="424"        │
00:38:43 verbose #28547 > > │ x2="149" y2="75"/>                                                           │
00:38:43 verbose #28548 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="159" y1="424"        │
00:38:43 verbose #28549 > > │ x2="159" y2="75"/>                                                           │
00:38:43 verbose #28550 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="169" y1="424"        │
00:38:43 verbose #28551 > > │ x2="169" y2="75"/>                                                           │
00:38:43 verbose #28552 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="179" y1="424"        │
00:38:43 verbose #28553 > > │ x2="179" y2="75"/>                                                           │
00:38:43 verbose #28554 > > │ ...,104 404,104 405,104 407,104 408,104 410,104 411,104 413,104 414,104      │
00:38:43 verbose #28555 > > │ 416,104 417,104 419,104 420,104 422,104 423,104 425,104 426,104 428,104      │
00:38:43 verbose #28556 > > │ 429,104 431,104 432,104 434,104 435,104 437,104 438,104 440,104 441,104      │
00:38:43 verbose #28557 > > │ 443,104 444,104 446,104 447,104 449,104 450,104 452,104 453,104 455,104      │
00:38:43 verbose #28558 > > │ 456,104 458,104 459,104 461,104 462,104 464,104 465,104 467,104 468,104      │
00:38:43 verbose #28559 > > │ 470,104 471,104 473,104 474,104 476,104 477,104 479,104 480,104 482,104      │
00:38:43 verbose #28560 > > │ 483,104 485,104 486,104 488,104 489,104 491,104 492,104 494,104 495,104      │
00:38:43 verbose #28561 > > │ 497,104 498,104 500,104 501,104 503,104 504,104 506,104 507,104 509,104      │
00:38:43 verbose #28562 > > │ 510,104 512,104 513,104 515,104 516,104 518,104 519,104 521,104 522,104      │
00:38:43 verbose #28563 > > │ 524,104 525,104 527,104 528,104 530,104 531,104 533,104 534,104 536,104      │
00:38:43 verbose #28564 > > │ 537,104 539,104 540,104 542,104 543,104 545,104 546,104 548,104 549,104      │
00:38:43 verbose #28565 > > │ 551,104 552,104 554,104 555,104 557,104 558,104 560,104 561,104 563,104      │
00:38:43 verbose #28566 > > │ 564,104 566,104 567,104 569,104 "/>                                          │
00:38:43 verbose #28567 > > │ <rect x="459" y="227" width="121" height="45" opacity="1" fill="none"        │
00:38:43 verbose #28568 > > │ stroke="#FFFFFF"/>                                                           │
00:38:43 verbose #28569 > > │ <text x="499" y="237" dy="0.76em" text-anchor="start"                        │
00:38:43 verbose #28570 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:43 verbose #28571 > > │ fill="#FFFFFF">                                                              │
00:38:43 verbose #28572 > > │ euler-cromer                                                                 │
00:38:43 verbose #28573 > > │ </text>                                                                      │
00:38:43 verbose #28574 > > │ <text x="499" y="252" dy="0.76em" text-anchor="start"                        │
00:38:43 verbose #28575 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:43 verbose #28576 > > │ fill="#FFFFFF">                                                              │
00:38:43 verbose #28577 > > │ runge-kutta 4                                                                │
00:38:43 verbose #28578 > > │ </text>                                                                      │
00:38:43 verbose #28579 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:43 verbose #28580 > > │ points="469,242 489,242 "/>                                                  │
00:38:43 verbose #28581 > > │ <polyline fill="none" opacity="1" stroke="#0000FF" stroke-width="1"          │
00:38:43 verbose #28582 > > │ points="469,257 489,257 "/>                                                  │
00:38:43 verbose #28583 > > │ </svg>                                                                       │
00:38:43 verbose #28584 > > │                                                                              │
00:38:43 verbose #28585 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:43 verbose #28586 > >
00:38:43 verbose #28587 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:43 verbose #28588 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:43 verbose #28589 > > │ #### wave 2                                                                  │
00:38:43 verbose #28590 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:43 verbose #28591 > >
00:38:43 verbose #28592 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:43 verbose #28593 > > //// test
00:38:43 verbose #28594 > >
00:38:43 verbose #28595 > > inl linear_spring k re (particle_state st1) (particle_state st2) =
00:38:43 verbose #28596 > >     inl r1 = st1.pos_vec
00:38:43 verbose #28597 > >     inl r2 = st2.pos_vec
00:38:43 verbose #28598 > >     inl r21 = r2 ^-^ r1
00:38:43 verbose #28599 > >     inl r21mag = magnitude r21
00:38:43 verbose #28600 > >     -k * (r21mag - re) *^ r21 ^/ r21mag
00:38:43 verbose #28601 > >
00:38:43 verbose #28602 > > inl fixed_linear_spring k re r1 =
00:38:43 verbose #28603 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:43 verbose #28604 > >     linear_spring k re (particle_state { default_particle_state' with pos_vec =
00:38:43 verbose #28605 > > r1 })
00:38:43 verbose #28606 > >
00:38:43 verbose #28607 > > inl forces_string () =
00:38:43 verbose #28608 > >     [[
00:38:43 verbose #28609 > >         ExternalForce (0i32, fixed_linear_spring 5384 0 (zero_vec ()))
00:38:43 verbose #28610 > >         ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))
00:38:43 verbose #28611 > >     ]] ++ (
00:38:43 verbose #28612 > >         listm'.init_series 0 59 1
00:38:43 verbose #28613 > >         |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))
00:38:43 verbose #28614 > >     )
00:38:43 verbose #28615 > >
00:38:43 verbose #28616 > > inl string_update dt =
00:38:43 verbose #28617 > >     update_mps (join runge_kutta_4 dt) (join forces_string ())
00:38:43 verbose #28618 > >
00:38:43 verbose #28619 > > inl string_initial_overtone n =
00:38:43 verbose #28620 > >     inl ball_mass = 0.0008293 * 0.65 / 64
00:38:43 verbose #28621 > >     inl (particle_state default_particle_state') = default_particle_state ()
00:38:43 verbose #28622 > >     listm'.init_series 0.01 0.64 0.01
00:38:43 verbose #28623 > >     |> listm.map (fun x =>
00:38:43 verbose #28624 > >         inl y = 0.005 * sin (conv n * pi * x / 0.65)
00:38:43 verbose #28625 > >         particle_state {
00:38:43 verbose #28626 > >             default_particle_state' with
00:38:43 verbose #28627 > >                 mass = ball_mass
00:38:43 verbose #28628 > >                 pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:38:43 verbose #28629 > >                 velocity = zero_vec ()
00:38:43 verbose #28630 > >         }
00:38:43 verbose #28631 > >     )
00:38:43 verbose #28632 > >     |> stream.from_list
00:38:43 verbose #28633 > >     |> multi_particle_state
00:38:43 verbose #28634 > >
00:38:43 verbose #28635 > > let main () =
00:38:43 verbose #28636 > >     inl ~frames = listm'.init_series 0 65 1f64 |> stream.from_list
00:38:43 verbose #28637 > >     inl ~initial_state = string_initial_overtone 3i32
00:38:43 verbose #28638 > >     inl frames =
00:38:43 verbose #28639 > >         frames
00:38:43 verbose #28640 > >         |> stream.map (fun n =>
00:38:43 verbose #28641 > >             inl (multi_particle_state sts) =
00:38:43 verbose #28642 > >                 stream.iterate (string_update 0.000025) initial_state |>
00:38:43 verbose #28643 > > stream.item n
00:38:43 verbose #28644 > >             inl x, y =
00:38:43 verbose #28645 > >                 [[ zero_vec () ]]
00:38:43 verbose #28646 > >                 ++ (sts |> stream.map (fun (particle_state st) => st.pos_vec) |>
00:38:43 verbose #28647 > > stream.to_list)
00:38:43 verbose #28648 > >                 ++ [[ 0.65 *^ i_hat () ]]
00:38:43 verbose #28649 > >                 |> listm.map (fun r => r.x, r.y)
00:38:43 verbose #28650 > >                 |> stream.from_list
00:38:43 verbose #28651 > >                 |> stream.unzip
00:38:43 verbose #28652 > >             inl x = x |> stream.to_list |> listm'.box |> listm'.to_array'
00:38:43 verbose #28653 > >             inl y = y |> stream.to_list |> listm'.box |> listm'.to_array'
00:38:43 verbose #28654 > >             x, y
00:38:43 verbose #28655 > >         )
00:38:43 verbose #28656 > >
00:38:43 verbose #28657 > >     inl plots =
00:38:43 verbose #28658 > >         frames
00:38:43 verbose #28659 > >         |> stream.indexed
00:38:43 verbose #28660 > >         |> stream.map (fun ((n : i32), (x, y)) =>
00:38:43 verbose #28661 > >             "wave",
00:38:43 verbose #28662 > >             "position (m)",
00:38:43 verbose #28663 > >             "displacement (m)",
00:38:43 verbose #28664 > >             ;[[
00:38:43 verbose #28665 > >                 ($'$"{!n}"' : string), x, y
00:38:43 verbose #28666 > >             ]]
00:38:43 verbose #28667 > >         )
00:38:43 verbose #28668 > >
00:38:43 verbose #28669 > >     plots |> stream.to_list |> listm'.box |> listm'.to_array'
00:38:43 verbose #28670 > 00:38:42   debug #1535 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/df2d611af59096748751c665fdf6a3750681db0aebac8e665f953d6137d4aa08/main.spi
00:38:49 verbose #28671 > >
00:38:49 verbose #28672 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:38:49 verbose #28673 > > ╭─[ 5.87s - diagnostics ]──────────────────────────────────────────────────────╮
00:38:49 verbose #28674 > > │ input.fsx (22,25)-(1084,1085) typecheck warning Incomplete pattern matches   │
00:38:49 verbose #28675 > > │ on this expression. For example, the value 'UH7_1 (_, _, _, _)' may indicate │
00:38:49 verbose #28676 > > │ a case not covered by the pattern(s).                                        │
00:38:49 verbose #28677 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:49 verbose #28678 > >
00:38:49 verbose #28679 > > ╭─[ 6.10s - return value ]─────────────────────────────────────────────────────╮
00:38:49 verbose #28680 > > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │
00:38:49 verbose #28681 > > │ ><td>0</td><td><svg width="640" height="480" viewBox="0 0 640 480"           │
00:38:49 verbose #28682 > > │ xmlns="http://www.w3.org/2000/svg">                                          │
00:38:49 verbose #28683 > > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414"        │
00:38:49 verbose #28684 > > │ stroke="none"/>                                                              │
00:38:49 verbose #28685 > > │ <text x="320" y="10" dy="0.76em" text-anchor="middle"                        │
00:38:49 verbose #28686 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:49 verbose #28687 > > │ fill="#FFFFFF">                                                              │
00:38:49 verbose #28688 > > │ wave                                                                         │
00:38:49 verbose #28689 > > │ </text>                                                                      │
00:38:49 verbose #28690 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:38:49 verbose #28691 > > │ y2="75"/>                                                                    │
00:38:49 verbose #28692 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:38:49 verbose #28693 > > │ y2="75"/>                                                                    │
00:38:49 verbose #28694 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:38:49 verbose #28695 > > │ y2="75"/>                                                                    │
00:38:49 verbose #28696 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424" x2="85" │
00:38:49 verbose #28697 > > │ y2="75"/>                                                                    │
00:38:49 verbose #28698 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:38:49 verbose #28699 > > │ y2="75"/>                                                                    │
00:38:49 verbose #28700 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="100" y1="424"        │
00:38:49 verbose #28701 > > │ x2="100" y2="75"/>                                                           │
00:38:49 verbose #28702 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="108" y1="424"        │
00:38:49 verbose #28703 > > │ x2="108" y2="75"/>                                                           │
00:38:49 verbose #28704 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="116" y1="424"        │
00:38:49 verbose #28705 > > │ x2="116" y2="75"/>                                                           │
00:38:49 verbose #28706 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="123" y1="424"        │
00:38:49 verbose #28707 > > │ x2="123" y2="75"/>                                                           │
00:38:49 verbose #28708 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="131" y1="424"        │
00:38:49 verbose #28709 > > │ x2="131" y2="75"/>                                                           │
00:38:49 verbose #28710 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="139" y1="424"        │
00:38:49 verbose #28711 > > │ x2="139" y2="75"/>                                                           │
00:38:49 verbose #28712 > > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="146" y1="424"        │
00:38:49 verbose #28713 > > │ x2="146" y2="75"/>                                                           │
00:38:49 verbose #28714 > > │ <line opacity="1" stroke="#...28 590,128 "/>                                 │
00:38:49 verbose #28715 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:49 verbose #28716 > > │ points="69,363 77,322 85,283 92,246 100,211 107,179 115,151 122,127 130,108  │
00:38:49 verbose #28717 > > │ 138,95 145,87 153,85 160,89 168,99 175,114 183,134 190,159 198,188 205,220   │
00:38:49 verbose #28718 > > │ 212,253 218,284 223,311 226,329 227,337 226,337 224,333 223,334 223,344      │
00:38:49 verbose #28719 > > │ 224,357 225,367 224,370 223,374 224,383 224,393 224,397 224,400 224,406      │
00:38:49 verbose #28720 > > │ 224,411 224,412 224,413 224,415 224,413 224,411 224,409 224,405 224,400      │
00:38:49 verbose #28721 > > │ 224,395 224,388 224,382 224,375 224,367 224,360 224,353 224,346 224,339      │
00:38:49 verbose #28722 > > │ 224,332 224,327 224,322 224,318 224,314 224,312 224,311 539,239 546,279      │
00:38:49 verbose #28723 > > │ 569,403 561,363 "/>                                                          │
00:38:49 verbose #28724 > > │ <rect x="519" y="235" width="61" height="30" opacity="1" fill="none"         │
00:38:49 verbose #28725 > > │ stroke="#FFFFFF"/>                                                           │
00:38:49 verbose #28726 > > │ <text x="559" y="245" dy="0.76em" text-anchor="start"                        │
00:38:49 verbose #28727 > > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1"            │
00:38:49 verbose #28728 > > │ fill="#FFFFFF">                                                              │
00:38:49 verbose #28729 > > │ 65                                                                           │
00:38:49 verbose #28730 > > │ </text>                                                                      │
00:38:49 verbose #28731 > > │ <polyline fill="none" opacity="1" stroke="#FF0000" stroke-width="1"          │
00:38:49 verbose #28732 > > │ points="529,250 549,250 "/>                                                  │
00:38:49 verbose #28733 > > │ </svg>                                                                       │
00:38:49 verbose #28734 > > │ </td></tr></tbody></table><style>                                            │
00:38:49 verbose #28735 > > │ .dni-code-hint {                                                             │
00:38:49 verbose #28736 > > │     font-style: italic;                                                      │
00:38:49 verbose #28737 > > │     overflow: hidden;                                                        │
00:38:49 verbose #28738 > > │     white-space: nowrap;                                                     │
00:38:49 verbose #28739 > > │ }                                                                            │
00:38:49 verbose #28740 > > │ .dni-treeview {                                                              │
00:38:49 verbose #28741 > > │     white-space: nowrap;                                                     │
00:38:49 verbose #28742 > > │ }                                                                            │
00:38:49 verbose #28743 > > │ .dni-treeview td {                                                           │
00:38:49 verbose #28744 > > │     vertical-align: top;                                                     │
00:38:49 verbose #28745 > > │     text-align: start;                                                       │
00:38:49 verbose #28746 > > │ }                                                                            │
00:38:49 verbose #28747 > > │ details.dni-treeview {                                                       │
00:38:49 verbose #28748 > > │     padding-left: 1em;                                                       │
00:38:49 verbose #28749 > > │ }                                                                            │
00:38:49 verbose #28750 > > │ table td {                                                                   │
00:38:49 verbose #28751 > > │     text-align: start;                                                       │
00:38:49 verbose #28752 > > │ }                                                                            │
00:38:49 verbose #28753 > > │ table tr {                                                                   │
00:38:49 verbose #28754 > > │     vertical-align: top;                                                     │
00:38:49 verbose #28755 > > │     margin: 0em 0px;                                                         │
00:38:49 verbose #28756 > > │ }                                                                            │
00:38:49 verbose #28757 > > │ table tr td pre                                                              │
00:38:49 verbose #28758 > > │ {                                                                            │
00:38:49 verbose #28759 > > │     vertical-align: top !important;                                          │
00:38:49 verbose #28760 > > │     margin: 0em 0px !important;                                              │
00:38:49 verbose #28761 > > │ }                                                                            │
00:38:49 verbose #28762 > > │ table th {                                                                   │
00:38:49 verbose #28763 > > │     text-align: start;                                                       │
00:38:49 verbose #28764 > > │ }                                                                            │
00:38:49 verbose #28765 > > │ </style>                                                                     │
00:38:49 verbose #28766 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:49 verbose #28767 > >
00:38:49 verbose #28768 > > ── markdown ────────────────────────────────────────────────────────────────────
00:38:49 verbose #28769 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:38:49 verbose #28770 > > │ ## end                                                                       │
00:38:49 verbose #28771 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:38:49 verbose #28772 > 00:01:04 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 157679 }
00:38:49 verbose #28773 > 00:01:04   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:38:49 verbose #28774 >     "nbconvert",
00:38:49 verbose #28775 >     "c:/home/git/polyglot/lib/spiral/physics.dib.ipynb",
00:38:49 verbose #28776 >     "--to",
00:38:49 verbose #28777 >     "html",
00:38:49 verbose #28778 >     "--HTMLExporter.theme=dark",
00:38:49 verbose #28779 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/physics.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:38:52 verbose #28780 > 00:01:06 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/physics.dib.ipynb to html
00:38:52 verbose #28781 > 00:01:06 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:38:52 verbose #28782 > 00:01:06 verbose #7 !   validate(nb)
00:38:56 verbose #28783 > 00:01:11 verbose #8 ! [NbConvertApp] Writing 2508212 bytes to c:\home\git\polyglot\lib\spiral\physics.dib.html
00:38:57 verbose #28784 > 00:01:11 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 646 }
00:38:57 verbose #28785 > 00:01:11   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 646 }
00:38:57 verbose #28786 > 00:01:11   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:38:57 verbose #28787 >     "-c",
00:38:57 verbose #28788 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/physics.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:38:57 verbose #28789 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/physics.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:38:58 verbose #28790 > 00:01:12 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:38:58 verbose #28791 > 00:01:12   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:38:58 verbose #28792 > 00:01:13   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 158384 }
00:38:58   debug #28793 runtime.execute_with_options_async / { exit_code = 0; output_length = 166909 }
00:38:58   debug #35 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path physics.dib --retries 3
00:38:58   debug #28794 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path seq.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:38:58 verbose #28795 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "seq.dib", "--retries", "3"])) }
00:38:58 verbose #28796 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:38:58 verbose #28797 >     "repl",
00:38:58 verbose #28798 >     "--exit-after-run",
00:38:58 verbose #28799 >     "--run",
00:38:58 verbose #28800 >     "c:/home/git/polyglot/lib/spiral/seq.dib",
00:38:58 verbose #28801 >     "--output-path",
00:38:58 verbose #28802 >     "c:/home/git/polyglot/lib/spiral/seq.dib.ipynb",
00:38:58 verbose #28803 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/seq.dib" --output-path "c:/home/git/polyglot/lib/spiral/seq.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:39:01 verbose #28804 > >
00:39:01 verbose #28805 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:01 verbose #28806 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:01 verbose #28807 > > │ # seq                                                                        │
00:39:01 verbose #28808 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:05 verbose #28809 > >
00:39:05 verbose #28810 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:05 verbose #28811 > > //// test
00:39:05 verbose #28812 > >
00:39:05 verbose #28813 > > open testing
00:39:06 verbose #28814 > 00:39:05   debug #1536 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:39:06 verbose #28815 > >
00:39:06 verbose #28816 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:06 verbose #28817 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:06 verbose #28818 > > │ ## seq                                                                       │
00:39:06 verbose #28819 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:06 verbose #28820 > >
00:39:06 verbose #28821 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:06 verbose #28822 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:06 verbose #28823 > > │ ### seq                                                                      │
00:39:06 verbose #28824 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:06 verbose #28825 > >
00:39:06 verbose #28826 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:06 verbose #28827 > > type seq dim el = dim -> option el
00:39:06 verbose #28828 > 00:39:05   debug #1537 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/beeeacbbda68c0d28299be16bc318aca9becbca08240435f010caa31737f326e/main.spi
00:39:07 verbose #28829 > >
00:39:07 verbose #28830 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:07 verbose #28831 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:07 verbose #28832 > > │ ### try_item                                                                 │
00:39:07 verbose #28833 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:07 verbose #28834 > >
00:39:07 verbose #28835 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:07 verbose #28836 > > inl try_item n s =
00:39:07 verbose #28837 > >     n |> s
00:39:07 verbose #28838 > 00:39:06   debug #1538 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/73eee39918fd0a766cbf47ea2a1ef844f06d31a60003a58185729573bfd17657/main.spi
00:39:07 verbose #28839 > >
00:39:07 verbose #28840 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:07 verbose #28841 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:07 verbose #28842 > > │ ### from_list                                                                │
00:39:07 verbose #28843 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:07 verbose #28844 > >
00:39:07 verbose #28845 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:07 verbose #28846 > > inl from_list list =
00:39:07 verbose #28847 > >     fun n =>
00:39:07 verbose #28848 > >         list
00:39:07 verbose #28849 > >         |> listm'.try_item n
00:39:07 verbose #28850 > 00:39:06   debug #1539 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1eb0d11e9ccb767e5843926eee01478e751a1be3dfb4b14b8f6c38c46adf533f/main.spi
00:39:07 verbose #28851 > >
00:39:07 verbose #28852 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:07 verbose #28853 > > //// test
00:39:07 verbose #28854 > >
00:39:07 verbose #28855 > > listm.init 10i32 print_and_return
00:39:07 verbose #28856 > > |> from_list
00:39:07 verbose #28857 > > |> try_item 5i32
00:39:07 verbose #28858 > > |> _assert_eq (Some 5i32)
00:39:07 verbose #28859 > 00:39:06   debug #1540 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5b76a0f4d8c04008a0fdc87e9fb746a61db59db2bf488d90bc01ae3db604a76e/main.spi
00:39:09 verbose #28860 > >
00:39:09 verbose #28861 > > ╭─[ 1.48s - stdout ]───────────────────────────────────────────────────────────╮
00:39:09 verbose #28862 > > │ print_and_return / x: 0                                                      │
00:39:09 verbose #28863 > > │ print_and_return / x: 1                                                      │
00:39:09 verbose #28864 > > │ print_and_return / x: 2                                                      │
00:39:09 verbose #28865 > > │ print_and_return / x: 3                                                      │
00:39:09 verbose #28866 > > │ print_and_return / x: 4                                                      │
00:39:09 verbose #28867 > > │ print_and_return / x: 5                                                      │
00:39:09 verbose #28868 > > │ print_and_return / x: 6                                                      │
00:39:09 verbose #28869 > > │ print_and_return / x: 7                                                      │
00:39:09 verbose #28870 > > │ print_and_return / x: 8                                                      │
00:39:09 verbose #28871 > > │ print_and_return / x: 9                                                      │
00:39:09 verbose #28872 > > │ __assert_eq / actual: US0_0 5 / expected: US0_0 5                            │
00:39:09 verbose #28873 > > │                                                                              │
00:39:09 verbose #28874 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:09 verbose #28875 > >
00:39:09 verbose #28876 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:09 verbose #28877 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:09 verbose #28878 > > │ ### map                                                                      │
00:39:09 verbose #28879 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:09 verbose #28880 > >
00:39:09 verbose #28881 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:09 verbose #28882 > > inl map fn s =
00:39:09 verbose #28883 > >     fun n =>
00:39:09 verbose #28884 > >         n
00:39:09 verbose #28885 > >         |> s
00:39:09 verbose #28886 > >         |> optionm.map fn
00:39:09 verbose #28887 > 00:39:08   debug #1541 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab367246f905193b5d6ddf9e8f25568a44514ad41b398d958967d155d43f284f/main.spi
00:39:09 verbose #28888 > >
00:39:09 verbose #28889 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:09 verbose #28890 > > //// test
00:39:09 verbose #28891 > >
00:39:09 verbose #28892 > > listm.init 10i32 id
00:39:09 verbose #28893 > > |> from_list
00:39:09 verbose #28894 > > |> map ((*) 2)
00:39:09 verbose #28895 > > |> try_item 5i32
00:39:09 verbose #28896 > > |> _assert_eq (Some 10i32)
00:39:09 verbose #28897 > 00:39:08   debug #1542 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/89d1195aa22416b87b94581829bf99df2ee18a19094dda33ebac0710771b184b/main.spi
00:39:09 verbose #28898 > >
00:39:09 verbose #28899 > > ╭─[ 419.56ms - stdout ]────────────────────────────────────────────────────────╮
00:39:09 verbose #28900 > > │ __assert_eq / actual: US0_0 10 / expected: US0_0 10                          │
00:39:09 verbose #28901 > > │                                                                              │
00:39:09 verbose #28902 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:09 verbose #28903 > >
00:39:09 verbose #28904 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:09 verbose #28905 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:09 verbose #28906 > > │ ### mapi                                                                     │
00:39:09 verbose #28907 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:09 verbose #28908 > >
00:39:09 verbose #28909 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:09 verbose #28910 > > inl mapi fn s =
00:39:09 verbose #28911 > >     fun n =>
00:39:09 verbose #28912 > >         n
00:39:09 verbose #28913 > >         |> s
00:39:09 verbose #28914 > >         |> optionm.map (fn n)
00:39:10 verbose #28915 > 00:39:09   debug #1543 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/963f4192eefe0a3b56e2c1e9860199650682599ed1e14eeeb9ebf1d1b83b269c/main.spi
00:39:10 verbose #28916 > >
00:39:10 verbose #28917 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:10 verbose #28918 > > //// test
00:39:10 verbose #28919 > >
00:39:10 verbose #28920 > > listm.init 10i32 print_and_return
00:39:10 verbose #28921 > > |> from_list
00:39:10 verbose #28922 > > |> mapi fun i x => i + x
00:39:10 verbose #28923 > > |> try_item 5i32
00:39:10 verbose #28924 > > |> _assert_eq (Some 10i32)
00:39:10 verbose #28925 > 00:39:09   debug #1544 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ca333484205f89f15e8d5e3d8ef8d49a16e9aff1bf59383ba3549dadc5c70f4d/main.spi
00:39:10 verbose #28926 > >
00:39:10 verbose #28927 > > ╭─[ 435.06ms - stdout ]────────────────────────────────────────────────────────╮
00:39:10 verbose #28928 > > │ print_and_return / x: 0                                                      │
00:39:10 verbose #28929 > > │ print_and_return / x: 1                                                      │
00:39:10 verbose #28930 > > │ print_and_return / x: 2                                                      │
00:39:10 verbose #28931 > > │ print_and_return / x: 3                                                      │
00:39:10 verbose #28932 > > │ print_and_return / x: 4                                                      │
00:39:10 verbose #28933 > > │ print_and_return / x: 5                                                      │
00:39:10 verbose #28934 > > │ print_and_return / x: 6                                                      │
00:39:10 verbose #28935 > > │ print_and_return / x: 7                                                      │
00:39:10 verbose #28936 > > │ print_and_return / x: 8                                                      │
00:39:10 verbose #28937 > > │ print_and_return / x: 9                                                      │
00:39:10 verbose #28938 > > │ __assert_eq / actual: US0_0 10 / expected: US0_0 10                          │
00:39:10 verbose #28939 > > │                                                                              │
00:39:10 verbose #28940 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:10 verbose #28941 > >
00:39:10 verbose #28942 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:10 verbose #28943 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:10 verbose #28944 > > │ ### choose                                                                   │
00:39:10 verbose #28945 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:10 verbose #28946 > >
00:39:10 verbose #28947 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:10 verbose #28948 > > inl choose forall dim {number} t u. (fn : t -> option u) (s : seq dim t) : seq
00:39:10 verbose #28949 > > dim u =
00:39:10 verbose #28950 > >     fun n =>
00:39:10 verbose #28951 > >         inl rec body fn s i i' =
00:39:10 verbose #28952 > >             match i |> s with
00:39:10 verbose #28953 > >             | None => None
00:39:10 verbose #28954 > >             | Some x =>
00:39:10 verbose #28955 > >                 match x |> fn with
00:39:10 verbose #28956 > >                 | Some x when n = i' => Some x
00:39:10 verbose #28957 > >                 | Some _ => loop (i + 1) (i' + 1)
00:39:10 verbose #28958 > >                 | _ => loop (i + 1) i'
00:39:10 verbose #28959 > >         and inl loop i i' =
00:39:10 verbose #28960 > >             if n |> var_is |> not
00:39:10 verbose #28961 > >             then body fn s i i'
00:39:10 verbose #28962 > >             else
00:39:10 verbose #28963 > >                 inl fn = join fn
00:39:10 verbose #28964 > >                 inl s = join s
00:39:10 verbose #28965 > >                 join body fn s i i'
00:39:10 verbose #28966 > >         loop 0 0
00:39:10 verbose #28967 > 00:39:10   debug #1545 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8d7e7dded1e1996fd4f96cc5b660bca6551991f22db93484939b5e60b1c23826/main.spi
00:39:11 verbose #28968 > >
00:39:11 verbose #28969 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:11 verbose #28970 > > //// test
00:39:11 verbose #28971 > >
00:39:11 verbose #28972 > > listm.init 10i32 print_and_return
00:39:11 verbose #28973 > > |> from_list
00:39:11 verbose #28974 > > |> choose (fun x => if x % 2 = 0 then Some x else None)
00:39:11 verbose #28975 > > |> try_item 1i32
00:39:11 verbose #28976 > > |> _assert_eq (Some 2i32)
00:39:11 verbose #28977 > 00:39:10   debug #1546 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/574648207be8aa14c329a31664f88924afa13ab24ac7861275afd72fd27ebba5/main.spi
00:39:11 verbose #28978 > >
00:39:11 verbose #28979 > > ╭─[ 459.49ms - stdout ]────────────────────────────────────────────────────────╮
00:39:11 verbose #28980 > > │ print_and_return / x: 0                                                      │
00:39:11 verbose #28981 > > │ print_and_return / x: 1                                                      │
00:39:11 verbose #28982 > > │ print_and_return / x: 2                                                      │
00:39:11 verbose #28983 > > │ print_and_return / x: 3                                                      │
00:39:11 verbose #28984 > > │ print_and_return / x: 4                                                      │
00:39:11 verbose #28985 > > │ print_and_return / x: 5                                                      │
00:39:11 verbose #28986 > > │ print_and_return / x: 6                                                      │
00:39:11 verbose #28987 > > │ print_and_return / x: 7                                                      │
00:39:11 verbose #28988 > > │ print_and_return / x: 8                                                      │
00:39:11 verbose #28989 > > │ print_and_return / x: 9                                                      │
00:39:11 verbose #28990 > > │ __assert_eq / actual: US0_0 2 / expected: US0_0 2                            │
00:39:11 verbose #28991 > > │                                                                              │
00:39:11 verbose #28992 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:11 verbose #28993 > >
00:39:11 verbose #28994 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:11 verbose #28995 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:11 verbose #28996 > > │ ### indexed                                                                  │
00:39:11 verbose #28997 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:11 verbose #28998 > >
00:39:11 verbose #28999 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:11 verbose #29000 > > inl indexed s =
00:39:11 verbose #29001 > >     s
00:39:11 verbose #29002 > >     |> mapi fun i x =>
00:39:11 verbose #29003 > >         i, x
00:39:11 verbose #29004 > 00:39:10   debug #1547 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/23addf890739dd19c99cf240f1fe7895c4d2aa3e4e56c3d797881187ebba9373/main.spi
00:39:11 verbose #29005 > >
00:39:11 verbose #29006 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:11 verbose #29007 > > //// test
00:39:11 verbose #29008 > >
00:39:11 verbose #29009 > > listm.init 10i32 ((*) 2)
00:39:11 verbose #29010 > > |> from_list
00:39:11 verbose #29011 > > |> indexed
00:39:11 verbose #29012 > > |> try_item 5i32
00:39:11 verbose #29013 > > |> _assert_eq (Some (5i32, 10i32))
00:39:12 verbose #29014 > 00:39:11   debug #1548 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b01c1f13c74d247ff6417b393f373a00b27a86be9f9d6968647c958376312673/main.spi
00:39:12 verbose #29015 > >
00:39:12 verbose #29016 > > ╭─[ 414.02ms - stdout ]────────────────────────────────────────────────────────╮
00:39:12 verbose #29017 > > │ __assert_eq / actual: US0_0 (5, 10) / expected: US0_0 (5, 10)                │
00:39:12 verbose #29018 > > │                                                                              │
00:39:12 verbose #29019 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:12 verbose #29020 > >
00:39:12 verbose #29021 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:12 verbose #29022 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:12 verbose #29023 > > │ ### zip                                                                      │
00:39:12 verbose #29024 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:12 verbose #29025 > >
00:39:12 verbose #29026 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:12 verbose #29027 > > inl zip n seq1 seq2 =
00:39:12 verbose #29028 > >     seq1 n, seq2 n
00:39:12 verbose #29029 > 00:39:11   debug #1549 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b9cd88eff027313df3abcc9e28bbd1b662caa77806df42b33915d070eddc4eec/main.spi
00:39:12 verbose #29030 > >
00:39:12 verbose #29031 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:12 verbose #29032 > > //// test
00:39:12 verbose #29033 > >
00:39:12 verbose #29034 > > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:39:12 verbose #29035 > > ||> zip 5i32
00:39:12 verbose #29036 > > |> _assert_eq (Some 5, Some 10)
00:39:12 verbose #29037 > 00:39:11   debug #1550 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/71e14515e7207b44b73f3f669390dfe1d943c3c1b7f6016eadd800bdd7106ec4/main.spi
00:39:13 verbose #29038 > >
00:39:13 verbose #29039 > > ╭─[ 435.09ms - stdout ]────────────────────────────────────────────────────────╮
00:39:13 verbose #29040 > > │ __assert_eq / actual: struct (US0_0 5, US0_0 10) / expected: struct (US0_0   │
00:39:13 verbose #29041 > > │ 5, US0_0 10)                                                                 │
00:39:13 verbose #29042 > > │                                                                              │
00:39:13 verbose #29043 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:13 verbose #29044 > >
00:39:13 verbose #29045 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:13 verbose #29046 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:13 verbose #29047 > > │ ### zip_with                                                                 │
00:39:13 verbose #29048 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:13 verbose #29049 > >
00:39:13 verbose #29050 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:13 verbose #29051 > > inl zip_with fn seq1 seq2 =
00:39:13 verbose #29052 > >     fun n =>
00:39:13 verbose #29053 > >         fn (seq1 n) (seq2 n)
00:39:13 verbose #29054 > 00:39:12   debug #1551 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/55e72bb2cc5c233364a0dcb9d7bed8cea52722ceaae665a7ea3f40ff64e4caab/main.spi
00:39:13 verbose #29055 > >
00:39:13 verbose #29056 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:13 verbose #29057 > > //// test
00:39:13 verbose #29058 > >
00:39:13 verbose #29059 > > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:39:13 verbose #29060 > > ||> zip_with (optionm'.choose (+))
00:39:13 verbose #29061 > > |> try_item 2i32
00:39:13 verbose #29062 > > |> _assert_eq (Some 6)
00:39:13 verbose #29063 > 00:39:12   debug #1552 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7199ccab5602bf3757bfca7bea5cd047a8a3b3a3a022466791b49b7a7f6f3b0f/main.spi
00:39:13 verbose #29064 > >
00:39:13 verbose #29065 > > ╭─[ 404.53ms - stdout ]────────────────────────────────────────────────────────╮
00:39:13 verbose #29066 > > │ __assert_eq / actual: US0_0 6 / expected: US0_0 6                            │
00:39:13 verbose #29067 > > │                                                                              │
00:39:13 verbose #29068 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:13 verbose #29069 > >
00:39:13 verbose #29070 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:13 verbose #29071 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:13 verbose #29072 > > │ ### fold                                                                     │
00:39:13 verbose #29073 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:13 verbose #29074 > >
00:39:13 verbose #29075 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:13 verbose #29076 > > inl fold fn init seq =
00:39:13 verbose #29077 > >     inl rec loop acc n =
00:39:13 verbose #29078 > >         match seq n with
00:39:13 verbose #29079 > >         | Some x => loop (fn acc x) (n + 1)
00:39:13 verbose #29080 > >         | None => acc
00:39:13 verbose #29081 > >     loop init 0
00:39:13 verbose #29082 > >
00:39:13 verbose #29083 > > inl fold_ fn init seq =
00:39:13 verbose #29084 > >     let rec loop acc n =
00:39:13 verbose #29085 > >         match seq n with
00:39:13 verbose #29086 > >         | Some x => loop (fn acc x) (n + 1)
00:39:13 verbose #29087 > >         | None => acc
00:39:13 verbose #29088 > >     loop init 0
00:39:14 verbose #29089 > 00:39:13   debug #1553 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/505e030c222de962a45929db53c270ed90e3e35e11cf95881ddbb194f7919f25/main.spi
00:39:14 verbose #29090 > >
00:39:14 verbose #29091 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:14 verbose #29092 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:14 verbose #29093 > > │ ### sum                                                                      │
00:39:14 verbose #29094 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:14 verbose #29095 > >
00:39:14 verbose #29096 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:14 verbose #29097 > > inl sum seq =
00:39:14 verbose #29098 > >     seq |> fold (+) 0
00:39:14 verbose #29099 > >
00:39:14 verbose #29100 > > inl sum_ seq =
00:39:14 verbose #29101 > >     seq |> fold_ (+) 0
00:39:14 verbose #29102 > 00:39:13   debug #1554 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/32acdcef86a5bd1be6d571060a7ddbe79175d30f0e26698ea9054ccccd2e4ce6/main.spi
00:39:14 verbose #29103 > >
00:39:14 verbose #29104 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:14 verbose #29105 > > //// test
00:39:14 verbose #29106 > >
00:39:14 verbose #29107 > > listm.init 10i32 id
00:39:14 verbose #29108 > > |> from_list
00:39:14 verbose #29109 > > |> fun f (n : i32) => f n
00:39:14 verbose #29110 > > |> sum
00:39:14 verbose #29111 > > |> _assert_eq 45
00:39:14 verbose #29112 > 00:39:13   debug #1555 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7d81c93a505bfdf310fe9964c717b72a1c3d911ce73cc1b9a9d431fe2ba954f7/main.spi
00:39:14 verbose #29113 > >
00:39:14 verbose #29114 > > ╭─[ 358.65ms - stdout ]────────────────────────────────────────────────────────╮
00:39:14 verbose #29115 > > │ __assert_eq / actual: 45 / expected: 45                                      │
00:39:14 verbose #29116 > > │                                                                              │
00:39:14 verbose #29117 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:14 verbose #29118 > >
00:39:14 verbose #29119 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:14 verbose #29120 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:14 verbose #29121 > > │ ### to_list                                                                  │
00:39:14 verbose #29122 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:14 verbose #29123 > >
00:39:14 verbose #29124 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:14 verbose #29125 > > inl to_list seq =
00:39:14 verbose #29126 > >     seq
00:39:14 verbose #29127 > >     |> fold (fun acc x => x :: acc) [[]]
00:39:14 verbose #29128 > >     |> listm.rev
00:39:14 verbose #29129 > >
00:39:14 verbose #29130 > > inl to_list_ seq =
00:39:14 verbose #29131 > >     seq
00:39:14 verbose #29132 > >     |> fold_ (fun acc x => x :: acc) [[]]
00:39:14 verbose #29133 > >     |> listm.rev
00:39:15 verbose #29134 > 00:39:14   debug #1556 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9ff4f5f61f9b8ffcc37abb7ab0c0ba2e816961c76132962daeeba238a7bad483/main.spi
00:39:15 verbose #29135 > >
00:39:15 verbose #29136 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:15 verbose #29137 > > //// test
00:39:15 verbose #29138 > >
00:39:15 verbose #29139 > > listm.init 10i32 id
00:39:15 verbose #29140 > > |> from_list
00:39:15 verbose #29141 > > |> fun f (n : i32) => f n
00:39:15 verbose #29142 > > |> to_list
00:39:15 verbose #29143 > > |> _assert_eq (listm.init 10i32 id)
00:39:15 verbose #29144 > 00:39:14   debug #1557 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7a16dff67ccba407c7e2f61bd91851e7de4e3a32d6adc75c1eedab53647c0c6c/main.spi
00:39:15 verbose #29145 > >
00:39:15 verbose #29146 > > ╭─[ 450.13ms - stdout ]────────────────────────────────────────────────────────╮
00:39:15 verbose #29147 > > │ __assert_eq / actual: UH0_1                                                  │
00:39:15 verbose #29148 > > │   (0,                                                                        │
00:39:15 verbose #29149 > > │    UH0_1                                                                     │
00:39:15 verbose #29150 > > │      (1,                                                                     │
00:39:15 verbose #29151 > > │       UH0_1                                                                  │
00:39:15 verbose #29152 > > │         (2,                                                                  │
00:39:15 verbose #29153 > > │          UH0_1                                                               │
00:39:15 verbose #29154 > > │            (3,                                                               │
00:39:15 verbose #29155 > > │             UH0_1                                                            │
00:39:15 verbose #29156 > > │               (4, UH0_1 (5, UH0_1 (6, UH0_1 (7, UH0_1 (8, UH0_1 (9,          │
00:39:15 verbose #29157 > > │ UH0_0)))))))))) / expected: UH0_1                                            │
00:39:15 verbose #29158 > > │   (0,                                                                        │
00:39:15 verbose #29159 > > │    UH0_1                                                                     │
00:39:15 verbose #29160 > > │      (1,                                                                     │
00:39:15 verbose #29161 > > │       UH0_1                                                                  │
00:39:15 verbose #29162 > > │         (2,                                                                  │
00:39:15 verbose #29163 > > │          UH0_1                                                               │
00:39:15 verbose #29164 > > │            (3,                                                               │
00:39:15 verbose #29165 > > │             UH0_1                                                            │
00:39:15 verbose #29166 > > │               (4, UH0_1 (5, UH0_1 (6, UH0_1 (7, UH0_1 (8, UH0_1 (9,          │
00:39:15 verbose #29167 > > │ UH0_0))))))))))                                                              │
00:39:15 verbose #29168 > > │                                                                              │
00:39:15 verbose #29169 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:15 verbose #29170 > >
00:39:15 verbose #29171 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:15 verbose #29172 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:15 verbose #29173 > > │ ### from_array                                                               │
00:39:15 verbose #29174 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:15 verbose #29175 > >
00:39:15 verbose #29176 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:15 verbose #29177 > > inl from_array forall dim {number; int} el. (array : a dim el) : seq dim el =
00:39:15 verbose #29178 > >     fun n =>
00:39:15 verbose #29179 > >         if n >= length array
00:39:15 verbose #29180 > >         then None
00:39:15 verbose #29181 > >         else index array n |> Some
00:39:15 verbose #29182 > 00:39:15   debug #1558 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2aad33cfcaf8603dbd056aaa4fe8728128fa325568270ac826f4bfecb1d64791/main.spi
00:39:16 verbose #29183 > >
00:39:16 verbose #29184 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:16 verbose #29185 > > //// test
00:39:16 verbose #29186 > >
00:39:16 verbose #29187 > > a ;[[ 1; 2; 3 ]]
00:39:16 verbose #29188 > > |> from_array
00:39:16 verbose #29189 > > |> try_item 1i32
00:39:16 verbose #29190 > > |> _assert_eq (Some 2i32)
00:39:16 verbose #29191 > 00:39:15   debug #1559 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d72170ff48b9a1ad80f25d954a42eabd98b2da8abf752824367b25edb6db1649/main.spi
00:39:16 verbose #29192 > >
00:39:16 verbose #29193 > > ╭─[ 537.99ms - stdout ]────────────────────────────────────────────────────────╮
00:39:16 verbose #29194 > > │ __assert_eq / actual: US0_0 2 / expected: US0_0 2                            │
00:39:16 verbose #29195 > > │                                                                              │
00:39:16 verbose #29196 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:16 verbose #29197 > >
00:39:16 verbose #29198 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:16 verbose #29199 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:16 verbose #29200 > > │ ### to_array                                                                 │
00:39:16 verbose #29201 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:16 verbose #29202 > >
00:39:16 verbose #29203 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:16 verbose #29204 > > inl to_array seq =
00:39:16 verbose #29205 > >     inl ar = a ;[[]] |> mut
00:39:16 verbose #29206 > >     ((), seq)
00:39:16 verbose #29207 > >     ||> fold fun _ x =>
00:39:16 verbose #29208 > >         ar <- *ar ++ a ;[[x]]
00:39:16 verbose #29209 > >     *ar
00:39:16 verbose #29210 > >
00:39:16 verbose #29211 > > inl to_array_ seq =
00:39:16 verbose #29212 > >     inl ar = a ;[[]] |> mut
00:39:16 verbose #29213 > >     ((), seq)
00:39:16 verbose #29214 > >     ||> fold_ fun _ x =>
00:39:16 verbose #29215 > >         ar <- *ar ++ a ;[[x]]
00:39:16 verbose #29216 > >     *ar
00:39:16 verbose #29217 > 00:39:15   debug #1560 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/05660b5c8669c20c5beaae08903818f4ee36dda494a6c39ba4e2f25bc17a4814/main.spi
00:39:16 verbose #29218 > >
00:39:16 verbose #29219 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:16 verbose #29220 > > //// test
00:39:16 verbose #29221 > >
00:39:16 verbose #29222 > > listm.init 10i32 id
00:39:16 verbose #29223 > > |> from_list
00:39:16 verbose #29224 > > |> fun (x : i32 -> _) => x
00:39:16 verbose #29225 > > |> to_array
00:39:16 verbose #29226 > > |> _assert_eq (a ;[[ 0; 1; 2; 3; 4; 5; 6; 7; 8; 9 ]] : _ i32 _)
00:39:17 verbose #29227 > 00:39:16   debug #1561 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5662ce632e41d68b0a91e5b2bd037c745c4607d833001bd1a00e38de1023021c/main.spi
00:39:17 verbose #29228 > >
00:39:17 verbose #29229 > > ╭─[ 695.98ms - stdout ]────────────────────────────────────────────────────────╮
00:39:17 verbose #29230 > > │ __assert_eq / actual: [|0; 1; 2; 3; 4; 5; 6; 7; 8; 9|] / expected: [|0; 1;   │
00:39:17 verbose #29231 > > │ 2; 3; 4; 5; 6; 7; 8; 9|]                                                     │
00:39:17 verbose #29232 > > │                                                                              │
00:39:17 verbose #29233 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:17 verbose #29234 > >
00:39:17 verbose #29235 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:17 verbose #29236 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:17 verbose #29237 > > │ ### take_while                                                               │
00:39:17 verbose #29238 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:17 verbose #29239 > >
00:39:17 verbose #29240 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:17 verbose #29241 > > inl take_while cond seq =
00:39:17 verbose #29242 > >     inl rec loop acc i =
00:39:17 verbose #29243 > >         match seq i with
00:39:17 verbose #29244 > >         | Some st when cond st i => loop (st :: acc) (i + 1)
00:39:17 verbose #29245 > >         | _ => acc |> listm.rev
00:39:17 verbose #29246 > >     loop [[]] 0
00:39:17 verbose #29247 > 00:39:16   debug #1562 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/35a79e5ebc2ffdb9642358ab52864b02cd086e965f0d08065957fa8069909842/main.spi
00:39:17 verbose #29248 > >
00:39:17 verbose #29249 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:17 verbose #29250 > > //// test
00:39:17 verbose #29251 > >
00:39:17 verbose #29252 > > listm.init 10i32 id
00:39:17 verbose #29253 > > |> from_list
00:39:17 verbose #29254 > > |> take_while (fun n (_ : i32) => n < 5)
00:39:17 verbose #29255 > > |> listm'.sum
00:39:17 verbose #29256 > > |> _assert_eq 10
00:39:18 verbose #29257 > 00:39:17   debug #1563 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9e759ad02a9842a7f424faf23f3a8777a9374faf321a59d172d440f9bec6c027/main.spi
00:39:18 verbose #29258 > >
00:39:18 verbose #29259 > > ╭─[ 375.67ms - stdout ]────────────────────────────────────────────────────────╮
00:39:18 verbose #29260 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:39:18 verbose #29261 > > │                                                                              │
00:39:18 verbose #29262 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:18 verbose #29263 > >
00:39:18 verbose #29264 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:18 verbose #29265 > > //// test
00:39:18 verbose #29266 > >
00:39:18 verbose #29267 > > stream.new_finite_stream print_and_return 10i32
00:39:18 verbose #29268 > > |> flip stream.try_item
00:39:18 verbose #29269 > > |> take_while (fun n (_ : i32) => n < 5)
00:39:18 verbose #29270 > > |> listm'.sum
00:39:18 verbose #29271 > > |> _assert_eq 10
00:39:18 verbose #29272 > 00:39:17   debug #1564 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b79c427b31023f6d0062b45f5fefd975b02ef634db4f7a09b6b9e62a74fdfa1d/main.spi
00:39:18 verbose #29273 > >
00:39:18 verbose #29274 > > ╭─[ 413.10ms - stdout ]────────────────────────────────────────────────────────╮
00:39:18 verbose #29275 > > │ print_and_return / x: 0                                                      │
00:39:18 verbose #29276 > > │ print_and_return / x: 1                                                      │
00:39:18 verbose #29277 > > │ print_and_return / x: 1                                                      │
00:39:18 verbose #29278 > > │ print_and_return / x: 2                                                      │
00:39:18 verbose #29279 > > │ print_and_return / x: 1                                                      │
00:39:18 verbose #29280 > > │ print_and_return / x: 2                                                      │
00:39:18 verbose #29281 > > │ print_and_return / x: 3                                                      │
00:39:18 verbose #29282 > > │ print_and_return / x: 1                                                      │
00:39:18 verbose #29283 > > │ print_and_return / x: 2                                                      │
00:39:18 verbose #29284 > > │ print_and_return / x: 3                                                      │
00:39:18 verbose #29285 > > │ print_and_return / x: 4                                                      │
00:39:18 verbose #29286 > > │ print_and_return / x: 1                                                      │
00:39:18 verbose #29287 > > │ print_and_return / x: 2                                                      │
00:39:18 verbose #29288 > > │ print_and_return / x: 3                                                      │
00:39:18 verbose #29289 > > │ print_and_return / x: 4                                                      │
00:39:18 verbose #29290 > > │ print_and_return / x: 5                                                      │
00:39:18 verbose #29291 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:39:18 verbose #29292 > > │                                                                              │
00:39:18 verbose #29293 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:18 verbose #29294 > >
00:39:18 verbose #29295 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:18 verbose #29296 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:18 verbose #29297 > > │ ### take_while_                                                              │
00:39:18 verbose #29298 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:18 verbose #29299 > >
00:39:18 verbose #29300 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:18 verbose #29301 > > inl take_while_ cond seq =
00:39:18 verbose #29302 > >     let rec loop acc i =
00:39:18 verbose #29303 > >         match seq i with
00:39:18 verbose #29304 > >         | Some st when cond st i => loop (st :: acc) (i + 1)
00:39:18 verbose #29305 > >         | _ => acc |> listm.rev
00:39:18 verbose #29306 > >     loop [[]] 0
00:39:18 verbose #29307 > 00:39:18   debug #1565 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e45b35aff18c40d59a41845d59f4af1af814d1eacfc7e4ab93e8cc0dc80fa414/main.spi
00:39:19 verbose #29308 > >
00:39:19 verbose #29309 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:19 verbose #29310 > > //// test
00:39:19 verbose #29311 > >
00:39:19 verbose #29312 > > stream.new_infinite_stream_ print_and_return
00:39:19 verbose #29313 > > |> flip stream.try_item
00:39:19 verbose #29314 > > |> take_while_ (fun n (_ : i32) => n < 5i32)
00:39:19 verbose #29315 > > |> listm'.sum
00:39:19 verbose #29316 > > |> _assert_eq 10
00:39:19 verbose #29317 > 00:39:18   debug #1566 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/28e49414807381353855a963c6a1455d4674b29406e797c88d3c253f0f469cb6/main.spi
00:39:19 verbose #29318 > >
00:39:19 verbose #29319 > > ╭─[ 540.51ms - stdout ]────────────────────────────────────────────────────────╮
00:39:19 verbose #29320 > > │ print_and_return / x: 0                                                      │
00:39:19 verbose #29321 > > │ print_and_return / x: 1                                                      │
00:39:19 verbose #29322 > > │ print_and_return / x: 1                                                      │
00:39:19 verbose #29323 > > │ print_and_return / x: 2                                                      │
00:39:19 verbose #29324 > > │ print_and_return / x: 1                                                      │
00:39:19 verbose #29325 > > │ print_and_return / x: 2                                                      │
00:39:19 verbose #29326 > > │ print_and_return / x: 3                                                      │
00:39:19 verbose #29327 > > │ print_and_return / x: 1                                                      │
00:39:19 verbose #29328 > > │ print_and_return / x: 2                                                      │
00:39:19 verbose #29329 > > │ print_and_return / x: 3                                                      │
00:39:19 verbose #29330 > > │ print_and_return / x: 4                                                      │
00:39:19 verbose #29331 > > │ print_and_return / x: 1                                                      │
00:39:19 verbose #29332 > > │ print_and_return / x: 2                                                      │
00:39:19 verbose #29333 > > │ print_and_return / x: 3                                                      │
00:39:19 verbose #29334 > > │ print_and_return / x: 4                                                      │
00:39:19 verbose #29335 > > │ print_and_return / x: 5                                                      │
00:39:19 verbose #29336 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:39:19 verbose #29337 > > │                                                                              │
00:39:19 verbose #29338 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:19 verbose #29339 > >
00:39:19 verbose #29340 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:19 verbose #29341 > > //// test
00:39:19 verbose #29342 > >
00:39:19 verbose #29343 > > stream.new_infinite_stream_ print_and_return
00:39:19 verbose #29344 > > |> stream.memoize
00:39:19 verbose #29345 > > |> fun list =>
00:39:19 verbose #29346 > >     inl list = list ()
00:39:19 verbose #29347 > >     fun n =>
00:39:19 verbose #29348 > >         list |> stream.try_item n
00:39:19 verbose #29349 > > |> take_while_ (fun n (_ : i32) => n < 5i32)
00:39:19 verbose #29350 > > |> listm'.sum
00:39:19 verbose #29351 > > |> _assert_eq 10
00:39:19 verbose #29352 > 00:39:18   debug #1567 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5463d9592570b3c88f729671ebe00ceae972b81b76c3948e6621d19b6ada2ec7/main.spi
00:39:20 verbose #29353 > >
00:39:20 verbose #29354 > > ╭─[ 458.32ms - stdout ]────────────────────────────────────────────────────────╮
00:39:20 verbose #29355 > > │ print_and_return / x: 0                                                      │
00:39:20 verbose #29356 > > │ print_and_return / x: 1                                                      │
00:39:20 verbose #29357 > > │ print_and_return / x: 2                                                      │
00:39:20 verbose #29358 > > │ print_and_return / x: 3                                                      │
00:39:20 verbose #29359 > > │ print_and_return / x: 4                                                      │
00:39:20 verbose #29360 > > │ print_and_return / x: 5                                                      │
00:39:20 verbose #29361 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:39:20 verbose #29362 > > │                                                                              │
00:39:20 verbose #29363 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:20 verbose #29364 > >
00:39:20 verbose #29365 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:20 verbose #29366 > > //// test
00:39:20 verbose #29367 > >
00:39:20 verbose #29368 > > stream.new_finite_stream print_and_return 10i32
00:39:20 verbose #29369 > > |> stream.memoize
00:39:20 verbose #29370 > > |> fun list =>
00:39:20 verbose #29371 > >     inl list = list ()
00:39:20 verbose #29372 > >     fun n =>
00:39:20 verbose #29373 > >         list |> stream.try_item n
00:39:20 verbose #29374 > > |> take_while_ (fun n (_ : i32) => n < 5)
00:39:20 verbose #29375 > > |> listm'.sum
00:39:20 verbose #29376 > > |> _assert_eq 10
00:39:20 verbose #29377 > 00:39:19   debug #1568 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c5a71ad5fc5d8fc4e85a6f40068fa60f0372f15ffd43a5705227125e42b2a495/main.spi
00:39:20 verbose #29378 > >
00:39:20 verbose #29379 > > ╭─[ 529.77ms - stdout ]────────────────────────────────────────────────────────╮
00:39:20 verbose #29380 > > │ print_and_return / x: 0                                                      │
00:39:20 verbose #29381 > > │ print_and_return / x: 1                                                      │
00:39:20 verbose #29382 > > │ print_and_return / x: 2                                                      │
00:39:20 verbose #29383 > > │ print_and_return / x: 3                                                      │
00:39:20 verbose #29384 > > │ print_and_return / x: 4                                                      │
00:39:20 verbose #29385 > > │ print_and_return / x: 5                                                      │
00:39:20 verbose #29386 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:39:20 verbose #29387 > > │                                                                              │
00:39:20 verbose #29388 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:20 verbose #29389 > >
00:39:20 verbose #29390 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:20 verbose #29391 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:20 verbose #29392 > > │ ### memoize                                                                  │
00:39:20 verbose #29393 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:20 verbose #29394 > >
00:39:20 verbose #29395 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:20 verbose #29396 > > inl memoize seq =
00:39:20 verbose #29397 > >     inl state = mut [[]]
00:39:20 verbose #29398 > >     fun n =>
00:39:20 verbose #29399 > >         match *state |> listm'.try_find (fun (n', _) => n' = n) with
00:39:20 verbose #29400 > >         | Some (_, v) => v
00:39:20 verbose #29401 > >         | None =>
00:39:20 verbose #29402 > >             inl new_state = seq n
00:39:20 verbose #29403 > >             state <- (n, new_state) :: *state
00:39:20 verbose #29404 > >             new_state
00:39:20 verbose #29405 > >
00:39:20 verbose #29406 > > inl memoize_ seq =
00:39:20 verbose #29407 > >     inl state = mut [[]]
00:39:20 verbose #29408 > >     fun n =>
00:39:20 verbose #29409 > >         match *state |> listm'.try_find_ (fun (n', _) => n' = n) with
00:39:20 verbose #29410 > >         | Some (_, v) => v
00:39:20 verbose #29411 > >         | None =>
00:39:20 verbose #29412 > >             inl new_state = seq n
00:39:20 verbose #29413 > >             state <- (n, new_state) :: *state
00:39:20 verbose #29414 > >             new_state
00:39:20 verbose #29415 > 00:39:19   debug #1569 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/35fa78954ff3aac15a6f236db571b2afabe27b04b04be5e6fd18c3278e3464b5/main.spi
00:39:20 verbose #29416 > >
00:39:20 verbose #29417 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:20 verbose #29418 > > //// test
00:39:20 verbose #29419 > >
00:39:20 verbose #29420 > > inl seq =
00:39:20 verbose #29421 > >     fun n =>
00:39:20 verbose #29422 > >         n |> print_and_return |> Some
00:39:20 verbose #29423 > >     |> memoize_
00:39:20 verbose #29424 > >
00:39:20 verbose #29425 > > seq
00:39:20 verbose #29426 > > |> take_while_ (fun n (_ : i32) => n < 5)
00:39:20 verbose #29427 > > |> listm'.sum
00:39:20 verbose #29428 > > |> _assert_eq 10
00:39:20 verbose #29429 > >
00:39:20 verbose #29430 > > seq
00:39:20 verbose #29431 > > |> take_while_ (fun n _ => n < 5)
00:39:20 verbose #29432 > > |> listm'.sum
00:39:20 verbose #29433 > > |> _assert_eq 10
00:39:21 verbose #29434 > 00:39:20   debug #1570 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bafe14c29090417270d0c7e0366243122fa9f5de8481fa670cfb6afe95e8aa79/main.spi
00:39:21 verbose #29435 > >
00:39:21 verbose #29436 > > ╭─[ 498.24ms - stdout ]────────────────────────────────────────────────────────╮
00:39:21 verbose #29437 > > │ print_and_return / x: 0                                                      │
00:39:21 verbose #29438 > > │ print_and_return / x: 1                                                      │
00:39:21 verbose #29439 > > │ print_and_return / x: 2                                                      │
00:39:21 verbose #29440 > > │ print_and_return / x: 3                                                      │
00:39:21 verbose #29441 > > │ print_and_return / x: 4                                                      │
00:39:21 verbose #29442 > > │ print_and_return / x: 5                                                      │
00:39:21 verbose #29443 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:39:21 verbose #29444 > > │ __assert_eq / actual: 10 / expected: 10                                      │
00:39:21 verbose #29445 > > │                                                                              │
00:39:21 verbose #29446 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:21 verbose #29447 > >
00:39:21 verbose #29448 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:21 verbose #29449 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:21 verbose #29450 > > │ ### iterate                                                                  │
00:39:21 verbose #29451 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:21 verbose #29452 > >
00:39:21 verbose #29453 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:21 verbose #29454 > > inl iterate f x0 num_steps =
00:39:21 verbose #29455 > >     inl rec loop x n =
00:39:21 verbose #29456 > >         if n <= 0
00:39:21 verbose #29457 > >         then x
00:39:21 verbose #29458 > >         else loop (f x) (n - 1)
00:39:21 verbose #29459 > >     loop x0 num_steps
00:39:21 verbose #29460 > 00:39:20   debug #1571 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ef443ba48f0b04433b275debb04eeab30f11ccb7ee7df5ba0377dd98e0890c44/main.spi
00:39:21 verbose #29461 > >
00:39:21 verbose #29462 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:21 verbose #29463 > > //// test
00:39:21 verbose #29464 > >
00:39:21 verbose #29465 > > 10i32 |> iterate ((*) 2) 1i32
00:39:21 verbose #29466 > > |> _assert_eq 1024
00:39:22 verbose #29467 > 00:39:21   debug #1572 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/730cf1eaebc003ebff1c15877dd951b0a67e0d1aef684886069c5c6cf9269576/main.spi
00:39:22 verbose #29468 > >
00:39:22 verbose #29469 > > ╭─[ 325.85ms - stdout ]────────────────────────────────────────────────────────╮
00:39:22 verbose #29470 > > │ __assert_eq / actual: 1024 / expected: 1024                                  │
00:39:22 verbose #29471 > > │                                                                              │
00:39:22 verbose #29472 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:22 verbose #29473 > >
00:39:22 verbose #29474 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:22 verbose #29475 > > inl iterate_ f x0 num_steps =
00:39:22 verbose #29476 > >     let rec loop x n =
00:39:22 verbose #29477 > >         if n <= 0
00:39:22 verbose #29478 > >         then x
00:39:22 verbose #29479 > >         else loop (f x) (n - 1)
00:39:22 verbose #29480 > >     loop x0 num_steps
00:39:22 verbose #29481 > 00:39:21   debug #1573 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2adf9274ea41f43b34694f93f758add7a731846c8b62eace25c6a51efc868895/main.spi
00:39:22 verbose #29482 > >
00:39:22 verbose #29483 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:22 verbose #29484 > > //// test
00:39:22 verbose #29485 > >
00:39:22 verbose #29486 > > 10i32 |> iterate_ ((*) 2) 1i32
00:39:22 verbose #29487 > > |> _assert_eq 1024
00:39:22 verbose #29488 > 00:39:21   debug #1574 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2017434d52f486e4b88e57cae22b8f4d64b7d4cfe826d351de9f7015e8de2eff/main.spi
00:39:23 verbose #29489 > >
00:39:23 verbose #29490 > > ╭─[ 356.70ms - stdout ]────────────────────────────────────────────────────────╮
00:39:23 verbose #29491 > > │ __assert_eq / actual: 1024 / expected: 1024                                  │
00:39:23 verbose #29492 > > │                                                                              │
00:39:23 verbose #29493 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:23 verbose #29494 > >
00:39:23 verbose #29495 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:23 verbose #29496 > > inl iterate' f x0 num_steps =
00:39:23 verbose #29497 > >     listm.init num_steps id
00:39:23 verbose #29498 > >     |> listm.fold (fun x _ => f x) x0
00:39:23 verbose #29499 > 00:39:22   debug #1575 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0af7da457501a52f1a9b9146ed4ef6ddc0632e89870343cf526267df32d75f52/main.spi
00:39:23 verbose #29500 > >
00:39:23 verbose #29501 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:23 verbose #29502 > > //// test
00:39:23 verbose #29503 > >
00:39:23 verbose #29504 > > 10i32 |> iterate' ((*) 2) 1i32
00:39:23 verbose #29505 > > |> _assert_eq 1024
00:39:23 verbose #29506 > 00:39:22   debug #1576 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b870f885b4da4960677f426fa1fe358969008719159b762b286bf04ad874b4ed/main.spi
00:39:23 verbose #29507 > >
00:39:23 verbose #29508 > > ╭─[ 371.42ms - stdout ]────────────────────────────────────────────────────────╮
00:39:23 verbose #29509 > > │ __assert_eq / actual: 1024 / expected: 1024                                  │
00:39:23 verbose #29510 > > │                                                                              │
00:39:23 verbose #29511 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:23 verbose #29512 > >
00:39:23 verbose #29513 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:23 verbose #29514 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:23 verbose #29515 > > │ ### find_last                                                                │
00:39:23 verbose #29516 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:23 verbose #29517 > >
00:39:23 verbose #29518 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:23 verbose #29519 > > inl find_last forall item result. fold_fn fn target : option result =
00:39:23 verbose #29520 > >     fold_fn (fun (item : item) (result : option result) =>
00:39:23 verbose #29521 > >         match result with
00:39:23 verbose #29522 > >         | None => fn item
00:39:23 verbose #29523 > >         | result => result
00:39:23 verbose #29524 > >     ) target (None : option result)
00:39:23 verbose #29525 > >
00:39:23 verbose #29526 > > inl array_find_last forall item result. (fn : item -> option result) (target : a
00:39:23 verbose #29527 > > i32 item) : option result =
00:39:23 verbose #29528 > >     find_last am.foldBack fn target
00:39:23 verbose #29529 > >
00:39:23 verbose #29530 > > inl list_find_last forall item result. (fn : item -> option result) (target :
00:39:23 verbose #29531 > > list item) : option result =
00:39:23 verbose #29532 > >     find_last listm.foldBack fn target
00:39:23 verbose #29533 > 00:39:23   debug #1577 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c763c7cf5035755145751152dca8fa00a7376bbd6cf68ae836f489854e21c369/main.spi
00:39:24 verbose #29534 > >
00:39:24 verbose #29535 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:24 verbose #29536 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:24 verbose #29537 > > │ ## fsharp                                                                    │
00:39:24 verbose #29538 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:24 verbose #29539 > >
00:39:24 verbose #29540 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:24 verbose #29541 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:24 verbose #29542 > > │ ### seq'                                                                     │
00:39:24 verbose #29543 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:24 verbose #29544 > >
00:39:24 verbose #29545 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:24 verbose #29546 > > nominal seq' t = $"backend_switch `({ Fsharp : $"`t seq"; Python : t })"
00:39:24 verbose #29547 > 00:39:23   debug #1578 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4b936e3d4b4e65f713b7d14a0f3bf692b25cdfe223f082258cd381ec090ea8bd/main.spi
00:39:24 verbose #29548 > >
00:39:24 verbose #29549 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:24 verbose #29550 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:24 verbose #29551 > > │ ### of_array'                                                                │
00:39:24 verbose #29552 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:24 verbose #29553 > >
00:39:24 verbose #29554 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:24 verbose #29555 > > inl of_array' forall dim t. (items : a dim t) : seq' t =
00:39:24 verbose #29556 > >     backend_switch {
00:39:24 verbose #29557 > >         Fsharp = fun () => $'seq { for i = 0 to !items.Length - 1 do yield
00:39:24 verbose #29558 > > !items.[[i]] }' : seq' t
00:39:24 verbose #29559 > >         Python = fun () => $'!items ' : seq' t
00:39:24 verbose #29560 > >     }
00:39:24 verbose #29561 > 00:39:23   debug #1579 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/098a0abbdd45fd670910f809371304877e1af3cbceab8a8fbe3443347717ae72/main.spi
00:39:24 verbose #29562 > >
00:39:24 verbose #29563 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:24 verbose #29564 > > //// test
00:39:24 verbose #29565 > >
00:39:24 verbose #29566 > > (a ;[[ "a"; "b" ]] : _ i32 _)
00:39:24 verbose #29567 > > |> of_array'
00:39:25 verbose #29568 > 00:39:24   debug #1580 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/600c97d7cafd9f035ccab5cc063769f8f7dc90b311ccfe34e2bd219a91c59484/main.spi
00:39:25 verbose #29569 > >
00:39:25 verbose #29570 > > ╭─[ 540.20ms - return value ]──────────────────────────────────────────────────╮
00:39:25 verbose #29571 > > │ <details open="open" class="dni-treeview"><summary><span                     │
00:39:25 verbose #29572 > > │ class="dni-code-hint"><code>[ a, b                                           │
00:39:25 verbose #29573 > > │ ]</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
00:39:25 verbose #29574 > > │ CheckClose</td><td><div                                                      │
00:39:25 verbose #29575 > > │ class="dni-plaintext"><pre>False</pre></div></td></tr><tr><td>LastGenerated< │
00:39:25 verbose #29576 > > │ /td><td><div                                                                 │
00:39:25 verbose #29577 > > │ class="dni-plaintext"><pre>&lt;null&gt;</pre></div></td></tr><tr><td>v2</td> │
00:39:25 verbose #29578 > > │ <td><div class="dni-plaintext"><pre>[ a, b                                   │
00:39:25 verbose #29579 > > │ ]</pre></div></td></tr><tr><td>enum</td><td><div                             │
00:39:25 verbose #29580 > > │ class="dni-plaintext"><pre>&lt;null&gt;</pre></div></td></tr><tr><td>pc</td> │
00:39:25 verbose #29581 > > │ <td><div                                                                     │
00:39:25 verbose #29582 > > │ class="dni-plaintext"><pre>0</pre></div></td></tr><tr><td>current</td><td><d │
00:39:25 verbose #29583 > > │ iv                                                                           │
00:39:25 verbose #29584 > > │ class="dni-plaintext"><pre>&lt;null&gt;</pre></div></td></tr><tr><td><i>(val │
00:39:25 verbose #29585 > > │ ues)</i></td><td><div class="dni-plaintext"><pre>[ a, b                      │
00:39:25 verbose #29586 > > │ ]</pre></div></td></tr></tbody></table></div></details><style>               │
00:39:25 verbose #29587 > > │ .dni-code-hint {                                                             │
00:39:25 verbose #29588 > > │     font-style: italic;                                                      │
00:39:25 verbose #29589 > > │     overflow: hidden;                                                        │
00:39:25 verbose #29590 > > │     white-space: nowrap;                                                     │
00:39:25 verbose #29591 > > │ }                                                                            │
00:39:25 verbose #29592 > > │ .dni-treeview {                                                              │
00:39:25 verbose #29593 > > │     white-space: nowrap;                                                     │
00:39:25 verbose #29594 > > │ }                                                                            │
00:39:25 verbose #29595 > > │ .dni-treeview td {                                                           │
00:39:25 verbose #29596 > > │     vertical-align: top;                                                     │
00:39:25 verbose #29597 > > │     text-align: start;                                                       │
00:39:25 verbose #29598 > > │ }                                                                            │
00:39:25 verbose #29599 > > │ details.dni-treeview {                                                       │
00:39:25 verbose #29600 > > │     padding-left: 1em;                                                       │
00:39:25 verbose #29601 > > │ }                                                                            │
00:39:25 verbose #29602 > > │ table td {                                                                   │
00:39:25 verbose #29603 > > │     text-align: start;                                                       │
00:39:25 verbose #29604 > > │ }                                                                            │
00:39:25 verbose #29605 > > │ table tr {                                                                   │
00:39:25 verbose #29606 > > │     vertical-align: top;                                                     │
00:39:25 verbose #29607 > > │     margin: 0em 0px;                                                         │
00:39:25 verbose #29608 > > │ }                                                                            │
00:39:25 verbose #29609 > > │ table tr td pre                                                              │
00:39:25 verbose #29610 > > │ {                                                                            │
00:39:25 verbose #29611 > > │     vertical-align: top !important;                                          │
00:39:25 verbose #29612 > > │     margin: 0em 0px !important;                                              │
00:39:25 verbose #29613 > > │ }                                                                            │
00:39:25 verbose #29614 > > │ table th {                                                                   │
00:39:25 verbose #29615 > > │     text-align: start;                                                       │
00:39:25 verbose #29616 > > │ }                                                                            │
00:39:25 verbose #29617 > > │ </style>                                                                     │
00:39:25 verbose #29618 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:25 verbose #29619 > >
00:39:25 verbose #29620 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:25 verbose #29621 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:25 verbose #29622 > > │ ### of_array                                                                 │
00:39:25 verbose #29623 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:25 verbose #29624 > >
00:39:25 verbose #29625 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:25 verbose #29626 > > inl of_array forall dim t. (items : a dim t) : seq' t =
00:39:25 verbose #29627 > >     backend_switch {
00:39:25 verbose #29628 > >         Fsharp = fun () => $'!items |> Seq.ofArray' : seq' t
00:39:25 verbose #29629 > >         Python = fun () => $'!items ' : seq' t
00:39:25 verbose #29630 > >     }
00:39:25 verbose #29631 > 00:39:24   debug #1581 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dfc32706d9a34d1d8f671ab8de6afbb17ec06c82a360351a3a03b666001f1ddf/main.spi
00:39:25 verbose #29632 > >
00:39:25 verbose #29633 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:25 verbose #29634 > > //// test
00:39:25 verbose #29635 > >
00:39:25 verbose #29636 > > (a ;[[ "a"; "b" ]] : _ i32 _)
00:39:25 verbose #29637 > > |> of_array
00:39:26 verbose #29638 > 00:39:25   debug #1582 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0f7a2b8c524e4e1fad2a0dc9f462a5d1748d0b32e85922c58c7ef1128e035f03/main.spi
00:39:26 verbose #29639 > >
00:39:26 verbose #29640 > > ╭─[ 419.31ms - return value ]──────────────────────────────────────────────────╮
00:39:26 verbose #29641 > > │ <details open="open" class="dni-treeview"><summary><span                     │
00:39:26 verbose #29642 > > │ class="dni-code-hint"><code>[ a, b                                           │
00:39:26 verbose #29643 > > │ ]</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
00:39:26 verbose #29644 > > │ f</td><td><details class="dni-treeview"><summary><span                       │
00:39:26 verbose #29645 > > │ class="dni-code-hint"><code>Microsoft.FSharp.Collections.SeqModule+OfArray@1 │
00:39:26 verbose #29646 > > │ 010[                                                                         │
00:39:26 verbose #29647 > > │ System.String]</code></span></summary><div><table><thead><tr></tr></thead><t │
00:39:26 verbose #29648 > > │ body><tr><td>source</td><td><div class="dni-plaintext"><pre>[ a, b           │
00:39:26 verbose #29649 > > │ ]</pre></div></td></tr></tbody></table></div></details></td></tr><tr><td><i> │
00:39:26 verbose #29650 > > │ (values)</i></td><td><div class="dni-plaintext"><pre>[ a, b                  │
00:39:26 verbose #29651 > > │ ]</pre></div></td></tr></tbody></table></div></details><style>               │
00:39:26 verbose #29652 > > │ .dni-code-hint {                                                             │
00:39:26 verbose #29653 > > │     font-style: italic;                                                      │
00:39:26 verbose #29654 > > │     overflow: hidden;                                                        │
00:39:26 verbose #29655 > > │     white-space: nowrap;                                                     │
00:39:26 verbose #29656 > > │ }                                                                            │
00:39:26 verbose #29657 > > │ .dni-treeview {                                                              │
00:39:26 verbose #29658 > > │     white-space: nowrap;                                                     │
00:39:26 verbose #29659 > > │ }                                                                            │
00:39:26 verbose #29660 > > │ .dni-treeview td {                                                           │
00:39:26 verbose #29661 > > │     vertical-align: top;                                                     │
00:39:26 verbose #29662 > > │     text-align: start;                                                       │
00:39:26 verbose #29663 > > │ }                                                                            │
00:39:26 verbose #29664 > > │ details.dni-treeview {                                                       │
00:39:26 verbose #29665 > > │     padding-left: 1em;                                                       │
00:39:26 verbose #29666 > > │ }                                                                            │
00:39:26 verbose #29667 > > │ table td {                                                                   │
00:39:26 verbose #29668 > > │     text-align: start;                                                       │
00:39:26 verbose #29669 > > │ }                                                                            │
00:39:26 verbose #29670 > > │ table tr {                                                                   │
00:39:26 verbose #29671 > > │     vertical-align: top;                                                     │
00:39:26 verbose #29672 > > │     margin: 0em 0px;                                                         │
00:39:26 verbose #29673 > > │ }                                                                            │
00:39:26 verbose #29674 > > │ table tr td pre                                                              │
00:39:26 verbose #29675 > > │ {                                                                            │
00:39:26 verbose #29676 > > │     vertical-align: top !important;                                          │
00:39:26 verbose #29677 > > │     margin: 0em 0px !important;                                              │
00:39:26 verbose #29678 > > │ }                                                                            │
00:39:26 verbose #29679 > > │ table th {                                                                   │
00:39:26 verbose #29680 > > │     text-align: start;                                                       │
00:39:26 verbose #29681 > > │ }                                                                            │
00:39:26 verbose #29682 > > │ </style>                                                                     │
00:39:26 verbose #29683 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:26 verbose #29684 > >
00:39:26 verbose #29685 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:26 verbose #29686 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:26 verbose #29687 > > │ ### of_array_base                                                            │
00:39:26 verbose #29688 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:26 verbose #29689 > >
00:39:26 verbose #29690 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:26 verbose #29691 > > inl of_array_base forall t. (items : array_base t) : seq' t =
00:39:26 verbose #29692 > >     a items
00:39:26 verbose #29693 > >     |> fun x => x : _ int _
00:39:26 verbose #29694 > >     |> of_array
00:39:26 verbose #29695 > 00:39:25   debug #1583 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e60da7722ca864d94f55d215a73e6561e6bed9afa5f0829d5bfddd2f3bae0393/main.spi
00:39:26 verbose #29696 > >
00:39:26 verbose #29697 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:26 verbose #29698 > > //// test
00:39:26 verbose #29699 > >
00:39:26 verbose #29700 > > ;[[ "a"; "b" ]]
00:39:26 verbose #29701 > > |> of_array_base
00:39:26 verbose #29702 > 00:39:25   debug #1584 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/59ae24d0f7411601fb61ee3eb9ec1991b337fc7bd96c8e97c4bdf5ee4a8f12b6/main.spi
00:39:27 verbose #29703 > >
00:39:27 verbose #29704 > > ╭─[ 362.21ms - return value ]──────────────────────────────────────────────────╮
00:39:27 verbose #29705 > > │ <details open="open" class="dni-treeview"><summary><span                     │
00:39:27 verbose #29706 > > │ class="dni-code-hint"><code>[ a, b                                           │
00:39:27 verbose #29707 > > │ ]</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
00:39:27 verbose #29708 > > │ f</td><td><details class="dni-treeview"><summary><span                       │
00:39:27 verbose #29709 > > │ class="dni-code-hint"><code>Microsoft.FSharp.Collections.SeqModule+OfArray@1 │
00:39:27 verbose #29710 > > │ 010[                                                                         │
00:39:27 verbose #29711 > > │ System.String]</code></span></summary><div><table><thead><tr></tr></thead><t │
00:39:27 verbose #29712 > > │ body><tr><td>source</td><td><div class="dni-plaintext"><pre>[ a, b           │
00:39:27 verbose #29713 > > │ ]</pre></div></td></tr></tbody></table></div></details></td></tr><tr><td><i> │
00:39:27 verbose #29714 > > │ (values)</i></td><td><div class="dni-plaintext"><pre>[ a, b                  │
00:39:27 verbose #29715 > > │ ]</pre></div></td></tr></tbody></table></div></details><style>               │
00:39:27 verbose #29716 > > │ .dni-code-hint {                                                             │
00:39:27 verbose #29717 > > │     font-style: italic;                                                      │
00:39:27 verbose #29718 > > │     overflow: hidden;                                                        │
00:39:27 verbose #29719 > > │     white-space: nowrap;                                                     │
00:39:27 verbose #29720 > > │ }                                                                            │
00:39:27 verbose #29721 > > │ .dni-treeview {                                                              │
00:39:27 verbose #29722 > > │     white-space: nowrap;                                                     │
00:39:27 verbose #29723 > > │ }                                                                            │
00:39:27 verbose #29724 > > │ .dni-treeview td {                                                           │
00:39:27 verbose #29725 > > │     vertical-align: top;                                                     │
00:39:27 verbose #29726 > > │     text-align: start;                                                       │
00:39:27 verbose #29727 > > │ }                                                                            │
00:39:27 verbose #29728 > > │ details.dni-treeview {                                                       │
00:39:27 verbose #29729 > > │     padding-left: 1em;                                                       │
00:39:27 verbose #29730 > > │ }                                                                            │
00:39:27 verbose #29731 > > │ table td {                                                                   │
00:39:27 verbose #29732 > > │     text-align: start;                                                       │
00:39:27 verbose #29733 > > │ }                                                                            │
00:39:27 verbose #29734 > > │ table tr {                                                                   │
00:39:27 verbose #29735 > > │     vertical-align: top;                                                     │
00:39:27 verbose #29736 > > │     margin: 0em 0px;                                                         │
00:39:27 verbose #29737 > > │ }                                                                            │
00:39:27 verbose #29738 > > │ table tr td pre                                                              │
00:39:27 verbose #29739 > > │ {                                                                            │
00:39:27 verbose #29740 > > │     vertical-align: top !important;                                          │
00:39:27 verbose #29741 > > │     margin: 0em 0px !important;                                              │
00:39:27 verbose #29742 > > │ }                                                                            │
00:39:27 verbose #29743 > > │ table th {                                                                   │
00:39:27 verbose #29744 > > │     text-align: start;                                                       │
00:39:27 verbose #29745 > > │ }                                                                            │
00:39:27 verbose #29746 > > │ </style>                                                                     │
00:39:27 verbose #29747 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:27 verbose #29748 > >
00:39:27 verbose #29749 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:27 verbose #29750 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:27 verbose #29751 > > │ ### to_array'                                                                │
00:39:27 verbose #29752 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:27 verbose #29753 > >
00:39:27 verbose #29754 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:27 verbose #29755 > > inl to_array' forall dim t. (items : seq' t) : a dim t =
00:39:27 verbose #29756 > >     backend_switch {
00:39:27 verbose #29757 > >         Fsharp = fun () => items |> $'Seq.toArray' : a dim t
00:39:27 verbose #29758 > >         Python = fun () => $'!items ' : a dim t
00:39:27 verbose #29759 > >     }
00:39:27 verbose #29760 > 00:39:26   debug #1585 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8edb0321e050cb33854b1b81af4814f95333c74b2b7929d0403bf897759d4fc4/main.spi
00:39:27 verbose #29761 > >
00:39:27 verbose #29762 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:27 verbose #29763 > > //// test
00:39:27 verbose #29764 > >
00:39:27 verbose #29765 > > (a ;[[ "a"; "b" ]] : _ i32 _)
00:39:27 verbose #29766 > > |> of_array'
00:39:27 verbose #29767 > > |> to_array'
00:39:27 verbose #29768 > > |> _assert_eq' (a ;[[ "a"; "b" ]] : _ i32 _)
00:39:27 verbose #29769 > 00:39:26   debug #1586 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e81ac38d9c85292bee7a9348dcec5aee224500a964c56b404b426e85dcbf8c18/main.spi
00:39:27 verbose #29770 > >
00:39:27 verbose #29771 > > ╭─[ 397.64ms - stdout ]────────────────────────────────────────────────────────╮
00:39:27 verbose #29772 > > │ __assert_eq' / actual: [|"a"; "b"|] / expected: [|"a"; "b"|]                 │
00:39:27 verbose #29773 > > │                                                                              │
00:39:27 verbose #29774 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:27 verbose #29775 > >
00:39:27 verbose #29776 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:27 verbose #29777 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:27 verbose #29778 > > │ ### of_list'                                                                 │
00:39:27 verbose #29779 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:27 verbose #29780 > >
00:39:27 verbose #29781 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:27 verbose #29782 > > inl of_list' forall t. (items : listm'.list' t) : seq' t =
00:39:27 verbose #29783 > >     backend_switch {
00:39:27 verbose #29784 > >         Fsharp = fun () => $'seq { for i = 0 to !items.Length - 1 do yield
00:39:27 verbose #29785 > > !items.[[i]] }' : seq' t
00:39:27 verbose #29786 > >         Python = fun () => $'!items ' : seq' t
00:39:27 verbose #29787 > >     }
00:39:28 verbose #29788 > 00:39:27   debug #1587 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a7373e984f5da3aad1cd05a5446dfd87a52b2d0e35c6e304c0507eba1766a8f0/main.spi
00:39:28 verbose #29789 > >
00:39:28 verbose #29790 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:28 verbose #29791 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:28 verbose #29792 > > │ ### to_list'                                                                 │
00:39:28 verbose #29793 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:28 verbose #29794 > >
00:39:28 verbose #29795 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:28 verbose #29796 > > inl to_list' forall t. (items : seq' t) : listm'.list' t =
00:39:28 verbose #29797 > >     backend_switch {
00:39:28 verbose #29798 > >         Fsharp = fun () => items |> $'Seq.toList' : listm'.list' t
00:39:28 verbose #29799 > >         Python = fun () => $'!items ' : listm'.list' t
00:39:28 verbose #29800 > >     }
00:39:28 verbose #29801 > 00:39:27   debug #1588 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0657a448a457b15340321efab7f721875ffccab07a0dbf5a8e0b4c2fad21b206/main.spi
00:39:28 verbose #29802 > >
00:39:28 verbose #29803 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:28 verbose #29804 > > //// test
00:39:28 verbose #29805 > >
00:39:28 verbose #29806 > > (a ;[[ "a"; "b" ]] : _ i32 _)
00:39:28 verbose #29807 > > |> of_array
00:39:28 verbose #29808 > > |> to_list'
00:39:28 verbose #29809 > > |> listm'.unbox
00:39:28 verbose #29810 > > |> _assert_eq ([[ "a"; "b" ]])
00:39:28 verbose #29811 > 00:39:27   debug #1589 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e635c11fda885933f192572060c7cbe0b1a4814f7501160d7f4a2df0bb6b3e9d/main.spi
00:39:29 verbose #29812 > >
00:39:29 verbose #29813 > > ╭─[ 436.30ms - stdout ]────────────────────────────────────────────────────────╮
00:39:29 verbose #29814 > > │ __assert_eq / actual: UH0_1 ("a", UH0_1 ("b", UH0_0)) / expected: UH0_1      │
00:39:29 verbose #29815 > > │ ("a", UH0_1 ("b", UH0_0))                                                    │
00:39:29 verbose #29816 > > │                                                                              │
00:39:29 verbose #29817 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:29 verbose #29818 > >
00:39:29 verbose #29819 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:29 verbose #29820 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:29 verbose #29821 > > │ ### rev'                                                                     │
00:39:29 verbose #29822 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:29 verbose #29823 > >
00:39:29 verbose #29824 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:29 verbose #29825 > > inl rev'' forall t u. (items : t) : seq' u =
00:39:29 verbose #29826 > >     backend_switch {
00:39:29 verbose #29827 > >         Fsharp = fun () => items |> $'Seq.rev' : seq' u
00:39:29 verbose #29828 > >         Python = fun () => $'reversed(!items)' : seq' u
00:39:29 verbose #29829 > >     }
00:39:29 verbose #29830 > 00:39:28   debug #1590 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aabeabef9b535a7351839acc20023a0bb79a4cf8c1051754083c3087f417a918/main.spi
00:39:29 verbose #29831 > >
00:39:29 verbose #29832 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:29 verbose #29833 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:29 verbose #29834 > > │ ## rust                                                                      │
00:39:29 verbose #29835 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:29 verbose #29836 > >
00:39:29 verbose #29837 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:29 verbose #29838 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:29 verbose #29839 > > │ ### fuse                                                                     │
00:39:29 verbose #29840 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:29 verbose #29841 > >
00:39:29 verbose #29842 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:29 verbose #29843 > > nominal fuse t =
00:39:29 verbose #29844 > >     `(
00:39:29 verbose #29845 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:39:29 verbose #29846 > > Fable.Core.Emit(\"core::iter::Fuse<$0>\")>]]\n#endif\ntype core_iter_Fuse<'T> =
00:39:29 verbose #29847 > > class end"
00:39:29 verbose #29848 > >         $'' : $'core_iter_Fuse<`t>'
00:39:29 verbose #29849 > >     )
00:39:29 verbose #29850 > 00:39:28   debug #1591 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1428ee39801e3053a9540b81561387ea920d075af4e5c11101cd1ce3a6ca9ef6/main.spi
00:39:29 verbose #29851 > 00:00:31 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 50263 }
00:39:29 verbose #29852 > 00:00:31   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:39:29 verbose #29853 >     "nbconvert",
00:39:29 verbose #29854 >     "c:/home/git/polyglot/lib/spiral/seq.dib.ipynb",
00:39:29 verbose #29855 >     "--to",
00:39:29 verbose #29856 >     "html",
00:39:29 verbose #29857 >     "--HTMLExporter.theme=dark",
00:39:29 verbose #29858 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/seq.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:39:32 verbose #29859 > 00:00:33 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/seq.dib.ipynb to html
00:39:32 verbose #29860 > 00:00:33 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:39:32 verbose #29861 > 00:00:33 verbose #7 !   validate(nb)
00:39:34 verbose #29862 > 00:00:35 verbose #8 ! [NbConvertApp] Writing 385656 bytes to c:\home\git\polyglot\lib\spiral\seq.dib.html
00:39:34 verbose #29863 > 00:00:35 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 637 }
00:39:34 verbose #29864 > 00:00:35   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 637 }
00:39:34 verbose #29865 > 00:00:35   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:39:34 verbose #29866 >     "-c",
00:39:34 verbose #29867 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/seq.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:39:34 verbose #29868 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/seq.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:39:35 verbose #29869 > 00:00:36 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:39:35 verbose #29870 > 00:00:36   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:39:35 verbose #29871 > 00:00:37   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 50959 }
00:39:35   debug #29872 runtime.execute_with_options_async / { exit_code = 0; output_length = 55592 }
00:39:35   debug #36 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path seq.dib --retries 3
00:39:35   debug #29873 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path env.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:39:35 verbose #29874 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "env.dib", "--retries", "3"])) }
00:39:35 verbose #29875 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:39:35 verbose #29876 >     "repl",
00:39:35 verbose #29877 >     "--exit-after-run",
00:39:35 verbose #29878 >     "--run",
00:39:35 verbose #29879 >     "c:/home/git/polyglot/lib/spiral/env.dib",
00:39:35 verbose #29880 >     "--output-path",
00:39:35 verbose #29881 >     "c:/home/git/polyglot/lib/spiral/env.dib.ipynb",
00:39:35 verbose #29882 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/env.dib" --output-path "c:/home/git/polyglot/lib/spiral/env.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:39:38 verbose #29883 > >
00:39:38 verbose #29884 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:38 verbose #29885 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:38 verbose #29886 > > │ # env                                                                        │
00:39:38 verbose #29887 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:38 verbose #29888 > >
00:39:38 verbose #29889 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:38 verbose #29890 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:38 verbose #29891 > > │ ## rust                                                                      │
00:39:38 verbose #29892 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:38 verbose #29893 > >
00:39:38 verbose #29894 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:38 verbose #29895 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:38 verbose #29896 > > │ ### var_error                                                                │
00:39:38 verbose #29897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:42 verbose #29898 > >
00:39:42 verbose #29899 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:42 verbose #29900 > > nominal var_error =
00:39:42 verbose #29901 > >     `(
00:39:42 verbose #29902 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:39:42 verbose #29903 > > Fable.Core.Emit(\"std::env::VarError\")>]]\n#endif\ntype std_env_VarError =
00:39:42 verbose #29904 > > class end"
00:39:42 verbose #29905 > >         $'' : $'std_env_VarError'
00:39:42 verbose #29906 > >     )
00:39:42 verbose #29907 > 00:39:41   debug #1592 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ab8d0c051e87f3689bfe64b63aca0f78ebb6625ac482c092f75813d56447f95d/main.spi
00:39:43 verbose #29908 > >
00:39:43 verbose #29909 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:43 verbose #29910 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:43 verbose #29911 > > │ ### get_environment_variable_comptime                                        │
00:39:43 verbose #29912 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:43 verbose #29913 > >
00:39:43 verbose #29914 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:43 verbose #29915 > > inl get_environment_variable_comptime (var : string) : string =
00:39:43 verbose #29916 > >     run_target_args (fun () => var) function
00:39:43 verbose #29917 > >         | Rust _ => fun var =>
00:39:43 verbose #29918 > >             open rust.rust_operators
00:39:43 verbose #29919 > >             !\($'"env\!(\\\"" + !var + "\\\")"')
00:39:43 verbose #29920 > >             |> sm'.ref_to_std_string
00:39:43 verbose #29921 > >             |> sm'.from_std_string
00:39:43 verbose #29922 > >         | target => fun _ => null ()
00:39:43 verbose #29923 > 00:39:42   debug #1593 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8d870f6ee2af6f9e002ea13d47b776251cdeaf6e4a7f05935bae93dd2c2809e2/main.spi
00:39:43 verbose #29924 > >
00:39:43 verbose #29925 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:43 verbose #29926 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:43 verbose #29927 > > │ ## python                                                                    │
00:39:43 verbose #29928 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:43 verbose #29929 > >
00:39:43 verbose #29930 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:43 verbose #29931 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:43 verbose #29932 > > │ ### os_environ                                                               │
00:39:43 verbose #29933 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:43 verbose #29934 > >
00:39:43 verbose #29935 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:43 verbose #29936 > > nominal os_environ = any
00:39:43 verbose #29937 > 00:39:42   debug #1594 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/569ffe818cb0830a9ea9557e0f77e15f576c6b0ade82bedf2193e03472766a8d/main.spi
00:39:43 verbose #29938 > >
00:39:43 verbose #29939 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:43 verbose #29940 > > inl os_environ () : os_environ =
00:39:43 verbose #29941 > >     backend_switch {
00:39:43 verbose #29942 > >         Fsharp = fun () =>
00:39:43 verbose #29943 > >             open python_operators
00:39:43 verbose #29944 > >             global "type IOsEnviron = abstract environ: x: unit -> obj"
00:39:43 verbose #29945 > >             inl os : $'IOsEnviron' = python.import_all "os"
00:39:43 verbose #29946 > >             !\($'"!os.environ"') : os_environ
00:39:43 verbose #29947 > >         Python = fun () =>
00:39:43 verbose #29948 > >             global "import os"
00:39:43 verbose #29949 > >             $'os.environ' : os_environ
00:39:43 verbose #29950 > >     }
00:39:44 verbose #29951 > 00:39:43   debug #1595 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6da26d21906c99eb424f5194df0ddb78bf12acda642e06a1dff8db2beb0a63b0/main.spi
00:39:44 verbose #29952 > >
00:39:44 verbose #29953 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:44 verbose #29954 > > inl environ_get (key : string) (os_environ : os_environ) : string =
00:39:44 verbose #29955 > >     backend_switch {
00:39:44 verbose #29956 > >         Fsharp = fun () =>
00:39:44 verbose #29957 > >             open python_operators
00:39:44 verbose #29958 > >             !\\(key, $'"!os_environ.get($0)"') : string
00:39:44 verbose #29959 > >         Python = fun () =>
00:39:44 verbose #29960 > >             $'!os_environ.get(!key)' : string
00:39:44 verbose #29961 > >     }
00:39:44 verbose #29962 > 00:39:43   debug #1596 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5624fa6b64e6d72d845958b16f339ef45f66485c6edfe3e59df9950655a9cf94/main.spi
00:39:44 verbose #29963 > >
00:39:44 verbose #29964 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:44 verbose #29965 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:44 verbose #29966 > > │ ## env                                                                       │
00:39:44 verbose #29967 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:44 verbose #29968 > >
00:39:44 verbose #29969 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:44 verbose #29970 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:44 verbose #29971 > > │ ### get_environment_variable                                                 │
00:39:44 verbose #29972 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:44 verbose #29973 > >
00:39:44 verbose #29974 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:44 verbose #29975 > > let get_environment_variable (var : string) : string =
00:39:44 verbose #29976 > >     run_target function
00:39:44 verbose #29977 > >         | Rust _ => fun () =>
00:39:44 verbose #29978 > >             open rust.rust_operators
00:39:44 verbose #29979 > >             !\\(var, $'"std::env::var(&*$0)"')
00:39:44 verbose #29980 > >             |> fun x => x : resultm.result' sm'.std_string var_error
00:39:44 verbose #29981 > >             |> resultm.map' sm'.from_std_string
00:39:44 verbose #29982 > >             |> resultm.unwrap_or' (join "")
00:39:44 verbose #29983 > >         | Fsharp _ => fun () =>
00:39:44 verbose #29984 > >             var
00:39:44 verbose #29985 > >             |> $'System.Environment.GetEnvironmentVariable'
00:39:44 verbose #29986 > >             |> optionm'.of_obj
00:39:44 verbose #29987 > >             |> optionm'.unbox
00:39:44 verbose #29988 > >             |> optionm'.default_value ""
00:39:44 verbose #29989 > >         | TypeScript _ => fun () =>
00:39:44 verbose #29990 > >             open typescript_operators
00:39:44 verbose #29991 > >             !\\(var, $'"process.env[[$0]] ?? \\\"\\\""')
00:39:44 verbose #29992 > >         | Python _ | Cuda _ => fun () =>
00:39:44 verbose #29993 > >             os_environ ()
00:39:44 verbose #29994 > >             |> environ_get var
00:39:44 verbose #29995 > >             |> optionm'.of_obj
00:39:44 verbose #29996 > >             |> optionm'.unbox
00:39:44 verbose #29997 > >             |> optionm'.default_value ""
00:39:44 verbose #29998 > >         | target => fun () => failwith $'$"env.get_environment_variable
00:39:44 verbose #29999 > > target: {!target} / var: {!var}"'
00:39:44 verbose #30000 > 00:39:44   debug #1597 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/aac3ead8a9cd64a0d9daedaf4291f1430239bdc29122d46d381722fa1fdf9bdd/main.spi
00:39:45 verbose #30001 > >
00:39:45 verbose #30002 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:45 verbose #30003 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:45 verbose #30004 > > │ ### get_entry_assembly_name                                                  │
00:39:45 verbose #30005 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:45 verbose #30006 > >
00:39:45 verbose #30007 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:45 verbose #30008 > > let get_entry_assembly_name () : string =
00:39:45 verbose #30009 > >     run_target function
00:39:45 verbose #30010 > >         | Rust _ => fun () =>
00:39:45 verbose #30011 > >             (join "CARGO_PKG_NAME") |> get_environment_variable
00:39:45 verbose #30012 > >         | Fsharp _ => fun () =>
00:39:45 verbose #30013 > >             $'System.Reflection.Assembly.GetEntryAssembly().GetName().Name'
00:39:45 verbose #30014 > >         | target => fun () => failwith $'$"env.get_entry_assembly_name / target:
00:39:45 verbose #30015 > > {!target}"'
00:39:45 verbose #30016 > 00:39:44   debug #1598 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3d051382f60bac01a9b75bed66e37a654f5f6f635e3bcaeee59bbbe647883685/main.spi
00:39:45 verbose #30017 > >
00:39:45 verbose #30018 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:45 verbose #30019 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:45 verbose #30020 > > │ ### append_path                                                              │
00:39:45 verbose #30021 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:45 verbose #30022 > >
00:39:45 verbose #30023 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:45 verbose #30024 > > inl append_path (path : string) : option string =
00:39:45 verbose #30025 > >     inl env_path = "PATH" |> get_environment_variable
00:39:45 verbose #30026 > >     if env_path = ""
00:39:45 verbose #30027 > >     then None
00:39:45 verbose #30028 > >     else
00:39:45 verbose #30029 > >         inl env_sep =
00:39:45 verbose #30030 > >             if platform.is_windows ()
00:39:45 verbose #30031 > >             then ";"
00:39:45 verbose #30032 > >             else ":"
00:39:45 verbose #30033 > >         Some $'$"{!path}{!env_sep}{!env_path}"'
00:39:45 verbose #30034 > 00:39:44   debug #1599 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/94398ddfda09501b1e902975f36e4169602b6c7f8cce8dbd24f0af26cc15e5cd/main.spi
00:39:45 verbose #30035 > 00:00:09 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 6822 }
00:39:45 verbose #30036 > 00:00:09   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:39:45 verbose #30037 >     "nbconvert",
00:39:45 verbose #30038 >     "c:/home/git/polyglot/lib/spiral/env.dib.ipynb",
00:39:45 verbose #30039 >     "--to",
00:39:45 verbose #30040 >     "html",
00:39:45 verbose #30041 >     "--HTMLExporter.theme=dark",
00:39:45 verbose #30042 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/env.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:39:48 verbose #30043 > 00:00:12 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/env.dib.ipynb to html
00:39:48 verbose #30044 > 00:00:12 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:39:48 verbose #30045 > 00:00:12 verbose #7 !   validate(nb)
00:39:49 verbose #30046 > 00:00:13 verbose #8 ! [NbConvertApp] Writing 290902 bytes to c:\home\git\polyglot\lib\spiral\env.dib.html
00:39:49 verbose #30047 > 00:00:13 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 637 }
00:39:49 verbose #30048 > 00:00:13   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 637 }
00:39:49 verbose #30049 > 00:00:13   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:39:49 verbose #30050 >     "-c",
00:39:49 verbose #30051 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/env.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:39:49 verbose #30052 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/env.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:39:50 verbose #30053 > 00:00:14 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:39:50 verbose #30054 > 00:00:14   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:39:51 verbose #30055 > 00:00:15   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 7518 }
00:39:51   debug #30056 runtime.execute_with_options_async / { exit_code = 0; output_length = 10455 }
00:39:51   debug #37 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path env.dib --retries 3
00:39:51   debug #30057 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path python.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:39:51 verbose #30058 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "python.dib", "--retries", "3"])) }
00:39:51 verbose #30059 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:39:51 verbose #30060 >     "repl",
00:39:51 verbose #30061 >     "--exit-after-run",
00:39:51 verbose #30062 >     "--run",
00:39:51 verbose #30063 >     "c:/home/git/polyglot/lib/spiral/python.dib",
00:39:51 verbose #30064 >     "--output-path",
00:39:51 verbose #30065 >     "c:/home/git/polyglot/lib/spiral/python.dib.ipynb",
00:39:51 verbose #30066 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/python.dib" --output-path "c:/home/git/polyglot/lib/spiral/python.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:39:53 verbose #30067 > >
00:39:53 verbose #30068 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:53 verbose #30069 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:53 verbose #30070 > > │ # python                                                                     │
00:39:53 verbose #30071 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:53 verbose #30072 > >
00:39:53 verbose #30073 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:53 verbose #30074 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:53 verbose #30075 > > │ ### emit_expr                                                                │
00:39:53 verbose #30076 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:57 verbose #30077 > >
00:39:57 verbose #30078 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:57 verbose #30079 > > inl emit_expr forall a t. (args : a) (code : string) : t =
00:39:57 verbose #30080 > >     real
00:39:57 verbose #30081 > >         $'Fable.Core.PyInterop.emitPyExpr !args !code ' : t
00:39:58 verbose #30082 > 00:39:57   debug #1600 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5447e0dc10564f04ef577d20fa8f92f247573bd47f061c29042e3e47e071987b/main.spi
00:39:58 verbose #30083 > >
00:39:58 verbose #30084 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:58 verbose #30085 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:58 verbose #30086 > > │ ###                                                                          │
00:39:58 verbose #30087 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:58 verbose #30088 > >
00:39:58 verbose #30089 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:58 verbose #30090 > > inl (~!\) forall t. (code : string) : t =
00:39:58 verbose #30091 > >     emit_expr () code
00:39:58 verbose #30092 > 00:39:57   debug #1601 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b00ac9592ed76583bf0d1c17c0013f6f39638179952e6cbed2d811f62e382264/main.spi
00:39:59 verbose #30093 > >
00:39:59 verbose #30094 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:59 verbose #30095 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:59 verbose #30096 > > │ ###                                                                          │
00:39:59 verbose #30097 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:59 verbose #30098 > >
00:39:59 verbose #30099 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:59 verbose #30100 > > inl (~!\\) forall t u. ((args : t), (code : string)) : u =
00:39:59 verbose #30101 > >     emit_expr args code
00:39:59 verbose #30102 > 00:39:58   debug #1602 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc066a710ba31498d2155086d76d96ef6fb4c6287fecc061873365ced829915d/main.spi
00:39:59 verbose #30103 > >
00:39:59 verbose #30104 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:59 verbose #30105 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:59 verbose #30106 > > │ ###                                                                          │
00:39:59 verbose #30107 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:59 verbose #30108 > >
00:39:59 verbose #30109 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:59 verbose #30110 > > inl import_all forall t. (file : string) : t =
00:39:59 verbose #30111 > >     real
00:39:59 verbose #30112 > >         $'Fable.Core.PyInterop.importAll !file ' : t
00:39:59 verbose #30113 > 00:39:58   debug #1603 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3f385c6af6c0dc432908d54e1c558d789b39449adc75e847b1b91b2940f32fb5/main.spi
00:39:59 verbose #30114 > >
00:39:59 verbose #30115 > > ── markdown ────────────────────────────────────────────────────────────────────
00:39:59 verbose #30116 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:39:59 verbose #30117 > > │ ###                                                                          │
00:39:59 verbose #30118 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:39:59 verbose #30119 > >
00:39:59 verbose #30120 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:39:59 verbose #30121 > > inl import forall t. (name : string) (file : string) : t =
00:39:59 verbose #30122 > >     real
00:39:59 verbose #30123 > >         $'Fable.Core.PyInterop.import !name !file ' : t
00:40:00 verbose #30124 > 00:39:59   debug #1604 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/75fccd10a6550c424d30c9017eded8c5430744be3810874309cad2aaeedc7a6f/main.spi
00:40:00 verbose #30125 > 00:00:09 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 2867 }
00:40:00 verbose #30126 > 00:00:09   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:40:00 verbose #30127 >     "nbconvert",
00:40:00 verbose #30128 >     "c:/home/git/polyglot/lib/spiral/python.dib.ipynb",
00:40:00 verbose #30129 >     "--to",
00:40:00 verbose #30130 >     "html",
00:40:00 verbose #30131 >     "--HTMLExporter.theme=dark",
00:40:00 verbose #30132 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/python.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:40:02 verbose #30133 > 00:00:11 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/python.dib.ipynb to html
00:40:02 verbose #30134 > 00:00:11 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:40:02 verbose #30135 > 00:00:11 verbose #7 !   validate(nb)
00:40:03 verbose #30136 > 00:00:12 verbose #8 ! [NbConvertApp] Writing 278637 bytes to c:\home\git\polyglot\lib\spiral\python.dib.html
00:40:03 verbose #30137 > 00:00:12 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 643 }
00:40:03 verbose #30138 > 00:00:12   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 643 }
00:40:03 verbose #30139 > 00:00:12   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:40:03 verbose #30140 >     "-c",
00:40:03 verbose #30141 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/python.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:40:03 verbose #30142 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/python.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:40:04 verbose #30143 > 00:00:13 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:40:04 verbose #30144 > 00:00:13   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:40:05 verbose #30145 > 00:00:14   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 3569 }
00:40:05   debug #30146 runtime.execute_with_options_async / { exit_code = 0; output_length = 6351 }
00:40:05   debug #38 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path python.dib --retries 3
00:40:05   debug #30147 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path typescript.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:40:05 verbose #30148 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "typescript.dib", "--retries", "3"])) }
00:40:05 verbose #30149 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:40:05 verbose #30150 >     "repl",
00:40:05 verbose #30151 >     "--exit-after-run",
00:40:05 verbose #30152 >     "--run",
00:40:05 verbose #30153 >     "c:/home/git/polyglot/lib/spiral/typescript.dib",
00:40:05 verbose #30154 >     "--output-path",
00:40:05 verbose #30155 >     "c:/home/git/polyglot/lib/spiral/typescript.dib.ipynb",
00:40:05 verbose #30156 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/typescript.dib" --output-path "c:/home/git/polyglot/lib/spiral/typescript.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:40:07 verbose #30157 > >
00:40:07 verbose #30158 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:07 verbose #30159 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:07 verbose #30160 > > │ # typescript                                                                 │
00:40:07 verbose #30161 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:07 verbose #30162 > >
00:40:07 verbose #30163 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:07 verbose #30164 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:07 verbose #30165 > > │ ### emit_expr                                                                │
00:40:07 verbose #30166 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:11 verbose #30167 > >
00:40:11 verbose #30168 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:11 verbose #30169 > > inl emit_expr forall a t. (args : a) (code : string) : t =
00:40:11 verbose #30170 > >     real
00:40:11 verbose #30171 > >         $'Fable.Core.JsInterop.emitJsExpr !args !code ' : t
00:40:12 verbose #30172 > 00:40:11   debug #1605 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ffd4addd53f79aa04e68f6f302bd824f16c03e6b0378c0d72008016b3937842c/main.spi
00:40:13 verbose #30173 > >
00:40:13 verbose #30174 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:13 verbose #30175 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:13 verbose #30176 > > │ ###                                                                          │
00:40:13 verbose #30177 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:13 verbose #30178 > >
00:40:13 verbose #30179 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:13 verbose #30180 > > inl (~!\) forall t. (code : string) : t =
00:40:13 verbose #30181 > >     emit_expr () code
00:40:13 verbose #30182 > 00:40:12   debug #1606 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/92a275d67df2eba3e649fcfd83691b71189adf20a9eae633febd0fa9139b7336/main.spi
00:40:13 verbose #30183 > >
00:40:13 verbose #30184 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:13 verbose #30185 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:13 verbose #30186 > > │ ###                                                                          │
00:40:13 verbose #30187 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:13 verbose #30188 > >
00:40:13 verbose #30189 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:13 verbose #30190 > > inl (~!\\) forall t u. ((args : t), (code : string)) : u =
00:40:13 verbose #30191 > >     emit_expr args code
00:40:13 verbose #30192 > 00:40:12   debug #1607 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a94c8e498193017c7a37098496ec045f58660b4e7e5d36eaf0cef34cd40a2bdc/main.spi
00:40:13 verbose #30193 > >
00:40:13 verbose #30194 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:13 verbose #30195 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:13 verbose #30196 > > │ ###                                                                          │
00:40:13 verbose #30197 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:13 verbose #30198 > >
00:40:13 verbose #30199 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:13 verbose #30200 > > inl import_all forall t. (file : string) : t =
00:40:13 verbose #30201 > >     real
00:40:13 verbose #30202 > >         $'Fable.Core.JsInterop.importAll !file ' : t
00:40:14 verbose #30203 > 00:40:13   debug #1608 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bb6475de865cc5962b83d816d8a6a2e7fe48128f2411a97c7016f0b49cc6a338/main.spi
00:40:14 verbose #30204 > >
00:40:14 verbose #30205 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:14 verbose #30206 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:14 verbose #30207 > > │ ###                                                                          │
00:40:14 verbose #30208 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:14 verbose #30209 > >
00:40:14 verbose #30210 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:14 verbose #30211 > > inl import forall t. (name : string) (file : string) : t =
00:40:14 verbose #30212 > >     real
00:40:14 verbose #30213 > >         $'Fable.Core.JsInterop.import !name !file ' : t
00:40:14 verbose #30214 > 00:40:13   debug #1609 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/698c6e1e71c7d8bdab2cc6d00031ecfb5301f686bbc38beba7d10a842f6b0be9/main.spi
00:40:14 verbose #30215 > 00:00:09 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 2867 }
00:40:14 verbose #30216 > 00:00:09   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:40:14 verbose #30217 >     "nbconvert",
00:40:14 verbose #30218 >     "c:/home/git/polyglot/lib/spiral/typescript.dib.ipynb",
00:40:14 verbose #30219 >     "--to",
00:40:14 verbose #30220 >     "html",
00:40:14 verbose #30221 >     "--HTMLExporter.theme=dark",
00:40:14 verbose #30222 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/typescript.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:40:16 verbose #30223 > 00:00:11 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/typescript.dib.ipynb to html
00:40:16 verbose #30224 > 00:00:11 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:40:16 verbose #30225 > 00:00:11 verbose #7 !   validate(nb)
00:40:18 verbose #30226 > 00:00:12 verbose #8 ! [NbConvertApp] Writing 278653 bytes to c:\home\git\polyglot\lib\spiral\typescript.dib.html
00:40:18 verbose #30227 > 00:00:13 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 651 }
00:40:18 verbose #30228 > 00:00:13   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 651 }
00:40:18 verbose #30229 > 00:00:13   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:40:18 verbose #30230 >     "-c",
00:40:18 verbose #30231 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/typescript.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:40:18 verbose #30232 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/typescript.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:40:19 verbose #30233 > 00:00:14 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:40:19 verbose #30234 > 00:00:14   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:40:20 verbose #30235 > 00:00:14   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 3577 }
00:40:20   debug #30236 runtime.execute_with_options_async / { exit_code = 0; output_length = 6395 }
00:40:20   debug #39 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path typescript.dib --retries 3
00:40:20   debug #30237 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path file_system.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:40:20 verbose #30238 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "file_system.dib", "--retries", "3"])) }
00:40:20 verbose #30239 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:40:20 verbose #30240 >     "repl",
00:40:20 verbose #30241 >     "--exit-after-run",
00:40:20 verbose #30242 >     "--run",
00:40:20 verbose #30243 >     "c:/home/git/polyglot/lib/spiral/file_system.dib",
00:40:20 verbose #30244 >     "--output-path",
00:40:20 verbose #30245 >     "c:/home/git/polyglot/lib/spiral/file_system.dib.ipynb",
00:40:20 verbose #30246 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/file_system.dib" --output-path "c:/home/git/polyglot/lib/spiral/file_system.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:40:22 verbose #30247 > >
00:40:22 verbose #30248 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:22 verbose #30249 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:22 verbose #30250 > > │ # file_system                                                                │
00:40:22 verbose #30251 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:26 verbose #30252 > >
00:40:26 verbose #30253 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:26 verbose #30254 > > open sm'_operators
00:40:26 verbose #30255 > > open rust
00:40:26 verbose #30256 > > open rust_operators
00:40:27 verbose #30257 > 00:40:26   debug #1610 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b4ede50952ff9b2eae2f8bc7d71550262141559a045df8d2e9ad44846057ad9b/main.spi
00:40:27 verbose #30258 > >
00:40:27 verbose #30259 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:27 verbose #30260 > > //// test
00:40:27 verbose #30261 > >
00:40:27 verbose #30262 > > open testing
00:40:28 verbose #30263 > 00:40:27   debug #1611 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/15940ef5d8f85b30ba43e3408c7adc79f0efee53503b522b6d30b2f516c571b5/main.spi
00:40:28 verbose #30264 > >
00:40:28 verbose #30265 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:28 verbose #30266 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:28 verbose #30267 > > │ ## fsharp                                                                    │
00:40:28 verbose #30268 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:28 verbose #30269 > >
00:40:28 verbose #30270 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:28 verbose #30271 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:28 verbose #30272 > > │ ### file_mode                                                                │
00:40:28 verbose #30273 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:28 verbose #30274 > >
00:40:28 verbose #30275 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:28 verbose #30276 > > nominal file_mode' = $'System.IO.FileMode'
00:40:28 verbose #30277 > >
00:40:28 verbose #30278 > > union file_mode =
00:40:28 verbose #30279 > >     | ModeCreateNew
00:40:28 verbose #30280 > >     | ModeCreate
00:40:28 verbose #30281 > >     | ModeOpen
00:40:28 verbose #30282 > >     | ModeOpenOrCreate
00:40:28 verbose #30283 > >     | Truncate
00:40:28 verbose #30284 > >     | Append
00:40:28 verbose #30285 > >
00:40:28 verbose #30286 > > inl file_mode = function
00:40:28 verbose #30287 > >     | ModeCreateNew => $'System.IO.FileMode.CreateNew' : file_mode'
00:40:28 verbose #30288 > >     | ModeCreate => $'System.IO.FileMode.Create' : file_mode'
00:40:28 verbose #30289 > >     | ModeOpen => $'System.IO.FileMode.Open' : file_mode'
00:40:28 verbose #30290 > >     | ModeOpenOrCreate => $'System.IO.FileMode.OpenOrCreate' : file_mode'
00:40:28 verbose #30291 > >     | Truncate => $'System.IO.FileMode.Truncate' : file_mode'
00:40:28 verbose #30292 > >     | Append => $'System.IO.FileMode.Append' : file_mode'
00:40:28 verbose #30293 > 00:40:27   debug #1612 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/85394ec7c93880bf225a63e82c06cff18eaa5b59526b208438e0f1cf454a1198/main.spi
00:40:28 verbose #30294 > >
00:40:28 verbose #30295 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:28 verbose #30296 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:28 verbose #30297 > > │ ### file_access                                                              │
00:40:28 verbose #30298 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:28 verbose #30299 > >
00:40:28 verbose #30300 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:28 verbose #30301 > > nominal file_access' = $'System.IO.FileAccess'
00:40:28 verbose #30302 > >
00:40:28 verbose #30303 > > union file_access =
00:40:28 verbose #30304 > >     | AccessRead
00:40:28 verbose #30305 > >     | AccessWrite
00:40:28 verbose #30306 > >     | AccessReadWrite
00:40:28 verbose #30307 > >
00:40:28 verbose #30308 > > inl file_access = function
00:40:28 verbose #30309 > >     | AccessRead => $'System.IO.FileAccess.Read' : file_access'
00:40:28 verbose #30310 > >     | AccessWrite => $'System.IO.FileAccess.ReadWrite' : file_access'
00:40:28 verbose #30311 > >     | AccessReadWrite => $'System.IO.FileAccess.ReadWrite' : file_access'
00:40:28 verbose #30312 > 00:40:28   debug #1613 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/23fef5975987550817b97e53567204d9ebef17bb6fc4da7f077bf2ba404996f8/main.spi
00:40:29 verbose #30313 > >
00:40:29 verbose #30314 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:29 verbose #30315 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:29 verbose #30316 > > │ ### file_share                                                               │
00:40:29 verbose #30317 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:29 verbose #30318 > >
00:40:29 verbose #30319 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:29 verbose #30320 > > nominal file_share' = $'System.IO.FileShare'
00:40:29 verbose #30321 > >
00:40:29 verbose #30322 > > union file_share =
00:40:29 verbose #30323 > >     | ShareNone
00:40:29 verbose #30324 > >     | ShareRead
00:40:29 verbose #30325 > >     | ShareWrite
00:40:29 verbose #30326 > >     | ShareReadWrite
00:40:29 verbose #30327 > >     | ShareDelete
00:40:29 verbose #30328 > >
00:40:29 verbose #30329 > > inl file_share = function
00:40:29 verbose #30330 > >     | ShareNone => $'System.IO.FileShare.None' : file_share'
00:40:29 verbose #30331 > >     | ShareRead => $'System.IO.FileShare.Read' : file_share'
00:40:29 verbose #30332 > >     | ShareWrite => $'System.IO.FileShare.Write' : file_share'
00:40:29 verbose #30333 > >     | ShareReadWrite => $'System.IO.FileShare.ReadWrite' : file_share'
00:40:29 verbose #30334 > >     | ShareDelete => $'System.IO.FileShare.Delete' : file_share'
00:40:29 verbose #30335 > 00:40:28   debug #1614 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a31a55856d7c77cd022fd76d85a84657de24b8e54c4a2a1ee703bae89088ed9a/main.spi
00:40:29 verbose #30336 > >
00:40:29 verbose #30337 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:29 verbose #30338 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:29 verbose #30339 > > │ ### file_stream                                                              │
00:40:29 verbose #30340 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:29 verbose #30341 > >
00:40:29 verbose #30342 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:29 verbose #30343 > > nominal file_stream' = $'System.IO.FileStream'
00:40:29 verbose #30344 > >
00:40:29 verbose #30345 > > inl file_stream (path : string) mode access share : file_stream' =
00:40:29 verbose #30346 > >     run_target function
00:40:29 verbose #30347 > >         | Fsharp (Native) => fun () =>
00:40:29 verbose #30348 > >             inl mode = mode |> file_mode
00:40:29 verbose #30349 > >             inl access = access |> file_access
00:40:29 verbose #30350 > >             inl share = share |> file_share
00:40:29 verbose #30351 > >             $'new System.IO.FileStream (!path, !mode, !access, !share)'
00:40:29 verbose #30352 > >         | _ => fun () => null ()
00:40:29 verbose #30353 > 00:40:28   debug #1615 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e2fa87e336a2e090ce4d39adcb74eca6ac28b5b8b7ab286a676aed29a5a2e90b/main.spi
00:40:29 verbose #30354 > >
00:40:29 verbose #30355 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:29 verbose #30356 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:29 verbose #30357 > > │ ### directory_info                                                           │
00:40:29 verbose #30358 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:29 verbose #30359 > >
00:40:29 verbose #30360 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:29 verbose #30361 > > nominal directory_info = $'System.IO.DirectoryInfo'
00:40:29 verbose #30362 > >
00:40:29 verbose #30363 > > inl directory_info (path : string) : directory_info =
00:40:29 verbose #30364 > >     path |> $'`directory_info '
00:40:29 verbose #30365 > 00:40:29   debug #1616 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bab6ea73ecb0e15ffbd901fd8a4bbb526ccfaadbeecf8341350c8e5da77a9356/main.spi
00:40:30 verbose #30366 > >
00:40:30 verbose #30367 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:30 verbose #30368 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:30 verbose #30369 > > │ ### directory_info_exists                                                    │
00:40:30 verbose #30370 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:30 verbose #30371 > >
00:40:30 verbose #30372 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:30 verbose #30373 > > inl directory_info_exists (info : directory_info) : bool =
00:40:30 verbose #30374 > >     run_target function
00:40:30 verbose #30375 > >         | Fsharp (Native) => fun () =>
00:40:30 verbose #30376 > >             $'!info.Exists'
00:40:30 verbose #30377 > >         | _ => fun () => null ()
00:40:30 verbose #30378 > 00:40:29   debug #1617 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/817f5e914d6bb67ac40bbb41f51a550659c4bb02c73f23501c18291a8cd30f30/main.spi
00:40:30 verbose #30379 > >
00:40:30 verbose #30380 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:30 verbose #30381 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:30 verbose #30382 > > │ ### directory_info_creation_time                                             │
00:40:30 verbose #30383 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:30 verbose #30384 > >
00:40:30 verbose #30385 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:30 verbose #30386 > > inl directory_info_creation_time (info : directory_info) : date_time.date_time =
00:40:30 verbose #30387 > >     run_target function
00:40:30 verbose #30388 > >         | Fsharp (Native) => fun () =>
00:40:30 verbose #30389 > >             $'!info.CreationTime'
00:40:30 verbose #30390 > >         | _ => fun () => null ()
00:40:30 verbose #30391 > 00:40:29   debug #1618 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe36c51218ba0f2eeee5cf945a888fff558cda871fcacf4091ae5409be0d5084/main.spi
00:40:30 verbose #30392 > >
00:40:30 verbose #30393 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:30 verbose #30394 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:30 verbose #30395 > > │ ### directory_info_name                                                      │
00:40:30 verbose #30396 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:30 verbose #30397 > >
00:40:30 verbose #30398 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:30 verbose #30399 > > inl directory_info_name (info : directory_info) : string =
00:40:30 verbose #30400 > >     run_target function
00:40:30 verbose #30401 > >         | Fsharp (Native) => fun () =>
00:40:30 verbose #30402 > >             $'!info.Name'
00:40:30 verbose #30403 > >         | _ => fun () => null ()
00:40:31 verbose #30404 > 00:40:30   debug #1619 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6fe2cf2411883b304c142fc096a6bec77415556b293fedcbf06e3b71b13dd915/main.spi
00:40:31 verbose #30405 > >
00:40:31 verbose #30406 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:31 verbose #30407 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:31 verbose #30408 > > │ ### directory_info_full_name                                                 │
00:40:31 verbose #30409 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:31 verbose #30410 > >
00:40:31 verbose #30411 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:31 verbose #30412 > > inl directory_info_full_name (info : directory_info) : string =
00:40:31 verbose #30413 > >     run_target function
00:40:31 verbose #30414 > >         | Fsharp (Native) => fun () =>
00:40:31 verbose #30415 > >             $'!info.FullName'
00:40:31 verbose #30416 > >         | _ => fun () => null ()
00:40:31 verbose #30417 > 00:40:30   debug #1620 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/a04a1af90d87c8cd28785006e34977e71747066aa8db8d89cebf1c558051f29a/main.spi
00:40:31 verbose #30418 > >
00:40:31 verbose #30419 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:31 verbose #30420 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:31 verbose #30421 > > │ ### create_directory                                                         │
00:40:31 verbose #30422 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:31 verbose #30423 > >
00:40:31 verbose #30424 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:31 verbose #30425 > > inl create_directory (path : string) : directory_info =
00:40:31 verbose #30426 > >     run_target function
00:40:31 verbose #30427 > >         | Fsharp (Native) => fun () =>
00:40:31 verbose #30428 > >             path |> $'System.IO.Directory.CreateDirectory'
00:40:31 verbose #30429 > >         | _ => fun () => null ()
00:40:31 verbose #30430 > 00:40:30   debug #1621 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ebd42300c5052aea1b3d9c5863c841a5eb53e07052d9b64f43dc2ddac18170d8/main.spi
00:40:31 verbose #30431 > >
00:40:31 verbose #30432 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:31 verbose #30433 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:31 verbose #30434 > > │ ### directory_get_files                                                      │
00:40:31 verbose #30435 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:31 verbose #30436 > >
00:40:31 verbose #30437 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:31 verbose #30438 > > inl directory_get_files (path : string) : array_base string =
00:40:31 verbose #30439 > >     run_target function
00:40:31 verbose #30440 > >         | Fsharp (Native) => fun () =>
00:40:31 verbose #30441 > >             path |> $'System.IO.Directory.GetFiles'
00:40:31 verbose #30442 > >         | _ => fun () => null ()
00:40:32 verbose #30443 > 00:40:31   debug #1622 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8fc6f3feacd22a169a8b277aece23d9a9b256d2fa2f8d415f5766f28c61f38a8/main.spi
00:40:32 verbose #30444 > >
00:40:32 verbose #30445 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:32 verbose #30446 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:32 verbose #30447 > > │ ### file_move                                                                │
00:40:32 verbose #30448 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:32 verbose #30449 > >
00:40:32 verbose #30450 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:32 verbose #30451 > > inl file_move (new_path : string) (old_path : string) : () =
00:40:32 verbose #30452 > >     run_target function
00:40:32 verbose #30453 > >         | Fsharp (Native) => fun () =>
00:40:32 verbose #30454 > >             $'System.IO.File.Move (!old_path, !new_path)'
00:40:32 verbose #30455 > >         | _ => fun () => ()
00:40:32 verbose #30456 > 00:40:31   debug #1623 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bb5b9d4f2734cd5407a7b016c3f699a6227835ecd3b96b282a55549f4fd95f3c/main.spi
00:40:32 verbose #30457 > >
00:40:32 verbose #30458 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:32 verbose #30459 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:32 verbose #30460 > > │ ### read_all_text_async                                                      │
00:40:32 verbose #30461 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:32 verbose #30462 > >
00:40:32 verbose #30463 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:32 verbose #30464 > > inl read_all_text_async (path : string) : _ string =
00:40:32 verbose #30465 > >     run_target function
00:40:32 verbose #30466 > >         | Fsharp (Native) => fun () =>
00:40:32 verbose #30467 > >             path |> $'System.IO.File.ReadAllTextAsync' |> async.await_task
00:40:32 verbose #30468 > >         | _ => fun () => null ()
00:40:32 verbose #30469 > 00:40:31   debug #1624 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/471f9100021982e821b08dd4ef3fd29d4cab2ace43beeac3b488e45e883f542e/main.spi
00:40:32 verbose #30470 > >
00:40:32 verbose #30471 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:32 verbose #30472 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:32 verbose #30473 > > │ ### write_all_text_async                                                     │
00:40:32 verbose #30474 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:32 verbose #30475 > >
00:40:32 verbose #30476 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:32 verbose #30477 > > inl write_all_text_async (path : string) (text : string) : _ () =
00:40:32 verbose #30478 > >     run_target function
00:40:32 verbose #30479 > >         | Fsharp (Native) => fun () =>
00:40:32 verbose #30480 > >             $'System.IO.File.WriteAllTextAsync (!path, !text)' |>
00:40:32 verbose #30481 > > async.await_task
00:40:32 verbose #30482 > >         | _ => fun () => null ()
00:40:33 verbose #30483 > 00:40:32   debug #1625 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d13dbf0d2e52ba4bad75b74aa5efc7ca5ca4ee0b87a7453154f9ec927788e76e/main.spi
00:40:33 verbose #30484 > >
00:40:33 verbose #30485 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:33 verbose #30486 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:33 verbose #30487 > > │ ### file_system_info                                                         │
00:40:33 verbose #30488 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:33 verbose #30489 > >
00:40:33 verbose #30490 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:33 verbose #30491 > > nominal file_system_info = $'System.IO.FileSystemInfo'
00:40:33 verbose #30492 > 00:40:32   debug #1626 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/66fbe4c02a6e1af6325a227115b1789c68995f62a2aacc2f4d2928362aaaec48/main.spi
00:40:33 verbose #30493 > >
00:40:33 verbose #30494 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:33 verbose #30495 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:33 verbose #30496 > > │ ### get_source_directory                                                     │
00:40:33 verbose #30497 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:33 verbose #30498 > >
00:40:33 verbose #30499 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:33 verbose #30500 > > inl get_source_directory () =
00:40:33 verbose #30501 > >     $'__SOURCE_DIRECTORY__' : string
00:40:33 verbose #30502 > 00:40:33   debug #1627 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/74795b230b073ff55b5d83c083e0455cd6655b0b4f1672dfb51c70cb3de70c0f/main.spi
00:40:34 verbose #30503 > >
00:40:34 verbose #30504 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:34 verbose #30505 > > //// test
00:40:34 verbose #30506 > >
00:40:34 verbose #30507 > > get_source_directory ()
00:40:34 verbose #30508 > > |> directory_info
00:40:34 verbose #30509 > > |> directory_info_name
00:40:34 verbose #30510 > > |> _assert_eq "spiral"
00:40:34 verbose #30511 > 00:40:33   debug #1628 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/abec1d935f1fad1eac19a17c736e8200b9629e4f272acd6fe2f64848831c23e9/main.spi
00:40:35 verbose #30512 > >
00:40:35 verbose #30513 > > ╭─[ 1.14s - stdout ]───────────────────────────────────────────────────────────╮
00:40:35 verbose #30514 > > │ __assert_eq / actual: "spiral" / expected: "spiral"                          │
00:40:35 verbose #30515 > > │                                                                              │
00:40:35 verbose #30516 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:35 verbose #30517 > >
00:40:35 verbose #30518 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:35 verbose #30519 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:35 verbose #30520 > > │ ## rust                                                                      │
00:40:35 verbose #30521 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:35 verbose #30522 > >
00:40:35 verbose #30523 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:35 verbose #30524 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:35 verbose #30525 > > │ ### display                                                                  │
00:40:35 verbose #30526 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:35 verbose #30527 > >
00:40:35 verbose #30528 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:35 verbose #30529 > > nominal display =
00:40:35 verbose #30530 > >     `(
00:40:35 verbose #30531 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:35 verbose #30532 > > Fable.Core.Emit(\"std::path::Display\")>]]\n#endif\ntype std_path_Display =
00:40:35 verbose #30533 > > class end"
00:40:35 verbose #30534 > >         $'' : $'std_path_Display'
00:40:35 verbose #30535 > >     )
00:40:35 verbose #30536 > 00:40:34   debug #1629 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b499b67aac3f48a785c94f9147f8168d903f274394af93dbc18a7fdf838fafb1/main.spi
00:40:35 verbose #30537 > >
00:40:35 verbose #30538 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:35 verbose #30539 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:35 verbose #30540 > > │ ### path                                                                     │
00:40:35 verbose #30541 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:35 verbose #30542 > >
00:40:35 verbose #30543 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:35 verbose #30544 > > nominal path =
00:40:35 verbose #30545 > >     `(
00:40:35 verbose #30546 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:35 verbose #30547 > > Fable.Core.Emit(\"std::path::Path\")>]]\n#endif\ntype std_path_Path = class end"
00:40:35 verbose #30548 > >         $'' : $'std_path_Path'
00:40:35 verbose #30549 > >     )
00:40:35 verbose #30550 > 00:40:34   debug #1630 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d2376bb0edc710088765369bc07c366f1582ab6431d91d65607cff8b3689302f/main.spi
00:40:35 verbose #30551 > >
00:40:35 verbose #30552 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:35 verbose #30553 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:35 verbose #30554 > > │ ### path_buf                                                                 │
00:40:35 verbose #30555 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:35 verbose #30556 > >
00:40:35 verbose #30557 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:35 verbose #30558 > > nominal path_buf =
00:40:35 verbose #30559 > >     `(
00:40:35 verbose #30560 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:35 verbose #30561 > > Fable.Core.Emit(\"std::path::PathBuf\")>]]\n#endif\ntype std_path_PathBuf =
00:40:35 verbose #30562 > > class end"
00:40:35 verbose #30563 > >         $'' : $'std_path_PathBuf'
00:40:35 verbose #30564 > >     )
00:40:36 verbose #30565 > 00:40:35   debug #1631 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9def05e28cc9f5090649789571ff107dde294be52e5d83bcae894946a643301e/main.spi
00:40:36 verbose #30566 > >
00:40:36 verbose #30567 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:36 verbose #30568 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:36 verbose #30569 > > │ ### new_path_buf                                                             │
00:40:36 verbose #30570 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:36 verbose #30571 > >
00:40:36 verbose #30572 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:36 verbose #30573 > > inl new_path_buf (path : sm'.std_string) : path_buf =
00:40:36 verbose #30574 > >     !\\(path, $'"std::path::PathBuf::from($0)"')
00:40:36 verbose #30575 > 00:40:35   debug #1632 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bdc51fa9c6732a611a1fdf29f59b662c23cf36a7bd4d7b76c6614109c0b46046/main.spi
00:40:36 verbose #30576 > >
00:40:36 verbose #30577 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:36 verbose #30578 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:36 verbose #30579 > > │ ### path_buf_from                                                            │
00:40:36 verbose #30580 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:36 verbose #30581 > >
00:40:36 verbose #30582 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:36 verbose #30583 > > inl path_buf_from (path : rust.box path) : path_buf =
00:40:36 verbose #30584 > >     !\\(path, $'"std::path::PathBuf::from($0)"')
00:40:36 verbose #30585 > 00:40:36   debug #1633 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/306b7e3f74d74dbfa735066a02484499107932e33399d9af9eba7ae8e872ded4/main.spi
00:40:37 verbose #30586 > >
00:40:37 verbose #30587 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:37 verbose #30588 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:37 verbose #30589 > > │ ### path_buf_join                                                            │
00:40:37 verbose #30590 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:37 verbose #30591 > >
00:40:37 verbose #30592 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:37 verbose #30593 > > inl path_buf_join (s : string) (path_buf : path_buf) : path_buf =
00:40:37 verbose #30594 > >     !\\((path_buf, s |> sm'.to_std_string), $'"$0.join($1)"')
00:40:37 verbose #30595 > 00:40:36   debug #1634 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/783aa6a2f6be336fc7dd547f7090ee65511c56db7a35d38a4fa800a4f14be187/main.spi
00:40:37 verbose #30596 > >
00:40:37 verbose #30597 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:37 verbose #30598 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:37 verbose #30599 > > │ ### path_buf_strip_prefix                                                    │
00:40:37 verbose #30600 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:37 verbose #30601 > >
00:40:37 verbose #30602 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:37 verbose #30603 > > inl path_buf_strip_prefix (s : string) (path_buf : path_buf) : path_buf =
00:40:37 verbose #30604 > >     !\\((path_buf, s |> sm'.to_std_string),
00:40:37 verbose #30605 > > $'"$0.strip_prefix($1).unwrap().to_path_buf()"')
00:40:37 verbose #30606 > 00:40:36   debug #1635 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/02673b70c92d1b68d5768cb63e4954969245043681ddeb1e0217da6318b03f30/main.spi
00:40:37 verbose #30607 > >
00:40:37 verbose #30608 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:37 verbose #30609 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:37 verbose #30610 > > │ ### path_display                                                             │
00:40:37 verbose #30611 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:37 verbose #30612 > >
00:40:37 verbose #30613 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:37 verbose #30614 > > inl path_display (path : rust.ref path) : display =
00:40:37 verbose #30615 > >     !\\(path, $'"$0.display()"')
00:40:38 verbose #30616 > 00:40:37   debug #1636 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e39003a5044bcc26f310a78238937a17fba69d0c3ebfe1f806534bd11680e168/main.spi
00:40:38 verbose #30617 > >
00:40:38 verbose #30618 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:38 verbose #30619 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:38 verbose #30620 > > │ ### path_buf_display                                                         │
00:40:38 verbose #30621 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:38 verbose #30622 > >
00:40:38 verbose #30623 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:38 verbose #30624 > > inl path_buf_display (path_buf : path_buf) : display =
00:40:38 verbose #30625 > >     !\\(path_buf, $'"$0.display()"')
00:40:38 verbose #30626 > 00:40:37   debug #1637 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7d4b00d6c576d07f4fa96dcdde45f06783cdd6906cb6b15dc252cc566e291a33/main.spi
00:40:38 verbose #30627 > >
00:40:38 verbose #30628 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:38 verbose #30629 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:38 verbose #30630 > > │ ### path_buf_file_name                                                       │
00:40:38 verbose #30631 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:38 verbose #30632 > >
00:40:38 verbose #30633 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:38 verbose #30634 > > inl path_buf_file_name (path : path_buf) : optionm'.option' (rust.ref
00:40:38 verbose #30635 > > sm'.os_str) =
00:40:38 verbose #30636 > >     !\($'"!path.file_name()"')
00:40:38 verbose #30637 > 00:40:37   debug #1638 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/316beafe8f7b31817e1fc188ae1d86fa477f93c325a4592998afbece306a75bc/main.spi
00:40:38 verbose #30638 > >
00:40:38 verbose #30639 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:38 verbose #30640 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:38 verbose #30641 > > │ ### path_buf_exists                                                          │
00:40:38 verbose #30642 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:38 verbose #30643 > >
00:40:38 verbose #30644 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:38 verbose #30645 > > inl path_buf_exists (path_buf : path_buf) : bool =
00:40:38 verbose #30646 > >     !\\(path_buf, $'"$0.exists()"')
00:40:39 verbose #30647 > 00:40:38   debug #1639 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/31a0c6858727f31e1888ef558cc4bc3ff36055d8da778863b1326c294cb2ebbc/main.spi
00:40:39 verbose #30648 > >
00:40:39 verbose #30649 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:39 verbose #30650 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:39 verbose #30651 > > │ ### path_buf_is_dir                                                          │
00:40:39 verbose #30652 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:39 verbose #30653 > >
00:40:39 verbose #30654 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:39 verbose #30655 > > inl path_buf_is_dir (path_buf : path_buf) : bool =
00:40:39 verbose #30656 > >     !\\(path_buf, $'"$0.is_dir()"')
00:40:39 verbose #30657 > 00:40:38   debug #1640 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f55a2a2e4af4e98cb468653550a9042cb8f511396d60017f936ae505eafdf923/main.spi
00:40:39 verbose #30658 > >
00:40:39 verbose #30659 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:39 verbose #30660 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:39 verbose #30661 > > │ ### path_buf_is_file                                                         │
00:40:39 verbose #30662 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:39 verbose #30663 > >
00:40:39 verbose #30664 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:39 verbose #30665 > > inl path_buf_is_file (path_buf : path_buf) : bool =
00:40:39 verbose #30666 > >     !\\(path_buf, $'"$0.is_file()"')
00:40:39 verbose #30667 > 00:40:39   debug #1641 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e1e4c8edebd40d9c9234b115c71e96f133bf8ab6e10dd0bec2374b617d4e9d88/main.spi
00:40:40 verbose #30668 > >
00:40:40 verbose #30669 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:40 verbose #30670 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:40 verbose #30671 > > │ ### path_buf_is_symlink                                                      │
00:40:40 verbose #30672 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:40 verbose #30673 > >
00:40:40 verbose #30674 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:40 verbose #30675 > > inl path_buf_is_symlink (path_buf : path_buf) : bool =
00:40:40 verbose #30676 > >     !\\(path_buf, $'"$0.is_symlink()"')
00:40:40 verbose #30677 > 00:40:39   debug #1642 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/293f68a7b5cc9dd14a23dff0772344c75e6d3eac4b4204e8ba91ccf213981770/main.spi
00:40:40 verbose #30678 > >
00:40:40 verbose #30679 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:40 verbose #30680 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:40 verbose #30681 > > │ ### path_buf_parent                                                          │
00:40:40 verbose #30682 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:40 verbose #30683 > >
00:40:40 verbose #30684 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:40 verbose #30685 > > inl path_buf_parent (path_buf : path_buf) : optionm'.option' path_buf =
00:40:40 verbose #30686 > >     !\\(path_buf, $'"$0.parent().map(std::path::PathBuf::from)"')
00:40:40 verbose #30687 > 00:40:39   debug #1643 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/48f246bce25dbddba91ce0e23042e7496a472fed830627a46597098705eec4e1/main.spi
00:40:40 verbose #30688 > >
00:40:40 verbose #30689 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:40 verbose #30690 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:40 verbose #30691 > > │ ### dir_entry                                                                │
00:40:40 verbose #30692 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:40 verbose #30693 > >
00:40:40 verbose #30694 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:40 verbose #30695 > > nominal dir_entry =
00:40:40 verbose #30696 > >     `(
00:40:40 verbose #30697 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:40 verbose #30698 > > Fable.Core.Emit(\"async_walkdir::DirEntry\")>]]\n#endif\ntype
00:40:40 verbose #30699 > > async_walkdir_DirEntry = class end"
00:40:40 verbose #30700 > >         $'' : $'async_walkdir_DirEntry'
00:40:40 verbose #30701 > >     )
00:40:40 verbose #30702 > 00:40:40   debug #1644 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8770bcecd1165056d95d4850af4ad51fc1fcaea803db08c86b5ab1927bd6e7b3/main.spi
00:40:41 verbose #30703 > >
00:40:41 verbose #30704 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:41 verbose #30705 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:41 verbose #30706 > > │ ### walk_dir                                                                 │
00:40:41 verbose #30707 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:41 verbose #30708 > >
00:40:41 verbose #30709 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:41 verbose #30710 > > nominal walk_dir =
00:40:41 verbose #30711 > >     `(
00:40:41 verbose #30712 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:41 verbose #30713 > > Fable.Core.Emit(\"async_walkdir::WalkDir\")>]]\n#endif\ntype
00:40:41 verbose #30714 > > async_walkdir_WalkDir = class end"
00:40:41 verbose #30715 > >         $'' : $'async_walkdir_WalkDir'
00:40:41 verbose #30716 > >     )
00:40:41 verbose #30717 > 00:40:40   debug #1645 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/652f2510b0cda8edd24acd7a2485ef761f0ce4dd0f5f1e66e366007b4e386f62/main.spi
00:40:41 verbose #30718 > >
00:40:41 verbose #30719 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:41 verbose #30720 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:41 verbose #30721 > > │ ### async_walkdir_filtering                                                  │
00:40:41 verbose #30722 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:41 verbose #30723 > >
00:40:41 verbose #30724 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:41 verbose #30725 > > nominal async_walkdir_filtering =
00:40:41 verbose #30726 > >     `(
00:40:41 verbose #30727 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:41 verbose #30728 > > Fable.Core.Emit(\"async_walkdir::Filtering\")>]]\n#endif\ntype
00:40:41 verbose #30729 > > async_walkdir_Filtering = class end"
00:40:41 verbose #30730 > >         $'' : $'async_walkdir_Filtering'
00:40:41 verbose #30731 > >     )
00:40:41 verbose #30732 > 00:40:40   debug #1646 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/43387513cbb505eb238b9bd00ee5a605bca73b838085095a78f4b031647b6f2e/main.spi
00:40:41 verbose #30733 > >
00:40:41 verbose #30734 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:41 verbose #30735 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:41 verbose #30736 > > │ ### filtering                                                                │
00:40:41 verbose #30737 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:41 verbose #30738 > >
00:40:41 verbose #30739 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:41 verbose #30740 > > union filtering =
00:40:41 verbose #30741 > >     | Ignore
00:40:41 verbose #30742 > >     | IgnoreDir
00:40:41 verbose #30743 > >     | Continue
00:40:42 verbose #30744 > 00:40:41   debug #1647 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e3822dfc09f9e9b518817e2d5b910b1395c58fed2e8c75db030136cdaba10c1d/main.spi
00:40:42 verbose #30745 > >
00:40:42 verbose #30746 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:42 verbose #30747 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:42 verbose #30748 > > │ ### async_walkdir_error                                                      │
00:40:42 verbose #30749 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:42 verbose #30750 > >
00:40:42 verbose #30751 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:42 verbose #30752 > > nominal async_walkdir_error =
00:40:42 verbose #30753 > >     `(
00:40:42 verbose #30754 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:42 verbose #30755 > > Fable.Core.Emit(\"async_walkdir::Error\")>]]\n#endif\ntype async_walkdir_Error =
00:40:42 verbose #30756 > > class end"
00:40:42 verbose #30757 > >         $'' : $'async_walkdir_Error'
00:40:42 verbose #30758 > >     )
00:40:42 verbose #30759 > 00:40:41   debug #1648 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2819042b18de899c221141dd8bbc5db32f6f5f0b4e9a6455fbfa902e8424b7ad/main.spi
00:40:42 verbose #30760 > >
00:40:42 verbose #30761 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:42 verbose #30762 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:42 verbose #30763 > > │ ### new_walk_dir                                                             │
00:40:42 verbose #30764 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:42 verbose #30765 > >
00:40:42 verbose #30766 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:42 verbose #30767 > > inl new_walk_dir (dir : string) : walk_dir =
00:40:42 verbose #30768 > >     !\\(dir, $'"async_walkdir::WalkDir::new(&*$0)"')
00:40:42 verbose #30769 > >     // inl walk_dir : walk_dir = walk_dir |> rust.to_mut
00:40:42 verbose #30770 > >     // (!\($'"true; let mut !walk_dir = !walk_dir"') : bool) |> ignore
00:40:42 verbose #30771 > 00:40:41   debug #1649 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ee3ea1cee939fd80c77e9425d4da6107f3c17ec3a87820e090632384dcfe1ed6/main.spi
00:40:42 verbose #30772 > >
00:40:42 verbose #30773 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:42 verbose #30774 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:42 verbose #30775 > > │ ### walk_dir_filter                                                          │
00:40:42 verbose #30776 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:42 verbose #30777 > >
00:40:42 verbose #30778 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:42 verbose #30779 > > inl walk_dir_filter (fn : dir_entry -> async.future_pin_send filtering)
00:40:42 verbose #30780 > > (walk_dir : walk_dir) : walk_dir =
00:40:42 verbose #30781 > >     inl fn entry = async.new_future_send fun () =>
00:40:42 verbose #30782 > >         inl result = fn entry |> async.await_send
00:40:42 verbose #30783 > >         inl filtering : async_walkdir_filtering =
00:40:42 verbose #30784 > >             match result with
00:40:42 verbose #30785 > >             | Ignore => !\($'"async_walkdir::Filtering::Ignore"')
00:40:42 verbose #30786 > >             | IgnoreDir => !\($'"async_walkdir::Filtering::IgnoreDir"')
00:40:42 verbose #30787 > >             | Continue => !\($'"async_walkdir::Filtering::Continue"')
00:40:42 verbose #30788 > >         filtering
00:40:42 verbose #30789 > >     !\\((walk_dir, fn), $'"async_walkdir::WalkDir::filter($0, |x| $1(x))"')
00:40:43 verbose #30790 > 00:40:42   debug #1650 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6e45b31eb52eddc65704628d45df04b3218ac09b0def772f3a216f1354f58edb/main.spi
00:40:43 verbose #30791 > >
00:40:43 verbose #30792 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:43 verbose #30793 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:43 verbose #30794 > > │ ### file_type                                                                │
00:40:43 verbose #30795 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:43 verbose #30796 > >
00:40:43 verbose #30797 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:43 verbose #30798 > > nominal file_type =
00:40:43 verbose #30799 > >     `(
00:40:43 verbose #30800 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:43 verbose #30801 > > Fable.Core.Emit(\"std::fs::FileType\")>]]\n#endif\ntype std_fs_FileType = class
00:40:43 verbose #30802 > > end"
00:40:43 verbose #30803 > >         $'' : $'std_fs_FileType'
00:40:43 verbose #30804 > >     )
00:40:43 verbose #30805 > 00:40:42   debug #1651 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/23e8c563220d07a520224dc370c484f8a61a8087e86fa6df6c0e2a3ce62425cb/main.spi
00:40:43 verbose #30806 > >
00:40:43 verbose #30807 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:43 verbose #30808 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:43 verbose #30809 > > │ ### dir_entry_file_type                                                      │
00:40:43 verbose #30810 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:43 verbose #30811 > >
00:40:43 verbose #30812 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:43 verbose #30813 > > inl dir_entry_file_type (dir_entry : dir_entry) : async.future_pin_send
00:40:43 verbose #30814 > > (resultm.result' file_type stream.io_error) =
00:40:43 verbose #30815 > >     inl dir_entry = join dir_entry
00:40:43 verbose #30816 > >     !\($'"Box::pin(async_walkdir::DirEntry::file_type(&!dir_entry))"')
00:40:44 verbose #30817 > 00:40:43   debug #1652 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b275956bf61804d5e9223093e05c7b1fb890218318014341f8845ea91e882348/main.spi
00:40:44 verbose #30818 > >
00:40:44 verbose #30819 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:44 verbose #30820 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:44 verbose #30821 > > │ ### file_type_is_dir                                                         │
00:40:44 verbose #30822 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:44 verbose #30823 > >
00:40:44 verbose #30824 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:44 verbose #30825 > > inl file_type_is_dir (file_type : file_type) : bool =
00:40:44 verbose #30826 > >     inl file_type = join file_type
00:40:44 verbose #30827 > >     !\($'"std::fs::FileType::is_dir(&!file_type)"')
00:40:44 verbose #30828 > 00:40:43   debug #1653 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/db5ca1b673e806357d4fcd8ee5433e8d49544d3f085be8bfa9b85bafacc90d3f/main.spi
00:40:44 verbose #30829 > >
00:40:44 verbose #30830 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:44 verbose #30831 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:44 verbose #30832 > > │ ### file                                                                     │
00:40:44 verbose #30833 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:44 verbose #30834 > >
00:40:44 verbose #30835 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:44 verbose #30836 > > nominal file =
00:40:44 verbose #30837 > >     `(
00:40:44 verbose #30838 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:40:44 verbose #30839 > > Fable.Core.Emit(\"std::fs::File\")>]]\n#endif\ntype std_fs_File = class end"
00:40:44 verbose #30840 > >         $'' : $'std_fs_File'
00:40:44 verbose #30841 > >     )
00:40:44 verbose #30842 > 00:40:43   debug #1654 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7c64a751861449af34e125c2ee098442a66310a3c75d00f769557baaefd07d10/main.spi
00:40:44 verbose #30843 > >
00:40:44 verbose #30844 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:44 verbose #30845 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:44 verbose #30846 > > │ ### file_open                                                                │
00:40:44 verbose #30847 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:44 verbose #30848 > >
00:40:44 verbose #30849 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:44 verbose #30850 > > inl file_open (path : string) : resultm.result' file stream.io_error =
00:40:44 verbose #30851 > >     !\($'"std::fs::File::open(&*!path)"')
00:40:45 verbose #30852 > 00:40:44   debug #1655 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/285adc2fb666fe74f2b992b7a7a5c9e5a657feb7f120875c2cf8adc54254ef13/main.spi
00:40:45 verbose #30853 > >
00:40:45 verbose #30854 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:45 verbose #30855 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:45 verbose #30856 > > │ ### rename                                                                   │
00:40:45 verbose #30857 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:45 verbose #30858 > >
00:40:45 verbose #30859 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:45 verbose #30860 > > inl rename (to : string) (path : string) : resultm.result' () stream.io_error =
00:40:45 verbose #30861 > >     !\($'"std::fs::rename(&*!path, &*!to)"')
00:40:45 verbose #30862 > 00:40:44   debug #1656 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/c95491ebe38686ccbb8c4f5b9303433d7435187cb9fdf74bc4ef3f8b6fc83111/main.spi
00:40:45 verbose #30863 > >
00:40:45 verbose #30864 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:45 verbose #30865 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:45 verbose #30866 > > │ ### dir_entry_path                                                           │
00:40:45 verbose #30867 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:45 verbose #30868 > >
00:40:45 verbose #30869 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:45 verbose #30870 > > inl dir_entry_path (dir_entry : dir_entry) : path_buf =
00:40:45 verbose #30871 > >     !\\(dir_entry, $'"async_walkdir::DirEntry::path(&$0)"')
00:40:45 verbose #30872 > 00:40:44   debug #1657 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d1005fd7fa3e16aa142491640e6fbde7dcdd00d93cbf8a671d0e54823ec74b28/main.spi
00:40:45 verbose #30873 > >
00:40:45 verbose #30874 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:45 verbose #30875 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:45 verbose #30876 > > │ ### create_dir_all                                                           │
00:40:45 verbose #30877 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:45 verbose #30878 > >
00:40:45 verbose #30879 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:45 verbose #30880 > > inl create_dir_all (path : string) : resultm.result' () stream.io_error =
00:40:45 verbose #30881 > >     !\\(path, $'"std::fs::create_dir_all(&*$0)"')
00:40:46 verbose #30882 > 00:40:45   debug #1658 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/364eef7f2f6dadf648b2245551ba22bdd306c48e03da72aaef0b5eb086cd115d/main.spi
00:40:46 verbose #30883 > >
00:40:46 verbose #30884 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:46 verbose #30885 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:46 verbose #30886 > > │ ### read_link                                                                │
00:40:46 verbose #30887 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:46 verbose #30888 > >
00:40:46 verbose #30889 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:46 verbose #30890 > > inl read_link (path : string) : resultm.result' path_buf stream.io_error =
00:40:46 verbose #30891 > >     !\\(path, $'"std::fs::read_link(&*$0)"')
00:40:46 verbose #30892 > 00:40:45   debug #1659 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b16af43b01b305e2691cd96335e7ad4776fff2fabcd5e2a21d62f1b5fd6d1b4c/main.spi
00:40:46 verbose #30893 > >
00:40:46 verbose #30894 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:46 verbose #30895 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:46 verbose #30896 > > │ ### read                                                                     │
00:40:46 verbose #30897 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:46 verbose #30898 > >
00:40:46 verbose #30899 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:46 verbose #30900 > > inl read (path : string) : resultm.result' (am'.vec u8) stream.io_error =
00:40:46 verbose #30901 > >     !\\(path, $'"std::fs::read(&*$0)"')
00:40:46 verbose #30902 > 00:40:46   debug #1660 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0ee1341b9372554094364905b6c305c6a8776cf5a6ef5478402f81cf16ad1a5f/main.spi
00:40:47 verbose #30903 > >
00:40:47 verbose #30904 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:47 verbose #30905 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:47 verbose #30906 > > │ ## typescript                                                                │
00:40:47 verbose #30907 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:47 verbose #30908 > >
00:40:47 verbose #30909 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:47 verbose #30910 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:47 verbose #30911 > > │ ### ts_path_join                                                             │
00:40:47 verbose #30912 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:47 verbose #30913 > >
00:40:47 verbose #30914 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:47 verbose #30915 > > inl ts_path_join (b : string) (a : string) : string =
00:40:47 verbose #30916 > >     open typescript_operators
00:40:47 verbose #30917 > >     global "type IPathJoin = abstract join: [[<System.ParamArray>]] paths:
00:40:47 verbose #30918 > > string[[]] -> string"
00:40:47 verbose #30919 > >     inl path : $'IPathJoin' = typescript.import_all "path"
00:40:47 verbose #30920 > >     !\\((join a, join b), $'"!path.join($0, $1)"')
00:40:47 verbose #30921 > 00:40:46   debug #1661 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1eb5550737b6f418a237583a5b3353ccb41358f4f5efe73263af23e09c9d93b9/main.spi
00:40:47 verbose #30922 > >
00:40:47 verbose #30923 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:47 verbose #30924 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:47 verbose #30925 > > │ ## file_system                                                               │
00:40:47 verbose #30926 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:47 verbose #30927 > >
00:40:47 verbose #30928 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:47 verbose #30929 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:47 verbose #30930 > > │ ### (< />)                                                                   │
00:40:47 verbose #30931 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:47 verbose #30932 > >
00:40:47 verbose #30933 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:47 verbose #30934 > > let (</>) (a : string) (b : string) : string =
00:40:47 verbose #30935 > >     run_target function
00:40:47 verbose #30936 > >         | Rust (Contract) => fun () => null ()
00:40:47 verbose #30937 > >         | Rust (Native) => fun () =>
00:40:47 verbose #30938 > >             a
00:40:47 verbose #30939 > >             |> sm'.to_std_string
00:40:47 verbose #30940 > >             |> new_path_buf
00:40:47 verbose #30941 > >             |> path_buf_join b
00:40:47 verbose #30942 > >             |> path_buf_display
00:40:47 verbose #30943 > >             |> sm'.format'
00:40:47 verbose #30944 > >             |> sm'.from_std_string
00:40:47 verbose #30945 > >         | TypeScript (Native) => fun () =>
00:40:47 verbose #30946 > >             a |> ts_path_join b
00:40:47 verbose #30947 > >         | Fsharp (Native) => fun () =>
00:40:47 verbose #30948 > >             $'System.IO.Path.Combine (!a, !b)'
00:40:47 verbose #30949 > >         | target => fun () => failwith $'$"file_system.(</>) / target: {!target}
00:40:47 verbose #30950 > > / a: {!a} / b: {!b}"'
00:40:47 verbose #30951 > 00:40:46   debug #1662 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/24109f193e518ded0564058186898e1e23aa6a41284a0a486e88bc6684eac132/main.spi
00:40:47 verbose #30952 > >
00:40:47 verbose #30953 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:47 verbose #30954 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:47 verbose #30955 > > │ ### get_temp_path                                                            │
00:40:47 verbose #30956 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:47 verbose #30957 > >
00:40:47 verbose #30958 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:47 verbose #30959 > > let get_temp_path () : string =
00:40:47 verbose #30960 > >     run_target function
00:40:47 verbose #30961 > >         | Rust (Contract) => fun () => null ()
00:40:47 verbose #30962 > >         | Rust (Native) => fun () =>
00:40:47 verbose #30963 > >             !\($'"std::env::temp_dir()"')
00:40:47 verbose #30964 > >             |> path_buf_display
00:40:47 verbose #30965 > >             |> sm'.format'
00:40:47 verbose #30966 > >             |> sm'.from_std_string
00:40:47 verbose #30967 > >         | Fsharp (Native) => fun () =>
00:40:47 verbose #30968 > >             $'System.IO.Path.GetTempPath' ()
00:40:47 verbose #30969 > >         | target => fun () => failwith $'$"file_system.get_temp_path / target:
00:40:47 verbose #30970 > > {!target}"'
00:40:48 verbose #30971 > 00:40:47   debug #1663 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/cf93fb8ccb5fa6ffe6059798dcb3f7a6543e774e7dcd3ec0e08d19f40bbe8020/main.spi
00:40:48 verbose #30972 > >
00:40:48 verbose #30973 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:48 verbose #30974 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:48 verbose #30975 > > │ ### get_file_name                                                            │
00:40:48 verbose #30976 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:48 verbose #30977 > >
00:40:48 verbose #30978 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:48 verbose #30979 > > let get_file_name (path : string) : string =
00:40:48 verbose #30980 > >     run_target function
00:40:48 verbose #30981 > >         | Rust (Contract) => fun () => null ()
00:40:48 verbose #30982 > >         | Rust (Native) => fun () =>
00:40:48 verbose #30983 > >             inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:40:48 verbose #30984 > >             !\\(path_buf, $'"$0.file_name()"')
00:40:48 verbose #30985 > >             |> optionm'.unwrap
00:40:48 verbose #30986 > >             |> sm'.from_os_str_ref
00:40:48 verbose #30987 > >         | Fsharp (Native) => fun () =>
00:40:48 verbose #30988 > >             path |> $'System.IO.Path.GetFileName'
00:40:48 verbose #30989 > >         | target => fun () => failwith $'$"file_system.get_file_name / target:
00:40:48 verbose #30990 > > {!target} / path: {!path}"'
00:40:48 verbose #30991 > 00:40:47   debug #1664 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8d222c145b1584faa8a72511c43abe5a6dd073e6c9a35138a9fc18d24aa93723/main.spi
00:40:48 verbose #30992 > >
00:40:48 verbose #30993 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:48 verbose #30994 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:48 verbose #30995 > > │ ### get_file_name_without_extension                                          │
00:40:48 verbose #30996 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:48 verbose #30997 > >
00:40:48 verbose #30998 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:48 verbose #30999 > > let get_file_name_without_extension (path : string) : string =
00:40:48 verbose #31000 > >     run_target function
00:40:48 verbose #31001 > >         | Rust (Contract) => fun () => null ()
00:40:48 verbose #31002 > >         | Rust (Native) => fun () =>
00:40:48 verbose #31003 > >             inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:40:48 verbose #31004 > >             !\\(path_buf, $'"$0.file_stem()"')
00:40:48 verbose #31005 > >             |> optionm'.unwrap
00:40:48 verbose #31006 > >             |> sm'.from_os_str_ref
00:40:48 verbose #31007 > >         | _ => fun () =>
00:40:48 verbose #31008 > >             path |> $'System.IO.Path.GetFileNameWithoutExtension'
00:40:48 verbose #31009 > 00:40:47   debug #1665 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2ab3f74f5bc5fec67da589071af5b0ad33b92ddd113651393ff99cc2c51c15f5/main.spi
00:40:49 verbose #31010 > >
00:40:49 verbose #31011 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:49 verbose #31012 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:49 verbose #31013 > > │ ### get_directory_name                                                       │
00:40:49 verbose #31014 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:49 verbose #31015 > >
00:40:49 verbose #31016 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:49 verbose #31017 > > let get_directory_name (path : string) : string =
00:40:49 verbose #31018 > >     run_target function
00:40:49 verbose #31019 > >         | Rust (Contract) => fun () => null ()
00:40:49 verbose #31020 > >         | Rust (Native) => fun () =>
00:40:49 verbose #31021 > >             inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:40:49 verbose #31022 > >             !\\(path_buf, $'"$0.parent()"')
00:40:49 verbose #31023 > >             |> optionm'.unwrap
00:40:49 verbose #31024 > >             |> path_display
00:40:49 verbose #31025 > >             |> sm'.format'
00:40:49 verbose #31026 > >             |> sm'.from_std_string
00:40:49 verbose #31027 > >         | _ => fun () =>
00:40:49 verbose #31028 > >             path |> $'System.IO.Path.GetDirectoryName'
00:40:49 verbose #31029 > 00:40:48   debug #1666 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/23e5aa6b528a6e5a8c50efd9f880451a832656b3c430a02b239325cbecda1f58/main.spi
00:40:49 verbose #31030 > >
00:40:49 verbose #31031 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:49 verbose #31032 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:49 verbose #31033 > > │ ### get_extension                                                            │
00:40:49 verbose #31034 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:49 verbose #31035 > >
00:40:49 verbose #31036 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:49 verbose #31037 > > let get_extension (path : string) : string =
00:40:49 verbose #31038 > >     run_target function
00:40:49 verbose #31039 > >         | Rust (Contract) => fun () => null ()
00:40:49 verbose #31040 > >         | Rust (Native) => fun () =>
00:40:49 verbose #31041 > >             inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:40:49 verbose #31042 > >             !\\(path_buf, $'"$0.extension()"')
00:40:49 verbose #31043 > >             |> optionm'.unwrap
00:40:49 verbose #31044 > >             |> sm'.from_os_str_ref
00:40:49 verbose #31045 > >         | _ => fun () =>
00:40:49 verbose #31046 > >             path |> $'System.IO.Path.GetExtension'
00:40:49 verbose #31047 > 00:40:48   debug #1667 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bae7a615fafd1606183a303b44d87b26c3b7a4d624540413c540a0de53230c65/main.spi
00:40:49 verbose #31048 > >
00:40:49 verbose #31049 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:49 verbose #31050 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:49 verbose #31051 > > │ ### directory_separator_char                                                 │
00:40:49 verbose #31052 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:49 verbose #31053 > >
00:40:49 verbose #31054 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:49 verbose #31055 > > let directory_separator_char () : char =
00:40:49 verbose #31056 > >     run_target function
00:40:49 verbose #31057 > >         | Rust (Native) => fun () =>
00:40:49 verbose #31058 > >             !\($'"std::path::MAIN_SEPARATOR"')
00:40:49 verbose #31059 > >         | _ => fun () =>
00:40:49 verbose #31060 > >             $'System.IO.Path.DirectorySeparatorChar'
00:40:50 verbose #31061 > 00:40:49   debug #1668 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/209dccd320d4c8b9a772424bd28ad3a8ce67a51b565d1491bfabad7aca118233/main.spi
00:40:50 verbose #31062 > >
00:40:50 verbose #31063 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:50 verbose #31064 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:50 verbose #31065 > > │ ### get_current_directory                                                    │
00:40:50 verbose #31066 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:50 verbose #31067 > >
00:40:50 verbose #31068 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:50 verbose #31069 > > let get_current_directory () : string =
00:40:50 verbose #31070 > >     run_target function
00:40:50 verbose #31071 > >         | Rust (Contract | Wasm) => fun () => null ()
00:40:50 verbose #31072 > >         | Rust (Native) => fun () =>
00:40:50 verbose #31073 > >             inl current_dir = !\($'"std::env::current_dir()"') : resultm.result'
00:40:50 verbose #31074 > > path_buf stream.io_error
00:40:50 verbose #31075 > >             current_dir
00:40:50 verbose #31076 > >             |> resultm.unwrap'
00:40:50 verbose #31077 > >             |> path_buf_display
00:40:50 verbose #31078 > >             |> sm'.format'
00:40:50 verbose #31079 > >             |> sm'.from_std_string
00:40:50 verbose #31080 > >         | Fsharp (Native) => fun () =>
00:40:50 verbose #31081 > >             $'System.IO.Directory.GetCurrentDirectory' ()
00:40:50 verbose #31082 > >         | _ => fun () => null ()
00:40:50 verbose #31083 > 00:40:49   debug #1669 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bdedda6a99adb5e4ddeb0e9fa7960ac6f8a195a6d431016159bcea6a456dc272/main.spi
00:40:50 verbose #31084 > >
00:40:50 verbose #31085 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:50 verbose #31086 > > //// test
00:40:50 verbose #31087 > >
00:40:50 verbose #31088 > > get_current_directory ()
00:40:50 verbose #31089 > > |> _assert_contains (directory_separator_char ())
00:40:50 verbose #31090 > 00:40:49   debug #1670 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/4474f17bd11f7b14de64d5d8f5ea86d990f9985ad922f425a964529aa0aff6b9/main.spi
00:40:51 verbose #31091 > >
00:40:51 verbose #31092 > > ╭─[ 880.46ms - stdout ]────────────────────────────────────────────────────────╮
00:40:51 verbose #31093 > > │ __assert_contains / actual: "C:\home\git\polyglot\lib\spiral" / expected:    │
00:40:51 verbose #31094 > > │ '\\'                                                                         │
00:40:51 verbose #31095 > > │                                                                              │
00:40:51 verbose #31096 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:51 verbose #31097 > >
00:40:51 verbose #31098 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:51 verbose #31099 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:51 verbose #31100 > > │ ### normalize_path                                                           │
00:40:51 verbose #31101 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:51 verbose #31102 > >
00:40:51 verbose #31103 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:51 verbose #31104 > > let normalize_path (path : string) : string =
00:40:51 verbose #31105 > >     if path = ""
00:40:51 verbose #31106 > >     then ""
00:40:51 verbose #31107 > >     else
00:40:51 verbose #31108 > >         inl path = path |> sm'.replace_regex @"^\\\\\?\\" ""
00:40:51 verbose #31109 > >         $'$"{!path.[[0]] |> string |> _.ToLower()}{!path.[[1..]]}"' |>
00:40:51 verbose #31110 > > sm'.replace "\\" "/"
00:40:51 verbose #31111 > 00:40:50   debug #1671 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/18eda7a1d5ac7c67bffca610adb25b0357be632a1144f4d0a0c9be6e311f5c51/main.spi
00:40:51 verbose #31112 > >
00:40:51 verbose #31113 > > ── markdown ────────────────────────────────────────────────────────────────────
00:40:51 verbose #31114 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:40:51 verbose #31115 > > │ ### get_full_path                                                            │
00:40:51 verbose #31116 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:51 verbose #31117 > >
00:40:51 verbose #31118 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:51 verbose #31119 > > let get_full_path (path : string) : string =
00:40:51 verbose #31120 > >     run_target_args (fun () => path) function
00:40:51 verbose #31121 > >         | Fsharp (Native) => fun path =>
00:40:51 verbose #31122 > >             path |> $'System.IO.Path.GetFullPath'
00:40:51 verbose #31123 > >         | Rust (Native) => fun path =>
00:40:51 verbose #31124 > >             inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:40:51 verbose #31125 > >             if path_buf |> path_buf_exists |> not then
00:40:51 verbose #31126 > >                 inl current_dir = get_current_directory ()
00:40:51 verbose #31127 > >                 current_dir </> path
00:40:51 verbose #31128 > >                 |> normalize_path
00:40:51 verbose #31129 > >                 |> sm'.split "/"
00:40:51 verbose #31130 > >                 |> fun x =>
00:40:51 verbose #31131 > >                     ((a x : _ i32 _), (0i32, (a ;[[]] : _ i32 _)))
00:40:51 verbose #31132 > >                     ||> am.foldBack fun x level, acc =>
00:40:51 verbose #31133 > >                         match x, level with
00:40:51 verbose #31134 > >                         | "..", _ => level + 1, acc
00:40:51 verbose #31135 > >                         | ".", _ => level, acc
00:40:51 verbose #31136 > >                         | _, 0 when x |> sm'.ends_with ":" => 0, a ;[[
00:40:51 verbose #31137 > > $'$"{!current_dir.[[0]]}:"' ]] ++ acc
00:40:51 verbose #31138 > >                         | _, 0 => 0, a ;[[ x ]] ++ acc
00:40:51 verbose #31139 > >                         | _ => level - 1, acc
00:40:51 verbose #31140 > >                 |> snd
00:40:51 verbose #31141 > >                 |> seq.of_array'
00:40:51 verbose #31142 > >                 |> sm'.concat (directory_separator_char () |> sm'.obj_to_string)
00:40:51 verbose #31143 > >             else
00:40:51 verbose #31144 > >                 inl path = !\\(path, $'"std::fs::canonicalize(&*$0)"') :
00:40:51 verbose #31145 > > resultm.result' path_buf stream.io_error
00:40:51 verbose #31146 > >                 path
00:40:51 verbose #31147 > >                 |> resultm.unwrap'
00:40:51 verbose #31148 > >                 |> path_buf_display
00:40:51 verbose #31149 > >                 |> sm'.format'
00:40:51 verbose #31150 > >                 |> sm'.from_std_string
00:40:51 verbose #31151 > >         | _ => fun _ => null ()
00:40:52 verbose #31152 > 00:40:51   debug #1672 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/73e462526a820b4466deadfa7b81bec72582bf6c59a46f6a2b101a32fa00bb2e/main.spi
00:40:52 verbose #31153 > >
00:40:52 verbose #31154 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:52 verbose #31155 > > //// test
00:40:52 verbose #31156 > >
00:40:52 verbose #31157 > > "."
00:40:52 verbose #31158 > > |> get_full_path
00:40:52 verbose #31159 > > |> directory_info
00:40:52 verbose #31160 > > |> directory_info_name
00:40:52 verbose #31161 > > |> _assert_eq "spiral"
00:40:52 verbose #31162 > 00:40:51   debug #1673 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/308432ef90355a406ee79e0047a43775149d53b3ab3413a9af7bbeb4a520f413/main.spi
00:40:52 verbose #31163 > >
00:40:52 verbose #31164 > > ╭─[ 642.60ms - stdout ]────────────────────────────────────────────────────────╮
00:40:52 verbose #31165 > > │ __assert_eq / actual: "spiral" / expected: "spiral"                          │
00:40:52 verbose #31166 > > │                                                                              │
00:40:52 verbose #31167 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:52 verbose #31168 > >
00:40:52 verbose #31169 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:52 verbose #31170 > > //// test
00:40:52 verbose #31171 > >
00:40:52 verbose #31172 > > "dir/.././._file"
00:40:52 verbose #31173 > > |> get_full_path
00:40:52 verbose #31174 > > |> _assert_eq (get_current_directory () </> "._file")
00:40:53 verbose #31175 > 00:40:52   debug #1674 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b836cee5c7f7cb4b607fadf02f7e3c9b3bb4ef44f704a63f9ca40399bb5d9a92/main.spi
00:40:53 verbose #31176 > >
00:40:53 verbose #31177 > > ╭─[ 492.41ms - stdout ]────────────────────────────────────────────────────────╮
00:40:53 verbose #31178 > > │ __assert_eq / actual: "C:\home\git\polyglot\lib\spiral\._file" / expected:   │
00:40:53 verbose #31179 > > │ "C:\home\git\polyglot\lib\spiral\._file"                                     │
00:40:53 verbose #31180 > > │                                                                              │
00:40:53 verbose #31181 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:53 verbose #31182 > >
00:40:53 verbose #31183 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:53 verbose #31184 > > //// test
00:40:53 verbose #31185 > > ///! rust -d regex
00:40:53 verbose #31186 > >
00:40:53 verbose #31187 > > "."
00:40:53 verbose #31188 > > |> get_full_path
00:40:53 verbose #31189 > > |> sm'.to_std_string
00:40:53 verbose #31190 > > |> new_path_buf
00:40:53 verbose #31191 > > |> path_buf_file_name
00:40:53 verbose #31192 > > |> optionm'.unwrap
00:40:53 verbose #31193 > > |> sm'.from_os_str_ref
00:40:53 verbose #31194 > > |> _assert_eq "spiral"
00:40:53 verbose #31195 > 00:40:52   debug #1675 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d5bd9d9df54d0c7bda3a64440bf349944e41206f4d85b31046c0696ed58bb0b/main.spi
00:40:58 verbose #31196 > >
00:40:58 verbose #31197 > > ╭─[ 5.08s - return value ]─────────────────────────────────────────────────────╮
00:40:58 verbose #31198 > > │ __assert_eq / actual: "spiral" / expected: "spiral"                          │
00:40:58 verbose #31199 > > │                                                                              │
00:40:58 verbose #31200 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:40:58 verbose #31201 > >
00:40:58 verbose #31202 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:40:58 verbose #31203 > > //// test
00:40:58 verbose #31204 > > ///! rust -d regex
00:40:58 verbose #31205 > >
00:40:58 verbose #31206 > > "dir/.././._file"
00:40:58 verbose #31207 > > |> get_full_path
00:40:58 verbose #31208 > > |> _assert_eq (get_current_directory () </> "._file")
00:40:58 verbose #31209 > 00:40:57   debug #1676 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/84bf965de89aac5c17606050c02e429a117cc4b2d71b25ccecebbcc0b48db821/main.spi
00:41:02 verbose #31210 > >
00:41:02 verbose #31211 > > ╭─[ 4.37s - return value ]─────────────────────────────────────────────────────╮
00:41:02 verbose #31212 > > │ __assert_eq / actual: "C:\home\git\polyglot\lib\spiral\._file" / expected:   │
00:41:02 verbose #31213 > > │ "C:\home\git\polyglot\lib\spiral\._file"                                     │
00:41:02 verbose #31214 > > │                                                                              │
00:41:02 verbose #31215 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:02 verbose #31216 > >
00:41:02 verbose #31217 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:02 verbose #31218 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:02 verbose #31219 > > │ ### create_temp_path'                                                        │
00:41:02 verbose #31220 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:02 verbose #31221 > >
00:41:02 verbose #31222 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:02 verbose #31223 > > let create_temp_path' (guid : guid.guid) =
00:41:02 verbose #31224 > >     run_target function
00:41:02 verbose #31225 > >         | Rust (Contract) => fun () => null ()
00:41:02 verbose #31226 > >         | _ => fun () =>
00:41:02 verbose #31227 > >             get_temp_path ()
00:41:02 verbose #31228 > >             </> (join "!create_temp_path_")
00:41:02 verbose #31229 > >             </> (env.get_entry_assembly_name ())
00:41:02 verbose #31230 > >             </> (guid |> sm'.obj_to_string)
00:41:03 verbose #31231 > 00:41:02   debug #1677 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/620c6602a8bad886a4800646cf7ae48a5f3159ddcccab8c3c7c0a076e5dd9f7e/main.spi
00:41:03 verbose #31232 > >
00:41:03 verbose #31233 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:03 verbose #31234 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:03 verbose #31235 > > │ ### create_temp_path                                                         │
00:41:03 verbose #31236 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:03 verbose #31237 > >
00:41:03 verbose #31238 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:03 verbose #31239 > > let create_temp_path () =
00:41:03 verbose #31240 > >     run_target function
00:41:03 verbose #31241 > >         | Rust (Contract) => fun () => null ()
00:41:03 verbose #31242 > >         | _ => fun () =>
00:41:03 verbose #31243 > >             date_time.now ()
00:41:03 verbose #31244 > >             |> date_time.new_guid_from_date_time
00:41:03 verbose #31245 > >             |> create_temp_path'
00:41:03 verbose #31246 > 00:41:02   debug #1678 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7644994894d725cd78034e0fd397b1b566f7b385f86d667331fcc6bfc288e4f3/main.spi
00:41:03 verbose #31247 > >
00:41:03 verbose #31248 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:03 verbose #31249 > > //// test
00:41:03 verbose #31250 > > ///! fsharp
00:41:03 verbose #31251 > > ///! rust -d chrono
00:41:03 verbose #31252 > >
00:41:03 verbose #31253 > > create_temp_path ()
00:41:03 verbose #31254 > > |> _assert_contains (directory_separator_char ())
00:41:03 verbose #31255 > 00:41:02   debug #1679 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/196d61adc8414f614a5b7bd748d179f81de9e9cd3a16612a3cca06899b1de7f0/main.spi
00:41:07 verbose #31256 > >
00:41:07 verbose #31257 > > ╭─[ 4.08s - return value ]─────────────────────────────────────────────────────╮
00:41:07 verbose #31258 > > │ .rs output (rust -d chrono):                                                 │
00:41:07 verbose #31259 > > │ __assert_contains / actual:                                                  │
00:41:07 verbose #31260 > > │ "C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_567fb5c │
00:41:07 verbose #31261 > > │ e8e45dcd003d7c8559e0b7785123cc5cf3a299bac2bd5b728550ae998\20240911-2303-1467 │
00:41:07 verbose #31262 > > │ -7249-000000818a6c" / expected: '\\'                                         │
00:41:07 verbose #31263 > > │                                                                              │
00:41:07 verbose #31264 > > │                                                                              │
00:41:07 verbose #31265 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:07 verbose #31266 > >
00:41:07 verbose #31267 > > ╭─[ 4.08s - stdout ]───────────────────────────────────────────────────────────╮
00:41:07 verbose #31268 > > │ .fsx output:                                                                 │
00:41:07 verbose #31269 > > │ __assert_contains / actual:                                                  │
00:41:07 verbose #31270 > > │ "C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\20240911-2 │
00:41:07 verbose #31271 > > │ 303-1504-0404-0004008e9e0d" / expected: '\\'                                 │
00:41:07 verbose #31272 > > │                                                                              │
00:41:07 verbose #31273 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:07 verbose #31274 > >
00:41:07 verbose #31275 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:07 verbose #31276 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:07 verbose #31277 > > │ ### directory_exists                                                         │
00:41:07 verbose #31278 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:07 verbose #31279 > >
00:41:07 verbose #31280 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:07 verbose #31281 > > let directory_exists (path : string) : bool =
00:41:07 verbose #31282 > >     run_target function
00:41:07 verbose #31283 > >         | Fsharp (Native) => fun () =>
00:41:07 verbose #31284 > >             path |> $'System.IO.Directory.Exists'
00:41:07 verbose #31285 > >         | Rust (Native) => fun () =>
00:41:07 verbose #31286 > >             inl path = path |> sm'.to_std_string |> new_path_buf
00:41:07 verbose #31287 > >             path_buf_exists path || path_buf_is_dir path || path_buf_is_symlink
00:41:07 verbose #31288 > > path
00:41:07 verbose #31289 > >         | TypeScript (Native) => fun () =>
00:41:07 verbose #31290 > >             global "type IFsExistsSync = abstract existsSync: path: string ->
00:41:07 verbose #31291 > > bool"
00:41:07 verbose #31292 > >             open typescript_operators
00:41:07 verbose #31293 > >             inl fs : $'IFsExistsSync' = typescript.import_all "fs"
00:41:07 verbose #31294 > >             !\\((fs, path), $'"$0.existsSync($1)"')
00:41:07 verbose #31295 > >         | _ => fun () => null ()
00:41:07 verbose #31296 > 00:41:06   debug #1680 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76e42929fd2079f00b2c9352a9849c24a92da1b215d4a41fe69840939dbcbefa/main.spi
00:41:08 verbose #31297 > >
00:41:08 verbose #31298 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:08 verbose #31299 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:08 verbose #31300 > > │ ### directory_get_parent                                                     │
00:41:08 verbose #31301 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:08 verbose #31302 > >
00:41:08 verbose #31303 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:08 verbose #31304 > > let directory_get_parent (path : string) : optionm'.option' string =
00:41:08 verbose #31305 > >     run_target function
00:41:08 verbose #31306 > >         | Fsharp (Native) => fun () =>
00:41:08 verbose #31307 > >             inl parent : directory_info = path |>
00:41:08 verbose #31308 > > $'System.IO.Directory.GetParent'
00:41:08 verbose #31309 > >             if parent =. null ()
00:41:08 verbose #31310 > >             then None
00:41:08 verbose #31311 > >             else parent |> directory_info_full_name |> Some
00:41:08 verbose #31312 > >         | Rust (Native) => fun () =>
00:41:08 verbose #31313 > >             path
00:41:08 verbose #31314 > >             |> sm'.to_std_string
00:41:08 verbose #31315 > >             |> new_path_buf
00:41:08 verbose #31316 > >             |> path_buf_parent
00:41:08 verbose #31317 > >             |> optionm'.try'
00:41:08 verbose #31318 > >             |> path_buf_display
00:41:08 verbose #31319 > >             |> sm'.format'
00:41:08 verbose #31320 > >             |> sm'.from_std_string
00:41:08 verbose #31321 > >             |> Some
00:41:08 verbose #31322 > >         | TypeScript _ => fun () =>
00:41:08 verbose #31323 > >             open typescript_operators
00:41:08 verbose #31324 > >             global "type IPathDirname = abstract dirname: path: string ->
00:41:08 verbose #31325 > > string"
00:41:08 verbose #31326 > >             inl fs : $'IPathDirname' = typescript.import_all "path"
00:41:08 verbose #31327 > >             !\\(path, $'"!fs.dirname($0)"') |> Some
00:41:08 verbose #31328 > >         | _ => fun () => null ()
00:41:08 verbose #31329 > >     |> optionm'.box
00:41:08 verbose #31330 > 00:41:07   debug #1681 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f3fe7b664e118c7f7c455f6231906a048c0144256078148714905aca49d2b59c/main.spi
00:41:08 verbose #31331 > >
00:41:08 verbose #31332 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:08 verbose #31333 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:08 verbose #31334 > > │ ### file_copy                                                                │
00:41:08 verbose #31335 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:08 verbose #31336 > >
00:41:08 verbose #31337 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:08 verbose #31338 > > let file_copy (new_path : string) (old_path : string) : () =
00:41:08 verbose #31339 > >     run_target function
00:41:08 verbose #31340 > >         | Fsharp (Native) => fun () =>
00:41:08 verbose #31341 > >             $'System.IO.File.Copy (!old_path, !new_path, true)'
00:41:08 verbose #31342 > >         | Rust (Native) => fun () =>
00:41:08 verbose #31343 > >             inl new_path = join new_path
00:41:08 verbose #31344 > >             !\\(old_path, $'"std::fs::copy(&*$0, &*!new_path)"')
00:41:08 verbose #31345 > >             |> fun x => x : _ u64 stream.io_error
00:41:08 verbose #31346 > >             |> resultm.unwrap'
00:41:08 verbose #31347 > >             |> ignore
00:41:08 verbose #31348 > >         | _ => fun () => ()
00:41:08 verbose #31349 > 00:41:07   debug #1682 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1232789977521df60a22833b8b4bfa3421776e7c3e8e1ed5a6c8dc179d8c99db/main.spi
00:41:08 verbose #31350 > >
00:41:08 verbose #31351 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:08 verbose #31352 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:08 verbose #31353 > > │ ### file_exists                                                              │
00:41:08 verbose #31354 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:08 verbose #31355 > >
00:41:08 verbose #31356 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:08 verbose #31357 > > let file_exists (path : string) : bool =
00:41:08 verbose #31358 > >     run_target function
00:41:08 verbose #31359 > >         | Fsharp (Native) => fun () =>
00:41:08 verbose #31360 > >             path |> $'System.IO.File.Exists'
00:41:08 verbose #31361 > >         | Rust (Native) => fun () =>
00:41:08 verbose #31362 > >             inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:41:08 verbose #31363 > >             path_buf_exists path_buf && path_buf_is_file path_buf
00:41:08 verbose #31364 > >         | TypeScript (Native) => fun () =>
00:41:08 verbose #31365 > >             open typescript_operators
00:41:08 verbose #31366 > >             global "type IFsExistsSync = abstract existsSync: path: string ->
00:41:08 verbose #31367 > > bool"
00:41:08 verbose #31368 > >             inl fs : $'IFsExistsSync' = typescript.import_all "fs"
00:41:08 verbose #31369 > >             !\\((fs, path), $'"$0.existsSync($1)"')
00:41:08 verbose #31370 > >         | _ => fun () => null ()
00:41:09 verbose #31371 > 00:41:08   debug #1683 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/43a5a3a888c6c6e22954b282bdcd45210ab38794a9dd8ffe136336ac9fa00007/main.spi
00:41:09 verbose #31372 > >
00:41:09 verbose #31373 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:09 verbose #31374 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:09 verbose #31375 > > │ ### directory_delete                                                         │
00:41:09 verbose #31376 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:09 verbose #31377 > >
00:41:09 verbose #31378 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:09 verbose #31379 > > let directory_delete recursive (path : string) : () =
00:41:09 verbose #31380 > >     run_target function
00:41:09 verbose #31381 > >         | Fsharp (Native) => fun () =>
00:41:09 verbose #31382 > >             $'System.IO.Directory.Delete (!path, !recursive)'
00:41:09 verbose #31383 > >         | Rust (Native) => fun () =>
00:41:09 verbose #31384 > >             inl path = join path
00:41:09 verbose #31385 > >             if path |> directory_exists then
00:41:09 verbose #31386 > >                 if recursive
00:41:09 verbose #31387 > >                 then !\\(path, $'"std::fs::remove_dir_all(&*$0).unwrap()"')
00:41:09 verbose #31388 > >                 else !\\(path, $'"std::fs::remove_dir(&*$0).unwrap()"')
00:41:09 verbose #31389 > >         | _ => fun () => ()
00:41:09 verbose #31390 > 00:41:08   debug #1684 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/28813f2176766751ebb1769cb93ffa23e2f1f4026944c91cca991585cc2a317d/main.spi
00:41:09 verbose #31391 > >
00:41:09 verbose #31392 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:09 verbose #31393 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:09 verbose #31394 > > │ ### write_all_text                                                           │
00:41:09 verbose #31395 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:09 verbose #31396 > >
00:41:09 verbose #31397 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:09 verbose #31398 > > inl write_all_text (path : string) (text : string) : () =
00:41:09 verbose #31399 > >     run_target function
00:41:09 verbose #31400 > >         | Fsharp (Native) => fun () =>
00:41:09 verbose #31401 > >             inl text = join text
00:41:09 verbose #31402 > >             $'System.IO.File.WriteAllText (!path, !text)'
00:41:09 verbose #31403 > >         | Rust (Native) => fun () =>
00:41:09 verbose #31404 > >             !\\((path, text), $'"std::fs::write(&*$0, &*$1).unwrap()"')
00:41:09 verbose #31405 > >         | _ => fun () => ()
00:41:09 verbose #31406 > 00:41:08   debug #1685 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6f9909cc45eafb32fc2ae4cbdfffc5e8b714d5e23e3065332607a70b6ff81fed/main.spi
00:41:10 verbose #31407 > >
00:41:10 verbose #31408 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:10 verbose #31409 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:10 verbose #31410 > > │ ### read_all_bytes                                                           │
00:41:10 verbose #31411 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:10 verbose #31412 > >
00:41:10 verbose #31413 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:10 verbose #31414 > > inl read_all_bytes (path : string) : am'.vec u8 =
00:41:10 verbose #31415 > >     run_target function
00:41:10 verbose #31416 > >         | Fsharp (Native) => fun () =>
00:41:10 verbose #31417 > >             $'!path |> System.IO.File.ReadAllBytes'
00:41:10 verbose #31418 > >             |> am'.to_vec
00:41:10 verbose #31419 > >         | Rust (Native) => fun () =>
00:41:10 verbose #31420 > >             path |> read |> resultm.unwrap'
00:41:10 verbose #31421 > >         | _ => fun () => null ()
00:41:10 verbose #31422 > 00:41:09   debug #1686 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fdbe62ff5728d05496faa56a8c5aa9fd12052ba73c60f8dca435f7fbc73d12b8/main.spi
00:41:10 verbose #31423 > >
00:41:10 verbose #31424 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:10 verbose #31425 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:10 verbose #31426 > > │ ### read_all_text                                                            │
00:41:10 verbose #31427 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:10 verbose #31428 > >
00:41:10 verbose #31429 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:10 verbose #31430 > > inl read_all_text (path : string) : string =
00:41:10 verbose #31431 > >     run_target function
00:41:10 verbose #31432 > >         | Fsharp (Native) => fun () =>
00:41:10 verbose #31433 > >             $'!path |> System.IO.File.ReadAllText'
00:41:10 verbose #31434 > >         | Rust (Native) => fun () =>
00:41:10 verbose #31435 > >             path
00:41:10 verbose #31436 > >             |> read_all_bytes
00:41:10 verbose #31437 > >             |> sm'.string_from_utf8
00:41:10 verbose #31438 > >             |> resultm.unwrap'
00:41:10 verbose #31439 > >             |> sm'.from_std_string
00:41:10 verbose #31440 > >         | _ => fun () => null ()
00:41:10 verbose #31441 > 00:41:09   debug #1687 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/137c910ee81fbc0c827252356faac6e5628599c5c0af4547066fcc0f83f40333/main.spi
00:41:10 verbose #31442 > >
00:41:10 verbose #31443 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:10 verbose #31444 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:10 verbose #31445 > > │ ### directory_create_symbolic_link                                           │
00:41:10 verbose #31446 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:10 verbose #31447 > >
00:41:10 verbose #31448 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:10 verbose #31449 > > inl directory_create_symbolic_link (target : string) (path : string) : () =
00:41:10 verbose #31450 > >     run_target function
00:41:10 verbose #31451 > >         | Fsharp (Native) => fun () =>
00:41:10 verbose #31452 > >             ($'System.IO.Directory.CreateSymbolicLink (!path, !target)' :
00:41:10 verbose #31453 > > file_system_info)
00:41:10 verbose #31454 > >             |> ignore
00:41:10 verbose #31455 > >         | Rust (Native) => fun () =>
00:41:10 verbose #31456 > >             platform.run_platform function
00:41:10 verbose #31457 > >                 | Windows => fun () => !\\((target, path),
00:41:10 verbose #31458 > > $'"std::os::windows::fs::symlink_dir(&*$0, &*$1).unwrap()"')
00:41:10 verbose #31459 > >                 | _ => fun () => !\\((target, path),
00:41:10 verbose #31460 > > $'"std::os::unix::fs::symlink(&*$0, &*$1).unwrap()"')
00:41:10 verbose #31461 > >         | _ => fun () => ()
00:41:11 verbose #31462 > 00:41:10   debug #1688 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1eb2accba96fe81f94305bf089be222c73f9a73cb222dbeff3450cf18d714d53/main.spi
00:41:11 verbose #31463 > >
00:41:11 verbose #31464 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:11 verbose #31465 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:11 verbose #31466 > > │ ### find_parent                                                              │
00:41:11 verbose #31467 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:11 verbose #31468 > >
00:41:11 verbose #31469 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:11 verbose #31470 > > inl find_parent name is_file root_dir =
00:41:11 verbose #31471 > >     let rec loop dir =
00:41:11 verbose #31472 > >         if dir </> name |> (if is_file then file_exists else directory_exists)
00:41:11 verbose #31473 > >         then dir |> Ok
00:41:11 verbose #31474 > >         else
00:41:11 verbose #31475 > >             inl result = dir |> (join directory_get_parent)
00:41:11 verbose #31476 > >             match result |> optionm'.unbox with
00:41:11 verbose #31477 > >             | Some parent => parent |> loop
00:41:11 verbose #31478 > >             | None => ($'$"""No parent for {if !is_file then "file" else "dir"}
00:41:11 verbose #31479 > > \'{!name}\' at \'{!root_dir}\' (until \'{!dir}\')"""' : string) |> Error
00:41:11 verbose #31480 > >     loop root_dir
00:41:11 verbose #31481 > 00:41:10   debug #1689 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f3cc76cfc83e5e67e5e1ad50216f8e3f321485aeae59947e50b2a1b68d58d1f2/main.spi
00:41:11 verbose #31482 > >
00:41:11 verbose #31483 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:11 verbose #31484 > > //// test
00:41:11 verbose #31485 > >
00:41:11 verbose #31486 > > a ;[[ ".paket", false; "paket.dependencies", true ]]
00:41:11 verbose #31487 > > |> am.map fun (file, is_file) =>
00:41:11 verbose #31488 > >     get_source_directory ()
00:41:11 verbose #31489 > >     |> find_parent file is_file
00:41:11 verbose #31490 > >     |> resultm.get
00:41:11 verbose #31491 > >     |> directory_info
00:41:11 verbose #31492 > >     |> directory_info_name
00:41:11 verbose #31493 > > |> am'.distinct
00:41:11 verbose #31494 > > |> fun (a x : _ int _) => x
00:41:11 verbose #31495 > > |> _assert_eq' ;[[ "polyglot" ]]
00:41:12 verbose #31496 > 00:41:11   debug #1690 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8dd8ee1b203469cff78348daa08c6971e9ab95ef583ebf072a653b679107286b/main.spi
00:41:12 verbose #31497 > >
00:41:12 verbose #31498 > > ╭─[ 631.66ms - stdout ]────────────────────────────────────────────────────────╮
00:41:12 verbose #31499 > > │ __assert_eq' / actual: [|"polyglot"|] / expected: [|"polyglot"|]             │
00:41:12 verbose #31500 > > │                                                                              │
00:41:12 verbose #31501 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:12 verbose #31502 > >
00:41:12 verbose #31503 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:12 verbose #31504 > > //// test
00:41:12 verbose #31505 > > ///! rust
00:41:12 verbose #31506 > >
00:41:12 verbose #31507 > > a ;[[ ".paket", false; "paket.dependencies", true ]]
00:41:12 verbose #31508 > > |> am.map fun (file, is_file) =>
00:41:12 verbose #31509 > >     fun () =>
00:41:12 verbose #31510 > >         join
00:41:12 verbose #31511 > >             get_source_directory ()
00:41:12 verbose #31512 > >             |> find_parent file is_file
00:41:12 verbose #31513 > >             |> resultm.get
00:41:12 verbose #31514 > >             |> sm'.to_std_string
00:41:12 verbose #31515 > >             |> new_path_buf
00:41:12 verbose #31516 > >             |> path_buf_file_name
00:41:12 verbose #31517 > >             |> optionm'.try'
00:41:12 verbose #31518 > >             |> sm'.from_os_str_ref
00:41:12 verbose #31519 > >             |> Some
00:41:12 verbose #31520 > >             |> optionm'.box
00:41:12 verbose #31521 > >     |> fun x => x () |> optionm'.unbox
00:41:12 verbose #31522 > >     |> optionm'.default_value ""
00:41:12 verbose #31523 > > |> am'.distinct
00:41:12 verbose #31524 > > |> fun result =>
00:41:12 verbose #31525 > >     result |> am'.length |> _assert_eq 1i32
00:41:12 verbose #31526 > >     index result 0i32 |> _assert_eq "polyglot"
00:41:12 verbose #31527 > 00:41:11   debug #1691 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e839511cde5226468011c7e713f0ba1eb7b0fffb1f15f7544404b583575208b6/main.spi
00:41:16 verbose #31528 > >
00:41:16 verbose #31529 > > ╭─[ 4.08s - return value ]─────────────────────────────────────────────────────╮
00:41:16 verbose #31530 > > │ __assert_eq / actual: 1 / expected: 1                                        │
00:41:16 verbose #31531 > > │ __assert_eq / actual: "polyglot" / expected: "polyglot"                      │
00:41:16 verbose #31532 > > │                                                                              │
00:41:16 verbose #31533 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:16 verbose #31534 > >
00:41:16 verbose #31535 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:16 verbose #31536 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:16 verbose #31537 > > │ ### get_workspace_root                                                       │
00:41:16 verbose #31538 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:16 verbose #31539 > >
00:41:16 verbose #31540 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:16 verbose #31541 > > inl get_workspace_root () =
00:41:16 verbose #31542 > >     (None, [[ get_source_directory; get_current_directory ]])
00:41:16 verbose #31543 > >     ||> listm.fold fun acc path =>
00:41:16 verbose #31544 > >         match acc with
00:41:16 verbose #31545 > >         | Some path => Some path
00:41:16 verbose #31546 > >         | None =>
00:41:16 verbose #31547 > >             path ()
00:41:16 verbose #31548 > >             |> find_parent ("polyglot" </> ".devcontainer") false
00:41:16 verbose #31549 > >             |> function
00:41:16 verbose #31550 > >                 | Ok path => Some path
00:41:16 verbose #31551 > >                 | Error error =>
00:41:16 verbose #31552 > >                     trace Warning
00:41:16 verbose #31553 > >                         fun () => "file_system.get_workspace_root"
00:41:16 verbose #31554 > >                         fun () => { error }
00:41:16 verbose #31555 > >                     None
00:41:16 verbose #31556 > >     |> optionm.value
00:41:16 verbose #31557 > >     |> fun root => root </> "polyglot"
00:41:16 verbose #31558 > 00:41:15   debug #1692 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dcd13d680a97179ed3bdd7188c829601e2e40b4ab36890c168d9915bc9024056/main.spi
00:41:16 verbose #31559 > >
00:41:16 verbose #31560 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:16 verbose #31561 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:16 verbose #31562 > > │ ### get_workspace_root_external                                              │
00:41:16 verbose #31563 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:16 verbose #31564 > >
00:41:16 verbose #31565 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:16 verbose #31566 > > inl get_workspace_root_external () =
00:41:16 verbose #31567 > >     inl workspace_root = get_workspace_root ()
00:41:16 verbose #31568 > >     inl current_dir = get_current_directory () |> sm'.to_lower
00:41:16 verbose #31569 > >     inl workspace_root = workspace_root |> sm'.to_lower
00:41:16 verbose #31570 > >     if current_dir |> sm'.starts_with workspace_root
00:41:16 verbose #31571 > >     then Error workspace_root
00:41:16 verbose #31572 > >     else Ok workspace_root
00:41:17 verbose #31573 > 00:41:16   debug #1693 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bfebbe22d01e90f24f406bfabe03d637e3820d4e0d2a34847b7e9a0344d66968/main.spi
00:41:17 verbose #31574 > >
00:41:17 verbose #31575 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:17 verbose #31576 > > //// test
00:41:17 verbose #31577 > >
00:41:17 verbose #31578 > > get_workspace_root_external ()
00:41:17 verbose #31579 > > |> resultm.unwrap_err
00:41:17 verbose #31580 > > |> get_file_name
00:41:17 verbose #31581 > > |> _assert_eq "polyglot"
00:41:17 verbose #31582 > 00:41:16   debug #1694 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5334812e7b159133dfa621b1d4ae05d1232e44e53e29e7710de59ed8b4af7116/main.spi
00:41:18 verbose #31583 > >
00:41:18 verbose #31584 > > ╭─[ 893.46ms - stdout ]────────────────────────────────────────────────────────╮
00:41:18 verbose #31585 > > │ __assert_eq / actual: "polyglot" / expected: "polyglot"                      │
00:41:18 verbose #31586 > > │                                                                              │
00:41:18 verbose #31587 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:18 verbose #31588 > >
00:41:18 verbose #31589 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:18 verbose #31590 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:18 verbose #31591 > > │ ### standardize_path                                                         │
00:41:18 verbose #31592 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:18 verbose #31593 > >
00:41:18 verbose #31594 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:18 verbose #31595 > > let standardize_path path =
00:41:18 verbose #31596 > >     path |> get_full_path |> normalize_path
00:41:18 verbose #31597 > 00:41:17   debug #1695 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/744a88a718e99c5e68a8d523538420b5bcacc71407c4eedb79431b93a528c78b/main.spi
00:41:18 verbose #31598 > >
00:41:18 verbose #31599 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:18 verbose #31600 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:18 verbose #31601 > > │ ### absolute_path                                                            │
00:41:18 verbose #31602 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:18 verbose #31603 > >
00:41:18 verbose #31604 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:18 verbose #31605 > > let absolute_path path =
00:41:18 verbose #31606 > >     inl current_dir = get_current_directory ()
00:41:18 verbose #31607 > >     current_dir </> path |> standardize_path
00:41:18 verbose #31608 > 00:41:17   debug #1696 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/28be39a21e6415bafbbca0270ada4b340acb63539f348962e1f36958cf1a9f52/main.spi
00:41:19 verbose #31609 > >
00:41:19 verbose #31610 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:19 verbose #31611 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:19 verbose #31612 > > │ ### new_file_uri                                                             │
00:41:19 verbose #31613 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:19 verbose #31614 > >
00:41:19 verbose #31615 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:19 verbose #31616 > > inl new_file_uri (path : string) : string =
00:41:19 verbose #31617 > >     inl path = path |> sm'.trim_start [[ '/' ]]
00:41:19 verbose #31618 > >     $'$"file:///{!path}"'
00:41:19 verbose #31619 > 00:41:18   debug #1697 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b2d04e426cf14a418fbcf026287ffcf03d40ff46e7f3b6a393fbc3a6a635a570/main.spi
00:41:19 verbose #31620 > >
00:41:19 verbose #31621 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:19 verbose #31622 > > //// test
00:41:19 verbose #31623 > >
00:41:19 verbose #31624 > > @"\\?\C:\test"
00:41:19 verbose #31625 > > |> normalize_path
00:41:19 verbose #31626 > > |> new_file_uri
00:41:19 verbose #31627 > > |> _assert_eq "file:///c:/test"
00:41:19 verbose #31628 > 00:41:18   debug #1698 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d296af455c80e324af4e395b51db208e8a3214abb17b3aca50b9af8a31de81a8/main.spi
00:41:19 verbose #31629 > >
00:41:19 verbose #31630 > > ╭─[ 408.02ms - stdout ]────────────────────────────────────────────────────────╮
00:41:19 verbose #31631 > > │ __assert_eq / actual: "file:///c:/test" / expected: "file:///c:/test"        │
00:41:19 verbose #31632 > > │                                                                              │
00:41:19 verbose #31633 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:19 verbose #31634 > >
00:41:19 verbose #31635 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:19 verbose #31636 > > //// test
00:41:19 verbose #31637 > > ///! rust -d regex
00:41:19 verbose #31638 > >
00:41:19 verbose #31639 > > @"\\?\C:\test"
00:41:19 verbose #31640 > > |> normalize_path
00:41:19 verbose #31641 > > |> new_file_uri
00:41:19 verbose #31642 > > |> _assert_eq "file:///c:/test"
00:41:20 verbose #31643 > 00:41:19   debug #1699 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0c954d4da789938c8419809374572b175dd13447f52be3e2944c89361c00a9b4/main.spi
00:41:24 verbose #31644 > >
00:41:24 verbose #31645 > > ╭─[ 4.32s - return value ]─────────────────────────────────────────────────────╮
00:41:24 verbose #31646 > > │ __assert_eq / actual: "file:///c:/test" / expected: "file:///c:/test"        │
00:41:24 verbose #31647 > > │                                                                              │
00:41:24 verbose #31648 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:24 verbose #31649 > >
00:41:24 verbose #31650 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:24 verbose #31651 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:24 verbose #31652 > > │ ### file_delete                                                              │
00:41:24 verbose #31653 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:24 verbose #31654 > >
00:41:24 verbose #31655 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:24 verbose #31656 > > inl file_delete (path : string) : () =
00:41:24 verbose #31657 > >     run_target function
00:41:24 verbose #31658 > >         | Fsharp (Native) => fun () =>
00:41:24 verbose #31659 > >             path |> $'System.IO.File.Delete'
00:41:24 verbose #31660 > >         | Rust (Native) => fun () =>
00:41:24 verbose #31661 > >             !\\(path, $'"std::fs::remove_file(&*$0).unwrap()"')
00:41:24 verbose #31662 > >         | _ => fun () => ()
00:41:24 verbose #31663 > 00:41:23   debug #1700 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fefaeccc7e5984d59d5337f9e23d30070b419bf07ecee92f3b48e09f8cbb562d/main.spi
00:41:24 verbose #31664 > >
00:41:24 verbose #31665 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:24 verbose #31666 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:24 verbose #31667 > > │ ## fsharp                                                                    │
00:41:24 verbose #31668 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:24 verbose #31669 > >
00:41:24 verbose #31670 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:24 verbose #31671 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:24 verbose #31672 > > │ ### file_exists_content_async                                                │
00:41:24 verbose #31673 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:24 verbose #31674 > >
00:41:24 verbose #31675 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:24 verbose #31676 > > inl file_exists_content_async path content : async.async bool =
00:41:24 verbose #31677 > >     run_target function
00:41:24 verbose #31678 > >         | Fsharp (Native) => fun () =>
00:41:24 verbose #31679 > >             fun () =>
00:41:24 verbose #31680 > >                 fix_condition
00:41:24 verbose #31681 > >                     fun () => path |> file_exists |> not
00:41:24 verbose #31682 > >                     fun () => false |> return
00:41:24 verbose #31683 > >                     fun () =>
00:41:24 verbose #31684 > >                         inl existing_content = path |> read_all_text_async |>
00:41:24 verbose #31685 > > async.let'
00:41:24 verbose #31686 > >                         content = existing_content |> return
00:41:24 verbose #31687 > >             |> async.new_async_unit
00:41:24 verbose #31688 > >         | _ => fun () => null ()
00:41:24 verbose #31689 > 00:41:23   debug #1701 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3d989ecf34f151689293dcfe37e878f1121913dd83b1162e91862a5d9b7ae5ae/main.spi
00:41:25 verbose #31690 > >
00:41:25 verbose #31691 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:25 verbose #31692 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:25 verbose #31693 > > │ ### write_all_text_exists_async                                              │
00:41:25 verbose #31694 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:25 verbose #31695 > >
00:41:25 verbose #31696 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:25 verbose #31697 > > inl write_all_text_exists_async path contents =
00:41:25 verbose #31698 > >     fun () =>
00:41:25 verbose #31699 > >         inl exists' = contents |> file_exists_content_async path |> async.let'
00:41:25 verbose #31700 > >         if not exists'
00:41:25 verbose #31701 > >         then contents |> write_all_text_async path |> async.do
00:41:25 verbose #31702 > >     |> async.new_async
00:41:25 verbose #31703 > 00:41:24   debug #1702 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/10c41bd3559613fd86c49c03d238aaa64bf7e7b092a4ae51245be6fed3595dea/main.spi
00:41:25 verbose #31704 > >
00:41:25 verbose #31705 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:25 verbose #31706 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:25 verbose #31707 > > │ ### delete_directory_async                                                   │
00:41:25 verbose #31708 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:25 verbose #31709 > >
00:41:25 verbose #31710 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:25 verbose #31711 > > inl delete_directory_async path : _ i64 =
00:41:25 verbose #31712 > >     run_target function
00:41:25 verbose #31713 > >         | Fsharp (Native) => fun () =>
00:41:25 verbose #31714 > >             let rec loop (retry : i64) =
00:41:25 verbose #31715 > >                 fun () =>
00:41:25 verbose #31716 > >                     try_unit
00:41:25 verbose #31717 > >                         fun () =>
00:41:25 verbose #31718 > >                             path |> directory_delete true
00:41:25 verbose #31719 > >                             retry |> return
00:41:25 verbose #31720 > >                         fun ex =>
00:41:25 verbose #31721 > >                             if retry % 100i64 = 0 then
00:41:25 verbose #31722 > >                                 inl ex = ex |> sm'.format_exception
00:41:25 verbose #31723 > >                                 trace Debug
00:41:25 verbose #31724 > >                                     fun () =>
00:41:25 verbose #31725 > > "file_system.delete_directory_async"
00:41:25 verbose #31726 > >                                     fun () => { ex path = path |> get_file_name
00:41:25 verbose #31727 > > }
00:41:25 verbose #31728 > >                             async.sleep 10i32 |> async.do
00:41:25 verbose #31729 > >                             loop (retry + 1) |> async.return_await
00:41:25 verbose #31730 > >                 |> async.new_async
00:41:25 verbose #31731 > >             loop 0
00:41:25 verbose #31732 > >         | _ => fun () => null ()
00:41:25 verbose #31733 > 00:41:24   debug #1703 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f8655e5729c253e8b0d9fe749086a58973c17ebf899c44bc694c6631d63e6d23/main.spi
00:41:25 verbose #31734 > >
00:41:25 verbose #31735 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:25 verbose #31736 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:25 verbose #31737 > > │ ### trace_file                                                               │
00:41:25 verbose #31738 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:25 verbose #31739 > >
00:41:25 verbose #31740 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:25 verbose #31741 > > let rec trace_file text =
00:41:25 verbose #31742 > >     run_target function
00:41:25 verbose #31743 > >     | Fsharp (Native) => fun () =>
00:41:25 verbose #31744 > >         try_unit
00:41:25 verbose #31745 > >             fun () =>
00:41:25 verbose #31746 > >                 inl assembly_name = env.get_entry_assembly_name ()
00:41:25 verbose #31747 > >                 inl guid = date_time.now () |> date_time.new_guid_from_date_time
00:41:25 verbose #31748 > >                 inl file_name = $'$"{!assembly_name}_{!guid}.txt"'
00:41:25 verbose #31749 > >
00:41:25 verbose #31750 > >                 inl workspace_root = get_workspace_root ()
00:41:25 verbose #31751 > >                 inl trace_dir = workspace_root </> "target/trace"
00:41:25 verbose #31752 > >                 trace_dir |> create_directory |> ignore
00:41:25 verbose #31753 > >                 inl path = trace_dir </> file_name
00:41:25 verbose #31754 > >                 text |> write_all_text_async path |> async.run_synchronously
00:41:25 verbose #31755 > >             fun ex =>
00:41:25 verbose #31756 > >                 trace_file $'$"file_system.trace_file / ex: %A{!ex}"'
00:41:25 verbose #31757 > >     | _ => fun () => ()
00:41:26 verbose #31758 > 00:41:25   debug #1704 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/03c3e635552ac57f712989353a062eb929961de176466c4b3266f4b73ff0027f/main.spi
00:41:26 verbose #31759 > >
00:41:26 verbose #31760 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:26 verbose #31761 > > //// test
00:41:26 verbose #31762 > >
00:41:26 verbose #31763 > > inl get_count dir : i64 =
00:41:26 verbose #31764 > >     inl files = dir |> directory_get_files
00:41:26 verbose #31765 > >     a files |> am'.length
00:41:26 verbose #31766 > >
00:41:26 verbose #31767 > > inl trace_dir = get_workspace_root () </> "target/trace"
00:41:26 verbose #31768 > > trace_dir |> create_directory |> ignore
00:41:26 verbose #31769 > >
00:41:26 verbose #31770 > > inl count = get_count trace_dir
00:41:26 verbose #31771 > >
00:41:26 verbose #31772 > > trace_file "test"
00:41:26 verbose #31773 > >
00:41:26 verbose #31774 > > get_count trace_dir
00:41:26 verbose #31775 > > |> _assert_eq (count + 1)
00:41:26 verbose #31776 > 00:41:25   debug #1705 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ac0a112d17c87b350d9ef4b7ce117c7cdb1a038a5421d020055d3b354620ee47/main.spi
00:41:27 verbose #31777 > >
00:41:27 verbose #31778 > > ╭─[ 1.24s - stdout ]───────────────────────────────────────────────────────────╮
00:41:27 verbose #31779 > > │ __assert_eq / actual: 24L / expected: 24L                                    │
00:41:27 verbose #31780 > > │                                                                              │
00:41:27 verbose #31781 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:27 verbose #31782 > >
00:41:27 verbose #31783 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:27 verbose #31784 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:27 verbose #31785 > > │ ### init_trace_file                                                          │
00:41:27 verbose #31786 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:27 verbose #31787 > >
00:41:27 verbose #31788 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:27 verbose #31789 > > inl init_trace_file enabled =
00:41:27 verbose #31790 > >     inl state_trace_file = get_trace_state_or_init None .trace_file
00:41:27 verbose #31791 > >     state_trace_file <- if enabled then trace_file else ignore
00:41:27 verbose #31792 > 00:41:26   debug #1706 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/690b243d82f4860288e48fa1666d714a502a9560258ed653299a3ae10b70f885/main.spi
00:41:28 verbose #31793 > >
00:41:28 verbose #31794 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:28 verbose #31795 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:28 verbose #31796 > > │ ## file_system                                                               │
00:41:28 verbose #31797 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:28 verbose #31798 > >
00:41:28 verbose #31799 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:28 verbose #31800 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:28 verbose #31801 > > │ ### create_dir                                                               │
00:41:28 verbose #31802 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:28 verbose #31803 > >
00:41:28 verbose #31804 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:28 verbose #31805 > > let create_dir dir =
00:41:28 verbose #31806 > >     run_target function
00:41:28 verbose #31807 > >         | Rust (Contract | Wasm) => fun () => null ()
00:41:28 verbose #31808 > >         | Rust (Native) => fun () =>
00:41:28 verbose #31809 > >             inl dir = join dir
00:41:28 verbose #31810 > >             match dir |> create_dir_all |> resultm.map_error' sm'.format' |>
00:41:28 verbose #31811 > > resultm.unbox with
00:41:28 verbose #31812 > >             | Ok () =>
00:41:28 verbose #31813 > >                 trace Verbose
00:41:28 verbose #31814 > >                     fun () => "file_system.create_dir"
00:41:28 verbose #31815 > >                     fun () => { dir }
00:41:28 verbose #31816 > >             | Error error =>
00:41:28 verbose #31817 > >                 trace Critical
00:41:28 verbose #31818 > >                     fun () => "file_system.create_dir"
00:41:28 verbose #31819 > >                     fun () => { dir error }
00:41:28 verbose #31820 > >             inl disposable : _ () = new_disposable fun () =>
00:41:28 verbose #31821 > >                 dir
00:41:28 verbose #31822 > >                 |> directory_delete true
00:41:28 verbose #31823 > >             disposable
00:41:28 verbose #31824 > >         | _ => fun () =>
00:41:28 verbose #31825 > >             inl directory_info = dir |> create_directory
00:41:28 verbose #31826 > >             inl exists' = directory_info |> directory_info_exists
00:41:28 verbose #31827 > >             if not exists' then
00:41:28 verbose #31828 > >                 inl creation_time = directory_info |>
00:41:28 verbose #31829 > > directory_info_creation_time
00:41:28 verbose #31830 > >                 inl result = ($'{| Exists = !exists'; CreationTime =
00:41:28 verbose #31831 > > !creation_time |}' : any) |> sm'.format_debug
00:41:28 verbose #31832 > >                 trace Debug
00:41:28 verbose #31833 > >                     fun () => "file_system.create_dir"
00:41:28 verbose #31834 > >                     fun () => { dir result }
00:41:28 verbose #31835 > >             inl disposable : _ () = new_disposable fun () =>
00:41:28 verbose #31836 > >                 dir
00:41:28 verbose #31837 > >                 |> delete_directory_async
00:41:28 verbose #31838 > >                 |> async.ignore
00:41:28 verbose #31839 > >                 |> async.run_synchronously
00:41:28 verbose #31840 > >             disposable
00:41:28 verbose #31841 > 00:41:27   debug #1707 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/9d0462ca4f9fdcc59443a966bcb14db38fd286aa3e6ce3ff14efac11837d2e5b/main.spi
00:41:28 verbose #31842 > >
00:41:28 verbose #31843 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:28 verbose #31844 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:28 verbose #31845 > > │ ### create_temp_dir                                                          │
00:41:28 verbose #31846 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:28 verbose #31847 > >
00:41:28 verbose #31848 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:28 verbose #31849 > > inl create_temp_dir () =
00:41:28 verbose #31850 > >     inl dir = create_temp_path ()
00:41:28 verbose #31851 > >     dir, dir |> create_dir
00:41:28 verbose #31852 > 00:41:27   debug #1708 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d2df311d67b827433b64ba32c0af4cf6f1286a907121d4cc0dd7c29194f9e307/main.spi
00:41:28 verbose #31853 > >
00:41:28 verbose #31854 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:28 verbose #31855 > > //// test
00:41:28 verbose #31856 > >
00:41:28 verbose #31857 > > inl path, disposable = create_temp_dir ()
00:41:28 verbose #31858 > > disposable |> use |> ignore
00:41:28 verbose #31859 > > path
00:41:28 verbose #31860 > > |> directory_exists
00:41:28 verbose #31861 > > |> _assert_eq true
00:41:29 verbose #31862 > 00:41:28   debug #1709 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e486850bfa61e35f0cc0a3adbc38269d712a06ed5ecafe37420e5e091ca1858c/main.spi
00:41:30 verbose #31863 > >
00:41:30 verbose #31864 > > ╭─[ 1.92s - stdout ]───────────────────────────────────────────────────────────╮
00:41:30 verbose #31865 > > │ __assert_eq / actual: true / expected: true                                  │
00:41:30 verbose #31866 > > │                                                                              │
00:41:30 verbose #31867 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:30 verbose #31868 > >
00:41:30 verbose #31869 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:30 verbose #31870 > > //// test
00:41:30 verbose #31871 > > ///! rust -d chrono
00:41:30 verbose #31872 > >
00:41:30 verbose #31873 > > inl path, disposable = create_temp_dir ()
00:41:30 verbose #31874 > > path
00:41:30 verbose #31875 > > |> directory_exists
00:41:30 verbose #31876 > > |> _assert_eq true
00:41:30 verbose #31877 > > disposable |> use |> ignore
00:41:30 verbose #31878 > > path
00:41:30 verbose #31879 > > |> directory_exists
00:41:30 verbose #31880 > > |> _assert_eq false
00:41:30 verbose #31881 > 00:41:30   debug #1710 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b133429f6dcdf786376b0c824d66a657ccac276348fd7a0061a04c0b1438f45a/main.spi
00:41:35 verbose #31882 > >
00:41:35 verbose #31883 > > ╭─[ 5.13s - return value ]─────────────────────────────────────────────────────╮
00:41:35 verbose #31884 > > │ 00:00:00 verbose #1 file_system.create_dir / { dir =                   │
00:41:35 verbose #31885 > > │ C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\spiral_builder_67a0ceef │
00:41:35 verbose #31886 > > │ 40c717ddd5ccb1cf3fdfb29a8c13b18c15496f3b91ce8641cc690e09\20240911-2303-4324- │
00:41:35 verbose #31887 > > │ 0827-000000308755 }                                                          │
00:41:35 verbose #31888 > > │ __assert_eq / actual: true / expected: true                                  │
00:41:35 verbose #31889 > > │ __assert_eq / actual: false / expected: false                                │
00:41:35 verbose #31890 > > │                                                                              │
00:41:35 verbose #31891 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:35 verbose #31892 > >
00:41:35 verbose #31893 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:35 verbose #31894 > > //// test
00:41:35 verbose #31895 > >
00:41:35 verbose #31896 > > inl lock_directory path =
00:41:35 verbose #31897 > >     fun () =>
00:41:35 verbose #31898 > >         trace Debug (fun () => "_1") id
00:41:35 verbose #31899 > >         "0" |> write_all_text_async (path </> "test.txt") |> async.do
00:41:35 verbose #31900 > >         file_stream
00:41:35 verbose #31901 > >             (path </> "test.txt")
00:41:35 verbose #31902 > >             ModeOpen
00:41:35 verbose #31903 > >             AccessReadWrite
00:41:35 verbose #31904 > >             ShareNone
00:41:35 verbose #31905 > >         |> use
00:41:35 verbose #31906 > >         |> ignore
00:41:35 verbose #31907 > >         trace Debug (fun () => "_2") id
00:41:35 verbose #31908 > >         async.sleep 2000 |> async.do
00:41:35 verbose #31909 > >         trace Debug (fun () => "_3") id
00:41:35 verbose #31910 > >         () |> return
00:41:35 verbose #31911 > >     |> async.new_async
00:41:35 verbose #31912 > >
00:41:35 verbose #31913 > > inl temp_dir, disposable = create_temp_dir ()
00:41:35 verbose #31914 > > disposable |> use |> ignore
00:41:35 verbose #31915 > > inl path = temp_dir </> "test"
00:41:35 verbose #31916 > >
00:41:35 verbose #31917 > > fun () =>
00:41:35 verbose #31918 > >     trace Debug (fun () => "1") id
00:41:35 verbose #31919 > >     path |> create_directory |> ignore
00:41:35 verbose #31920 > >     trace Debug (fun () => "2") id
00:41:35 verbose #31921 > >     inl child = path |> lock_directory |> async.start_child |> async.let'
00:41:35 verbose #31922 > >     trace Debug (fun () => "3") id
00:41:35 verbose #31923 > >     async.sleep 60 |> async.do
00:41:35 verbose #31924 > >     trace Debug (fun () => "4") id
00:41:35 verbose #31925 > >     inl retries = path |> delete_directory_async |> async.let'
00:41:35 verbose #31926 > >     trace Debug (fun () => "5") id
00:41:35 verbose #31927 > >     child |> async.do
00:41:35 verbose #31928 > >     trace Debug (fun () => "6") id
00:41:35 verbose #31929 > >     retries |> return
00:41:35 verbose #31930 > > |> async.new_async_unit
00:41:35 verbose #31931 > > |> async.run_with_timeout 3000
00:41:35 verbose #31932 > > |> fun x => x : _ i64
00:41:35 verbose #31933 > > |> function
00:41:35 verbose #31934 > >     | Some (retries : i64) =>
00:41:35 verbose #31935 > >         retries
00:41:35 verbose #31936 > >         |> _assert_between
00:41:35 verbose #31937 > >             (if platform.is_windows () then 50 else 0)
00:41:35 verbose #31938 > >             (if platform.is_windows () then 180 else 0)
00:41:35 verbose #31939 > >
00:41:35 verbose #31940 > >         true
00:41:35 verbose #31941 > >     | _ => false
00:41:35 verbose #31942 > > |> _assert_eq true
00:41:36 verbose #31943 > 00:41:35   debug #1711 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6e77d7408d868aeae3668969e762eca8dae1c2c6960f08176321117677f61d4c/main.spi
00:41:41 verbose #31944 > >
00:41:41 verbose #31945 > > ╭─[ 5.92s - stdout ]───────────────────────────────────────────────────────────╮
00:41:41 verbose #31946 > > │ 00:00:00   debug #1 1                                                   │
00:41:41 verbose #31947 > > │ 00:00:00   debug #2 2                                                   │
00:41:41 verbose #31948 > > │ 00:00:00   debug #3 3                                                   │
00:41:41 verbose #31949 > > │ 00:00:00   debug #4 _1                                                  │
00:41:41 verbose #31950 > > │ 00:00:00   debug #5 _2                                                  │
00:41:41 verbose #31951 > > │ 00:00:00   debug #6 4                                                   │
00:41:41 verbose #31952 > > │ 00:00:00   debug #7 file_system.delete_directory_async / { ex =         │
00:41:41 verbose #31953 > > │ System.IO.IOException: The process cannot access the file 'test.txt' because │
00:41:41 verbose #31954 > > │ it is being used by another process.; path = test }                          │
00:41:41 verbose #31955 > > │ 00:00:01   debug #8 file_system.delete_directory_async / { ex =         │
00:41:41 verbose #31956 > > │ System.IO.IOException: The process cannot access the file 'test.txt' because │
00:41:41 verbose #31957 > > │ it is being used by another process.; path = test }                          │
00:41:41 verbose #31958 > > │ 00:00:02   debug #9 _3                                                  │
00:41:41 verbose #31959 > > │ 00:00:02   debug #10 5                                                  │
00:41:41 verbose #31960 > > │ 00:00:02   debug #11 6                                                  │
00:41:41 verbose #31961 > > │ __assert_between / actual: 124L / expected: struct (50L, 180L)               │
00:41:41 verbose #31962 > > │ __assert_eq / actual: true / expected: true                                  │
00:41:41 verbose #31963 > > │                                                                              │
00:41:41 verbose #31964 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:41 verbose #31965 > >
00:41:41 verbose #31966 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:41 verbose #31967 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:41 verbose #31968 > > │ ### create_temp_dir'                                                         │
00:41:41 verbose #31969 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:41 verbose #31970 > >
00:41:41 verbose #31971 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:41 verbose #31972 > > inl create_temp_dir' (hash : string) =
00:41:41 verbose #31973 > >     inl dir = hash |> guid.hash_guid |> create_temp_path'
00:41:41 verbose #31974 > >     dir, dir |> create_dir
00:41:42 verbose #31975 > 00:41:41   debug #1712 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/56f9d01dd9416e7d161a8b19ce2b125fe53801e8be6987c692047720987e82d0/main.spi
00:41:42 verbose #31976 > >
00:41:42 verbose #31977 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:42 verbose #31978 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:42 verbose #31979 > > │ ### link_directory                                                           │
00:41:42 verbose #31980 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:42 verbose #31981 > >
00:41:42 verbose #31982 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:42 verbose #31983 > > let link_directory target_path path =
00:41:42 verbose #31984 > >     if target_path |> directory_exists |> not
00:41:42 verbose #31985 > >     then target_path |> create_dir |> ignore
00:41:42 verbose #31986 > >
00:41:42 verbose #31987 > >     inl lib_dir_path = path |> get_directory_name
00:41:42 verbose #31988 > >     if lib_dir_path |> directory_exists |> not
00:41:42 verbose #31989 > >     then lib_dir_path |> create_dir |> ignore
00:41:42 verbose #31990 > >
00:41:42 verbose #31991 > >     if (path |> directory_exists)
00:41:42 verbose #31992 > >         && (path |> read_link |> resultm.is_err) then
00:41:42 verbose #31993 > >         path |> directory_delete true
00:41:42 verbose #31994 > >
00:41:42 verbose #31995 > >     if path |> directory_exists |> not then
00:41:42 verbose #31996 > >         path |> directory_create_symbolic_link target_path
00:41:42 verbose #31997 > 00:41:41   debug #1713 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fb64cbb42cd5b6ac43b2f08f80b562a7e6ea5e715990d2e660988756b74b7a88/main.spi
00:41:42 verbose #31998 > >
00:41:42 verbose #31999 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:42 verbose #32000 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:42 verbose #32001 > > │ ## rust                                                                      │
00:41:42 verbose #32002 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:42 verbose #32003 > >
00:41:42 verbose #32004 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:42 verbose #32005 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:42 verbose #32006 > > │ ### file_exists_content                                                      │
00:41:42 verbose #32007 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:42 verbose #32008 > >
00:41:42 verbose #32009 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:42 verbose #32010 > > let file_exists_content path content : bool =
00:41:42 verbose #32011 > >     run_target function
00:41:42 verbose #32012 > >         | Rust (Native) => fun () =>
00:41:42 verbose #32013 > >             if path |> file_exists |> not
00:41:42 verbose #32014 > >             then false
00:41:42 verbose #32015 > >             else
00:41:42 verbose #32016 > >                 inl existing_content = path |> read_all_text
00:41:42 verbose #32017 > >                 content = existing_content
00:41:42 verbose #32018 > >         | _ => fun () => null ()
00:41:42 verbose #32019 > 00:41:42   debug #1714 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/081fa3dd58b8cb08509b637e589eaadfe33fbe8a9b5d5134b9eb58c482b880bc/main.spi
00:41:43 verbose #32020 > >
00:41:43 verbose #32021 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:43 verbose #32022 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:43 verbose #32023 > > │ ### write_all_text_exists                                                    │
00:41:43 verbose #32024 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:43 verbose #32025 > >
00:41:43 verbose #32026 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:43 verbose #32027 > > let write_all_text_exists path contents =
00:41:43 verbose #32028 > >     inl exists' = contents |> file_exists_content path
00:41:43 verbose #32029 > >     if not exists' then
00:41:43 verbose #32030 > >         inl dir = path |> get_directory_name
00:41:43 verbose #32031 > >         if dir |> directory_exists |> not
00:41:43 verbose #32032 > >         then dir |> create_dir |> ignore
00:41:43 verbose #32033 > >         contents |> write_all_text path
00:41:43 verbose #32034 > 00:41:42   debug #1715 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7b5a101e8c1086ecadb79a1544d7b3f5c019f738b603c9430a4a574ad232bea0/main.spi
00:41:43 verbose #32035 > >
00:41:43 verbose #32036 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:43 verbose #32037 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:43 verbose #32038 > > │ ## fsharp                                                                    │
00:41:43 verbose #32039 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:43 verbose #32040 > >
00:41:43 verbose #32041 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:43 verbose #32042 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:43 verbose #32043 > > │ ### wait_for_file_access                                                     │
00:41:43 verbose #32044 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:43 verbose #32045 > >
00:41:43 verbose #32046 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:43 verbose #32047 > > inl wait_for_file_access access path =
00:41:43 verbose #32048 > >     run_target function
00:41:43 verbose #32049 > >         | Fsharp (Native) => fun () =>
00:41:43 verbose #32050 > >             inl file_access, file_share =
00:41:43 verbose #32051 > >                 access
00:41:43 verbose #32052 > >                 |> optionm'.default_value (AccessReadWrite, ShareRead)
00:41:43 verbose #32053 > >             let rec loop (retry : i64) : _ i64 =
00:41:43 verbose #32054 > >                 fun () =>
00:41:43 verbose #32055 > >                     try_unit
00:41:43 verbose #32056 > >                         fun () =>
00:41:43 verbose #32057 > >                             file_stream
00:41:43 verbose #32058 > >                                 path
00:41:43 verbose #32059 > >                                 ModeOpen
00:41:43 verbose #32060 > >                                 file_access
00:41:43 verbose #32061 > >                                 file_share
00:41:43 verbose #32062 > >                             |> use
00:41:43 verbose #32063 > >                             |> ignore
00:41:43 verbose #32064 > >                             retry |> return
00:41:43 verbose #32065 > >                         fun ex =>
00:41:43 verbose #32066 > >                             if retry > 0 && retry % 100i64 = 0 then
00:41:43 verbose #32067 > >                                 inl ex = ex |> sm'.format_exception
00:41:43 verbose #32068 > >                                 trace Debug
00:41:43 verbose #32069 > >                                     fun () => "file_system.wait_for_file_access"
00:41:43 verbose #32070 > >                                     fun () => { path = path |> get_file_name;
00:41:43 verbose #32071 > > retry ex }
00:41:43 verbose #32072 > >                             async.sleep 10i32 |> async.do
00:41:43 verbose #32073 > >                             loop (retry + 1) |> async.return_await
00:41:43 verbose #32074 > >                 |> async.new_async
00:41:43 verbose #32075 > >             loop 0
00:41:43 verbose #32076 > >         | _ => fun () => null ()
00:41:43 verbose #32077 > >
00:41:43 verbose #32078 > > inl wait_for_file_access_read path =
00:41:43 verbose #32079 > >     path
00:41:43 verbose #32080 > >     |> wait_for_file_access (Some (
00:41:43 verbose #32081 > >         AccessRead,
00:41:43 verbose #32082 > >         ShareRead
00:41:43 verbose #32083 > >     ))
00:41:43 verbose #32084 > 00:41:42   debug #1716 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/59d1dc856d241061b9af0fc0b04fc0e190bf03fa1f56ce79f58550a51841c191/main.spi
00:41:43 verbose #32085 > >
00:41:43 verbose #32086 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:43 verbose #32087 > > //// test
00:41:43 verbose #32088 > >
00:41:43 verbose #32089 > > inl lock_file path =
00:41:43 verbose #32090 > >     fun () =>
00:41:43 verbose #32091 > >         trace Debug (fun () => "_1") id
00:41:43 verbose #32092 > >         inl stream : file_stream' =
00:41:43 verbose #32093 > >             file_stream
00:41:43 verbose #32094 > >                 path
00:41:43 verbose #32095 > >                 ModeOpen
00:41:43 verbose #32096 > >                 AccessReadWrite
00:41:43 verbose #32097 > >                 ShareNone
00:41:43 verbose #32098 > >             |> use
00:41:43 verbose #32099 > >         trace Debug (fun () => "_2") id
00:41:43 verbose #32100 > >         async.sleep 2000 |> async.do
00:41:43 verbose #32101 > >         trace Debug (fun () => "_3") id
00:41:43 verbose #32102 > >         ($'!stream.Seek (0L, System.IO.SeekOrigin.Begin)' : i64) |> ignore
00:41:43 verbose #32103 > >         trace Debug (fun () => "_4") id
00:41:43 verbose #32104 > >         $'!stream.WriteByte' 49u8
00:41:43 verbose #32105 > >         trace Debug (fun () => "_5") id
00:41:43 verbose #32106 > >         stream |> $'_.Flush()'
00:41:43 verbose #32107 > >         trace Debug (fun () => "_6") id
00:41:43 verbose #32108 > >     |> async.new_async
00:41:43 verbose #32109 > >
00:41:43 verbose #32110 > > inl file_name = "test.txt"
00:41:43 verbose #32111 > > inl text = "0"
00:41:43 verbose #32112 > >
00:41:43 verbose #32113 > > inl temp_dir, disposable =
00:41:43 verbose #32114 > >     (file_name, text)
00:41:43 verbose #32115 > >     |> sm'.format_debug
00:41:43 verbose #32116 > >     |> crypto.hash_text
00:41:43 verbose #32117 > >     |> create_temp_dir'
00:41:43 verbose #32118 > > disposable |> use |> ignore
00:41:43 verbose #32119 > > inl path = temp_dir </> file_name
00:41:43 verbose #32120 > >
00:41:43 verbose #32121 > > fun () =>
00:41:43 verbose #32122 > >     trace Debug (fun () => "1") id
00:41:43 verbose #32123 > >     text |> write_all_text_async path |> async.do
00:41:43 verbose #32124 > >     trace Debug (fun () => "2") id
00:41:43 verbose #32125 > >     inl child = path |> lock_file |> async.start_child |> async.let'
00:41:43 verbose #32126 > >     trace Debug (fun () => "3") id
00:41:43 verbose #32127 > >     async.sleep 1 |> async.do
00:41:43 verbose #32128 > >     trace Debug (fun () => "4") id
00:41:43 verbose #32129 > >     inl retries = path |> wait_for_file_access None |> async.let'
00:41:43 verbose #32130 > >     trace Debug (fun () => "5") id
00:41:43 verbose #32131 > >     inl text = path |> read_all_text_async |> async.let'
00:41:43 verbose #32132 > >     trace Debug (fun () => "6") id
00:41:43 verbose #32133 > >     child |> async.do
00:41:43 verbose #32134 > >     trace Debug (fun () => "7") id
00:41:43 verbose #32135 > >     (retries, text) |> return
00:41:43 verbose #32136 > > |> async.new_async_unit
00:41:43 verbose #32137 > > |> async.run_with_timeout 3000
00:41:43 verbose #32138 > > |> function
00:41:43 verbose #32139 > >     | Some ((retries : i64), text) =>
00:41:43 verbose #32140 > >         retries
00:41:43 verbose #32141 > >         |> _assert_between
00:41:43 verbose #32142 > >             (if platform.is_windows () then 50 else 100)
00:41:43 verbose #32143 > >             (if platform.is_windows () then 180 else 200)
00:41:43 verbose #32144 > >
00:41:43 verbose #32145 > >         text |> _assert_eq (join "1")
00:41:43 verbose #32146 > >
00:41:43 verbose #32147 > >         true
00:41:43 verbose #32148 > >     | _ => false
00:41:43 verbose #32149 > > |> _assert_eq true
00:41:44 verbose #32150 > 00:41:43   debug #1717 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d9169029f2d32e1f41e68f77c9888f3953fbe6edaae1d3de9c582fafa9d8e128/main.spi
00:41:51 verbose #32151 > >
00:41:51 verbose #32152 > > ╭─[ 7.38s - stdout ]───────────────────────────────────────────────────────────╮
00:41:51 verbose #32153 > > │ 00:00:00   debug #1 1                                                   │
00:41:51 verbose #32154 > > │ 00:00:00   debug #2 2                                                   │
00:41:51 verbose #32155 > > │ 00:00:00   debug #3 3                                                   │
00:41:51 verbose #32156 > > │ 00:00:00   debug #4 _1                                                  │
00:41:51 verbose #32157 > > │ 00:00:00   debug #6 4                                                   │
00:41:51 verbose #32158 > > │ 00:00:00   debug #6 _2                                                  │
00:41:51 verbose #32159 > > │ 00:00:01   debug #7 file_system.wait_for_file_access / { path =         │
00:41:51 verbose #32160 > > │ test.txt; retry = 100; ex = System.IO.IOException: The process cannot access │
00:41:51 verbose #32161 > > │ the file                                                                     │
00:41:51 verbose #32162 > > │ 'C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\613830ed-0 │
00:41:51 verbose #32163 > > │ 16e-d959-8d21-02dc1c63c252\test.txt' because it is being used by another     │
00:41:51 verbose #32164 > > │ process. }                                                                   │
00:41:51 verbose #32165 > > │ 00:00:02   debug #8 _3                                                  │
00:41:51 verbose #32166 > > │ 00:00:02   debug #9 _4                                                  │
00:41:51 verbose #32167 > > │ 00:00:02   debug #10 _5                                                 │
00:41:51 verbose #32168 > > │ 00:00:02   debug #11 _6                                                 │
00:41:51 verbose #32169 > > │ 00:00:02   debug #12 5                                                  │
00:41:51 verbose #32170 > > │ 00:00:02   debug #13 6                                                  │
00:41:51 verbose #32171 > > │ 00:00:02   debug #14 7                                                  │
00:41:51 verbose #32172 > > │ __assert_between / actual: 129L / expected: struct (50L, 180L)               │
00:41:51 verbose #32173 > > │ __assert_eq / actual: "1" / expected: "1"                                    │
00:41:51 verbose #32174 > > │ __assert_eq / actual: true / expected: true                                  │
00:41:51 verbose #32175 > > │                                                                              │
00:41:51 verbose #32176 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:51 verbose #32177 > >
00:41:51 verbose #32178 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:51 verbose #32179 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:51 verbose #32180 > > │ ### read_all_text_retry_async                                                │
00:41:51 verbose #32181 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:51 verbose #32182 > >
00:41:51 verbose #32183 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:51 verbose #32184 > > inl read_all_text_retry_async full_path : async.async (optionm'.option' string)
00:41:51 verbose #32185 > > =
00:41:51 verbose #32186 > >     run_target function
00:41:51 verbose #32187 > >         | Fsharp (Native) => fun () =>
00:41:51 verbose #32188 > >             let rec loop (retry : i64) =
00:41:51 verbose #32189 > >                 fun () =>
00:41:51 verbose #32190 > >                     try_unit
00:41:51 verbose #32191 > >                         fun () =>
00:41:51 verbose #32192 > >                             if retry > 0
00:41:51 verbose #32193 > >                             then
00:41:51 verbose #32194 > >                                 full_path
00:41:51 verbose #32195 > >                                 |> wait_for_file_access_read
00:41:51 verbose #32196 > >                                 |> async.run_with_timeout_async 1000
00:41:51 verbose #32197 > >                                 |> async.ignore
00:41:51 verbose #32198 > >                                 |> async.do
00:41:51 verbose #32199 > >                             full_path |> read_all_text_async |> async.map (Some
00:41:51 verbose #32200 > > >> optionm'.box) |> async.return_await
00:41:51 verbose #32201 > >                         fun ex =>
00:41:51 verbose #32202 > >                             fix_condition
00:41:51 verbose #32203 > >                                 fun () => retry <> 0
00:41:51 verbose #32204 > >                                 fun () =>
00:41:51 verbose #32205 > >                                     inl ex = ex |> sm'.format_exception
00:41:51 verbose #32206 > >                                     trace Debug
00:41:51 verbose #32207 > >                                         fun () => $'"read_all_text_retry_async"'
00:41:51 verbose #32208 > >                                         fun () => { retry ex }
00:41:51 verbose #32209 > >                                     (None : _ string) |> optionm'.box |> return
00:41:51 verbose #32210 > >                                 fun () =>
00:41:51 verbose #32211 > >                                     loop (retry + 1) |> async.return_await
00:41:51 verbose #32212 > >                 |> async.new_async
00:41:51 verbose #32213 > >             loop 0
00:41:51 verbose #32214 > >         | _ => fun () => null ()
00:41:51 verbose #32215 > 00:41:50   debug #1718 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1eae1ad583f70853e8130420be982d53b2f84953a8f7a67f80e72106e3d9b5e1/main.spi
00:41:51 verbose #32216 > >
00:41:51 verbose #32217 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:51 verbose #32218 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:51 verbose #32219 > > │ ### move_file_async                                                          │
00:41:51 verbose #32220 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:51 verbose #32221 > >
00:41:51 verbose #32222 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:51 verbose #32223 > > inl move_file_async new_path old_path : _ i64 =
00:41:51 verbose #32224 > >     run_target function
00:41:51 verbose #32225 > >         | Fsharp (Native) => fun () =>
00:41:51 verbose #32226 > >             let rec loop (retry : i64) =
00:41:51 verbose #32227 > >                 fun () =>
00:41:51 verbose #32228 > >                     try_unit
00:41:51 verbose #32229 > >                         fun () =>
00:41:51 verbose #32230 > >                             old_path |> file_move new_path
00:41:51 verbose #32231 > >                             return retry
00:41:51 verbose #32232 > >                         fun ex =>
00:41:51 verbose #32233 > >                             if retry % 100 = 0 then
00:41:51 verbose #32234 > >
00:41:51 verbose #32235 > >                                 trace Warning
00:41:51 verbose #32236 > >                                     fun () => "move_file_async"
00:41:51 verbose #32237 > >                                     fun () => {
00:41:51 verbose #32238 > >                                         old_path = old_path |> get_file_name
00:41:51 verbose #32239 > >                                         new_path = new_path |> get_file_name
00:41:51 verbose #32240 > >                                         ex
00:41:51 verbose #32241 > >                                     }
00:41:51 verbose #32242 > >                             async.sleep 10 |> async.do
00:41:51 verbose #32243 > >                             loop (retry + 1) |> async.return_await
00:41:51 verbose #32244 > >                 |> async.new_async_unit
00:41:51 verbose #32245 > >             loop 0
00:41:51 verbose #32246 > >         | _ => fun () => null ()
00:41:51 verbose #32247 > 00:41:51   debug #1719 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8da14667e1afe75a0f5d0063c25d7bf72ca5914392fa20cb168150de574f1b0d/main.spi
00:41:52 verbose #32248 > >
00:41:52 verbose #32249 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:52 verbose #32250 > > //// test
00:41:52 verbose #32251 > >
00:41:52 verbose #32252 > > inl lock_file path =
00:41:52 verbose #32253 > >     fun () =>
00:41:52 verbose #32254 > >         trace Debug (fun () => "_1") id
00:41:52 verbose #32255 > >         file_stream
00:41:52 verbose #32256 > >             path
00:41:52 verbose #32257 > >             ModeOpen
00:41:52 verbose #32258 > >             AccessReadWrite
00:41:52 verbose #32259 > >             ShareNone
00:41:52 verbose #32260 > >         |> use
00:41:52 verbose #32261 > >         |> ignore
00:41:52 verbose #32262 > >         trace Debug (fun () => "_2") id
00:41:52 verbose #32263 > >         async.sleep 2000 |> async.do
00:41:52 verbose #32264 > >         trace Debug (fun () => "_3") id
00:41:52 verbose #32265 > >     |> async.new_async
00:41:52 verbose #32266 > >
00:41:52 verbose #32267 > > fun () =>
00:41:52 verbose #32268 > >     inl file_name = "test.txt"
00:41:52 verbose #32269 > >     inl text = "0"
00:41:52 verbose #32270 > >
00:41:52 verbose #32271 > >     inl temp_dir, disposable =
00:41:52 verbose #32272 > >         (file_name, text)
00:41:52 verbose #32273 > >         |> sm'.format_debug
00:41:52 verbose #32274 > >         |> crypto.hash_text
00:41:52 verbose #32275 > >         |> create_temp_dir'
00:41:52 verbose #32276 > >     disposable |> use |> ignore
00:41:52 verbose #32277 > >     let path = temp_dir </> file_name
00:41:52 verbose #32278 > >     let new_path = temp_dir </> "test2.txt"
00:41:52 verbose #32279 > >
00:41:52 verbose #32280 > >     trace Debug (fun () => "1") id
00:41:52 verbose #32281 > >     text |> write_all_text_async path |> async.do
00:41:52 verbose #32282 > >     trace Debug (fun () => "2") id
00:41:52 verbose #32283 > >     inl child = lock_file path |> async.start_child |> async.let'
00:41:52 verbose #32284 > >     trace Debug (fun () => "3") id
00:41:52 verbose #32285 > >     async.sleep 1 |> async.do
00:41:52 verbose #32286 > >     trace Debug (fun () => "4") id
00:41:52 verbose #32287 > >     inl retries1 = path |> move_file_async new_path |> async.let'
00:41:52 verbose #32288 > >     trace Debug (fun () => "5") id
00:41:52 verbose #32289 > >     inl retries2 = new_path |> wait_for_file_access None |> async.let'
00:41:52 verbose #32290 > >     trace Debug (fun () => "6") id
00:41:52 verbose #32291 > >     inl text = new_path |> read_all_text_async |> async.let'
00:41:52 verbose #32292 > >     trace Debug (fun () => "7") id
00:41:52 verbose #32293 > >     child |> async.do
00:41:52 verbose #32294 > >     trace Debug (fun () => "8") id
00:41:52 verbose #32295 > >     (retries1, retries2, text) |> return
00:41:52 verbose #32296 > > |> async.new_async_unit
00:41:52 verbose #32297 > > |> async.run_with_timeout 3000
00:41:52 verbose #32298 > > |> function
00:41:52 verbose #32299 > >     | Some (retries1, retries2, text) =>
00:41:52 verbose #32300 > >         retries1
00:41:52 verbose #32301 > >         |> _assert_between
00:41:52 verbose #32302 > >             (if platform.is_windows () then 50i64 else 0)
00:41:52 verbose #32303 > >             (if platform.is_windows () then 200 else 0)
00:41:52 verbose #32304 > >
00:41:52 verbose #32305 > >         retries2
00:41:52 verbose #32306 > >         |> _assert_between
00:41:52 verbose #32307 > >             (if platform.is_windows () then 0i64 else 100)
00:41:52 verbose #32308 > >             (if platform.is_windows () then 0 else 200)
00:41:52 verbose #32309 > >
00:41:52 verbose #32310 > >         text |> _assert_eq (join "0")
00:41:52 verbose #32311 > >
00:41:52 verbose #32312 > >         true
00:41:52 verbose #32313 > >     | _ => false
00:41:52 verbose #32314 > > |> _assert_eq true
00:41:52 verbose #32315 > 00:41:51   debug #1720 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/209bd84fa22c2e3843bda761267b5935b2c7f87e02a916bf14932e1b264da624/main.spi
00:41:59 verbose #32316 > >
00:41:59 verbose #32317 > > ╭─[ 7.21s - stdout ]───────────────────────────────────────────────────────────╮
00:41:59 verbose #32318 > > │ 00:00:00   debug #1 1                                                   │
00:41:59 verbose #32319 > > │ 00:00:00   debug #2 2                                                   │
00:41:59 verbose #32320 > > │ 00:00:00   debug #3 3                                                   │
00:41:59 verbose #32321 > > │ 00:00:00   debug #4 _1                                                  │
00:41:59 verbose #32322 > > │ 00:00:00   debug #5 _2                                                  │
00:41:59 verbose #32323 > > │ 00:00:00   debug #6 4                                                   │
00:41:59 verbose #32324 > > │ 00:00:00 warning #7 move_file_async / { old_path = test.txt; new_path = │
00:41:59 verbose #32325 > > │ test2.txt; ex = System.IO.IOException: The process cannot access the file    │
00:41:59 verbose #32326 > > │ because it is being used by another process.                                 │
00:41:59 verbose #32327 > > │    at System.IO.FileSystem.MoveFile(String sourceFullPath, String            │
00:41:59 verbose #32328 > > │ destFullPath, Boolean overwrite)                                             │
00:41:59 verbose #32329 > > │    at FSI_0114.method35@7760-12.Invoke(Unit unitVar)                         │
00:41:59 verbose #32330 > > │    at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[               │
00:41:59 verbose #32331 > > │ T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in   │
00:41:59 verbose #32332 > > │ D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510                             │
00:41:59 verbose #32333 > > │    at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)  │
00:41:59 verbose #32334 > > │ in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112 }                        │
00:41:59 verbose #32335 > > │ 00:00:01 warning #8 move_file_async / { old_path = test.txt; new_path = │
00:41:59 verbose #32336 > > │ test2.txt; ex = System.IO.IOException: The process cannot access the file    │
00:41:59 verbose #32337 > > │ because it is being used by another process.                                 │
00:41:59 verbose #32338 > > │    at System.IO.FileSystem.MoveFile(String sourceFullPath, String            │
00:41:59 verbose #32339 > > │ destFullPath, Boolean overwrite)                                             │
00:41:59 verbose #32340 > > │    at FSI_0114.method35@7760-12.Invoke(Unit unitVar)                         │
00:41:59 verbose #32341 > > │    at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[               │
00:41:59 verbose #32342 > > │ T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in   │
00:41:59 verbose #32343 > > │ D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510                             │
00:41:59 verbose #32344 > > │    at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)  │
00:41:59 verbose #32345 > > │ in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112 }                        │
00:41:59 verbose #32346 > > │ 00:00:02   debug #9 _3                                                  │
00:41:59 verbose #32347 > > │ 00:00:02   debug #10 5                                                  │
00:41:59 verbose #32348 > > │ 00:00:02   debug #11 6                                                  │
00:41:59 verbose #32349 > > │ 00:00:02   debug #12 7                                                  │
00:41:59 verbose #32350 > > │ 00:00:02   debug #13 8                                                  │
00:41:59 verbose #32351 > > │ __assert_between / actual: 126L / expected: struct (50L, 200L)               │
00:41:59 verbose #32352 > > │ __assert_between / actual: 0L / expected: struct (0L, 0L)                    │
00:41:59 verbose #32353 > > │ __assert_eq / actual: "0" / expected: "0"                                    │
00:41:59 verbose #32354 > > │ __assert_eq / actual: true / expected: true                                  │
00:41:59 verbose #32355 > > │                                                                              │
00:41:59 verbose #32356 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:59 verbose #32357 > >
00:41:59 verbose #32358 > > ── markdown ────────────────────────────────────────────────────────────────────
00:41:59 verbose #32359 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:41:59 verbose #32360 > > │ ### delete_file_async                                                        │
00:41:59 verbose #32361 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:41:59 verbose #32362 > >
00:41:59 verbose #32363 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:59 verbose #32364 > > inl delete_file_async path : _ i64 =
00:41:59 verbose #32365 > >     run_target function
00:41:59 verbose #32366 > >         | Fsharp (Native) => fun () =>
00:41:59 verbose #32367 > >             let rec loop (retry : i64) =
00:41:59 verbose #32368 > >                 fun () =>
00:41:59 verbose #32369 > >                     try_unit
00:41:59 verbose #32370 > >                         fun () =>
00:41:59 verbose #32371 > >                             path |> file_delete
00:41:59 verbose #32372 > >                             return retry
00:41:59 verbose #32373 > >                         fun ex =>
00:41:59 verbose #32374 > >                             if retry % 100 = 0 then
00:41:59 verbose #32375 > >                                 trace Warning
00:41:59 verbose #32376 > >                                     fun () => "delete_file_async"
00:41:59 verbose #32377 > >                                     fun () => { path = path |> get_file_name; ex
00:41:59 verbose #32378 > > = ex |> sm'.format_exception }
00:41:59 verbose #32379 > >                             async.sleep 10 |> async.do
00:41:59 verbose #32380 > >                             loop (retry + 1) |> async.return_await
00:41:59 verbose #32381 > >                 |> async.new_async
00:41:59 verbose #32382 > >             loop 0
00:41:59 verbose #32383 > >         | _ => fun () => null ()
00:41:59 verbose #32384 > 00:41:58   debug #1721 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f89c8ef84250db399ad20f66c74af69500bd3c8198974667aea3897a1899ac67/main.spi
00:41:59 verbose #32385 > >
00:41:59 verbose #32386 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:41:59 verbose #32387 > > //// test
00:41:59 verbose #32388 > >
00:41:59 verbose #32389 > > inl lock_file path =
00:41:59 verbose #32390 > >     fun () =>
00:41:59 verbose #32391 > >         trace Debug (fun () => "_1") id
00:41:59 verbose #32392 > >         file_stream
00:41:59 verbose #32393 > >             path
00:41:59 verbose #32394 > >             ModeOpen
00:41:59 verbose #32395 > >             AccessReadWrite
00:41:59 verbose #32396 > >             ShareNone
00:41:59 verbose #32397 > >         |> use
00:41:59 verbose #32398 > >         |> ignore
00:41:59 verbose #32399 > >         trace Debug (fun () => "_2") id
00:41:59 verbose #32400 > >         async.sleep 2000 |> async.do
00:41:59 verbose #32401 > >         trace Debug (fun () => "_3") id
00:41:59 verbose #32402 > >     |> async.new_async
00:41:59 verbose #32403 > >
00:41:59 verbose #32404 > > fun () =>
00:41:59 verbose #32405 > >     inl file_name = "test.txt"
00:41:59 verbose #32406 > >     inl text = "0"
00:41:59 verbose #32407 > >
00:41:59 verbose #32408 > >     inl temp_dir, disposable =
00:41:59 verbose #32409 > >         (file_name, text)
00:41:59 verbose #32410 > >         |> sm'.format_debug
00:41:59 verbose #32411 > >         |> crypto.hash_text
00:41:59 verbose #32412 > >         |> create_temp_dir'
00:41:59 verbose #32413 > >     disposable |> use |> ignore
00:41:59 verbose #32414 > >     inl path = temp_dir </> file_name
00:41:59 verbose #32415 > >
00:41:59 verbose #32416 > >     trace Debug (fun () => "1") id
00:41:59 verbose #32417 > >     text |> write_all_text_async path |> async.do
00:41:59 verbose #32418 > >     trace Debug (fun () => "2") id
00:41:59 verbose #32419 > >     inl child = lock_file path |> async.start_child |> async.let'
00:41:59 verbose #32420 > >     trace Debug (fun () => "3") id
00:41:59 verbose #32421 > >     async.sleep 1 |> async.do
00:41:59 verbose #32422 > >     trace Debug (fun () => "4") id
00:41:59 verbose #32423 > >     inl retries = delete_file_async path |> async.let'
00:41:59 verbose #32424 > >     trace Debug (fun () => "5") id
00:41:59 verbose #32425 > >     child |> async.do
00:41:59 verbose #32426 > >     trace Debug (fun () => "6") id
00:41:59 verbose #32427 > >     return retries
00:41:59 verbose #32428 > > |> async.new_async_unit
00:41:59 verbose #32429 > > |> async.run_with_timeout 3000
00:41:59 verbose #32430 > > |> function
00:41:59 verbose #32431 > >     | Some (retries : i64) =>
00:41:59 verbose #32432 > >         retries
00:41:59 verbose #32433 > >         |> _assert_between
00:41:59 verbose #32434 > >             (if platform.is_windows () then 50 else 0)
00:41:59 verbose #32435 > >             (if platform.is_windows () then 180 else 0)
00:41:59 verbose #32436 > >
00:41:59 verbose #32437 > >         true
00:41:59 verbose #32438 > >     | _ => false
00:41:59 verbose #32439 > > |> _assert_eq true
00:42:00 verbose #32440 > 00:41:59   debug #1722 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3b79fe70c71f46a45bfd664334f06a561fe0890c698eb6cdbcfd0783fd68ec65/main.spi
00:42:06 verbose #32441 > >
00:42:06 verbose #32442 > > ╭─[ 6.29s - stdout ]───────────────────────────────────────────────────────────╮
00:42:06 verbose #32443 > > │ 00:00:00   debug #1 1                                                   │
00:42:06 verbose #32444 > > │ 00:00:00   debug #2 2                                                   │
00:42:06 verbose #32445 > > │ 00:00:00   debug #3 3                                                   │
00:42:06 verbose #32446 > > │ 00:00:00   debug #4 _1                                                  │
00:42:06 verbose #32447 > > │ 00:00:00   debug #5 _2                                                  │
00:42:06 verbose #32448 > > │ 00:00:00   debug #6 4                                                   │
00:42:06 verbose #32449 > > │ 00:00:00 warning #7 delete_file_async / { path = test.txt; ex =         │
00:42:06 verbose #32450 > > │ System.IO.IOException: The process cannot access the file                    │
00:42:06 verbose #32451 > > │ 'C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\613830ed-0 │
00:42:06 verbose #32452 > > │ 16e-d959-8d21-02dc1c63c252\test.txt' because it is being used by another     │
00:42:06 verbose #32453 > > │ process. }                                                                   │
00:42:06 verbose #32454 > > │ 00:00:01 warning #8 delete_file_async / { path = test.txt; ex =         │
00:42:06 verbose #32455 > > │ System.IO.IOException: The process cannot access the file                    │
00:42:06 verbose #32456 > > │ 'C:\Users\i574n\AppData\Local\Temp\!create_temp_path_\dotnet-repl\613830ed-0 │
00:42:06 verbose #32457 > > │ 16e-d959-8d21-02dc1c63c252\test.txt' because it is being used by another     │
00:42:06 verbose #32458 > > │ process. }                                                                   │
00:42:06 verbose #32459 > > │ 00:00:02   debug #9 _3                                                  │
00:42:06 verbose #32460 > > │ 00:00:02   debug #10 5                                                  │
00:42:06 verbose #32461 > > │ 00:00:02   debug #11 6                                                  │
00:42:06 verbose #32462 > > │ __assert_between / actual: 128L / expected: struct (50L, 180L)               │
00:42:06 verbose #32463 > > │ __assert_eq / actual: true / expected: true                                  │
00:42:06 verbose #32464 > > │                                                                              │
00:42:06 verbose #32465 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:06 verbose #32466 > >
00:42:06 verbose #32467 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:06 verbose #32468 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:06 verbose #32469 > > │ ## main                                                                      │
00:42:06 verbose #32470 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:06 verbose #32471 > >
00:42:06 verbose #32472 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:06 verbose #32473 > > inl main () =
00:42:06 verbose #32474 > >     init_trace_state None
00:42:06 verbose #32475 > >     $'let delete_directory_async x = !delete_directory_async x' : ()
00:42:06 verbose #32476 > >     $'let wait_for_file_access x = !wait_for_file_access x' : ()
00:42:06 verbose #32477 > >     $'let wait_for_file_access_read x = !wait_for_file_access_read x' : ()
00:42:06 verbose #32478 > >     $'let read_all_text_async x = !read_all_text_async x' : ()
00:42:06 verbose #32479 > >     $'let file_exists_content x = !file_exists_content x' : ()
00:42:06 verbose #32480 > >     $'let write_all_text_async x = !write_all_text_async x' : ()
00:42:06 verbose #32481 > >     $'let write_all_text_exists x = !write_all_text_exists_async x' : ()
00:42:06 verbose #32482 > >     $'let delete_file_async x = !delete_file_async x' : ()
00:42:06 verbose #32483 > >     $'let move_file_async x = !move_file_async x' : ()
00:42:06 verbose #32484 > >     $'let read_all_text_retry_async x = !read_all_text_retry_async x' : ()
00:42:06 verbose #32485 > >     $'let create_temp_path () = !create_temp_path ()' : ()
00:42:06 verbose #32486 > >     $'let create_temp_dir () = !create_temp_dir ()' : ()
00:42:06 verbose #32487 > >     $'let create_temp_dir\' x = !create_temp_dir' x' : ()
00:42:06 verbose #32488 > >     $'let get_source_directory () = !get_source_directory ()' : ()
00:42:06 verbose #32489 > >     $'let normalize_path x = !normalize_path x' : ()
00:42:06 verbose #32490 > >     $'let new_file_uri x = !new_file_uri x' : ()
00:42:06 verbose #32491 > >     $'let get_workspace_root () = !get_workspace_root ()' : ()
00:42:06 verbose #32492 > >     $'let init_trace_file x = !init_trace_file x' : ()
00:42:06 verbose #32493 > >     inl combine x = (</>) x
00:42:06 verbose #32494 > >     $'let (</>) x = !combine x' : ()
00:42:06 verbose #32495 > 00:42:05   debug #1723 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d455ecb2ae255d9b63c884bb15c5218fab8eafa746c52c27922f6cd848662b4/main.spi
00:42:10 verbose #32496 > 00:01:50 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 100970 }
00:42:10 verbose #32497 > 00:01:50   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:42:10 verbose #32498 >     "nbconvert",
00:42:10 verbose #32499 >     "c:/home/git/polyglot/lib/spiral/file_system.dib.ipynb",
00:42:10 verbose #32500 >     "--to",
00:42:10 verbose #32501 >     "html",
00:42:10 verbose #32502 >     "--HTMLExporter.theme=dark",
00:42:10 verbose #32503 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/file_system.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:42:12 verbose #32504 > 00:01:52 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/file_system.dib.ipynb to html
00:42:12 verbose #32505 > 00:01:52 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:42:12 verbose #32506 > 00:01:52 verbose #7 !   validate(nb)
00:42:15 verbose #32507 > 00:01:55 verbose #8 ! [NbConvertApp] Writing 584083 bytes to c:\home\git\polyglot\lib\spiral\file_system.dib.html
00:42:15 verbose #32508 > 00:01:55 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 653 }
00:42:15 verbose #32509 > 00:01:55   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 653 }
00:42:15 verbose #32510 > 00:01:55   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:42:15 verbose #32511 >     "-c",
00:42:15 verbose #32512 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/file_system.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:42:15 verbose #32513 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/file_system.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:42:16 verbose #32514 > 00:01:56 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:42:16 verbose #32515 > 00:01:56   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:42:17 verbose #32516 > 00:01:57   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 101682 }
00:42:17   debug #32517 runtime.execute_with_options_async / { exit_code = 0; output_length = 108677 }
00:42:17   debug #40 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path file_system.dib --retries 3
00:42:17   debug #32518 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path networking.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:42:17 verbose #32519 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "networking.dib", "--retries", "3"])) }
00:42:17 verbose #32520 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:42:17 verbose #32521 >     "repl",
00:42:17 verbose #32522 >     "--exit-after-run",
00:42:17 verbose #32523 >     "--run",
00:42:17 verbose #32524 >     "c:/home/git/polyglot/lib/spiral/networking.dib",
00:42:17 verbose #32525 >     "--output-path",
00:42:17 verbose #32526 >     "c:/home/git/polyglot/lib/spiral/networking.dib.ipynb",
00:42:17 verbose #32527 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/lib/spiral/networking.dib" --output-path "c:/home/git/polyglot/lib/spiral/networking.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:42:19 verbose #32528 > >
00:42:19 verbose #32529 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:19 verbose #32530 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:19 verbose #32531 > > │ # networking                                                                 │
00:42:19 verbose #32532 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:23 verbose #32533 > >
00:42:23 verbose #32534 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:23 verbose #32535 > > open rust.rust_operators
00:42:24 verbose #32536 > 00:42:23   debug #1724 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/40daf77a2acec5ac15e1cf56631d4105f4f565759117828320eb559038e65549/main.spi
00:42:24 verbose #32537 > >
00:42:24 verbose #32538 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:24 verbose #32539 > > //// test
00:42:24 verbose #32540 > >
00:42:24 verbose #32541 > > open testing
00:42:25 verbose #32542 > 00:42:24   debug #1725 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc76f360fd664f6988ee1c6bc1dc43132802e524aab226e74a21329193e410ca/main.spi
00:42:25 verbose #32543 > >
00:42:25 verbose #32544 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:25 verbose #32545 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:25 verbose #32546 > > │ ## rust                                                                      │
00:42:25 verbose #32547 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:25 verbose #32548 > >
00:42:25 verbose #32549 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:25 verbose #32550 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:25 verbose #32551 > > │ ### reqwest_response                                                         │
00:42:25 verbose #32552 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:25 verbose #32553 > >
00:42:25 verbose #32554 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:25 verbose #32555 > > nominal reqwest_response =
00:42:25 verbose #32556 > >     `(
00:42:25 verbose #32557 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:42:25 verbose #32558 > > Fable.Core.Emit(\"reqwest_wasm::Response\")>]]\n#endif\ntype reqwest_Response =
00:42:25 verbose #32559 > > class end"
00:42:25 verbose #32560 > >         $'' : $'reqwest_Response'
00:42:25 verbose #32561 > >     )
00:42:25 verbose #32562 > 00:42:24   debug #1726 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/d2069849e21723337aa7ebc74521637bad7994b376dcdc3c3c1d50d173f939b0/main.spi
00:42:25 verbose #32563 > >
00:42:25 verbose #32564 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:25 verbose #32565 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:25 verbose #32566 > > │ ### reqwest_error                                                            │
00:42:25 verbose #32567 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:25 verbose #32568 > >
00:42:25 verbose #32569 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:25 verbose #32570 > > nominal reqwest_error =
00:42:25 verbose #32571 > >     `(
00:42:25 verbose #32572 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:42:25 verbose #32573 > > Fable.Core.Emit(\"reqwest_wasm::Error\")>]]\n#endif\ntype reqwest_Error = class
00:42:25 verbose #32574 > > end"
00:42:25 verbose #32575 > >         $'' : $'reqwest_Error'
00:42:25 verbose #32576 > >     )
00:42:25 verbose #32577 > 00:42:24   debug #1727 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/25917d4a38e7ed75f9b1b0ec7af13a83d57077e55ef4d95d8a5fd107cbc00ce1/main.spi
00:42:25 verbose #32578 > >
00:42:25 verbose #32579 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:25 verbose #32580 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:25 verbose #32581 > > │ ### request_builder                                                          │
00:42:25 verbose #32582 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:25 verbose #32583 > >
00:42:25 verbose #32584 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:25 verbose #32585 > > nominal request_builder =
00:42:25 verbose #32586 > >     `(
00:42:25 verbose #32587 > >         global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:42:25 verbose #32588 > > Fable.Core.Emit(\"reqwest_wasm::RequestBuilder\")>]]\n#endif\ntype
00:42:25 verbose #32589 > > reqwest_RequestBuilder = class end"
00:42:25 verbose #32590 > >         $'' : $'reqwest_RequestBuilder'
00:42:25 verbose #32591 > >     )
00:42:26 verbose #32592 > 00:42:25   debug #1728 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2d2c8f36cab87b2e04254e036b2f4d57b7341aca08d3780de76ee15253c6d14e/main.spi
00:42:26 verbose #32593 > >
00:42:26 verbose #32594 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:26 verbose #32595 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:26 verbose #32596 > > │ ### request_type                                                             │
00:42:26 verbose #32597 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:26 verbose #32598 > >
00:42:26 verbose #32599 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:26 verbose #32600 > > union request_type =
00:42:26 verbose #32601 > >     | Get
00:42:26 verbose #32602 > >     | Post
00:42:26 verbose #32603 > 00:42:25   debug #1729 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b5f1f32c1bacec413c3b49b8d0ffda1f2f8a91aebd5270d025dccd40db2b0d55/main.spi
00:42:26 verbose #32604 > >
00:42:26 verbose #32605 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:26 verbose #32606 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:26 verbose #32607 > > │ ### request                                                                  │
00:42:26 verbose #32608 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:26 verbose #32609 > >
00:42:26 verbose #32610 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:26 verbose #32611 > > type request =
00:42:26 verbose #32612 > >     {
00:42:26 verbose #32613 > >         url : string
00:42:26 verbose #32614 > >         request_type : request_type
00:42:26 verbose #32615 > >         body : string
00:42:26 verbose #32616 > >         json : bool
00:42:26 verbose #32617 > >         auto_refresh : bool
00:42:26 verbose #32618 > >     }
00:42:26 verbose #32619 > 00:42:25   debug #1730 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/63a8c772c8d3b585c0a507010befde19bd40e752f276737642272c25fcb2b006/main.spi
00:42:26 verbose #32620 > >
00:42:26 verbose #32621 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:26 verbose #32622 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:26 verbose #32623 > > │ ### new_request_get                                                          │
00:42:26 verbose #32624 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:26 verbose #32625 > >
00:42:26 verbose #32626 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:26 verbose #32627 > > inl new_request_get (url : string) : request_builder =
00:42:26 verbose #32628 > >     inl url = join url
00:42:26 verbose #32629 > >     inl url = url |> sm'.to_std_string
00:42:26 verbose #32630 > >     inl url = join url
00:42:26 verbose #32631 > >     !\($'"reqwest_wasm::Client::builder().build().map_err(|err|
00:42:26 verbose #32632 > > err.to_string())?.get(!url)"')
00:42:27 verbose #32633 > 00:42:26   debug #1731 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b5da4c98545b610d226f81106600c13eba810cfa829b2ef7e8a2dccbbf7c695b/main.spi
00:42:27 verbose #32634 > >
00:42:27 verbose #32635 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:27 verbose #32636 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:27 verbose #32637 > > │ ### new_request_post                                                         │
00:42:27 verbose #32638 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:27 verbose #32639 > >
00:42:27 verbose #32640 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:27 verbose #32641 > > inl new_request_post (url : string) : request_builder =
00:42:27 verbose #32642 > >     inl url = join url
00:42:27 verbose #32643 > >     inl url = url |> sm'.to_std_string
00:42:27 verbose #32644 > >     inl url = join url
00:42:27 verbose #32645 > >     !\($'"reqwest_wasm::Client::builder().build().map_err(|err|
00:42:27 verbose #32646 > > err.to_string())?.post(!url)"')
00:42:27 verbose #32647 > 00:42:26   debug #1732 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6ecfdb2bd3e1436e475c284a2daffc364aa27c4b77d06ad928377c290b5457b6/main.spi
00:42:27 verbose #32648 > >
00:42:27 verbose #32649 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:27 verbose #32650 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:27 verbose #32651 > > │ ### request_send                                                             │
00:42:27 verbose #32652 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:27 verbose #32653 > >
00:42:27 verbose #32654 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:27 verbose #32655 > > inl request_send (request : request_builder) : async.future_pin (resultm.result'
00:42:27 verbose #32656 > > reqwest_response reqwest_error) =
00:42:27 verbose #32657 > >     inl request = join request
00:42:27 verbose #32658 > >     !\($'"Box::pin(reqwest_wasm::RequestBuilder::send(!request))"')
00:42:27 verbose #32659 > 00:42:27   debug #1733 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/bc71fb06b5afb494651339cff022cdd813c664105c6bac4594f36290676a9796/main.spi
00:42:28 verbose #32660 > >
00:42:28 verbose #32661 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:28 verbose #32662 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:28 verbose #32663 > > │ ### request_body                                                             │
00:42:28 verbose #32664 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:28 verbose #32665 > >
00:42:28 verbose #32666 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:28 verbose #32667 > > inl request_body (body : string) (request : request_builder) : request_builder =
00:42:28 verbose #32668 > >     inl body = body |> sm'.to_std_string
00:42:28 verbose #32669 > >     !\($'"reqwest_wasm::RequestBuilder::body(!request, !body)"')
00:42:28 verbose #32670 > 00:42:27   debug #1734 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fddce33363e337a3231b5079726ebb12d54ae44cbf4a4cb352c7ca5b9367372b/main.spi
00:42:28 verbose #32671 > >
00:42:28 verbose #32672 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:28 verbose #32673 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:28 verbose #32674 > > │ ### request_header                                                           │
00:42:28 verbose #32675 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:28 verbose #32676 > >
00:42:28 verbose #32677 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:28 verbose #32678 > > inl request_header (key : string) (value : string) (request : request_builder) :
00:42:28 verbose #32679 > > request_builder =
00:42:28 verbose #32680 > >     inl request = join request
00:42:28 verbose #32681 > >     inl key = key |> sm'.to_std_string
00:42:28 verbose #32682 > >     inl value = value |> sm'.to_std_string
00:42:28 verbose #32683 > >     !\($'"reqwest_wasm::RequestBuilder::header(!request, !key, !value)"')
00:42:28 verbose #32684 > 00:42:27   debug #1735 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/51ba80a9538cc2817fa4a2044ee2f495b6aa992835368d11ec359630eb1bab5e/main.spi
00:42:28 verbose #32685 > >
00:42:28 verbose #32686 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:28 verbose #32687 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:28 verbose #32688 > > │ ### request_json                                                             │
00:42:28 verbose #32689 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:28 verbose #32690 > >
00:42:28 verbose #32691 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:28 verbose #32692 > > inl request_json forall t. (obj : t) (request : request_builder) :
00:42:28 verbose #32693 > > request_builder =
00:42:28 verbose #32694 > >     !\($'"reqwest_wasm::RequestBuilder::json(!request, &!obj)"')
00:42:29 verbose #32695 > 00:42:28   debug #1736 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/614c550f83799f04e9782ee58605b729944bda4de92111643f4ecaa2113835cd/main.spi
00:42:29 verbose #32696 > >
00:42:29 verbose #32697 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:29 verbose #32698 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:29 verbose #32699 > > │ ### response_text                                                            │
00:42:29 verbose #32700 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:29 verbose #32701 > >
00:42:29 verbose #32702 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:29 verbose #32703 > > inl response_text (response : reqwest_response) : async.future_pin
00:42:29 verbose #32704 > > (resultm.result' sm'.std_string reqwest_error) =
00:42:29 verbose #32705 > >     !\($'"Box::pin(reqwest_wasm::Response::text(!response))"')
00:42:29 verbose #32706 > 00:42:28   debug #1737 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/04754b9d3d1bc5bf6602d307138f3d64d6b28173afcb60860f4f4fd1b3d41bad/main.spi
00:42:29 verbose #32707 > >
00:42:29 verbose #32708 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:29 verbose #32709 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:29 verbose #32710 > > │ ## fsharp                                                                    │
00:42:29 verbose #32711 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:29 verbose #32712 > >
00:42:29 verbose #32713 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:29 verbose #32714 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:29 verbose #32715 > > │ ### tcp_client                                                               │
00:42:29 verbose #32716 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:29 verbose #32717 > >
00:42:29 verbose #32718 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:29 verbose #32719 > > nominal tcp_client = $'System.Net.Sockets.TcpClient'
00:42:29 verbose #32720 > 00:42:28   debug #1738 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/141098b5df2da6733fdb97c304e6d12924c2c06444ef3559ece91ed5ece934a0/main.spi
00:42:29 verbose #32721 > >
00:42:29 verbose #32722 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:29 verbose #32723 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:29 verbose #32724 > > │ ### new_tcp_client                                                           │
00:42:29 verbose #32725 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:29 verbose #32726 > >
00:42:29 verbose #32727 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:29 verbose #32728 > > inl new_tcp_client () : tcp_client =
00:42:29 verbose #32729 > >     $'new `tcp_client ()'
00:42:30 verbose #32730 > 00:42:29   debug #1739 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/b719f8547ea8bdbffcf4e3f05d0b4837ca45b6d241b2767ef9cfb64cde19ac92/main.spi
00:42:30 verbose #32731 > >
00:42:30 verbose #32732 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:30 verbose #32733 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:30 verbose #32734 > > │ ### ip_address                                                               │
00:42:30 verbose #32735 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:30 verbose #32736 > >
00:42:30 verbose #32737 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:30 verbose #32738 > > nominal ip_address = $'System.Net.IPAddress'
00:42:30 verbose #32739 > 00:42:29   debug #1740 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/2350beed062bdcdf8f5402245a58aa60ae4b4f5944f8e4391a9dd9e3d317062d/main.spi
00:42:30 verbose #32740 > >
00:42:30 verbose #32741 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:30 verbose #32742 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:30 verbose #32743 > > │ ### ip_address_parse                                                         │
00:42:30 verbose #32744 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:30 verbose #32745 > >
00:42:30 verbose #32746 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:30 verbose #32747 > > inl ip_address_parse (s : string) : ip_address =
00:42:30 verbose #32748 > >     s |> $'`ip_address.Parse'
00:42:30 verbose #32749 > 00:42:30   debug #1741 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8029dbc8c1927372620b904d1a393907c76bd6bd11bb2d0615a45ad18f953cc2/main.spi
00:42:31 verbose #32750 > >
00:42:31 verbose #32751 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:31 verbose #32752 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:31 verbose #32753 > > │ ### tcp_listener                                                             │
00:42:31 verbose #32754 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:31 verbose #32755 > >
00:42:31 verbose #32756 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:31 verbose #32757 > > nominal tcp_listener = $'System.Net.Sockets.TcpListener'
00:42:31 verbose #32758 > 00:42:30   debug #1742 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/223b98f3b1932b291ffbbd8800008107af850d457e14a8aa368a9e846f3c768f/main.spi
00:42:31 verbose #32759 > >
00:42:31 verbose #32760 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:31 verbose #32761 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:31 verbose #32762 > > │ ### new_tcp_listener                                                         │
00:42:31 verbose #32763 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:31 verbose #32764 > >
00:42:31 verbose #32765 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:31 verbose #32766 > > inl new_tcp_listener (ip_address : ip_address) (port : i32) : tcp_listener =
00:42:31 verbose #32767 > >     $'new `tcp_listener (!ip_address, !port)'
00:42:31 verbose #32768 > 00:42:30   debug #1743 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7f5c0c785466d81a46e5b7f7e7def0549507c9908e7c00bff9857803823d801d/main.spi
00:42:31 verbose #32769 > >
00:42:31 verbose #32770 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:31 verbose #32771 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:31 verbose #32772 > > │ ### listener_start                                                           │
00:42:31 verbose #32773 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:31 verbose #32774 > >
00:42:31 verbose #32775 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:31 verbose #32776 > > inl listener_start (listener : tcp_listener) : () =
00:42:31 verbose #32777 > >     $'!listener.Start' ()
00:42:32 verbose #32778 > 00:42:31   debug #1744 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/144d251fea50e91e6f3d1c242e623c19d8c3100a9268c11310095fc1cfa543a5/main.spi
00:42:32 verbose #32779 > >
00:42:32 verbose #32780 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:32 verbose #32781 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:32 verbose #32782 > > │ ### listener_stop                                                            │
00:42:32 verbose #32783 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:32 verbose #32784 > >
00:42:32 verbose #32785 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:32 verbose #32786 > > inl listener_stop (listener : tcp_listener) : () =
00:42:32 verbose #32787 > >     $'!listener.Stop' ()
00:42:32 verbose #32788 > 00:42:31   debug #1745 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7cd51b17f28765494f1c5e71f2d8ed0d6521d37054b99930980a257893bdcb9d/main.spi
00:42:32 verbose #32789 > >
00:42:32 verbose #32790 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:32 verbose #32791 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:32 verbose #32792 > > │ ### client_connect_async                                                     │
00:42:32 verbose #32793 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:32 verbose #32794 > >
00:42:32 verbose #32795 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:32 verbose #32796 > > inl client_connect_async
00:42:32 verbose #32797 > >     (host : string)
00:42:32 verbose #32798 > >     (port : i32)
00:42:32 verbose #32799 > >     (ct : threading.cancellation_token)
00:42:32 verbose #32800 > >     (client : tcp_client)
00:42:32 verbose #32801 > >     : async.value_task
00:42:32 verbose #32802 > >     =
00:42:32 verbose #32803 > >     $'!client.ConnectAsync (!host, !port, !ct)'
00:42:32 verbose #32804 > 00:42:31   debug #1746 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dc95982cea9f1078c9d9a4d166fa11e04be67d07d0cad2e10c7fb5df11322681/main.spi
00:42:32 verbose #32805 > >
00:42:32 verbose #32806 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:32 verbose #32807 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:32 verbose #32808 > > │ ### test_port_open                                                           │
00:42:32 verbose #32809 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:32 verbose #32810 > >
00:42:32 verbose #32811 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:32 verbose #32812 > > inl test_port_open host port : _ bool = async.new_async fun () =>
00:42:32 verbose #32813 > >     inl ct = async.cancellation_token () |> async.let'
00:42:32 verbose #32814 > >     inl client = new_tcp_client () |> use
00:42:32 verbose #32815 > >     try_unit
00:42:32 verbose #32816 > >         fun () =>
00:42:32 verbose #32817 > >             client |> client_connect_async host port ct |>
00:42:32 verbose #32818 > > async.await_value_task_unit |> async.do
00:42:32 verbose #32819 > >             return true
00:42:32 verbose #32820 > >         fun ex =>
00:42:32 verbose #32821 > >             inl ex = ex |> sm'.format_exception
00:42:32 verbose #32822 > >             trace Verbose
00:42:32 verbose #32823 > >                 fun () => $'$"networking.test_port_open"'
00:42:32 verbose #32824 > >                 fun () => { port ex }
00:42:32 verbose #32825 > >             return false
00:42:33 verbose #32826 > 00:42:32   debug #1747 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/dce11c833cf59d3df865d3e8db26ba9ccabe9dc53c1fab843648da9e0a4ff9b8/main.spi
00:42:33 verbose #32827 > >
00:42:33 verbose #32828 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:33 verbose #32829 > > //// test
00:42:33 verbose #32830 > >
00:42:33 verbose #32831 > > test_port_open "127.0.0.1" 65536
00:42:33 verbose #32832 > > |> async.run_with_timeout 120
00:42:33 verbose #32833 > > |> _assert_eq (Some false)
00:42:33 verbose #32834 > 00:42:32   debug #1748 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/6570c27f29f205d9853458e2f1d457635c06526d16a6b205fdd926162f105abc/main.spi
00:42:36 verbose #32835 > >
00:42:36 verbose #32836 > > ╭─[ 2.91s - stdout ]───────────────────────────────────────────────────────────╮
00:42:36 verbose #32837 > > │ 00:00:00 verbose #1 networking.test_port_open / { port = 65536; ex =    │
00:42:36 verbose #32838 > > │ System.ArgumentOutOfRangeException: Specified argument was out of the range  │
00:42:36 verbose #32839 > > │ of valid values. (Parameter 'port') }                                        │
00:42:36 verbose #32840 > > │ __assert_eq / actual: US4_0 false / expected: US4_0 false                    │
00:42:36 verbose #32841 > > │                                                                              │
00:42:36 verbose #32842 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:36 verbose #32843 > >
00:42:36 verbose #32844 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:36 verbose #32845 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:36 verbose #32846 > > │ ### test_port_open_timeout                                                   │
00:42:36 verbose #32847 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:36 verbose #32848 > >
00:42:36 verbose #32849 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:36 verbose #32850 > > inl test_port_open_timeout timeout host port : _ bool = async.new_async_unit fun
00:42:36 verbose #32851 > > () =>
00:42:36 verbose #32852 > >     test_port_open host port
00:42:36 verbose #32853 > >     |> async.run_with_timeout_async timeout
00:42:36 verbose #32854 > >     |> async.let'
00:42:36 verbose #32855 > >     |> function
00:42:36 verbose #32856 > >         | None => false
00:42:36 verbose #32857 > >         | Some result => result
00:42:36 verbose #32858 > >     |> return
00:42:36 verbose #32859 > 00:42:35   debug #1749 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/65c112b106aea7014ddd8c023a19f5d44a27486a88a8c1fc48b63d47e038019b/main.spi
00:42:36 verbose #32860 > >
00:42:36 verbose #32861 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:36 verbose #32862 > > //// test
00:42:36 verbose #32863 > >
00:42:36 verbose #32864 > > test_port_open_timeout 120 "127.0.0.1" 65535
00:42:36 verbose #32865 > > |> async.run_synchronously
00:42:36 verbose #32866 > > |> _assert_eq false
00:42:36 verbose #32867 > 00:42:35   debug #1750 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e9b5c24c13b2270b10c3df3aaefdf6459e6f752937bb1d740fbb11693ccf6d20/main.spi
00:42:38 verbose #32868 > >
00:42:38 verbose #32869 > > ╭─[ 1.59s - stdout ]───────────────────────────────────────────────────────────╮
00:42:38 verbose #32870 > > │ 00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 120 }    │
00:42:38 verbose #32871 > > │ __assert_eq / actual: false / expected: false                                │
00:42:38 verbose #32872 > > │                                                                              │
00:42:38 verbose #32873 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:38 verbose #32874 > >
00:42:38 verbose #32875 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:38 verbose #32876 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:38 verbose #32877 > > │ ### wait_for_port_access                                                     │
00:42:38 verbose #32878 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:38 verbose #32879 > >
00:42:38 verbose #32880 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:38 verbose #32881 > > inl wait_for_port_access timeout status host port : _ i64 =
00:42:38 verbose #32882 > >     let rec loop retry : _ i64 = async.new_async_unit fun () =>
00:42:38 verbose #32883 > >         inl isPortOpen =
00:42:38 verbose #32884 > >             match timeout |> optionm'.unbox with
00:42:38 verbose #32885 > >             | None => test_port_open host port
00:42:38 verbose #32886 > >             | Some timeout => test_port_open_timeout timeout host port
00:42:38 verbose #32887 > >             |> async.let'
00:42:38 verbose #32888 > >
00:42:38 verbose #32889 > >         fix_condition
00:42:38 verbose #32890 > >             fun () => isPortOpen = status
00:42:38 verbose #32891 > >             fun () => retry |> return
00:42:38 verbose #32892 > >             fun () =>
00:42:38 verbose #32893 > >                 if retry % 100 = 0 then
00:42:38 verbose #32894 > >                     trace Verbose
00:42:38 verbose #32895 > >                         fun () => "networking.wait_for_port_access"
00:42:38 verbose #32896 > >                         fun () => { port retry timeout status }
00:42:38 verbose #32897 > >                 async.sleep 10 |> async.do
00:42:38 verbose #32898 > >                 loop (retry + 1) |> async.return_await
00:42:38 verbose #32899 > >     loop 0i64
00:42:38 verbose #32900 > 00:42:37   debug #1751 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f8eabeceec6bd69c8ac0aa188b23884b74809713954d55c1b8c0d939c1fcb78a/main.spi
00:42:38 verbose #32901 > >
00:42:38 verbose #32902 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:38 verbose #32903 > > //// test
00:42:38 verbose #32904 > >
00:42:38 verbose #32905 > > inl lock_port host port = async.new_async fun () =>
00:42:38 verbose #32906 > >     trace Debug (fun () => "_1") id
00:42:38 verbose #32907 > >     async.sleep 5000 |> async.do
00:42:38 verbose #32908 > >     inl listener = new_tcp_listener (host |> ip_address_parse) port |> use
00:42:38 verbose #32909 > >     trace Debug (fun () => "_2") id
00:42:38 verbose #32910 > >     listener |> listener_start
00:42:38 verbose #32911 > >     trace Debug (fun () => "_3") id
00:42:38 verbose #32912 > >     async.sleep 2000 |> async.do
00:42:38 verbose #32913 > >     trace Debug (fun () => "_4") id
00:42:38 verbose #32914 > >     $'!listener.Stop' ()
00:42:38 verbose #32915 > >     trace Debug (fun () => "_5") id
00:42:38 verbose #32916 > >
00:42:38 verbose #32917 > > inl host = "127.0.0.1"
00:42:38 verbose #32918 > > inl port = 5555i32
00:42:38 verbose #32919 > >
00:42:38 verbose #32920 > > fun () =>
00:42:38 verbose #32921 > >     trace Debug (fun () => "1") id
00:42:38 verbose #32922 > >     inl child = lock_port host port |> async.start_child |> async.let'
00:42:38 verbose #32923 > >     trace Debug (fun () => "2") id
00:42:38 verbose #32924 > >     async.sleep 1 |> async.do
00:42:38 verbose #32925 > >     trace Debug (fun () => "3") id
00:42:38 verbose #32926 > >     inl retries1 = wait_for_port_access (None |> optionm'.box) true host port |>
00:42:38 verbose #32927 > > async.let'
00:42:38 verbose #32928 > >     trace Debug (fun () => "4") id
00:42:38 verbose #32929 > >     inl retries2 = wait_for_port_access (None |> optionm'.box) false host port
00:42:38 verbose #32930 > > |> async.let'
00:42:38 verbose #32931 > >     trace Debug (fun () => "5") id
00:42:38 verbose #32932 > >     child |> async.do
00:42:38 verbose #32933 > >     trace Debug (fun () => "6") id
00:42:38 verbose #32934 > >     (retries1, retries2) |> return
00:42:38 verbose #32935 > > |> async.new_async_unit
00:42:38 verbose #32936 > > |> async.run_with_timeout 20000
00:42:38 verbose #32937 > > |> function
00:42:38 verbose #32938 > >     | Some (retries1, retries2) =>
00:42:38 verbose #32939 > >         retries1
00:42:38 verbose #32940 > >         |> _assert_between
00:42:38 verbose #32941 > >             if platform.is_windows () then 2i64 else 2
00:42:38 verbose #32942 > >             if platform.is_windows () then 5 else 1500
00:42:38 verbose #32943 > >
00:42:38 verbose #32944 > >         retries2
00:42:38 verbose #32945 > >         |> _assert_between
00:42:38 verbose #32946 > >             if platform.is_windows () then 80i64 else 80
00:42:38 verbose #32947 > >             if platform.is_windows () then 200 else 600
00:42:38 verbose #32948 > >
00:42:38 verbose #32949 > >         true
00:42:38 verbose #32950 > >     | _ => false
00:42:38 verbose #32951 > > |> _assert_eq true
00:42:38 verbose #32952 > 00:42:37   debug #1752 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/3e85ba0e3843d0e5951573a0aabba952b3b9b2da65670a1e6735c8e72520e8c6/main.spi
00:42:52 verbose #32953 > >
00:42:52 verbose #32954 > > ╭─[ 13.79s - stdout ]──────────────────────────────────────────────────────────╮
00:42:52 verbose #32955 > > │ 00:00:00   debug #1 1                                                   │
00:42:52 verbose #32956 > > │ 00:00:00   debug #2 _1                                                  │
00:42:52 verbose #32957 > > │ 00:00:00   debug #3 2                                                   │
00:42:52 verbose #32958 > > │ 00:00:00   debug #4 3                                                   │
00:42:52 verbose #32959 > > │ 00:00:02 verbose #5 networking.test_port_open / { port = 5555; ex =     │
00:42:52 verbose #32960 > > │ System.AggregateException: One or more errors occurred. (No connection could │
00:42:52 verbose #32961 > > │ be made because the target machine actively refused it.) }                   │
00:42:52 verbose #32962 > > │ 00:00:02 verbose #6 networking.wait_for_port_access / { port = 5555;    │
00:42:52 verbose #32963 > > │ retry = 0; timeout = None; status = true }                                   │
00:42:52 verbose #32964 > > │ 00:00:04 verbose #7 networking.test_port_open / { port = 5555; ex =     │
00:42:52 verbose #32965 > > │ System.AggregateException: One or more errors occurred. (No connection could │
00:42:52 verbose #32966 > > │ be made because the target machine actively refused it.) }                   │
00:42:52 verbose #32967 > > │ 00:00:05   debug #8 _2                                                  │
00:42:52 verbose #32968 > > │ 00:00:05   debug #9 _3                                                  │
00:42:52 verbose #32969 > > │ 00:00:05   debug #10 4                                                  │
00:42:52 verbose #32970 > > │ 00:00:05 verbose #11 networking.wait_for_port_access / { port = 5555;   │
00:42:52 verbose #32971 > > │ retry = 0; timeout = None; status = false }                                  │
00:42:52 verbose #32972 > > │ 00:00:06 verbose #12 networking.wait_for_port_access / { port = 5555;   │
00:42:52 verbose #32973 > > │ retry = 100; timeout = None; status = false }                                │
00:42:52 verbose #32974 > > │ 00:00:07   debug #13 _4                                                 │
00:42:52 verbose #32975 > > │ 00:00:07   debug #14 _5                                                 │
00:42:52 verbose #32976 > > │ 00:00:09 verbose #15 networking.test_port_open / { port = 5555; ex =    │
00:42:52 verbose #32977 > > │ System.AggregateException: One or more errors occurred. (No connection could │
00:42:52 verbose #32978 > > │ be made because the target machine actively refused it.) }                   │
00:42:52 verbose #32979 > > │ 00:00:09   debug #16 5                                                  │
00:42:52 verbose #32980 > > │ 00:00:09   debug #17 6                                                  │
00:42:52 verbose #32981 > > │ __assert_between / actual: 2L / expected: struct (2L, 5L)                    │
00:42:52 verbose #32982 > > │ __assert_between / actual: 120L / expected: struct (80L, 200L)               │
00:42:52 verbose #32983 > > │ __assert_eq / actual: true / expected: true                                  │
00:42:52 verbose #32984 > > │                                                                              │
00:42:52 verbose #32985 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:52 verbose #32986 > >
00:42:52 verbose #32987 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:52 verbose #32988 > > //// test
00:42:52 verbose #32989 > >
00:42:52 verbose #32990 > > inl lock_port host port = async.new_async_unit fun () =>
00:42:52 verbose #32991 > >     trace Debug (fun () => "_1") id
00:42:52 verbose #32992 > >     async.sleep 500 |> async.do
00:42:52 verbose #32993 > >     inl listener = new_tcp_listener (ip_address_parse host) port |> use
00:42:52 verbose #32994 > >     trace Debug (fun () => "_2") id
00:42:52 verbose #32995 > >     listener |> listener_start
00:42:52 verbose #32996 > >     trace Debug (fun () => "_3") id
00:42:52 verbose #32997 > >     async.sleep 200 |> async.do
00:42:52 verbose #32998 > >     trace Debug (fun () => "_4") id
00:42:52 verbose #32999 > >     listener |> listener_stop
00:42:52 verbose #33000 > >     trace Debug (fun () => "_5") id
00:42:52 verbose #33001 > >
00:42:52 verbose #33002 > > inl host = "127.0.0.1"
00:42:52 verbose #33003 > > inl port = 5555
00:42:52 verbose #33004 > >
00:42:52 verbose #33005 > > fun () =>
00:42:52 verbose #33006 > >     trace Debug (fun () => "1") id
00:42:52 verbose #33007 > >     inl child = lock_port host port |> async.start_child |> async.let'
00:42:52 verbose #33008 > >     trace Debug (fun () => "2") id
00:42:52 verbose #33009 > >     async.sleep 1 |> async.do
00:42:52 verbose #33010 > >     trace Debug (fun () => "3") id
00:42:52 verbose #33011 > >     inl retries1 = wait_for_port_access (Some 60 |> optionm'.box) true host port
00:42:52 verbose #33012 > > |> async.let'
00:42:52 verbose #33013 > >     trace Debug (fun () => "4") id
00:42:52 verbose #33014 > >     inl retries2 = wait_for_port_access (Some 60 |> optionm'.box) false host
00:42:52 verbose #33015 > > port |> async.let'
00:42:52 verbose #33016 > >     trace Debug (fun () => "5") id
00:42:52 verbose #33017 > >     child |> async.do
00:42:52 verbose #33018 > >     trace Debug (fun () => "6") id
00:42:52 verbose #33019 > >     (retries1, retries2) |> return
00:42:52 verbose #33020 > > |> async.new_async_unit
00:42:52 verbose #33021 > > |> async.run_with_timeout 2000
00:42:52 verbose #33022 > > |> function
00:42:52 verbose #33023 > >     | Some (retries1, retries2) =>
00:42:52 verbose #33024 > >         retries1
00:42:52 verbose #33025 > >         |> _assert_between
00:42:52 verbose #33026 > >             if platform.is_windows () then 4i64 else 2
00:42:52 verbose #33027 > >             if platform.is_windows () then 15 else 150
00:42:52 verbose #33028 > >
00:42:52 verbose #33029 > >         retries2
00:42:52 verbose #33030 > >         |> _assert_between
00:42:52 verbose #33031 > >             if platform.is_windows () then 5i64 else 0
00:42:52 verbose #33032 > >             if platform.is_windows () then 20 else 60
00:42:52 verbose #33033 > >
00:42:52 verbose #33034 > >         true
00:42:52 verbose #33035 > >     | _ => false
00:42:52 verbose #33036 > > |> _assert_eq true
00:42:52 verbose #33037 > 00:42:51   debug #1753 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0f2e8ca44f24827963f0729445b3756f3a4f0d294ab0aaa8d819486c4cb0363c/main.spi
00:42:57 verbose #33038 > >
00:42:57 verbose #33039 > > ╭─[ 4.77s - stdout ]───────────────────────────────────────────────────────────╮
00:42:57 verbose #33040 > > │ 00:00:00   debug #1 1                                                   │
00:42:57 verbose #33041 > > │ 00:00:00   debug #3 2                                                   │
00:42:57 verbose #33042 > > │ 00:00:00   debug #3 _1                                                  │
00:42:57 verbose #33043 > > │ 00:00:00   debug #4 3                                                   │
00:42:57 verbose #33044 > > │ 00:00:00 verbose #5 async.run_with_timeout_async / { timeout = 60 }     │
00:42:57 verbose #33045 > > │ 00:00:00 verbose #6 networking.wait_for_port_access / { port = 5555;    │
00:42:57 verbose #33046 > > │ retry = 0; timeout = Some 60; status = true }                                │
00:42:57 verbose #33047 > > │ 00:00:00 verbose #7 async.run_with_timeout_async / { timeout = 60 }     │
00:42:57 verbose #33048 > > │ 00:00:00 verbose #8 async.run_with_timeout_async / { timeout = 60 }     │
00:42:57 verbose #33049 > > │ 00:00:00 verbose #9 async.run_with_timeout_async / { timeout = 60 }     │
00:42:57 verbose #33050 > > │ 00:00:00 verbose #10 async.run_with_timeout_async / { timeout = 60 }    │
00:42:57 verbose #33051 > > │ 00:00:00 verbose #11 async.run_with_timeout_async / { timeout = 60 }    │
00:42:57 verbose #33052 > > │ 00:00:00   debug #12 _2                                                 │
00:42:57 verbose #33053 > > │ 00:00:00   debug #13 _3                                                 │
00:42:57 verbose #33054 > > │ 00:00:00 verbose #14 async.run_with_timeout_async / { timeout = 60 }    │
00:42:57 verbose #33055 > > │ 00:00:00   debug #15 4                                                  │
00:42:57 verbose #33056 > > │ 00:00:00 verbose #16 networking.wait_for_port_access / { port = 5555;   │
00:42:57 verbose #33057 > > │ retry = 0; timeout = Some 60; status = false }                               │
00:42:57 verbose #33058 > > │ 00:00:00   debug #17 _4                                                 │
00:42:57 verbose #33059 > > │ 00:00:00   debug #18 _5                                                 │
00:42:57 verbose #33060 > > │ 00:00:00 verbose #19 async.run_with_timeout_async / { timeout = 60 }    │
00:42:57 verbose #33061 > > │ 00:00:00   debug #20 5                                                  │
00:42:57 verbose #33062 > > │ 00:00:00   debug #21 6                                                  │
00:42:57 verbose #33063 > > │ __assert_between / actual: 7L / expected: struct (4L, 15L)                   │
00:42:57 verbose #33064 > > │ __assert_between / actual: 9L / expected: struct (5L, 20L)                   │
00:42:57 verbose #33065 > > │ __assert_eq / actual: true / expected: true                                  │
00:42:57 verbose #33066 > > │                                                                              │
00:42:57 verbose #33067 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:57 verbose #33068 > >
00:42:57 verbose #33069 > > ── markdown ────────────────────────────────────────────────────────────────────
00:42:57 verbose #33070 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:42:57 verbose #33071 > > │ ### get_available_port                                                       │
00:42:57 verbose #33072 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:42:57 verbose #33073 > >
00:42:57 verbose #33074 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:57 verbose #33075 > > inl get_available_port timeout host initial_port : _ i32 =
00:42:57 verbose #33076 > >     let rec loop port = async.new_async_unit fun () =>
00:42:57 verbose #33077 > >         inl is_port_open =
00:42:57 verbose #33078 > >             match timeout |> optionm'.unbox with
00:42:57 verbose #33079 > >             | None => test_port_open host port
00:42:57 verbose #33080 > >             | Some timeout => test_port_open_timeout timeout host port
00:42:57 verbose #33081 > >             |> async.let'
00:42:57 verbose #33082 > >         fix_condition
00:42:57 verbose #33083 > >             fun () => is_port_open |> not
00:42:57 verbose #33084 > >             fun () => port |> return
00:42:57 verbose #33085 > >             fun () => loop (port + 1) |> async.return_await
00:42:57 verbose #33086 > >     loop initial_port
00:42:57 verbose #33087 > 00:42:56   debug #1754 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/43f246205b46760e4443f6ccc66883ce179ce8f594316267f0beaf38805fe740/main.spi
00:42:57 verbose #33088 > >
00:42:57 verbose #33089 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:42:57 verbose #33090 > > //// test
00:42:57 verbose #33091 > >
00:42:57 verbose #33092 > > inl lock_ports host port = async.new_async_unit fun () =>
00:42:57 verbose #33093 > >     trace Debug (fun () => "_1") id
00:42:57 verbose #33094 > >     inl listener1 = new_tcp_listener (ip_address_parse host) port |> use
00:42:57 verbose #33095 > >     inl listener2 = new_tcp_listener (ip_address_parse host) (port + 1) |> use
00:42:57 verbose #33096 > >     trace Debug (fun () => "_2") id
00:42:57 verbose #33097 > >     listener1 |> listener_start
00:42:57 verbose #33098 > >     listener2 |> listener_start
00:42:57 verbose #33099 > >     trace Debug (fun () => "_3") id
00:42:57 verbose #33100 > >     async.sleep 4000 |> async.do
00:42:57 verbose #33101 > >     trace Debug (fun () => "_4") id
00:42:57 verbose #33102 > >     listener1 |> listener_stop
00:42:57 verbose #33103 > >     listener2 |> listener_stop
00:42:57 verbose #33104 > >     trace Debug (fun () => "_5") id
00:42:57 verbose #33105 > >
00:42:57 verbose #33106 > > inl host = "127.0.0.1"
00:42:57 verbose #33107 > > inl port = 5555
00:42:57 verbose #33108 > >
00:42:57 verbose #33109 > > fun () =>
00:42:57 verbose #33110 > >     trace Debug (fun () => "1") id
00:42:57 verbose #33111 > >     inl child = lock_ports host port |> async.start_child |> async.let'
00:42:57 verbose #33112 > >     trace Debug (fun () => "2") id
00:42:57 verbose #33113 > >     async.sleep 240 |> async.do
00:42:57 verbose #33114 > >     trace Debug (fun () => "3") id
00:42:57 verbose #33115 > >     inl available_port = get_available_port (None |> optionm'.box) host port |>
00:42:57 verbose #33116 > > async.let'
00:42:57 verbose #33117 > >     trace Debug (fun () => "4") id
00:42:57 verbose #33118 > >     inl retries = wait_for_port_access (None |> optionm'.box) false host port |>
00:42:57 verbose #33119 > > async.let'
00:42:57 verbose #33120 > >     trace Debug (fun () => "5") id
00:42:57 verbose #33121 > >     child |> async.do
00:42:57 verbose #33122 > >     trace Debug (fun () => "6") id
00:42:57 verbose #33123 > >     (available_port, retries) |> return
00:42:57 verbose #33124 > > |> async.new_async_unit
00:42:57 verbose #33125 > > |> async.run_with_timeout 15000
00:42:57 verbose #33126 > > |> function
00:42:57 verbose #33127 > >     | Some (available_port, retries) =>
00:42:57 verbose #33128 > >         available_port |> _assert_eq (port + 2)
00:42:57 verbose #33129 > >
00:42:57 verbose #33130 > >         retries
00:42:57 verbose #33131 > >         |> _assert_between
00:42:57 verbose #33132 > >             if platform.is_windows () then 50i64 else 50
00:42:57 verbose #33133 > >             if platform.is_windows () then 150 else 1200
00:42:57 verbose #33134 > >
00:42:57 verbose #33135 > >         true
00:42:57 verbose #33136 > >     | _ => false
00:42:57 verbose #33137 > > |> _assert_eq true
00:42:57 verbose #33138 > 00:42:56   debug #1755 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7cfbd1dd20d787e67100fdd98df5913bc572028be1a876a239f7a1956c0f3f5e/main.spi
00:43:07 verbose #33139 > >
00:43:07 verbose #33140 > > ╭─[ 10.07s - stdout ]──────────────────────────────────────────────────────────╮
00:43:07 verbose #33141 > > │ 00:00:00   debug #1 1                                                   │
00:43:07 verbose #33142 > > │ 00:00:00   debug #2 _1                                                  │
00:43:07 verbose #33143 > > │ 00:00:00   debug #3 2                                                   │
00:43:07 verbose #33144 > > │ 00:00:00   debug #4 _2                                                  │
00:43:07 verbose #33145 > > │ 00:00:00   debug #5 _3                                                  │
00:43:07 verbose #33146 > > │ 00:00:00   debug #6 3                                                   │
00:43:07 verbose #33147 > > │ 00:00:02 verbose #7 networking.test_port_open / { port = 5557; ex =     │
00:43:07 verbose #33148 > > │ System.AggregateException: One or more errors occurred. (No connection could │
00:43:07 verbose #33149 > > │ be made because the target machine actively refused it.) }                   │
00:43:07 verbose #33150 > > │ 00:00:02   debug #8 4                                                   │
00:43:07 verbose #33151 > > │ 00:00:02 verbose #9 networking.wait_for_port_access / { port = 5555;    │
00:43:07 verbose #33152 > > │ retry = 0; timeout = None; status = false }                                  │
00:43:07 verbose #33153 > > │ 00:00:03 verbose #10 networking.wait_for_port_access / { port = 5555;   │
00:43:07 verbose #33154 > > │ retry = 100; timeout = None; status = false }                                │
00:43:07 verbose #33155 > > │ 00:00:04   debug #11 _4                                                 │
00:43:07 verbose #33156 > > │ 00:00:04   debug #12 _5                                                 │
00:43:07 verbose #33157 > > │ 00:00:06 verbose #13 networking.test_port_open / { port = 5555; ex =    │
00:43:07 verbose #33158 > > │ System.AggregateException: One or more errors occurred. (No connection could │
00:43:07 verbose #33159 > > │ be made because the target machine actively refused it.) }                   │
00:43:07 verbose #33160 > > │ 00:00:06   debug #14 5                                                  │
00:43:07 verbose #33161 > > │ 00:00:06   debug #15 6                                                  │
00:43:07 verbose #33162 > > │ __assert_eq / actual: 5557 / expected: 5557                                  │
00:43:07 verbose #33163 > > │ __assert_between / actual: 109L / expected: struct (50L, 150L)               │
00:43:07 verbose #33164 > > │ __assert_eq / actual: true / expected: true                                  │
00:43:07 verbose #33165 > > │                                                                              │
00:43:07 verbose #33166 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:43:07 verbose #33167 > >
00:43:07 verbose #33168 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:43:07 verbose #33169 > > //// test
00:43:07 verbose #33170 > >
00:43:07 verbose #33171 > > inl lock_ports host port = async.new_async_unit fun () =>
00:43:07 verbose #33172 > >     trace Debug (fun () => "_1") id
00:43:07 verbose #33173 > >     inl listener1 = new_tcp_listener (ip_address_parse host) port |> use
00:43:07 verbose #33174 > >     inl listener2 = new_tcp_listener (ip_address_parse host) (port + 1) |> use
00:43:07 verbose #33175 > >     trace Debug (fun () => "_2") id
00:43:07 verbose #33176 > >     listener1 |> listener_start
00:43:07 verbose #33177 > >     listener2 |> listener_start
00:43:07 verbose #33178 > >     trace Debug (fun () => "_3") id
00:43:07 verbose #33179 > >     async.sleep 400 |> async.do
00:43:07 verbose #33180 > >     trace Debug (fun () => "_4") id
00:43:07 verbose #33181 > >     listener1 |> listener_stop
00:43:07 verbose #33182 > >     listener2 |> listener_stop
00:43:07 verbose #33183 > >     trace Debug (fun () => "_5") id
00:43:07 verbose #33184 > >
00:43:07 verbose #33185 > > inl host = "127.0.0.1"
00:43:07 verbose #33186 > > inl port = 5555
00:43:07 verbose #33187 > >
00:43:07 verbose #33188 > > fun () =>
00:43:07 verbose #33189 > >     trace Debug (fun () => "1") id
00:43:07 verbose #33190 > >     inl child = lock_ports host port |> async.start_child |> async.let'
00:43:07 verbose #33191 > >     trace Debug (fun () => "2") id
00:43:07 verbose #33192 > >     async.sleep 240 |> async.do
00:43:07 verbose #33193 > >     trace Debug (fun () => "3") id
00:43:07 verbose #33194 > >     inl available_port = get_available_port (Some 60 |> optionm'.box) host port
00:43:07 verbose #33195 > > |> async.let'
00:43:07 verbose #33196 > >     trace Debug (fun () => "4") id
00:43:07 verbose #33197 > >     inl retries = wait_for_port_access (Some 60 |> optionm'.box) false host port
00:43:07 verbose #33198 > > |> async.let'
00:43:07 verbose #33199 > >     trace Debug (fun () => "5") id
00:43:07 verbose #33200 > >     child |> async.do
00:43:07 verbose #33201 > >     trace Debug (fun () => "6") id
00:43:07 verbose #33202 > >     (available_port, retries) |> return
00:43:07 verbose #33203 > > |> async.new_async_unit
00:43:07 verbose #33204 > > |> async.run_with_timeout 1500
00:43:07 verbose #33205 > > |> function
00:43:07 verbose #33206 > >     | Some (available_port, retries) =>
00:43:07 verbose #33207 > >         available_port |> _assert_eq (port + 2)
00:43:07 verbose #33208 > >
00:43:07 verbose #33209 > >         retries
00:43:07 verbose #33210 > >         |> _assert_between
00:43:07 verbose #33211 > >             (if platform.is_windows () then 2i64 else 1)
00:43:07 verbose #33212 > >             (if platform.is_windows () then 10 else 120)
00:43:07 verbose #33213 > >
00:43:07 verbose #33214 > >         true
00:43:07 verbose #33215 > >     | _ => false
00:43:07 verbose #33216 > > |> _assert_eq true
00:43:07 verbose #33217 > 00:43:06   debug #1756 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f0e9795f25dd24875a68faa1ad06677e6df74f47f065dc9656f618e800d5e32c/main.spi
00:43:11 verbose #33218 > >
00:43:11 verbose #33219 > > ╭─[ 4.32s - stdout ]───────────────────────────────────────────────────────────╮
00:43:11 verbose #33220 > > │ 00:00:00   debug #1 1                                                   │
00:43:11 verbose #33221 > > │ 00:00:00   debug #3 2                                                   │
00:43:11 verbose #33222 > > │ 00:00:00   debug #3 _1                                                  │
00:43:11 verbose #33223 > > │ 00:00:00   debug #4 _2                                                  │
00:43:11 verbose #33224 > > │ 00:00:00   debug #5 _3                                                  │
00:43:11 verbose #33225 > > │ 00:00:00   debug #6 3                                                   │
00:43:11 verbose #33226 > > │ 00:00:00 verbose #7 async.run_with_timeout_async / { timeout = 60 }     │
00:43:11 verbose #33227 > > │ 00:00:00   debug #8 4                                                   │
00:43:11 verbose #33228 > > │ 00:00:00 verbose #9 networking.wait_for_port_access / { port = 5555;    │
00:43:11 verbose #33229 > > │ retry = 0; timeout = Some 60; status = false }                               │
00:43:11 verbose #33230 > > │ 00:00:00   debug #10 _4                                                 │
00:43:11 verbose #33231 > > │ 00:00:00   debug #11 _5                                                 │
00:43:11 verbose #33232 > > │ 00:00:00 verbose #12 async.run_with_timeout_async / { timeout = 60 }    │
00:43:11 verbose #33233 > > │ 00:00:00   debug #13 5                                                  │
00:43:11 verbose #33234 > > │ 00:00:00   debug #14 6                                                  │
00:43:11 verbose #33235 > > │ __assert_eq / actual: 5557 / expected: 5557                                  │
00:43:11 verbose #33236 > > │ __assert_between / actual: 4L / expected: struct (2L, 10L)                   │
00:43:11 verbose #33237 > > │ __assert_eq / actual: true / expected: true                                  │
00:43:11 verbose #33238 > > │                                                                              │
00:43:11 verbose #33239 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:43:11 verbose #33240 > >
00:43:11 verbose #33241 > > ── markdown ────────────────────────────────────────────────────────────────────
00:43:11 verbose #33242 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:43:11 verbose #33243 > > │ ## main                                                                      │
00:43:11 verbose #33244 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:43:11 verbose #33245 > >
00:43:11 verbose #33246 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:43:11 verbose #33247 > > inl main () =
00:43:11 verbose #33248 > >     init_trace_state None
00:43:11 verbose #33249 > >     $'let test_port_open x = !test_port_open x' : ()
00:43:11 verbose #33250 > >     $'let test_port_open_timeout x = !test_port_open_timeout x' : ()
00:43:11 verbose #33251 > >     $'let wait_for_port_access x = !wait_for_port_access x' : ()
00:43:11 verbose #33252 > >     $'let get_available_port x = !get_available_port x' : ()
00:43:12 verbose #33253 > 00:43:11   debug #1757 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0a39dd7602c23f3a79ce6787715935e22f9eb19e59997a9db617529aa749587b/main.spi
00:43:14 verbose #33254 > 00:00:57 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 34180 }
00:43:14 verbose #33255 > 00:00:57   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:43:14 verbose #33256 >     "nbconvert",
00:43:14 verbose #33257 >     "c:/home/git/polyglot/lib/spiral/networking.dib.ipynb",
00:43:14 verbose #33258 >     "--to",
00:43:14 verbose #33259 >     "html",
00:43:14 verbose #33260 >     "--HTMLExporter.theme=dark",
00:43:14 verbose #33261 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/lib/spiral/networking.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:43:16 verbose #33262 > 00:00:59 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/lib/spiral/networking.dib.ipynb to html
00:43:16 verbose #33263 > 00:00:59 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:43:16 verbose #33264 > 00:00:59 verbose #7 !   validate(nb)
00:43:18 verbose #33265 > 00:01:01 verbose #8 ! [NbConvertApp] Writing 369848 bytes to c:\home\git\polyglot\lib\spiral\networking.dib.html
00:43:18 verbose #33266 > 00:01:01 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 651 }
00:43:18 verbose #33267 > 00:01:01   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 651 }
00:43:18 verbose #33268 > 00:01:01   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:43:18 verbose #33269 >     "-c",
00:43:18 verbose #33270 >     "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/networking.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:43:18 verbose #33271 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/lib/spiral/networking.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:43:19 verbose #33272 > 00:01:02 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:43:19 verbose #33273 > 00:01:02   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:43:20 verbose #33274 > 00:01:02   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 34890 }
00:43:20   debug #33275 runtime.execute_with_options_async / { exit_code = 0; output_length = 38988 }
00:43:20   debug #41 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path networking.dib --retries 3
00:43:20 verbose #7 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:43:20 verbose #8 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 writeDibCode / output: Spi / path: testing.dib
00:00:00   debug #1 writeDibCode / output: Spi / path: async.dib
00:00:00   debug #1 writeDibCode / output: Spi / path: crypto.dib
00:00:00   debug #1 writeDibCode / output: Spi / path: runtime.dib
00:00:00   debug #1 writeDibCode / output: Spi / path: networking.dib
00:00:00   debug #1 writeDibCode / output: Spi / path: common.dib
00:00:00   debug #1 writeDibCode / output: Spi / path: threading.dib
00:00:00   debug #1 writeDibCode / output: Spi / path: trace.dib
00:00:00   debug #3 parseDibCode / output: Spi / file: testing.dib
00:00:00   debug #3 parseDibCode / output: Spi / file: crypto.dib
00:00:00   debug #3 parseDibCode / output: Spi / file: runtime.dib
00:00:00   debug #5 parseDibCode / output: Spi / file: trace.dib
00:00:00   debug #7 parseDibCode / output: Spi / file: async.dib
00:00:00   debug #4 parseDibCode / output: Spi / file: threading.dib
00:00:00   debug #7 parseDibCode / output: Spi / file: common.dib
00:00:00   debug #8 parseDibCode / output: Spi / file: networking.dib
00:00:00   debug #11 writeDibCode / output: Spi / path: base.dib
00:00:00   debug #11 writeDibCode / output: Spi / path: env.dib
00:00:00   debug #11 writeDibCode / output: Spi / path: iter.dib
00:00:00   debug #13 writeDibCode / output: Spi / path: console.dib
00:00:00   debug #12 writeDibCode / output: Spi / path: parsing.dib
00:00:00   debug #14 parseDibCode / output: Spi / file: base.dib
00:00:00   debug #15 parseDibCode / output: Spi / file: env.dib
00:00:00   debug #17 parseDibCode / output: Spi / file: console.dib
00:00:00   debug #11 writeDibCode / output: Spi / path: resultm.dib
00:00:00   debug #18 parseDibCode / output: Spi / file: parsing.dib
00:00:00   debug #16 parseDibCode / output: Spi / file: iter.dib
00:00:00   debug #21 writeDibCode / output: Spi / path: date_time.dib
00:00:00   debug #21 writeDibCode / output: Spi / path: file_system.dib
00:00:00   debug #19 parseDibCode / output: Spi / file: resultm.dib
00:00:00   debug #22 parseDibCode / output: Spi / file: date_time.dib
00:00:00   debug #23 parseDibCode / output: Spi / file: file_system.dib
00:00:00   debug #24 writeDibCode / output: Spi / path: guid.dib
00:00:00   debug #25 writeDibCode / output: Spi / path: math.dib
00:00:00   debug #26 parseDibCode / output: Spi / file: guid.dib
00:00:00   debug #27 parseDibCode / output: Spi / file: math.dib
00:00:00   debug #28 writeDibCode / output: Spi / path: mapm.dib
00:00:00   debug #29 parseDibCode / output: Spi / file: mapm.dib
00:00:00   debug #30 writeDibCode / output: Spi / path: am'.dib
00:00:00   debug #30 writeDibCode / output: Spi / path: optionm'.dib
00:00:00   debug #31 parseDibCode / output: Spi / file: am'.dib
00:00:00   debug #32 parseDibCode / output: Spi / file: optionm'.dib
00:00:00   debug #33 writeDibCode / output: Spi / path: sm'.dib
00:00:00   debug #34 parseDibCode / output: Spi / file: sm'.dib
00:00:00   debug #35 writeDibCode / output: Spir / path: sm'.dib
00:00:00   debug #36 parseDibCode / output: Spir / file: sm'.dib
00:00:00   debug #37 writeDibCode / output: Spi / path: listm'.dib
00:00:00   debug #38 parseDibCode / output: Spi / file: listm'.dib
00:00:00   debug #39 writeDibCode / output: Spi / path: reflection.dib
00:00:00   debug #40 parseDibCode / output: Spi / file: reflection.dib
00:00:00   debug #41 writeDibCode / output: Spi / path: python.dib
00:00:00   debug #42 parseDibCode / output: Spi / file: python.dib
00:00:00   debug #43 writeDibCode / output: Spi / path: typescript.dib
00:00:00   debug #44 parseDibCode / output: Spi / file: typescript.dib
00:00:00   debug #45 writeDibCode / output: Spi / path: benchmark.dib
00:00:00   debug #46 parseDibCode / output: Spi / file: benchmark.dib
00:00:00   debug #47 writeDibCode / output: Spi / path: stream.dib
00:00:00   debug #48 writeDibCode / output: Spi / path: seq.dib
00:00:00   debug #49 parseDibCode / output: Spi / file: stream.dib
00:00:00   debug #50 parseDibCode / output: Spi / file: seq.dib
00:00:00   debug #51 writeDibCode / output: Spi / path: util.dib
00:00:00   debug #52 parseDibCode / output: Spi / file: util.dib
00:00:00   debug #53 writeDibCode / output: Spi / path: platform.dib
00:00:00   debug #54 parseDibCode / output: Spi / file: platform.dib
00:00:00   debug #55 writeDibCode / output: Spi / path: rust/rust.dib
00:00:00   debug #56 parseDibCode / output: Spi / file: rust/rust.dib
00:00:00   debug #57 writeDibCode / output: Spi / path: rust/testing.dib
00:00:00   debug #58 parseDibCode / output: Spi / file: rust/testing.dib
00:00:00   debug #60 writeDibCode / output: Spi / path: rust/near_workspaces.dib
00:00:00   debug #61 parseDibCode / output: Spi / file: rust/near_workspaces.dib
00:00:00   debug #62 writeDibCode / output: Spi / path: physics.dib
00:00:00   debug #63 parseDibCode / output: Spi / file: physics.dib
00:00:00   debug #59 writeDibCode / output: Spi / path: rust/near.dib
00:00:00   debug #65 writeDibCode / output: Spi / path: leptos/leptos.dib
00:00:00   debug #64 parseDibCode / output: Spi / file: rust/near.dib
00:00:00   debug #66 parseDibCode / output: Spi / file: leptos/leptos.dib
00:00:00   debug #67 writeDibCode / output: Spi / path: wasm.dib
00:00:00   debug #68 parseDibCode / output: Spi / file: wasm.dib
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #1 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:01 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:01 verbose #6 > Server bound to: http://localhost:13805
00:00:02 verbose #8 async.run_with_timeout_async / { timeout = 180 }
00:00:02 verbose #9 async.run_with_timeout_async / { timeout = 180 }
00:00:02 verbose #8 async.run_with_timeout_async / { timeout = 180 }
00:00:02 verbose #8 async.run_with_timeout_async / { timeout = 180 }
00:00:02 verbose #10 async.run_with_timeout_async / { timeout = 180 }
00:00:02   debug #7 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:02   debug #7 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:02   debug #7 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:02   debug #7 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:02   debug #7 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:02   debug #8 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:02   debug #12 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:02   debug #9 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:02   debug #11 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:02   debug #10 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:02   debug #15 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:02   debug #17 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:02   debug #17 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:02   debug #15 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:02   debug #17 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:02 verbose #19 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # runtime\nopen rust\nopen rust_operators\nopen sm\u0027_operators\n\n//...t_args x = !split_args x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/runtime.spi"}} / result:
00:00:02 verbose #21 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # trace\n\n/// ## trace\n\n/// ### trace_level\nunion trace_level =\n   ...0027let trace x = !trace x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/trace.spi"}} / result:
00:00:02 verbose #22 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # async\nopen rust\nopen rust_operators\n\n/// ## rust\n\n/// ### future...token_with_default_async x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/async.spi"}} / result:
00:00:02 verbose #21 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # threading\nopen rust\nopen rust_operators\n\n/// ## rust\n\n/// ### sl...new_disposable_token x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/threading.spi"}} / result:
00:00:02 verbose #19 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # networking\nopen rust.rust_operators\n\n/// ## rust\n\n/// ### reqwest...!get_available_port x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/networking.spi"}} / result:
00:00:02 verbose #25 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/threading.spi"}} / result:
00:00:02 verbose #24 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/runtime.spi"}} / result:
00:00:02 verbose #26 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/async.spi"}} / result:
00:00:02 verbose #27 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/trace.spi"}} / result:
00:00:02 verbose #24 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/networking.spi"}} / result:
00:00:02   debug #30 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:02   debug #30 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:02   debug #30 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:02   debug #32 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:02   debug #31 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:02   debug #33 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:02   debug #30 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:02   debug #34 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:02   debug #36 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:02   debug #35 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:02 verbose #7 > 00:00:02   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/trace.spi
00:00:02 verbose #8 > 00:00:02   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/threading.spi
00:00:02 verbose #9 > 00:00:02   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/runtime.spi
00:00:02 verbose #10 > 00:00:02   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/networking.spi
00:00:02 verbose #11 > 00:00:02   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/async.spi
00:00:03   debug #40 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:03   debug #40 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:03   debug #40 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:03   debug #40 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:03   debug #41 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:03   debug #44 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:03   debug #44 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:03   debug #45 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:03   debug #46 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:03   debug #42 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:03   debug #50 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:03   debug #50 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:03   debug #50 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:03   debug #50 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:03   debug #51 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:03   debug #54 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:03   debug #52 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:03   debug #55 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:03   debug #53 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:03   debug #56 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:04   debug #58 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:04   debug #58 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:04   debug #59 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:04   debug #61 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:04   debug #63 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:04   debug #60 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:04   debug #62 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:04   debug #64 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:04   debug #65 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:04   debug #66 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:04   debug #68 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:04   debug #68 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:04   debug #69 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:04   debug #70 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:04   debug #71 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:04   debug #72 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:04   debug #73 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:04   debug #74 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:04   debug #75 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:04   debug #76 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:05   debug #77 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:05   debug #78 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:05   debug #79 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:05   debug #80 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:05   debug #81 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:05   debug #82 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:05   debug #83 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:05   debug #84 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:05   debug #85 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:05   debug #86 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:05   debug #87 Supervisor.buildFile / AsyncSeq.scan / outputContent:
let rec closure0 () (v0 : System.Threading.CancellationToken) : Async<System.Threading.CancellationToken> =
    let v1 : unit = ()
    
#if FABLE_COMP...em.Threading.CancellationToken -> Async<System.Threading.CancellationToken>) = closure0()
let merge_cancellation_token_with_default_async x = v0 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: async.spi
00:00:05   debug #88 Supervisor.buildFile / AsyncSeq.scan / outputContent:
type Disposable (f : unit -> unit) = interface System.IDisposable with member _.Dispose () = f ()
type [<Struct>] US0 =
    | US0_0 of f0_0 : System.T...ading.CancellationToken option -> struct (System.Threading.CancellationToken * System.IDisposable)) = closure0()
let new_disposable_token x = v0 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: threading.spi
00:00:05   debug #89 Supervisor.buildFile / takeWhileInclusive / outputContent:
let rec closure0 () (v0 : System.Threading.CancellationToken) : Async<System.Threading.CancellationToken> =
    let v1 : unit = ()
    
#if FABLE_COMP...em.Threading.CancellationToken -> Async<System.Threading.CancellationToken>) = closure0()
let merge_cancellation_token_with_default_async x = v0 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: async.spi
00:00:05   debug #90 Supervisor.buildFile / takeWhileInclusive / outputContent:
type Disposable (f : unit -> unit) = interface System.IDisposable with member _.Dispose () = f ()
type [<Struct>] US0 =
    | US0_0 of f0_0 : System.T...ading.CancellationToken option -> struct (System.Threading.CancellationToken * System.IDisposable)) = closure0()
let new_disposable_token x = v0 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: threading.spi
00:00:05   debug #92 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:05   debug #92 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:05 verbose #11 async.run_with_timeout_async / { timeout = 180 }
00:00:05   debug #93 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:05   debug #94 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: crypto.spi
00:00:05   debug #95 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:05 verbose #12 async.run_with_timeout_async / { timeout = 180 }
00:00:05   debug #96 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: common.spi
00:00:05 verbose #97 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # crypto\nopen rust\nopen rust_operators\n\n/// ## fsharp\n\n/// ### sha..._port x = !hash_to_port x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/crypto.spi"}} / result:
00:00:05   debug #98 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: common.spi
00:00:05   debug #99 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: common.spi
00:00:05   debug #100 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:05   debug #101 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:05   debug #102 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:05   debug #103 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:05 verbose #12 > 00:00:05   debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/crypto.spi
00:00:05   debug #104 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:05   debug #105 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:05 verbose #106 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # common\n\n/// ## common\n\n/// ### (:\u003E)\nprototype (~:\u003E) r :...et memoize x = !memoize x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/common.spi"}} / result:
00:00:05 verbose #107 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/crypto.spi"}} / result:
00:00:06 verbose #13 > 00:00:05   debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/common.spi
00:00:06 verbose #108 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/common.spi"}} / result:
00:00:06   debug #109 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...e0()
let v2 : unit = (fun () -> v1 (); v0) ()
let v16 : (US0 -> ((unit -> string) -> ((unit -> string) -> unit))) = closure4()
let trace x = v16 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: trace.spi
00:00:06   debug #110 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...e0()
let v2 : unit = (fun () -> v1 (); v0) ()
let v16 : (US0 -> ((unit -> string) -> ((unit -> string) -> unit))) = closure4()
let trace x = v16 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: trace.spi
00:00:06   debug #111 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:06   debug #112 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: common.spi
00:00:06   debug #113 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: common.spi
00:00:06   debug #114 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: crypto.spi
00:00:06   debug #115 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:06 verbose #13 async.run_with_timeout_async / { timeout = 180 }
00:00:06   debug #116 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: date_time.spi
00:00:06   debug #117 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: date_time.spi
00:00:06   debug #118 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: date_time.spi
00:00:06 verbose #119 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # date_time\nopen rust.rust_operators\nopen sm\u0027_operators\n\n/// ##... x = !format_iso8601 x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/date_time.spi"}} / result:
00:00:06   debug #120 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:06   debug #121 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:06   debug #122 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:06   debug #123 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:06 verbose #14 > 00:00:05   debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/date_time.spi
00:00:06 verbose #124 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/date_time.spi"}} / result:
00:00:06   debug #125 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: crypto.spi
00:00:06   debug #126 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:06   debug #127 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: common.spi
00:00:06   debug #128 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: common.spi
00:00:06   debug #129 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: date_time.spi
00:00:06   debug #130 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: date_time.spi
00:00:06   debug #131 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:06   debug #132 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:06   debug #133 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:06   debug #134 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:07   debug #135 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: common.spi
00:00:07   debug #136 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: common.spi
00:00:07   debug #137 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: crypto.spi
00:00:07   debug #138 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:07   debug #139 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: date_time.spi
00:00:07   debug #140 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: date_time.spi
00:00:07   debug #141 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>]
#endif
type chrono_DateTime<'T> = class end
#if FABLE_COMPILER
[<Fabl...g -> (System.DateTime -> string)) = closure11()
let format x = v6 x
let v7 : (System.DateTime -> string) = closure13()
let format_iso8601 x = v7 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: date_time.spi
00:00:07   debug #142 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>]
#endif
type chrono_DateTime<'T> = class end
#if FABLE_COMPILER
[<Fabl...g -> (System.DateTime -> string)) = closure11()
let format x = v6 x
let v7 : (System.DateTime -> string) = closure13()
let format_iso8601 x = v7 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: date_time.spi
00:00:07   debug #143 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:07   debug #144 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...nit -> unit) -> unit option)) = closure5()
let retry_fn x = v17 x
let v18 : ((unit -> unit) -> (unit -> unit)) = closure17()
let memoize x = v18 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: common.spi
00:00:07   debug #145 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...nit -> unit) -> unit option)) = closure5()
let retry_fn x = v17 x
let v18 : ((unit -> unit) -> (unit -> unit)) = closure17()
let memoize x = v18 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: common.spi
00:00:07   debug #146 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:07   debug #147 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:07   debug #148 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:07   debug #149 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:07   debug #150 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:07 verbose #14 async.run_with_timeout_async / { timeout = 180 }
00:00:07 verbose #15 async.run_with_timeout_async / { timeout = 180 }
00:00:07   debug #151 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:07   debug #151 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: platform.spi
00:00:07   debug #152 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: platform.spi
00:00:07   debug #153 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: platform.spi
00:00:07   debug #154 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:07   debug #155 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:07 verbose #156 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # platform\nopen rust.rust_operators\n\n/// ## fsharp\n\n/// ### os_plat...et_executable_suffix ()\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/platform.spi"}} / result:
00:00:07 verbose #157 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # file_system\nopen sm\u0027_operators\nopen rust\nopen rust_operators\n...003E) x = !combine x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/file_system.spi"}} / result:
00:00:07 verbose #158 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/platform.spi"}} / result:
00:00:07 verbose #15 > 00:00:06   debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/platform.spi
00:00:07 verbose #159 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/file_system.spi"}} / result:
00:00:07 verbose #16 > 00:00:06   debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/file_system.spi
00:00:07   debug #160 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: crypto.spi
00:00:07   debug #161 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:07   debug #163 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:07   debug #163 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:07   debug #165 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:07   debug #165 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:08   debug #166 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: platform.spi
00:00:08   debug #167 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:08   debug #168 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: platform.spi
00:00:08   debug #169 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:08   debug #170 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: crypto.spi
00:00:08   debug #171 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:08   debug #172 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:08   debug #173 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:08   debug #174 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:08   debug #175 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:08   debug #176 Supervisor.buildFile / AsyncSeq.scan / outputContent:
type [<Struct>] US0 =
    | US0_0
    | US0_1
    | US0_2
and [<Struct>] US1 =
    | US1_0 of f0_0 : US0
    | US1_1 of f1_0 : US0
    | US1_2 of f2_0...    v25
let v0 : (unit -> bool) = closure0()
let is_windows () = v0 ()
let v1 : (unit -> string) = closure1()
let get_executable_suffix () = v1 ()
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: platform.spi
00:00:08   debug #177 Supervisor.buildFile / takeWhileInclusive / outputContent:
type [<Struct>] US0 =
    | US0_0
    | US0_1
    | US0_2
and [<Struct>] US1 =
    | US1_0 of f0_0 : US0
    | US1_1 of f1_0 : US0
    | US1_2 of f2_0...    v25
let v0 : (unit -> bool) = closure0()
let is_windows () = v0 ()
let v1 : (unit -> string) = closure1()
let get_executable_suffix () = v1 ()
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: platform.spi
00:00:08   debug #178 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:08   debug #179 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Vec<$0>")>]
#endif
type Vec<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core....1024us
    v873
let v0 : (string -> string) = closure0()
let hash_text x = v0 x
let v1 : (string -> uint16) = closure1()
let hash_to_port x = v1 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: crypto.spi
00:00:08   debug #180 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Vec<$0>")>]
#endif
type Vec<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core....1024us
    v873
let v0 : (string -> string) = closure0()
let hash_text x = v0 x
let v1 : (string -> uint16) = closure1()
let hash_to_port x = v1 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: crypto.spi
00:00:08   debug #181 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:08   debug #182 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:08   debug #183 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:08 verbose #16 async.run_with_timeout_async / { timeout = 180 }
00:00:08   debug #184 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: guid.spi
00:00:08   debug #185 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: guid.spi
00:00:08   debug #186 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: guid.spi
00:00:08 verbose #187 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # guid\n\n/// ## guid\n\n/// ### guid\nnominal guid_python =\n    \u0060...aw_guid x = !new_raw_guid x\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/guid.spi"}} / result:
00:00:08 verbose #17 > 00:00:08   debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/guid.spi
00:00:08 verbose #188 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/guid.spi"}} / result:
00:00:08 verbose #17 async.run_with_timeout_async / { timeout = 180 }
00:00:08   debug #189 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: sm'.spi
00:00:08   debug #190 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: sm'.spi
00:00:08   debug #191 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: sm'.spi
00:00:08 verbose #192 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # sm\u0027\nopen rust\nopen rust_operators\nopen real_sm\u0027\n\n/// ##...tring std_string = from_std_string\n","uri":"file:///c:/home/git/polyglot/lib/spiral/sm\u0027.spi"}} / result:
00:00:09 verbose #18 > 00:00:08   debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/sm'.spi
00:00:09   debug #193 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:09   debug #194 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:09   debug #195 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:09   debug #196 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:09 verbose #197 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/sm\u0027.spi"}} / result:
00:00:09   debug #198 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:09   debug #199 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:09   debug #200 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: guid.spi
00:00:09   debug #201 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: guid.spi
00:00:09   debug #202 Supervisor.buildFile / AsyncSeq.scan / outputContent:
let rec closure0 () (v0 : string) : System.Guid =
    let v1 : System.Guid = v0 |> System.Guid 
    v1
and method0 (v0 : string) : System.Guid =
    l... = v0 x
let v1 : (string -> System.Guid) = closure1()
let hash_guid x = v1 x
let v2 : (unit -> System.Guid) = closure2()
let new_raw_guid x = v2 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: guid.spi
00:00:09   debug #203 Supervisor.buildFile / takeWhileInclusive / outputContent:
let rec closure0 () (v0 : string) : System.Guid =
    let v1 : System.Guid = v0 |> System.Guid 
    v1
and method0 (v0 : string) : System.Guid =
    l... = v0 x
let v1 : (string -> System.Guid) = closure1()
let hash_guid x = v1 x
let v2 : (unit -> System.Guid) = closure2()
let new_raw_guid x = v2 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: guid.spi
00:00:09   debug #204 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:09   debug #205 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...ng option)) = closure32()
let execution_options x = v19 x
let v20 : (string -> Result<(string []), string>) = closure33()
let split_args x = v20 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: runtime.spi
00:00:09   debug #206 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...ng option)) = closure32()
let execution_options x = v19 x
let v20 : (string -> Result<(string []), string>) = closure33()
let split_args x = v20 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: runtime.spi
00:00:09   debug #207 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:09   debug #208 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: sm'.spi
00:00:09   debug #209 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: sm'.spi
00:00:09   debug #210 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("regex::Regex")>]
#endif
type regex_Regex = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fa... : (string -> ((string []) -> string)) = closure46()
let join' x = v21 x
let v22 : (string -> (char [])) = closure48()
let to_char_array x = v22 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: sm'.spi
00:00:09   debug #211 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("regex::Regex")>]
#endif
type regex_Regex = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fa... : (string -> ((string []) -> string)) = closure46()
let join' x = v21 x
let v22 : (string -> (char [])) = closure48()
let to_char_array x = v22 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: sm'.spi
00:00:09   debug #212 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:09   debug #213 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:09   debug #214 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:09   debug #215 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:09   debug #216 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:09   debug #217 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...
let wait_for_port_access x = v18 x
let v19 : (int32 option -> (string -> (int32 -> Async<int32>))) = closure27()
let get_available_port x = v19 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: networking.spi
00:00:09   debug #218 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...
let wait_for_port_access x = v18 x
let v19 : (int32 option -> (string -> (int32 -> Async<int32>))) = closure27()
let get_available_port x = v19 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: networking.spi
00:00:09   debug #219 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:10   debug #220 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:10   debug #221 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:10   debug #222 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:10   debug #223 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:11   debug #224 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:11   debug #225 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:11   debug #226 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:11   debug #227 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:12   debug #228 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:12   debug #229 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:12   debug #230 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...()
let v33 : (bool -> unit) = closure53()
let init_trace_file x = v33 x
let v34 : (string -> (string -> string)) = closure55()
let (</>) x = v34 x
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: file_system.spi
00:00:12   debug #231 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.C...()
let v33 : (bool -> unit) = closure53()
let init_trace_file x = v33 x
let v34 : (string -> (string -> string)) = closure55()
let (</>) x = v34 x
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: file_system.spi
00:00:12   debug #232 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:12 verbose #18 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:12 verbose #19 async.run_with_timeout_async / { timeout = 100 }
In [ ]:
{ pwsh ../apps/scheduler/build.ps1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #1 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:01 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:01 verbose #6 > Server bound to: http://localhost:13805
00:00:01   debug #7 runtime.execute_with_options_async / { options = { command = ../../workspace/target/release/spiral_builder.exe dib --path Tasks.dib --retries 3; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:01 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "Tasks.dib", "--retries", "3"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/apps/scheduler/Tasks.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/apps/scheduler/Tasks.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/scheduler/Tasks.dib" --output-path "c:/home/git/polyglot/apps/scheduler/Tasks.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:04 verbose #17 > >
00:00:04 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:04 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:04 verbose #20 > > │ ## Tasks (Polyglot)                                                          │
00:00:04 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 verbose #22 > >
00:00:08 verbose #23 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 verbose #24 > > //// test
00:00:08 verbose #25 > >
00:00:08 verbose #26 > > open testing
00:00:10 verbose #27 > 00:00:09   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:00:13 verbose #28 > >
00:00:13 verbose #29 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 verbose #30 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 verbose #31 > > │ ## task_name                                                                 │
00:00:13 verbose #32 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #33 > >
00:00:13 verbose #34 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 verbose #35 > > nominal task_name = string
00:00:14 verbose #36 > 00:00:13   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/392f391f9cae28a3678d731595bd7a9f983d74c9c45aae995934db397b070807/main.spi
00:00:14 verbose #37 > >
00:00:14 verbose #38 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 verbose #39 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 verbose #40 > > │ ## manual_scheduling                                                         │
00:00:14 verbose #41 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 verbose #42 > >
00:00:14 verbose #43 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 verbose #44 > > union manual_scheduling =
00:00:14 verbose #45 > >     | WithSuggestion
00:00:14 verbose #46 > >     | WithoutSuggestion
00:00:14 verbose #47 > 00:00:13   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/70c6e2fc87827e0434831213add114042820c20156ea3420be49778d155101a8/main.spi
00:00:14 verbose #48 > >
00:00:14 verbose #49 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 verbose #50 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 verbose #51 > > │ ## recurrency_offset                                                         │
00:00:14 verbose #52 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 verbose #53 > >
00:00:14 verbose #54 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 verbose #55 > > union recurrency_offset =
00:00:14 verbose #56 > >     | Days : i32
00:00:14 verbose #57 > >     | Weeks : i32
00:00:14 verbose #58 > >     | Months : i32
00:00:15 verbose #59 > 00:00:14   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/8cfaa597becde0018bf0ce3912bd79f0f0c0197bc2f800085c9a51deefbf96de/main.spi
00:00:15 verbose #60 > >
00:00:15 verbose #61 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 verbose #62 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 verbose #63 > > │ ## day_of_week                                                               │
00:00:15 verbose #64 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #65 > >
00:00:15 verbose #66 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 verbose #67 > > union day_of_week =
00:00:15 verbose #68 > >     | Sunday
00:00:15 verbose #69 > >     | Monday
00:00:15 verbose #70 > >     | Tuesday
00:00:15 verbose #71 > >     | Wednesday
00:00:15 verbose #72 > >     | Thursday
00:00:15 verbose #73 > >     | Friday
00:00:15 verbose #74 > >     | Saturday
00:00:15 verbose #75 > 00:00:14   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/f1a5d4929df57e32d3b746fffe7c948ab7320f0d175637218dd6f4c62efc25ff/main.spi
00:00:15 verbose #76 > >
00:00:15 verbose #77 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 verbose #78 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 verbose #79 > > │ ## month                                                                     │
00:00:15 verbose #80 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #81 > >
00:00:15 verbose #82 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 verbose #83 > > union month =
00:00:15 verbose #84 > >     | January
00:00:15 verbose #85 > >     | February
00:00:15 verbose #86 > >     | March
00:00:15 verbose #87 > >     | April
00:00:15 verbose #88 > >     | May
00:00:15 verbose #89 > >     | June
00:00:15 verbose #90 > >     | July
00:00:15 verbose #91 > >     | August
00:00:15 verbose #92 > >     | September
00:00:15 verbose #93 > >     | October
00:00:15 verbose #94 > >     | November
00:00:15 verbose #95 > >     | December
00:00:16 verbose #96 > 00:00:15   debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/43a16e792314fb2d8ab8badf543b853c5281afbc3545b9b6488eebed5375c738/main.spi
00:00:16 verbose #97 > >
00:00:16 verbose #98 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 verbose #99 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 verbose #100 > > │ ## day                                                                       │
00:00:16 verbose #101 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 verbose #102 > >
00:00:16 verbose #103 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 verbose #104 > > nominal day = i32
00:00:16 verbose #105 > 00:00:15   debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5935c34341779bf5daaa9ebc662ec0125f988811de2ee4c17ec73e99e3eb1dcb/main.spi
00:00:16 verbose #106 > >
00:00:16 verbose #107 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 verbose #108 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 verbose #109 > > │ ## year                                                                      │
00:00:16 verbose #110 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 verbose #111 > >
00:00:16 verbose #112 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 verbose #113 > > nominal year = i32
00:00:17 verbose #114 > 00:00:16   debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fcee6fad777bb4f522ee4ea0946c7389722ddbccf9a3c9351638d417ce2373f1/main.spi
00:00:17 verbose #115 > >
00:00:17 verbose #116 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #117 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #118 > > │ ## fixed_recurrency                                                          │
00:00:17 verbose #119 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #120 > >
00:00:17 verbose #121 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #122 > > union fixed_recurrency =
00:00:17 verbose #123 > >     | Weekly : day_of_week
00:00:17 verbose #124 > >     | Monthly : day
00:00:17 verbose #125 > >     | Yearly : day * month
00:00:17 verbose #126 > 00:00:16   debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe775993bc85ffdc4e07f65dfac0882e7b662cdc44be2338310107a4cee05f05/main.spi
00:00:17 verbose #127 > >
00:00:17 verbose #128 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #129 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #130 > > │ ## recurrency                                                                │
00:00:17 verbose #131 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #132 > >
00:00:17 verbose #133 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #134 > > union recurrency =
00:00:17 verbose #135 > >     | Offset : recurrency_offset
00:00:17 verbose #136 > >     | Fixed : list fixed_recurrency
00:00:18 verbose #137 > 00:00:17   debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/522271d5c209e153cfe60ed8bbe82268e8deae47a175d71d46c48f836728dbce/main.spi
00:00:18 verbose #138 > >
00:00:18 verbose #139 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #140 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #141 > > │ ## scheduling                                                                │
00:00:18 verbose #142 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #143 > >
00:00:18 verbose #144 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #145 > > union scheduling =
00:00:18 verbose #146 > >     | Manual : manual_scheduling
00:00:18 verbose #147 > >     | Recurrent : recurrency
00:00:18 verbose #148 > 00:00:17   debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/13db759ddd5f002f4a7d216608d9ac256117d86484f1041e6124e9d1bc02ec70/main.spi
00:00:18 verbose #149 > >
00:00:18 verbose #150 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #151 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #152 > > │ ## task                                                                      │
00:00:18 verbose #153 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #154 > >
00:00:18 verbose #155 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #156 > > type task =
00:00:18 verbose #157 > >     {
00:00:18 verbose #158 > >         name : task_name
00:00:18 verbose #159 > >         scheduling : scheduling
00:00:18 verbose #160 > >     }
00:00:18 verbose #161 > 00:00:18   debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/e32a314d5c49dd12a3550de36e84cb325f658f62879fb6a961b074d21b44c8c3/main.spi
00:00:18 verbose #162 > >
00:00:18 verbose #163 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #164 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #165 > > │ ## date                                                                      │
00:00:18 verbose #166 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #167 > >
00:00:18 verbose #168 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #169 > > type date =
00:00:18 verbose #170 > >     {
00:00:18 verbose #171 > >         year : year
00:00:18 verbose #172 > >         month : month
00:00:18 verbose #173 > >         day : day
00:00:18 verbose #174 > >     }
00:00:19 verbose #175 > 00:00:18   debug #16 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/76fbdec1211e9e9d96810fe9e0b651539d18912d84ba64b0635f855c11a3b193/main.spi
00:00:19 verbose #176 > >
00:00:19 verbose #177 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #178 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #179 > > │ ## status                                                                    │
00:00:19 verbose #180 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #181 > >
00:00:19 verbose #182 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #183 > > union status =
00:00:19 verbose #184 > >     | Postponed : option ()
00:00:19 verbose #185 > 00:00:18   debug #17 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/5ae063545d86815f63b847ecdd76326b56c21c74f8e892b61a857c82f1ce4597/main.spi
00:00:19 verbose #186 > >
00:00:19 verbose #187 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #188 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #189 > > │ ## event                                                                     │
00:00:19 verbose #190 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #191 > >
00:00:19 verbose #192 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #193 > > type event =
00:00:19 verbose #194 > >     {
00:00:19 verbose #195 > >         date : date
00:00:19 verbose #196 > >         status : status
00:00:19 verbose #197 > >     }
00:00:19 verbose #198 > 00:00:19   debug #18 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/28572068d4192522ae3e40fc069d15c898acfec7092eccd6fae628de0918f09c/main.spi
00:00:20 verbose #199 > >
00:00:20 verbose #200 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 verbose #201 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 verbose #202 > > │ ## task_template                                                             │
00:00:20 verbose #203 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #204 > >
00:00:20 verbose #205 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #206 > > type task_template =
00:00:20 verbose #207 > >     {
00:00:20 verbose #208 > >         task : task
00:00:20 verbose #209 > >         events : list event
00:00:20 verbose #210 > >     }
00:00:20 verbose #211 > 00:00:19   debug #19 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/0be3594557414e4795db3a982d7e5aba2bc2bc49002a0b2a742fb748a1a2231a/main.spi
00:00:20 verbose #212 > >
00:00:20 verbose #213 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 verbose #214 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 verbose #215 > > │ ## get_tasks (test)                                                          │
00:00:20 verbose #216 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #217 > >
00:00:20 verbose #218 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #219 > > //// test
00:00:20 verbose #220 > >
00:00:20 verbose #221 > > inl get_tasks () : list task_template =
00:00:20 verbose #222 > >     [[
00:00:20 verbose #223 > >         {
00:00:20 verbose #224 > >             task =
00:00:20 verbose #225 > >                 {
00:00:20 verbose #226 > >                     name = task_name "01"
00:00:20 verbose #227 > >                     scheduling = Manual WithSuggestion
00:00:20 verbose #228 > >                 }
00:00:20 verbose #229 > >             events = [[]]
00:00:20 verbose #230 > >         }
00:00:20 verbose #231 > >         {
00:00:20 verbose #232 > >             task =
00:00:20 verbose #233 > >                 {
00:00:20 verbose #234 > >                     name = task_name "02"
00:00:20 verbose #235 > >                     scheduling = Manual WithSuggestion
00:00:20 verbose #236 > >                 }
00:00:20 verbose #237 > >             events = [[]]
00:00:20 verbose #238 > >         }
00:00:20 verbose #239 > >         {
00:00:20 verbose #240 > >             task =
00:00:20 verbose #241 > >                 {
00:00:20 verbose #242 > >                     name = task_name "03"
00:00:20 verbose #243 > >                     scheduling = Manual WithSuggestion
00:00:20 verbose #244 > >                 }
00:00:20 verbose #245 > >             events = [[]]
00:00:20 verbose #246 > >         }
00:00:20 verbose #247 > >     ]]
00:00:20 verbose #248 > 00:00:19   debug #20 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/101eb882a39b347486cdd821a580359dbc61398ec86ab60c212111328ed8461b/main.spi
00:00:20 verbose #249 > >
00:00:20 verbose #250 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #251 > > //// test
00:00:20 verbose #252 > > ///! fsharp
00:00:20 verbose #253 > > ///! cuda
00:00:20 verbose #254 > > ///! rust
00:00:20 verbose #255 > > ///! typescript
00:00:20 verbose #256 > > ///! python
00:00:20 verbose #257 > >
00:00:20 verbose #258 > > get_tasks ()
00:00:20 verbose #259 > > |> sm'.format_debug
00:00:20 verbose #260 > > |> _assert_string_contains "01"
00:00:21 verbose #261 > 00:00:20   debug #21 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/7b444afb2ea5f21078b55ce9163f7664d2f8b280ed425118a9bf23f6d803831d/main.spi
00:00:21 verbose #262 > 00:00:20   debug #22 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/1a4f30630fcddc7b8a7a6e7ff823618bc90de79bc68d01db83da38be73b9a9d3/main.spi
00:00:28 verbose #263 > >
00:00:28 verbose #264 > > ╭─[ 7.29s - return value ]─────────────────────────────────────────────────────╮
00:00:28 verbose #265 > > │ .py output (Cuda):                                                           │
00:00:28 verbose #266 > > │ __assert_string_contains / actual: 01 / expected: UH2_1(v0='01',             │
00:00:28 verbose #267 > > │ v1=US1_0(v0=US0_0()), v2=UH1_0(), v3=UH2_1(v0='02', v1=US1_0(v0=US0_0()),    │
00:00:28 verbose #268 > > │ v2=UH1_0(), v3=UH2_1(v0='03', v1=US1_0(v0=US0_0()), v2=UH1_0(),              │
00:00:28 verbose #269 > > │ v3=UH2_0())))                                                                │
00:00:28 verbose #270 > > │                                                                              │
00:00:28 verbose #271 > > │ .rs output:                                                                  │
00:00:28 verbose #272 > > │ __assert_string_contains / actual: "01" / expected: "UH2_1("01",             │
00:00:28 verbose #273 > > │ US1_0(US0_0), UH1_0, UH2_1("02", US1_0(US0_0), UH1_0, UH2_1("03",            │
00:00:28 verbose #274 > > │ US1_0(US0_0), UH1_0, UH2_0)))"                                               │
00:00:28 verbose #275 > > │                                                                              │
00:00:28 verbose #276 > > │ .ts output:                                                                  │
00:00:28 verbose #277 > > │ __assert_string_contains / actual: 01 / expected: UH2_1 (01, US1_0 US0_0,    │
00:00:28 verbose #278 > > │ UH1_0, UH2_1 (02, US1_0 US0_0, UH1_0, UH2_1 (03, US1_0 US0_0, UH1_0,         │
00:00:28 verbose #279 > > │ UH2_0)))                                                                     │
00:00:28 verbose #280 > > │                                                                              │
00:00:28 verbose #281 > > │ .py output:                                                                  │
00:00:28 verbose #282 > > │ __assert_string_contains / actual: 01 / expected: UH2_1 ("01", US1_0 US0_0,  │
00:00:28 verbose #283 > > │ UH1_0, UH2_1 ("02", US1_0 US0_0, UH1_0, UH2_1 ("03", US1_0 US0_0, UH1_0,     │
00:00:28 verbose #284 > > │ UH2_0)))                                                                     │
00:00:28 verbose #285 > > │                                                                              │
00:00:28 verbose #286 > > │                                                                              │
00:00:28 verbose #287 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #288 > >
00:00:28 verbose #289 > > ╭─[ 7.30s - stdout ]───────────────────────────────────────────────────────────╮
00:00:28 verbose #290 > > │ .fsx output:                                                                 │
00:00:28 verbose #291 > > │ __assert_string_contains / actual: "01" / expected: "UH2_1                   │
00:00:28 verbose #292 > > │   ("01", US1_0 US0_0, UH1_0,                                                 │
00:00:28 verbose #293 > > │    UH2_1 ("02", US1_0 US0_0, UH1_0, UH2_1 ("03", US1_0 US0_0, UH1_0,         │
00:00:28 verbose #294 > > │ UH2_0)))"                                                                    │
00:00:28 verbose #295 > > │                                                                              │
00:00:28 verbose #296 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #297 > >
00:00:28 verbose #298 > > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 verbose #299 > > //// test
00:00:28 verbose #300 > > ///! fsharp
00:00:28 verbose #301 > > ///! cuda
00:00:28 verbose #302 > > ///! rust
00:00:28 verbose #303 > > ///! typescript
00:00:28 verbose #304 > > ///! python
00:00:28 verbose #305 > >
00:00:28 verbose #306 > > get_tasks ()
00:00:28 verbose #307 > > |> listm'.try_item 0i32
00:00:28 verbose #308 > > |> fun (Some task) => task.task.name
00:00:28 verbose #309 > > |> _assert_eq (task_name "01")
00:00:28 verbose #310 > 00:00:27   debug #23 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/274674fcaef3d243f697cfeb84ce703162659cb96dd90fa04a89284146271535/main.spi
00:00:28 verbose #311 > 00:00:27   debug #24 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/88c2d2527c2701c5b8f1124331b86e929f7e7f0822c148ba113bc0bc119188b7/main.spi
00:00:33 verbose #312 > >
00:00:33 verbose #313 > > ╭─[ 5.14s - return value ]─────────────────────────────────────────────────────╮
00:00:33 verbose #314 > > │ .py output (Cuda):                                                           │
00:00:33 verbose #315 > > │ __assert_eq / actual: 01 / expected: 01                                      │
00:00:33 verbose #316 > > │                                                                              │
00:00:33 verbose #317 > > │ .rs output:                                                                  │
00:00:33 verbose #318 > > │ __assert_eq / actual: "01" / expected: "01"                                  │
00:00:33 verbose #319 > > │                                                                              │
00:00:33 verbose #320 > > │ .ts output:                                                                  │
00:00:33 verbose #321 > > │ __assert_eq / actual: 01 / expected: 01                                      │
00:00:33 verbose #322 > > │                                                                              │
00:00:33 verbose #323 > > │ .py output:                                                                  │
00:00:33 verbose #324 > > │ __assert_eq / actual: 01 / expected: 01                                      │
00:00:33 verbose #325 > > │                                                                              │
00:00:33 verbose #326 > > │                                                                              │
00:00:33 verbose #327 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #328 > >
00:00:33 verbose #329 > > ╭─[ 5.14s - stdout ]───────────────────────────────────────────────────────────╮
00:00:33 verbose #330 > > │ .fsx output:                                                                 │
00:00:33 verbose #331 > > │ __assert_eq / actual: "01" / expected: "01"                                  │
00:00:33 verbose #332 > > │                                                                              │
00:00:33 verbose #333 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #334 > 00:00:31 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 13425 }
00:00:33 verbose #335 > 00:00:31   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:00:33 verbose #336 >     "nbconvert",
00:00:33 verbose #337 >     "c:/home/git/polyglot/apps/scheduler/Tasks.dib.ipynb",
00:00:33 verbose #338 >     "--to",
00:00:33 verbose #339 >     "html",
00:00:33 verbose #340 >     "--HTMLExporter.theme=dark",
00:00:33 verbose #341 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/scheduler/Tasks.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:35 verbose #342 > 00:00:33 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/scheduler/Tasks.dib.ipynb to html
00:00:35 verbose #343 > 00:00:33 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:35 verbose #344 > 00:00:33 verbose #7 !   validate(nb)
00:00:37 verbose #345 > 00:00:35 verbose #8 ! [NbConvertApp] Writing 300230 bytes to c:\home\git\polyglot\apps\scheduler\Tasks.dib.html
00:00:37 verbose #346 > 00:00:35 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 649 }
00:00:37 verbose #347 > 00:00:35   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 649 }
00:00:37 verbose #348 > 00:00:35   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:00:37 verbose #349 >     "-c",
00:00:37 verbose #350 >     "$counter = 1; $path = 'c:/home/git/polyglot/apps/scheduler/Tasks.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:00:37 verbose #351 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/scheduler/Tasks.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:38 verbose #352 > 00:00:36 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:00:38 verbose #353 > 00:00:36   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:00:39 verbose #354 > 00:00:37   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 14133 }
00:00:39   debug #355 runtime.execute_with_options_async / { exit_code = 0; output_length = 17426 }
00:00:39   debug #3 main / executeCommand / exitCode: 0 / command: ../../workspace/target/release/spiral_builder.exe dib --path Tasks.dib --retries 3
00:00:39 verbose #6 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:39 verbose #7 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 writeDibCode / output: Spi / path: Tasks.dib
00:00:00   debug #2 parseDibCode / output: Spi / file: Tasks.dib
In [ ]:
{ pwsh ../apps/chat/build.ps1 } | Invoke-Block
00:00:00   debug #1 writeDibCode / output: Spi / path: chat_contract.dib
00:00:00   debug #2 parseDibCode / output: Spi / file: chat_contract.dib
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 verbose #6 async.run_with_timeout_async / { timeout = 100 }
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02 verbose #7 async.run_with_timeout_async / { timeout = 180 }
00:00:02   debug #4 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:02   debug #5 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:02   debug #6 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:02 verbose #7 Supervisor.sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # chat_contract\nopen rust\nopen rust.rust_operators\n\n/// ## chat_cont...03E ignore\u0027 : ()\n","uri":"file:///c:/home/git/polyglot/apps/chat/contract/chat_contract.spi"}} / result:
00:00:02 verbose #8 Supervisor.sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/apps/chat/contract/chat_contract.spi"}} / result:
00:00:03   debug #9 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:03   debug #10 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:03 verbose #7 > 00:00:02   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/apps/chat/contract/chat_contract.spi
00:00:03   debug #11 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:03   debug #12 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:04   debug #13 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:04   debug #14 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:04   debug #15 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:04   debug #16 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:05   debug #17 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:05   debug #18 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:05   debug #19 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:05   debug #20 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:06   debug #21 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:06   debug #22 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:06   debug #23 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:06   debug #24 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:07   debug #25 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:07   debug #26 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:07   debug #27 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:07   debug #28 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:08   debug #29 Supervisor.buildFile / AsyncSeq.scan / outputContent:
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:08   debug #30 Supervisor.buildFile / takeWhileInclusive / outputContent:
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:08   debug #31 Supervisor.buildFile / AsyncSeq.scan / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("*/ $0 /*")>]
#endif
type TypeEmit<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable... i': 15uy / n: 14uy"
    let v7419 : bool = Fable.Core.RustInterop.emitRustExpr () v7418 
    ()
let v0 : (unit -> unit) = closure0()
v0 |> ignore
()
 / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 / error:  / path: chat_contract.spi
00:00:08   debug #32 Supervisor.buildFile / takeWhileInclusive / outputContent:
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("*/ $0 /*")>]
#endif
type TypeEmit<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable... i': 15uy / n: 14uy"
    let v7419 : bool = Fable.Core.RustInterop.emitRustExpr () v7418 
    ()
let v0 : (unit -> unit) = closure0()
v0 |> ignore
()
 / errors: [] / typeErrorCount: 0 / retry: 0 / path: chat_contract.spi
00:00:08   debug #33 FileSystem.watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:08 verbose #8 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:00:08 verbose #9 async.run_with_timeout_async / { timeout = 100 }
00:00:00   debug #1 persistCodeProject / packages: [Fable.Core] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: chat_contract / hash:  / code.Length: 226816
00:00:00   debug #2 buildProject / fullPath: C:\home\git\polyglot\target\Builder\chat_contract\chat_contract.fsproj
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet publish "C:\home\git\polyglot\target/Builder\chat_contract\chat_contract.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\chat\contract\dist" --runtime win-x64; cancellation_token = None; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot\target\Builder\chat_contract" } }
00:00:00 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 >   Determining projects to restore...
00:00:02 verbose #4 >   All projects are up-to-date for restore.
00:00:02 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\Builder\chat_contract\chat_contract.fsproj]
00:00:09 verbose #6 > C:\home\git\polyglot\target\Builder\chat_contract\chat_contract.fs(4925,15): warning FS0025: Incomplete pattern matches on this expression. For example, the value 'US4_0 (_)' may indicate a case not covered by the pattern(s). [C:\home\git\polyglot\target\Builder\chat_contract\chat_contract.fsproj]
00:00:14 verbose #7 >   chat_contract -> C:\home\git\polyglot\target\Builder\chat_contract\bin\Release\net9.0\win-x64\chat_contract.dll
00:00:18 verbose #8 >   chat_contract -> C:\home\git\polyglot\apps\chat\contract\dist\
00:00:18   debug #9 runtime.execute_with_options_async / { exit_code = 0; output_length = 964 }
targetDir: C:\home\git\polyglot\target\Builder\chat_contract
Fable 4.19.3: F# to Rust compiler (status: alpha)

Thanks to the contributor! @davidpodhola
Stand with Ukraine! https://standwithukraine.com.ua/

Parsing target\Builder\chat_contract\chat_contract.fsproj...
Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.
Project and references (14 source files) parsed in 238ms

Started Fable compilation...

Fable compilation finished in 9274ms

.\target\Builder\chat_contract\chat_contract.fs(4925,15): (4925,20) warning FSHARP: Incomplete pattern matches on this expression. For example, the value 'US4_0 (_)' may indicate a case not covered by the pattern(s). (code 25)
.\lib\spiral\async_.fsx(76,0): (76,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\threading.fsx(145,0): (145,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\date_time.fsx(1012,0): (1012,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\crypto.fsx(1391,0): (1391,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(1300,0): (1300,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\sm.fsx(414,0): (414,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\platform.fsx(104,0): (104,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(4639,0): (4639,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(1333,0): (1333,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(6776,0): (6776,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(10817,0): (10817,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\target\Builder\chat_contract\chat_contract.fs(5126,6): (5126,12) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
   Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
   Compiling chat_contract v0.0.1 (C:\home\git\polyglot\apps\chat\contract)
    Finished `release` profile [optimized] target(s) in 18.85s
    Finished `release` profile [optimized] target(s) in 21.75s
     Running `/mnt/c/home/git/polyglot/workspace/target/release/chat_contract_tests`


new: ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 1846181977319,
    },
    transaction: ExecutionOutcome {
        transaction_hash: W7CJ9rQRcKWuFMdg1ZuubJHQgr7nikNJJPkEqkkRm3Z,
        block_hash: FtGMiQE2FF1YFmB4twg3TwKLFNyFuFiPCqZWYHk9G22N,
        logs: [],
        receipt_ids: [
            5riuEdhEgdbJy1DDyBw9FKtAVE4vp6Q2vtHPatDd1sNw,
        ],
        gas_burnt: NearGas {
            inner: 308066207802,
        },
        tokens_burnt: NearToken {
            inner: 30806620780200000000,
        },
        executor_id: AccountId(
            "dev-20240912030813-29137209973288",
        ),
        status: SuccessReceiptId(5riuEdhEgdbJy1DDyBw9FKtAVE4vp6Q2vtHPatDd1sNw),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: 5riuEdhEgdbJy1DDyBw9FKtAVE4vp6Q2vtHPatDd1sNw,
            block_hash: FtGMiQE2FF1YFmB4twg3TwKLFNyFuFiPCqZWYHk9G22N,
            logs: [],
            receipt_ids: [
                AFN5nTXEWZ2pTxrNZbe86BvHAQa2tzVbC3415mEZ6ecW,
            ],
            gas_burnt: NearGas {
                inner: 1314933207017,
            },
            tokens_burnt: NearToken {
                inner: 131493320701700000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
        ExecutionOutcome {
            transaction_hash: AFN5nTXEWZ2pTxrNZbe86BvHAQa2tzVbC3415mEZ6ecW,
            block_hash: J8ovmXY3is1RHeDMhTetio21m7VPXDF13vgA67hcvJAg,
            logs: [],
            receipt_ids: [],
            gas_burnt: NearGas {
                inner: 223182562500,
            },
            tokens_burnt: NearToken {
                inner: 0,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
    ],
    status: SuccessValue(''),
}
total_gas_burnt_usd: 0.0012332495608490918
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205788226811736
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.000878375382287356
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00014908595175
  outcome_tokens_burnt_usd: 0.0


claim_alias(contract, ''): ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 1802821121388,
    },
    transaction: ExecutionOutcome {
        transaction_hash: hjjtL4ZZXcEHMeX4xCEvk21dXKbC8By5bdxBCG8Tc7z,
        block_hash: CscEmMtTVtabxkSSQ14YA9x4bB3yPMtiMCQEEocGXR6e,
        logs: [],
        receipt_ids: [
            2P83GNeXVN9DFuaY7X2eCPP12zr7KQWPs5kVvj7ysPpk,
        ],
        gas_burnt: NearGas {
            inner: 308110926482,
        },
        tokens_burnt: NearToken {
            inner: 30811092648200000000,
        },
        executor_id: AccountId(
            "dev-20240912030813-29137209973288",
        ),
        status: SuccessReceiptId(2P83GNeXVN9DFuaY7X2eCPP12zr7KQWPs5kVvj7ysPpk),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: 2P83GNeXVN9DFuaY7X2eCPP12zr7KQWPs5kVvj7ysPpk,
            block_hash: CscEmMtTVtabxkSSQ14YA9x4bB3yPMtiMCQEEocGXR6e,
            logs: [],
            receipt_ids: [
                F6zp6wykPPDipZScBhv7XEhtDueadAzkwm7MxCnGG2r8,
            ],
            gas_burnt: NearGas {
                inner: 1494710194906,
            },
            tokens_burnt: NearToken {
                inner: 149471019490600000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: chat_contract.claim_alias / invalid alias")) })),
        },
    ],
    status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: chat_contract.claim_alias / invalid alias")) })),
}
total_gas_burnt_usd: 0.0012042845090871838
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205818098889976
  outcome_tokens_burnt_usd: 0.0
outcome (success: false):
  outcome_gas_burnt_usd: 0.000998466410197208
  outcome_tokens_burnt_usd: 0.0


dev_create_account(account1): Account {
    id: AccountId(
        "dev-20240912030815-30430253960842",
    ),
}


generate_cid_borsh(account1): ViewResultDetails { result: [59, 0, 0, 0, 98, 97, 102, 107, 114, 101, 105, 104, 100, 119, 100, 99, 101, 102, 103, 104, 52, 100, 113, 107, 106, 118, 54, 55, 117, 122, 99, 109, 119, 55, 111, 106, 101, 101, 54, 120, 101, 100, 122, 100, 101, 116, 111, 106, 117, 122, 106, 101, 118, 116, 101, 110, 120, 113, 117, 118, 121, 107, 117], logs: [] }


claim_alias(account1, alias1): ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 2825406551595,
    },
    transaction: ExecutionOutcome {
        transaction_hash: FFodpbKwRh4e9pjBYbrfTK7VK3pPbdAD22Q5mWSLMq8T,
        block_hash: 4vHfGmTe7jehZhXSfHA5fAFbnmzNrWezY2kAvrqUqM6V,
        logs: [],
        receipt_ids: [
            ArTJrcZrqiRA6Me9GTZAsRoCkPRfHDF7186GeeJvrUTE,
        ],
        gas_burnt: NearGas {
            inner: 308124342086,
        },
        tokens_burnt: NearToken {
            inner: 30812434208600000000,
        },
        executor_id: AccountId(
            "dev-20240912030815-30430253960842",
        ),
        status: SuccessReceiptId(ArTJrcZrqiRA6Me9GTZAsRoCkPRfHDF7186GeeJvrUTE),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: ArTJrcZrqiRA6Me9GTZAsRoCkPRfHDF7186GeeJvrUTE,
            block_hash: FKj4C3mv6UfhPQZ5tMthZntn7G2o19DGDVYfDWX1Q7PQ,
            logs: [
                "03:08:16 \u{1b}[94m  debug\u{1b}[39m #1 chat_contract.claim_alias / { alias = \"alias1\"; block_timestamp = 1726110496884238003; account_id = \"dev-20240912030815-30430253960842\" }\n03:08:16 \u{1b}[94m  debug\u{1b}[39m #2 chat_contract.claim_alias / { account_alias = None }",
            ],
            receipt_ids: [
                9tgcRTCn1bxNWPoMp8z77pQNPVeiUdEEa16x6P5Q1C56,
            ],
            gas_burnt: NearGas {
                inner: 2294099647009,
            },
            tokens_burnt: NearToken {
                inner: 229409964700900000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
        ExecutionOutcome {
            transaction_hash: 9tgcRTCn1bxNWPoMp8z77pQNPVeiUdEEa16x6P5Q1C56,
            block_hash: 3fffdnHbctS6pMaqgXGT47h1rAn5VDVg8gbCAekgMDui,
            logs: [],
            receipt_ids: [],
            gas_burnt: NearGas {
                inner: 223182562500,
            },
            tokens_burnt: NearToken {
                inner: 0,
            },
            executor_id: AccountId(
                "dev-20240912030815-30430253960842",
            ),
            status: SuccessValue(''),
        },
    ],
    status: SuccessValue(''),
}
total_gas_burnt_usd: 0.00188737157646546
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205827060513448
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.001532458564202012
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00014908595175
  outcome_tokens_burnt_usd: 0.0


claim_alias(account1, alias1): ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 2993129814453,
    },
    transaction: ExecutionOutcome {
        transaction_hash: GcnQRshp8Vpd4zTinpToqo1g7tEY8JKBXcrabsj3Jktz,
        block_hash: 4wDpU1pMCBTPEhaVN5NSNiLEqzoay66hW6tcbCWRBhmF,
        logs: [],
        receipt_ids: [
            7johdaKAC8JU1hfgb1cc9YXUVjVFuQRULh9v6tsMqivC,
        ],
        gas_burnt: NearGas {
            inner: 308124342086,
        },
        tokens_burnt: NearToken {
            inner: 30812434208600000000,
        },
        executor_id: AccountId(
            "dev-20240912030815-30430253960842",
        ),
        status: SuccessReceiptId(7johdaKAC8JU1hfgb1cc9YXUVjVFuQRULh9v6tsMqivC),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: 7johdaKAC8JU1hfgb1cc9YXUVjVFuQRULh9v6tsMqivC,
            block_hash: 9Ze645BA5Qyr5EgWZZeDhdCRmdzCLWJ8xJB9um4du5AT,
            logs: [
                "03:08:17 \u{1b}[94m  debug\u{1b}[39m #1 chat_contract.claim_alias / { alias = \"alias1\"; block_timestamp = 1726110497916917744; account_id = \"dev-20240912030815-30430253960842\" }\n03:08:17 \u{1b}[94m  debug\u{1b}[39m #2 chat_contract.claim_alias / { account_alias = Some(\"alias1\") }",
            ],
            receipt_ids: [
                4fUK5zAu2dsVuzfp7bV1buE9owYyqjZFoSKwWsxTuWXF,
            ],
            gas_burnt: NearGas {
                inner: 2461822909867,
            },
            tokens_burnt: NearToken {
                inner: 246182290986700000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
        ExecutionOutcome {
            transaction_hash: 4fUK5zAu2dsVuzfp7bV1buE9owYyqjZFoSKwWsxTuWXF,
            block_hash: 3ACvBUniyKT9Jvv3SZPwQie3f3rxPcAmHyvtjjHCTxt4,
            logs: [],
            receipt_ids: [],
            gas_burnt: NearGas {
                inner: 223182562500,
            },
            tokens_burnt: NearToken {
                inner: 0,
            },
            executor_id: AccountId(
                "dev-20240912030815-30430253960842",
            ),
            status: SuccessValue(''),
        },
    ],
    status: SuccessValue(''),
}
total_gas_burnt_usd: 0.001999410716054604
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205827060513448
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.0016444977037911562
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00014908595175
  outcome_tokens_burnt_usd: 0.0


get_account_info(account1): Some(
    (
        "alias1",
        (
            1726110497916917744,
            0,
        ),
    ),
)


get_alias_map(account1, alias1): Some(
    {
        AccountId(
            "dev-20240912030815-30430253960842",
        ): (
            1726110497916917744,
            0,
        ),
    },
)


dev_create_account(account2): Account {
    id: AccountId(
        "dev-20240912030818-79634997743277",
    ),
}


claim_alias(alias2): ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 2931138287151,
    },
    transaction: ExecutionOutcome {
        transaction_hash: 9fk7VmrTV5HZmKDP7qTgVk8Ed6sL7gdCaicnPv2bpzay,
        block_hash: EmrjTVjJzAVKdeAycfFm7uNvjPpSbABCdMMEcqKo1ZPx,
        logs: [],
        receipt_ids: [
            DHUwwjjeddzaZC28RD1V732z3guDjAGn8uvKzvm9Bd38,
        ],
        gas_burnt: NearGas {
            inner: 308124342086,
        },
        tokens_burnt: NearToken {
            inner: 30812434208600000000,
        },
        executor_id: AccountId(
            "dev-20240912030818-79634997743277",
        ),
        status: SuccessReceiptId(DHUwwjjeddzaZC28RD1V732z3guDjAGn8uvKzvm9Bd38),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: DHUwwjjeddzaZC28RD1V732z3guDjAGn8uvKzvm9Bd38,
            block_hash: HgDEcQoQXETn96iHoXexAXpHARbwt7vyKCrc78aNBqxu,
            logs: [
                "03:08:19 \u{1b}[94m  debug\u{1b}[39m #1 chat_contract.claim_alias / { alias = \"alias2\"; block_timestamp = 1726110499557536820; account_id = \"dev-20240912030818-79634997743277\" }\n03:08:19 \u{1b}[94m  debug\u{1b}[39m #2 chat_contract.claim_alias / { account_alias = None }",
            ],
            receipt_ids: [
                Hry4KRoHHY8kZiWUoRiw1jdrfrSx3k2V6qu7i1bXSS5z,
            ],
            gas_burnt: NearGas {
                inner: 2399831382565,
            },
            tokens_burnt: NearToken {
                inner: 239983138256500000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
        ExecutionOutcome {
            transaction_hash: Hry4KRoHHY8kZiWUoRiw1jdrfrSx3k2V6qu7i1bXSS5z,
            block_hash: 6PhjH5DDWxP7JEmvU4jNQAvhxpToZbvm2iTX4LnbqBvQ,
            logs: [],
            receipt_ids: [],
            gas_burnt: NearGas {
                inner: 223182562500,
            },
            tokens_burnt: NearToken {
                inner: 0,
            },
            executor_id: AccountId(
                "dev-20240912030818-79634997743277",
            ),
            status: SuccessValue(''),
        },
    ],
    status: SuccessValue(''),
}
total_gas_burnt_usd: 0.001958000375816868
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205827060513448
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00160308736355342
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00014908595175
  outcome_tokens_burnt_usd: 0.0


get_account_info(account2): Some(
    (
        "alias2",
        (
            1726110499557536820,
            0,
        ),
    ),
)


get_alias_map_borsh(alias2): Some(
    {
        AccountId(
            "dev-20240912030818-79634997743277",
        ): (
            1726110499557536820,
            0,
        ),
    },
)


claim_alias(account2, alias1): ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 3257882709108,
    },
    transaction: ExecutionOutcome {
        transaction_hash: 9E47QZqARW3T9bABmPddvxgW7bfhxpbiZkfFR27uYKXE,
        block_hash: DXp8brZHsQQrvpFBSbwXm6SzWQRtxFtQKijzPVKEDcqN,
        logs: [],
        receipt_ids: [
            EBkt4GzFyPe1NBpKcGERJzUGoQ8biaj7CaZN5XaMPpzx,
        ],
        gas_burnt: NearGas {
            inner: 308124342086,
        },
        tokens_burnt: NearToken {
            inner: 30812434208600000000,
        },
        executor_id: AccountId(
            "dev-20240912030818-79634997743277",
        ),
        status: SuccessReceiptId(EBkt4GzFyPe1NBpKcGERJzUGoQ8biaj7CaZN5XaMPpzx),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: EBkt4GzFyPe1NBpKcGERJzUGoQ8biaj7CaZN5XaMPpzx,
            block_hash: EJn4aA3qVBbMRkgi2Fwj7KZPHkPdZJZSWKRt9deQmbw3,
            logs: [
                "03:08:20 \u{1b}[94m  debug\u{1b}[39m #1 chat_contract.claim_alias / { alias = \"alias1\"; block_timestamp = 1726110500584647216; account_id = \"dev-20240912030818-79634997743277\" }\n03:08:20 \u{1b}[94m  debug\u{1b}[39m #2 chat_contract.claim_alias / { account_alias = Some(\"alias2\") }",
            ],
            receipt_ids: [
                2GhjnEmhwzQ1MMDWHwVDdhTWmGerWXyyQbjqg3F6whSZ,
            ],
            gas_burnt: NearGas {
                inner: 2726575804522,
            },
            tokens_burnt: NearToken {
                inner: 272657580452200000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
        ExecutionOutcome {
            transaction_hash: 2GhjnEmhwzQ1MMDWHwVDdhTWmGerWXyyQbjqg3F6whSZ,
            block_hash: FJvtcE8ejwRJCoHicitcAqC6rXcjJUzmAtEUMe17pF68,
            logs: [],
            receipt_ids: [],
            gas_burnt: NearGas {
                inner: 223182562500,
            },
            tokens_burnt: NearToken {
                inner: 0,
            },
            executor_id: AccountId(
                "dev-20240912030818-79634997743277",
            ),
            status: SuccessValue(''),
        },
    ],
    status: SuccessValue(''),
}
total_gas_burnt_usd: 0.002176265649684144
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205827060513448
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.0018213526374206961
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00014908595175
  outcome_tokens_burnt_usd: 0.0


get_account_info(account2): Some(
    (
        "alias1",
        (
            1726110500584647216,
            1,
        ),
    ),
)


get_alias_map(account2, alias1): Some(
    {
        AccountId(
            "dev-20240912030815-30430253960842",
        ): (
            1726110497916917744,
            0,
        ),
        AccountId(
            "dev-20240912030818-79634997743277",
        ): (
            1726110500584647216,
            1,
        ),
    },
)


get_alias_map(account2, alias2): Some(
    {},
)


claim_alias(account1, alias2): ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 3253012816344,
    },
    transaction: ExecutionOutcome {
        transaction_hash: HV9m51HZSsbRjm839R2qUHrcWb4GJkhUV4asbLzKaVT6,
        block_hash: 7tV8e61abMmzHuEynXMbkYSYnJoMji4mbDD1ukahefWE,
        logs: [],
        receipt_ids: [
            A89czddjDKSMyqzXaWQawrdNdA4fRpKDNwUYaWiViqYi,
        ],
        gas_burnt: NearGas {
            inner: 308124342086,
        },
        tokens_burnt: NearToken {
            inner: 30812434208600000000,
        },
        executor_id: AccountId(
            "dev-20240912030815-30430253960842",
        ),
        status: SuccessReceiptId(A89czddjDKSMyqzXaWQawrdNdA4fRpKDNwUYaWiViqYi),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: A89czddjDKSMyqzXaWQawrdNdA4fRpKDNwUYaWiViqYi,
            block_hash: 7QYT7gLPVxA7mH477gujoQdNoWrVH7KGRfi2iw3JnCBK,
            logs: [
                "03:08:21 \u{1b}[94m  debug\u{1b}[39m #1 chat_contract.claim_alias / { alias = \"alias2\"; block_timestamp = 1726110501605625216; account_id = \"dev-20240912030815-30430253960842\" }\n03:08:21 \u{1b}[94m  debug\u{1b}[39m #2 chat_contract.claim_alias / { account_alias = Some(\"alias1\") }",
            ],
            receipt_ids: [
                Hkpnd9cSHLBMRFHc71QjCqTSpGVa3EfXrvi7n51EkF3t,
            ],
            gas_burnt: NearGas {
                inner: 2721705911758,
            },
            tokens_burnt: NearToken {
                inner: 272170591175800000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
        ExecutionOutcome {
            transaction_hash: Hkpnd9cSHLBMRFHc71QjCqTSpGVa3EfXrvi7n51EkF3t,
            block_hash: EgCgFjRUMHhUZjtMDsfxXeAiggp9FZ88bVh2JRQUXqEy,
            logs: [],
            receipt_ids: [],
            gas_burnt: NearGas {
                inner: 223182562500,
            },
            tokens_burnt: NearToken {
                inner: 0,
            },
            executor_id: AccountId(
                "dev-20240912030815-30430253960842",
            ),
            status: SuccessValue(''),
        },
    ],
    status: SuccessValue(''),
}
total_gas_burnt_usd: 0.002173012561317792
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205827060513448
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.001818099549054344
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00014908595175
  outcome_tokens_burnt_usd: 0.0


get_account_info(account1): Some(
    (
        "alias2",
        (
            1726110501605625216,
            0,
        ),
    ),
)


get_alias_map(account1, alias2): Some(
    {
        AccountId(
            "dev-20240912030815-30430253960842",
        ): (
            1726110501605625216,
            0,
        ),
    },
)


get_alias_map(account1, alias1): Some(
    {
        AccountId(
            "dev-20240912030818-79634997743277",
        ): (
            1726110500584647216,
            1,
        ),
    },
)


claim_alias(account1, alias1): ExecutionFinalResult {
    total_gas_burnt: NearGas {
        inner: 3257882709108,
    },
    transaction: ExecutionOutcome {
        transaction_hash: HaaMNGxGq87b7WGxKv9RW5w9G9u26LTX76MstUZdMi8n,
        block_hash: JDM11WzxDm2dvm1ZZwxFMcXRJuXqVvRn1McNf67VHb5g,
        logs: [],
        receipt_ids: [
            DkrvfweuQpm8ud8DaGtCDFsgS1TnSZxGWLFLwHbQD8dr,
        ],
        gas_burnt: NearGas {
            inner: 308124342086,
        },
        tokens_burnt: NearToken {
            inner: 30812434208600000000,
        },
        executor_id: AccountId(
            "dev-20240912030815-30430253960842",
        ),
        status: SuccessReceiptId(DkrvfweuQpm8ud8DaGtCDFsgS1TnSZxGWLFLwHbQD8dr),
    },
    receipts: [
        ExecutionOutcome {
            transaction_hash: DkrvfweuQpm8ud8DaGtCDFsgS1TnSZxGWLFLwHbQD8dr,
            block_hash: GuBBmYDHmNBYJAahiV1yUTUGjxS5iqySJFr5Xakf1kLk,
            logs: [
                "03:08:22 \u{1b}[94m  debug\u{1b}[39m #1 chat_contract.claim_alias / { alias = \"alias1\"; block_timestamp = 1726110502617282623; account_id = \"dev-20240912030815-30430253960842\" }\n03:08:22 \u{1b}[94m  debug\u{1b}[39m #2 chat_contract.claim_alias / { account_alias = Some(\"alias2\") }",
            ],
            receipt_ids: [
                BPdReAt33fx7CXN7FZkUju6PTHUA3AUhvg8LNAoj5B15,
            ],
            gas_burnt: NearGas {
                inner: 2726575804522,
            },
            tokens_burnt: NearToken {
                inner: 272657580452200000000,
            },
            executor_id: AccountId(
                "dev-20240912030813-29137209973288",
            ),
            status: SuccessValue(''),
        },
        ExecutionOutcome {
            transaction_hash: BPdReAt33fx7CXN7FZkUju6PTHUA3AUhvg8LNAoj5B15,
            block_hash: 6zJAC9HDuJytkbF8jp6Q86sU1MRRgKZ9JaMkBGRzzjix,
            logs: [],
            receipt_ids: [],
            gas_burnt: NearGas {
                inner: 223182562500,
            },
            tokens_burnt: NearToken {
                inner: 0,
            },
            executor_id: AccountId(
                "dev-20240912030815-30430253960842",
            ),
            status: SuccessValue(''),
        },
    ],
    status: SuccessValue(''),
}
total_gas_burnt_usd: 0.002176265649684144
outcome (success: true):
  outcome_gas_burnt_usd: 0.000205827060513448
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.0018213526374206961
  outcome_tokens_burnt_usd: 0.0
outcome (success: true):
  outcome_gas_burnt_usd: 0.00014908595175
  outcome_tokens_burnt_usd: 0.0


get_account_info(account1): Some(
    (
        "alias1",
        (
            1726110502617282623,
            1,
        ),
    ),
)


get_alias_map(account1, alias1): Some(
    {
        AccountId(
            "dev-20240912030815-30430253960842",
        ): (
            1726110502617282623,
            1,
        ),
        AccountId(
            "dev-20240912030818-79634997743277",
        ): (
            1726110500584647216,
            0,
        ),
    },
)


get_alias_map(account1, alias2): Some(
    {},
)
In [ ]:
{ pwsh ../apps/spiral/temp/extension/build.ps1 } | Invoke-Block
bun install v1.1.7 (b0b7db5c)

Checked 11 installs across 13 packages (no changes) [109.00ms]
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
warning: enum `AlbumData` is never used
  --> C:\home\git\polyglot\apps\spiral\temp\extension\src\timer.rs:52:6
   |
52 | enum AlbumData {
   |      ^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: `spiral_temp_extension` (lib) generated 1 warning
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.48s
[INFO]: ⬇️  Installing wasm-bindgen...
[INFO]: Optional field missing from Cargo.toml: 'description'. This is not necessary, but recommended
[INFO]: origin crate has no LICENSE
[INFO]: ✨   Done in 6.54s
[INFO]: 📦   Your wasm pkg is ready to publish at C:\home\git\polyglot\apps\spiral\temp\extension\pkg.
▲ [WARNING] "import.meta" is not available with the "iife" output format and will be empty [empty-import-meta]

    pkg/spiral_temp_extension.js:1507:66:
      1507 │ ...ath = new URL('spiral_temp_extension_bg.wasm', import.meta.url);
           ╵                                                   ~~~~~~~~~~~

  You need to set the output format to "esm" for "import.meta" to work correctly.

1 warning

  dist\spiral_temp_extension_bg-J2HZKOAZ.wasm   4.6mb ⚠️
  dist\devtools.js                             29.0kb
  dist\content_script.js                       28.0kb
  dist\service_worker.js                        2.2kb

⚡ Done in 166ms
$ playwright test
[WebServer]  Saved lockfile

[WebServer]  WARN  Checking for updates failed (use `--debug` to see full error)


Running 3 tests using 3 workers

[1/3] [Desktop Chrome] › extension.spec.ts:13:5 › libgen
[2/3] [Desktop Chrome] › extension.spec.ts:3:5 › popup localhost
[3/3] [Desktop Chrome] › extension.spec.ts:8:5 › popup extension
  3 passed (32.3s)

To open last HTML report run:

  npx playwright show-report

In [ ]:
{ pwsh ../apps/spiral/temp/test/build.ps1 } | Invoke-Block
00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }
00:00:00   debug #1 runtime.execute_with_options_async / { options = { command = dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = Some <fun:main@570-7>; stdin = None; trace = true; working_directory = Some "C:\home\git\polyglot" } }
00:00:01 verbose #2 > 00:00:00   debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00   debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00   debug #3 targetDir: C:\home\git\polyglot\target/spiral_Eval
00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #3 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = true }
00:00:01 verbose #4 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 async.run_with_timeout_async / { timeout = 100 }
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01   debug #1 runWithTimeoutAsync / timeout: 500
00:00:02 verbose #2 Supervisor.sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #3 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02   debug #7 runtime.execute_with_options_async / { options = { command = ../../../../workspace/target/release/spiral_builder.exe dib --path build.dib; cancellation_token = Some System.Threading.CancellationToken; environment_variables = [||]; on_line = None; stdin = None; trace = true; working_directory = None } }
00:00:02 verbose #8 > 00:00:00   debug #1 spiral_builder.main / { args = Array(MutCell(["dib", "--path", "build.dib"])) }
00:00:02 verbose #9 > 00:00:00   debug #2 runtime.execute_with_options / { file_name = dotnet; arguments = [
00:00:02 verbose #10 >     "repl",
00:00:02 verbose #11 >     "--exit-after-run",
00:00:02 verbose #12 >     "--run",
00:00:02 verbose #13 >     "c:/home/git/polyglot/apps/spiral/temp/test/build.dib",
00:00:02 verbose #14 >     "--output-path",
00:00:02 verbose #15 >     "c:/home/git/polyglot/apps/spiral/temp/test/build.dib.ipynb",
00:00:02 verbose #16 > ]; options = { command = dotnet repl --exit-after-run --run "c:/home/git/polyglot/apps/spiral/temp/test/build.dib" --output-path "c:/home/git/polyglot/apps/spiral/temp/test/build.dib.ipynb"; cancellation_token = None; environment_variables = Array(MutCell([("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin = None; trace = false; working_directory = None } }
00:00:04 verbose #17 > >
00:00:04 verbose #18 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:04 verbose #19 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:04 verbose #20 > > │ # test                                                                       │
00:00:04 verbose #21 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:05 verbose #22 > >
00:00:05 verbose #23 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:05 verbose #24 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:05 verbose #25 > > │ ## include scripts                                                           │
00:00:05 verbose #26 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:05 verbose #27 > >
00:00:05 verbose #28 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:05 verbose #29 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:05 verbose #30 > > │ ### include notebook core                                                    │
00:00:05 verbose #31 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:05 verbose #32 > >
00:00:05 verbose #33 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:05 verbose #34 > > . ../../../../scripts/nbs_header.ps1
00:00:06 verbose #35 > >
00:00:06 verbose #36 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #37 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #38 > > │ ### Include core functions script                                            │
00:00:06 verbose #39 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:06 verbose #40 > >
00:00:06 verbose #41 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:06 verbose #42 > > . ../../../../scripts/core.ps1
00:00:06 verbose #43 > >
00:00:06 verbose #44 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #45 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #46 > > │ ### Include spiral library                                                   │
00:00:06 verbose #47 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:06 verbose #48 > >
00:00:06 verbose #49 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:06 verbose #50 > > . ../../../../lib/spiral/lib.ps1
00:00:06 verbose #51 > >
00:00:06 verbose #52 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #53 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #54 > > │ ## execute project commands                                                  │
00:00:06 verbose #55 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:06 verbose #56 > >
00:00:06 verbose #57 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:06 verbose #58 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:06 verbose #59 > > │ ### run notebook with retries using spiral supervisor                        │
00:00:06 verbose #60 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:06 verbose #61 > >
00:00:06 verbose #62 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:06 verbose #63 > > { . ../../../../apps/spiral/dist/Supervisor$(_exe) --execute-command
00:00:06 verbose #64 > > "../../../../workspace/target/release/spiral_builder$(_exe) dib --path test.dib
00:00:06 verbose #65 > > --retries 3" } | Invoke-Block
00:00:15 verbose #66 > 00:00:14   debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fa7845de436c12d0ca65282fe0cd65832468ca943e72feba50e6b1bb441e251a/main.spi
00:00:19 verbose #67 > 00:00:18   debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/ce990c2052584bdfe3d9095a6f66f3692ed9d22db4dfe9c0572634f2ad4150ae/main.spi
00:00:24 verbose #68 > 00:00:23   debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/fe0c2514da1c8580e6109e31362282ad2ab3a7239f752cd4b1aee48fbab1b1b8/main.spi
00:00:25 verbose #69 > 00:00:24   debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/spiral_Eval/packages/178adaa8563fb65ff883d10755bcf85f8b120a85a2cb7d9c92ec7d8259bf1906/main.spi
00:00:25 verbose #70 > <test>
00:00:25 verbose #71 > </test>
00:00:31 verbose #72 > >
00:00:31 verbose #73 > > ╭─[ 25.81s - stdout ]──────────────────────────────────────────────────────────╮
00:00:31 verbose #74 > > │ 00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }    │
00:00:31 verbose #75 > > │ 00:00:01   debug #1 runtime.execute_with_options_async / { options = {  │
00:00:31 verbose #76 > > │ command = ../../../../workspace/target/release/spiral_builder.exe dib --path │
00:00:31 verbose #77 > > │ test.dib --retries 3; cancellation_token = Some                              │
00:00:31 verbose #78 > > │ System.Threading.CancellationToken; environment_variables = [||]; on_line =  │
00:00:31 verbose #79 > > │ None; stdin = None; trace = true; working_directory = None } }               │
00:00:31 verbose #80 > > │ 00:00:01 verbose #2 > 00:00:00   debug #1 spiral_builder.main / { │
00:00:31 verbose #81 > > │ args = Array(MutCell(["dib", "--path", "test.dib", "--retries", "3"])) }     │
00:00:31 verbose #82 > > │ 00:00:01 verbose #3 > 00:00:00   debug #2                         │
00:00:31 verbose #83 > > │ runtime.execute_with_options / { file_name = dotnet; arguments = [           │
00:00:31 verbose #84 > > │ 00:00:01 verbose #4 >     "repl",                                       │
00:00:31 verbose #85 > > │ 00:00:01 verbose #5 >     "--exit-after-run",                           │
00:00:31 verbose #86 > > │ 00:00:01 verbose #6 >     "--run",                                      │
00:00:31 verbose #87 > > │ 00:00:01 verbose #7 >                                                   │
00:00:31 verbose #88 > > │ "c:/home/git/polyglot/apps/spiral/temp/test/test.dib",                       │
00:00:31 verbose #89 > > │ 00:00:01 verbose #8 >     "--output-path",                              │
00:00:31 verbose #90 > > │ 00:00:01 verbose #9 >                                                   │
00:00:31 verbose #91 > > │ "c:/home/git/polyglot/apps/spiral/temp/test/test.dib.ipynb",                 │
00:00:31 verbose #92 > > │ 00:00:01 verbose #10 > ]; options = { command = dotnet repl             │
00:00:31 verbose #93 > > │ --exit-after-run --run "c:/home/git/polyglot/apps/spiral/temp/test/test.dib" │
00:00:31 verbose #94 > > │ --output-path "c:/home/git/polyglot/apps/spiral/temp/test/test.dib.ipynb";   │
00:00:31 verbose #95 > > │ cancellation_token = None; environment_variables = Array(MutCell([           │
00:00:31 verbose #96 > > │ ("TRACE_LEVEL", "Verbose"), ("AUTOMATION", "True")])); on_line = None; stdin │
00:00:31 verbose #97 > > │ = None; trace = false; working_directory = None } }                          │
00:00:31 verbose #98 > > │ 00:00:03 verbose #11 > >                                                │
00:00:31 verbose #99 > > │ 00:00:03 verbose #12 > > ── markdown                                    │
00:00:31 verbose #100 > > │ ────────────────────────────────────────────────────────────────────         │
00:00:31 verbose #101 > > │ 00:00:03 verbose #13 > >                                                │
00:00:31 verbose #102 > > │ ╭─────────────────────────────────────────────────────────────────────────── │
00:00:31 verbose #103 > > │ ───╮                                                                         │
00:00:31 verbose #104 > > │ 00:00:03 verbose #14 > > │ # test (Polyglot)                            │
00:00:31 verbose #105 > > │ │                                                                            │
00:00:31 verbose #106 > > │ 00:00:03 verbose #15 > >                                                │
00:00:31 verbose #107 > > │ ╰─────────────────────────────────────────────────────────────────────────── │
00:00:31 verbose #108 > > │ ───╯                                                                         │
00:00:31 verbose #109 > > │ 00:00:08 verbose #16 > >                                                │
00:00:31 verbose #110 > > │ 00:00:08 verbose #17 > > ── spiral                                      │
00:00:31 verbose #111 > > │ ──────────────────────────────────────────────────────────────────────       │
00:00:31 verbose #112 > > │ 00:00:08 verbose #18 > > //// test                                      │
00:00:31 verbose #113 > > │ 00:00:08 verbose #19 > >                                                │
00:00:31 verbose #114 > > │ 00:00:08 verbose #20 > > open testing                                   │
00:00:31 verbose #115 > > │ 00:00:13 verbose #21 > >                                                │
00:00:31 verbose #116 > > │ 00:00:13 verbose #22 > > ── spiral                                      │
00:00:31 verbose #117 > > │ ──────────────────────────────────────────────────────────────────────       │
00:00:31 verbose #118 > > │ 00:00:13 verbose #23 > > nominal i = ()                                 │
00:00:31 verbose #119 > > │ 00:00:13 verbose #24 > > nominal e = ()                                 │
00:00:31 verbose #120 > > │ 00:00:13 verbose #25 > > nominal s = ()                                 │
00:00:31 verbose #121 > > │ 00:00:13 verbose #26 > > nominal n = ()                                 │
00:00:31 verbose #122 > > │ 00:00:13 verbose #27 > > nominal t = ()                                 │
00:00:31 verbose #123 > > │ 00:00:13 verbose #28 > > nominal f = ()                                 │
00:00:31 verbose #124 > > │ 00:00:13 verbose #29 > > nominal j = ()                                 │
00:00:31 verbose #125 > > │ 00:00:13 verbose #30 > > nominal p = ()                                 │
00:00:31 verbose #126 > > │ 00:00:13 verbose #31 > >                                                │
00:00:31 verbose #127 > > │ 00:00:13 verbose #32 > > union sensing =                                │
00:00:31 verbose #128 > > │ 00:00:13 verbose #33 > >     | Si : s * i                               │
00:00:31 verbose #129 > > │ 00:00:13 verbose #34 > >     | Se : s * e                               │
00:00:31 verbose #130 > > │ 00:00:13 verbose #35 > >                                                │
00:00:31 verbose #131 > > │ 00:00:13 verbose #36 > > union intuition =                              │
00:00:31 verbose #132 > > │ 00:00:13 verbose #37 > >     | Ni : n * i                               │
00:00:31 verbose #133 > > │ 00:00:13 verbose #38 > >     | Ne : n * e                               │
00:00:31 verbose #134 > > │ 00:00:13 verbose #39 > >                                                │
00:00:31 verbose #135 > > │ 00:00:13 verbose #40 > > union thinking =                               │
00:00:31 verbose #136 > > │ 00:00:13 verbose #41 > >     | Ti : t * i                               │
00:00:31 verbose #137 > > │ 00:00:13 verbose #42 > >     | Te : t * e                               │
00:00:31 verbose #138 > > │ 00:00:13 verbose #43 > >                                                │
00:00:31 verbose #139 > > │ 00:00:13 verbose #44 > > union feeling =                                │
00:00:31 verbose #140 > > │ 00:00:13 verbose #45 > >     | Fi : f * i                               │
00:00:31 verbose #141 > > │ 00:00:13 verbose #46 > >     | Fe : f * e                               │
00:00:31 verbose #142 > > │ 00:00:13 verbose #47 > >                                                │
00:00:31 verbose #143 > > │ 00:00:13 verbose #48 > > union function_stack =                         │
00:00:31 verbose #144 > > │ 00:00:13 verbose #49 > >     | FS : sensing * intuition * thinking *    │
00:00:31 verbose #145 > > │ feeling                                                                      │
00:00:31 verbose #146 > > │ 00:00:13 verbose #50 > >                                                │
00:00:31 verbose #147 > > │ 00:00:13 verbose #51 > > union personality_type =                       │
00:00:31 verbose #148 > > │ 00:00:13 verbose #52 > >     | ISTJ : i * s * t * j * function_stack    │
00:00:31 verbose #149 > > │ 00:00:13 verbose #53 > >     | ISFJ : i * s * f * j * function_stack    │
00:00:31 verbose #150 > > │ 00:00:13 verbose #54 > >     | INFJ : i * n * f * j * function_stack    │
00:00:31 verbose #151 > > │ 00:00:13 verbose #55 > >     | INTJ : i * n * t * j * function_stack    │
00:00:31 verbose #152 > > │ 00:00:13 verbose #56 > >     | ISTP : i * s * t * p * function_stack    │
00:00:31 verbose #153 > > │ 00:00:13 verbose #57 > >     | ISFP : i * s * f * p * function_stack    │
00:00:31 verbose #154 > > │ 00:00:13 verbose #58 > >     | INFP : i * n * f * p * function_stack    │
00:00:31 verbose #155 > > │ 00:00:13 verbose #59 > >     | INTP : i * n * t * p * function_stack    │
00:00:31 verbose #156 > > │ 00:00:13 verbose #60 > >     | ESTP : e * s * t * p * function_stack    │
00:00:31 verbose #157 > > │ 00:00:13 verbose #61 > >     | ESFP : e * s * f * p * function_stack    │
00:00:31 verbose #158 > > │ 00:00:13 verbose #62 > >     | ENFP : e * n * f * p * function_stack    │
00:00:31 verbose #159 > > │ 00:00:13 verbose #63 > >     | ENTP : e * n * t * p * function_stack    │
00:00:31 verbose #160 > > │ 00:00:13 verbose #64 > >     | ESTJ : e * s * t * j * function_stack    │
00:00:31 verbose #161 > > │ 00:00:13 verbose #65 > >     | ESFJ : e * s * f * j * function_stack    │
00:00:31 verbose #162 > > │ 00:00:13 verbose #66 > >     | ENFJ : e * n * f * j * function_stack    │
00:00:31 verbose #163 > > │ 00:00:13 verbose #67 > >     | ENTJ : e * n * t * j * function_stack    │
00:00:31 verbose #164 > > │ 00:00:13 verbose #68 > >                                                │
00:00:31 verbose #165 > > │ 00:00:13 verbose #69 > >                                                │
00:00:31 verbose #166 > > │ 00:00:13 verbose #70 > > inl main () =                                  │
00:00:31 verbose #167 > > │ 00:00:13 verbose #71 > >     inl istj_stack = FS ((Si (s, i)), Ne (n,   │
00:00:31 verbose #168 > > │ e), (Te (t, e)), (Fi (f, i)))                                                │
00:00:31 verbose #169 > > │ 00:00:13 verbose #72 > >     inl istj_personality = ISTJ (i, s, t, j,   │
00:00:31 verbose #170 > > │ istj_stack)                                                                  │
00:00:31 verbose #171 > > │ 00:00:13 verbose #73 > >     // inl isfj_stack = FS ((Si (s, i)), Ne    │
00:00:31 verbose #172 > > │ (n, e), (Fe (f, e)), (Ti (t, i)))                                            │
00:00:31 verbose #173 > > │ 00:00:13 verbose #74 > >     // inl isfj_personality = ISFJ (i, s, f,   │
00:00:31 verbose #174 > > │ j, isfj_stack)                                                               │
00:00:31 verbose #175 > > │ 00:00:13 verbose #75 > >                                                │
00:00:31 verbose #176 > > │ 00:00:13 verbose #76 > >     ;[[                                        │
00:00:31 verbose #177 > > │ 00:00:13 verbose #77 > >         istj_personality                       │
00:00:32 verbose #178 > > │ 00:00:13 verbose #78 > >     ]]                                         │
00:00:32 verbose #179 > > │ 00:00:13 verbose #79 > >     |> fun x => $'$"%A{!x}"' : string          │
00:00:32 verbose #180 > > │ 00:00:13 verbose #80 > >     |> console.write_line                      │
00:00:32 verbose #181 > > │ 00:00:13 verbose #81 > >                                                │
00:00:32 verbose #182 > > │ 00:00:13 verbose #82 > > inl main () =                                  │
00:00:32 verbose #183 > > │ 00:00:13 verbose #83 > >     $'!main ()' : ()                           │
00:00:32 verbose #184 > > │ 00:00:15 verbose #84 > >                                                │
00:00:32 verbose #185 > > │ 00:00:15 verbose #85 > > ╭─[ 2.27s - stdout                             │
00:00:32 verbose #186 > > │ ]───────────────────────────────────────────────────────────╮                │
00:00:32 verbose #187 > > │ 00:00:15 verbose #86 > > │ [|US5_0 (US4_0 (US0_0, US1_1, US2_1,         │
00:00:32 verbose #188 > > │ US3_0))|]                               │                                    │
00:00:32 verbose #189 > > │ 00:00:15 verbose #87 > > │                                              │
00:00:32 verbose #190 > > │                                                                              │
00:00:32 verbose #191 > > │ │                                                                            │
00:00:32 verbose #192 > > │ 00:00:15 verbose #88 > >                                                │
00:00:32 verbose #193 > > │ ╰─────────────────────────────────────────────────────────────────────────── │
00:00:32 verbose #194 > > │ ───╯                                                                         │
00:00:32 verbose #195 > > │ 00:00:16 verbose #89 > >                                                │
00:00:32 verbose #196 > > │ 00:00:16 verbose #90 > > ── fsharp                                      │
00:00:32 verbose #197 > > │ ──────────────────────────────────────────────────────────────────────       │
00:00:32 verbose #198 > > │ 00:00:16 verbose #91 > > type PhonologicalFeature =                     │
00:00:32 verbose #199 > > │ 00:00:16 verbose #92 > >     | VowelFeature of                          │
00:00:32 verbose #200 > > │ 00:00:16 verbose #93 > >         height: Height                         │
00:00:32 verbose #201 > > │ 00:00:16 verbose #94 > >         * backness: Backness                   │
00:00:32 verbose #202 > > │ 00:00:16 verbose #95 > >         * roundedness: Roundedness             │
00:00:32 verbose #203 > > │ 00:00:16 verbose #96 > >         * tone: Option<Tone>                   │
00:00:32 verbose #204 > > │ 00:00:16 verbose #97 > >         * stress: Option<Stress>               │
00:00:32 verbose #205 > > │ 00:00:16 verbose #98 > >         * length: Option<Length>               │
00:00:32 verbose #206 > > │ 00:00:16 verbose #99 > >     | ConsonantFeature of                      │
00:00:32 verbose #207 > > │ 00:00:16 verbose #100 > >         place: PlaceOfArticulation            │
00:00:32 verbose #208 > > │ 00:00:16 verbose #101 > >         * manner: MannerOfArticulation        │
00:00:32 verbose #209 > > │ 00:00:16 verbose #102 > >         * voicing: Voicing                    │
00:00:32 verbose #210 > > │ 00:00:16 verbose #103 > >         * length: Option<Length>              │
00:00:32 verbose #211 > > │ 00:00:16 verbose #104 > >     | VowelHarmonyFeature                     │
00:00:32 verbose #212 > > │ 00:00:16 verbose #105 > >     | PitchAccentFeature                      │
00:00:32 verbose #213 > > │ 00:00:16 verbose #106 > >                                               │
00:00:32 verbose #214 > > │ 00:00:16 verbose #107 > > and Stress = Primary | Secondary              │
00:00:32 verbose #215 > > │ 00:00:16 verbose #108 > > and Length = Long | Short | HalfLong          │
00:00:32 verbose #216 > > │ 00:00:16 verbose #109 > >                                               │
00:00:32 verbose #217 > > │ 00:00:16 verbose #110 > > and Height =                                  │
00:00:32 verbose #218 > > │ 00:00:16 verbose #111 > >     | High | NearHigh | HighMid               │
00:00:32 verbose #219 > > │ 00:00:16 verbose #112 > >     | Mid | LowMid | NearLow                  │
00:00:32 verbose #220 > > │ 00:00:16 verbose #113 > >     | Low                                     │
00:00:32 verbose #221 > > │ 00:00:16 verbose #114 > >                                               │
00:00:32 verbose #222 > > │ 00:00:16 verbose #115 > > and Backness = Front | Central | Back         │
00:00:32 verbose #223 > > │ 00:00:16 verbose #116 > >                                               │
00:00:32 verbose #224 > > │ 00:00:16 verbose #117 > > and Roundedness = Rounded | Unrounded         │
00:00:32 verbose #225 > > │ 00:00:16 verbose #118 > >                                               │
00:00:32 verbose #226 > > │ 00:00:16 verbose #119 > > and PlaceOfArticulation =                     │
00:00:32 verbose #227 > > │ 00:00:16 verbose #120 > >     | Bilabial | Labiodental | Dental         │
00:00:32 verbose #228 > > │ 00:00:16 verbose #121 > >     | Alveolar | Postalveolar | Retroflex     │
00:00:32 verbose #229 > > │ 00:00:16 verbose #122 > >     | Palatal | Velar | Uvular                │
00:00:32 verbose #230 > > │ 00:00:16 verbose #123 > >     | Pharyngeal | Epiglottal | Glottal       │
00:00:32 verbose #231 > > │ 00:00:16 verbose #124 > >                                               │
00:00:32 verbose #232 > > │ 00:00:16 verbose #125 > > and MannerOfArticulation =                    │
00:00:32 verbose #233 > > │ 00:00:16 verbose #126 > >     | Plosive | Nasal | Trill                 │
00:00:32 verbose #234 > > │ 00:00:16 verbose #127 > >     | TapOrFlap | Fricative |                 │
00:00:32 verbose #235 > > │ LateralFricative                                                             │
00:00:32 verbose #236 > > │ 00:00:16 verbose #128 > >     | Approximant | LateralApproximant        │
00:00:32 verbose #237 > > │ 00:00:16 verbose #129 > >                                               │
00:00:32 verbose #238 > > │ 00:00:16 verbose #130 > > and Voicing = Voiced | Voiceless              │
00:00:32 verbose #239 > > │ 00:00:16 verbose #131 > >                                               │
00:00:32 verbose #240 > > │ 00:00:16 verbose #132 > > and SecondaryArticulation =                   │
00:00:32 verbose #241 > > │ 00:00:16 verbose #133 > >     | Labialization | Palatalization |        │
00:00:32 verbose #242 > > │ Velarization                                                                 │
00:00:32 verbose #243 > > │ 00:00:16 verbose #134 > >     | Pharyngealization | Aspiration          │
00:00:32 verbose #244 > > │ 00:00:16 verbose #135 > >                                               │
00:00:32 verbose #245 > > │ 00:00:16 verbose #136 > > and Tone =                                    │
00:00:32 verbose #246 > > │ 00:00:16 verbose #137 > >     | LevelTone of int                        │
00:00:32 verbose #247 > > │ 00:00:16 verbose #138 > >     | ContourTone of int list                 │
00:00:32 verbose #248 > > │ 00:00:16 verbose #139 > >                                               │
00:00:32 verbose #249 > > │ 00:00:16 verbose #140 > > and MorphologicalFeature =                    │
00:00:32 verbose #250 > > │ 00:00:16 verbose #141 > >     | RootFeature of string                   │
00:00:32 verbose #251 > > │ 00:00:16 verbose #142 > >     | AffixFeature of AffixType * string      │
00:00:32 verbose #252 > > │ 00:00:16 verbose #143 > >     | IncorporationFeature of string *        │
00:00:32 verbose #253 > > │ MorphologicalFeature                                                         │
00:00:32 verbose #254 > > │ 00:00:16 verbose #144 > >     | NonConcatenativePattern of string *     │
00:00:32 verbose #255 > > │ string                                                                       │
00:00:32 verbose #256 > > │ 00:00:16 verbose #145 > >     | AgglutinativeAffixFeature of            │
00:00:32 verbose #257 > > │ AgglutinativeAffixType * string                                              │
00:00:32 verbose #258 > > │ 00:00:16 verbose #146 > >     | HonorificFeature of HonorificType *     │
00:00:32 verbose #259 > > │ string                                                                       │
00:00:32 verbose #260 > > │ 00:00:16 verbose #147 > >                                               │
00:00:32 verbose #261 > > │ 00:00:16 verbose #148 > > and AgglutinativeAffixType = Suffix | Prefix  │
00:00:32 verbose #262 > > │ 00:00:16 verbose #149 > >                                               │
00:00:32 verbose #263 > > │ 00:00:16 verbose #150 > > and HonorificType = VerbHonorific |           │
00:00:32 verbose #264 > > │ NounHonorific                                                                │
00:00:32 verbose #265 > > │ 00:00:16 verbose #151 > >                                               │
00:00:32 verbose #266 > > │ 00:00:16 verbose #152 > > and AffixType =                               │
00:00:32 verbose #267 > > │ 00:00:16 verbose #153 > >     | Prefix | Suffix | Infix                 │
00:00:32 verbose #268 > > │ 00:00:16 verbose #154 > >     | Circumfix                               │
00:00:32 verbose #269 > > │ 00:00:16 verbose #155 > >                                               │
00:00:32 verbose #270 > > │ 00:00:16 verbose #156 > > type SyntacticFeature =                       │
00:00:32 verbose #271 > > │ 00:00:16 verbose #157 > >     | WordFeature of MorphologicalFeature     │
00:00:32 verbose #272 > > │ list * LexicalCategory                                                       │
00:00:32 verbose #273 > > │ 00:00:16 verbose #158 > >     | PhraseFeature of PhraseType *           │
00:00:32 verbose #274 > > │ SyntacticFeature list                                                        │
00:00:32 verbose #275 > > │ 00:00:16 verbose #159 > >     | GrammaticalRelation of                  │
00:00:32 verbose #276 > > │ GrammaticalRelationType * SyntacticFeature list                              │
00:00:32 verbose #277 > > │ 00:00:16 verbose #160 > >     | SOVOrderFeature                         │
00:00:32 verbose #278 > > │ 00:00:16 verbose #161 > >     | TopicCommentFeature                     │
00:00:32 verbose #279 > > │ 00:00:16 verbose #162 > >                                               │
00:00:32 verbose #280 > > │ 00:00:16 verbose #163 > > and GrammaticalRelationType =                 │
00:00:32 verbose #281 > > │ 00:00:16 verbose #164 > >     | Ergative | Absolutive | Nominative      │
00:00:32 verbose #282 > > │ 00:00:16 verbose #165 > >     | Accusative                              │
00:00:32 verbose #283 > > │ 00:00:16 verbose #166 > >                                               │
00:00:32 verbose #284 > > │ 00:00:16 verbose #167 > > and LexicalCategory =                         │
00:00:32 verbose #285 > > │ 00:00:16 verbose #168 > >     | Noun | Verb | Adjective                 │
00:00:32 verbose #286 > > │ 00:00:16 verbose #169 > >     | Adverb | Pronoun | Preposition          │
00:00:32 verbose #287 > > │ 00:00:16 verbose #170 > >     | Conjunction | Determiner | Interjection │
00:00:32 verbose #288 > > │ 00:00:16 verbose #171 > >                                               │
00:00:32 verbose #289 > > │ 00:00:16 verbose #172 > > and PhraseType =                              │
00:00:32 verbose #290 > > │ 00:00:16 verbose #173 > >     | NP | VP | AP                            │
00:00:32 verbose #291 > > │ 00:00:16 verbose #174 > >     | PP | CP                                 │
00:00:32 verbose #292 > > │ 00:00:16 verbose #175 > >                                               │
00:00:32 verbose #293 > > │ 00:00:16 verbose #176 > > and SemanticFeature =                         │
00:00:32 verbose #294 > > │ 00:00:16 verbose #177 > >     | Meaning of string                       │
00:00:32 verbose #295 > > │ 00:00:16 verbose #178 > >     | SemanticRole of SemanticRoleType *      │
00:00:32 verbose #296 > > │ SemanticFeature                                                              │
00:00:32 verbose #297 > > │ 00:00:16 verbose #179 > >                                               │
00:00:32 verbose #298 > > │ 00:00:16 verbose #180 > > and SemanticRoleType =                        │
00:00:32 verbose #299 > > │ 00:00:16 verbose #181 > >     | Agent | Patient | Instrument            │
00:00:32 verbose #300 > > │ 00:00:16 verbose #182 > >     | Location | Time | Cause                 │
00:00:32 verbose #301 > > │ 00:00:16 verbose #183 > >                                               │
00:00:32 verbose #302 > > │ 00:00:16 verbose #184 > > and PragmaticFeature =                        │
00:00:32 verbose #303 > > │ 00:00:16 verbose #185 > >     | UseContext of string                    │
00:00:32 verbose #304 > > │ 00:00:16 verbose #186 > >     | PolitenessLevel of Politeness           │
00:00:32 verbose #305 > > │ 00:00:16 verbose #187 > >     | SpeechAct of SpeechActType              │
00:00:32 verbose #306 > > │ 00:00:16 verbose #188 > >     | SpeechLevel of SpeechLevelType          │
00:00:32 verbose #307 > > │ 00:00:16 verbose #189 > >                                               │
00:00:32 verbose #308 > > │ 00:00:16 verbose #190 > > and Politeness = Formal | Informal | Neutral  │
00:00:32 verbose #309 > > │ 00:00:16 verbose #191 > >                                               │
00:00:32 verbose #310 > > │ 00:00:16 verbose #192 > > and SpeechActType =                           │
00:00:32 verbose #311 > > │ 00:00:16 verbose #193 > >     | Assertive | Directive | Commissive      │
00:00:32 verbose #312 > > │ 00:00:16 verbose #194 > >     | Expressive | Declarative                │
00:00:32 verbose #313 > > │ 00:00:16 verbose #195 > >                                               │
00:00:32 verbose #314 > > │ 00:00:16 verbose #196 > > and SpeechLevelType =                         │
00:00:32 verbose #315 > > │ 00:00:16 verbose #197 > >     | FormalHigh | FormalLow | InformalHigh   │
00:00:32 verbose #316 > > │ 00:00:16 verbose #198 > >     | InformalLow | Neutral                   │
00:00:32 verbose #317 > > │ 00:00:16 verbose #199 > >                                               │
00:00:32 verbose #318 > > │ 00:00:16 verbose #200 > > type LinguisticFeature =                      │
00:00:32 verbose #319 > > │ 00:00:16 verbose #201 > >     | Phonological of PhonologicalFeature     │
00:00:32 verbose #320 > > │ 00:00:16 verbose #202 > >     | Morphological of MorphologicalFeature   │
00:00:32 verbose #321 > > │ 00:00:16 verbose #203 > >     | Syntactic of SyntacticFeature           │
00:00:32 verbose #322 > > │ 00:00:16 verbose #204 > >     | Semantic of SemanticFeature             │
00:00:32 verbose #323 > > │ 00:00:16 verbose #205 > >     | Pragmatic of PragmaticFeature           │
00:00:32 verbose #324 > > │ 00:00:16 verbose #206 > >                                               │
00:00:32 verbose #325 > > │ 00:00:16 verbose #207 > > type LanguageConstruct =                      │
00:00:32 verbose #326 > > │ 00:00:16 verbose #208 > >     | LanguageElement of LinguisticFeature    │
00:00:32 verbose #327 > > │ 00:00:16 verbose #209 > >     | LanguageStructure of LanguageConstruct  │
00:00:32 verbose #328 > > │ list                                                                         │
00:00:32 verbose #329 > > │ 00:00:16 verbose #210 > >     | TranslationElement of                   │
00:00:32 verbose #330 > > │ TranslationFeature                                                           │
00:00:32 verbose #331 > > │ 00:00:16 verbose #211 > >                                               │
00:00:32 verbose #332 > > │ 00:00:16 verbose #212 > > and TranslationFeature =                      │
00:00:32 verbose #333 > > │ 00:00:16 verbose #213 > >     | LinkedPhonological of                   │
00:00:32 verbose #334 > > │ PhonologicalFeature * PhonologicalFeature                                    │
00:00:32 verbose #335 > > │ 00:00:16 verbose #214 > >     | LinkedMorphological of                  │
00:00:32 verbose #336 > > │ MorphologicalFeature * MorphologicalFeature                                  │
00:00:32 verbose #337 > > │ 00:00:16 verbose #215 > >     | LinkedSyntactic of SyntacticFeature *   │
00:00:32 verbose #338 > > │ SyntacticFeature                                                             │
00:00:32 verbose #339 > > │ 00:00:16 verbose #216 > >     | LinkedSemantic of SemanticFeature *     │
00:00:32 verbose #340 > > │ SemanticFeature                                                              │
00:00:32 verbose #341 > > │ 00:00:16 verbose #217 > >                                               │
00:00:32 verbose #342 > > │ 00:00:16 verbose #218 > > type Discourse = DiscourseUnit of             │
00:00:32 verbose #343 > > │ LanguageConstruct list                                                       │
00:00:32 verbose #344 > > │ 00:00:16 verbose #219 > >                                               │
00:00:32 verbose #345 > > │ 00:00:16 verbose #220 > > type LanguageModel =                          │
00:00:32 verbose #346 > > │ 00:00:16 verbose #221 > >     | Model of discourse: Discourse           │
00:00:32 verbose #347 > > │ 00:00:17 verbose #222 > >                                               │
00:00:32 verbose #348 > > │ 00:00:17 verbose #223 > > ── fsharp                                     │
00:00:32 verbose #349 > > │ ──────────────────────────────────────────────────────────────────────       │
00:00:32 verbose #350 > > │ 00:00:17 verbose #224 > > let testEnglish =                             │
00:00:32 verbose #351 > > │ 00:00:17 verbose #225 > >     Model(                                    │
00:00:32 verbose #352 > > │ 00:00:17 verbose #226 > >         DiscourseUnit [[                      │
00:00:32 verbose #353 > > │ 00:00:17 verbose #227 > >             LanguageElement (Phonological     │
00:00:32 verbose #354 > > │ (ConsonantFeature (Alveolar, Nasal,                                          │
00:00:32 verbose #355 > > │ 00:00:17 verbose #228 > > Voiced, Some(HalfLong))));                    │
00:00:32 verbose #356 > > │ 00:00:17 verbose #229 > >             LanguageElement (Phonological     │
00:00:32 verbose #357 > > │ (VowelFeature (High, Front, Unrounded,                                       │
00:00:32 verbose #358 > > │ 00:00:17 verbose #230 > > Some(LevelTone 1), Some(Primary),             │
00:00:32 verbose #359 > > │ Some(Short))));                                                              │
00:00:32 verbose #360 > > │ 00:00:17 verbose #231 > >             LanguageElement (Phonological     │
00:00:32 verbose #361 > > │ (VowelFeature (Low, Front, Unrounded,                                        │
00:00:32 verbose #362 > > │ 00:00:17 verbose #232 > > Some(LevelTone 2), Some(Secondary),           │
00:00:32 verbose #363 > > │ Some(Long))));                                                               │
00:00:32 verbose #364 > > │ 00:00:17 verbose #233 > >             LanguageElement (Phonological     │
00:00:32 verbose #365 > > │ (ConsonantFeature (Velar, Plosive,                                           │
00:00:32 verbose #366 > > │ 00:00:17 verbose #234 > > Voiceless, Some(HalfLong))));                 │
00:00:32 verbose #367 > > │ 00:00:17 verbose #235 > >             LanguageElement (Morphological    │
00:00:32 verbose #368 > > │ (RootFeature "I"));                                                          │
00:00:32 verbose #369 > > │ 00:00:17 verbose #236 > >             LanguageElement (Morphological    │
00:00:32 verbose #370 > > │ (RootFeature "see"));                                                        │
00:00:32 verbose #371 > > │ 00:00:17 verbose #237 > >             LanguageElement (Morphological    │
00:00:32 verbose #372 > > │ (RootFeature "a"));                                                          │
00:00:32 verbose #373 > > │ 00:00:17 verbose #238 > >             LanguageElement (Morphological    │
00:00:32 verbose #374 > > │ (RootFeature "cat"));                                                        │
00:00:32 verbose #375 > > │ 00:00:17 verbose #239 > >             LanguageElement (Syntactic        │
00:00:32 verbose #376 > > │ (PhraseFeature (NP, [[WordFeature                                            │
00:00:32 verbose #377 > > │ 00:00:17 verbose #240 > > ([[RootFeature "I"]], Pronoun)]])));          │
00:00:32 verbose #378 > > │ 00:00:17 verbose #241 > >             LanguageElement (Syntactic        │
00:00:32 verbose #379 > > │ (PhraseFeature (VP, [[WordFeature                                            │
00:00:32 verbose #380 > > │ 00:00:17 verbose #242 > > ([[RootFeature "see"]], Verb)]])));           │
00:00:32 verbose #381 > > │ 00:00:17 verbose #243 > >             LanguageElement (Syntactic        │
00:00:32 verbose #382 > > │ (PhraseFeature (NP, [[WordFeature                                            │
00:00:32 verbose #383 > > │ 00:00:17 verbose #244 > > ([[RootFeature "a"; RootFeature "cat"]],      │
00:00:32 verbose #384 > > │ Noun)]])));                                                                  │
00:00:32 verbose #385 > > │ 00:00:17 verbose #245 > >             LanguageElement (Semantic         │
00:00:32 verbose #386 > > │ (Meaning "Perception act of a feline by                                      │
00:00:32 verbose #387 > > │ 00:00:17 verbose #246 > > the speaker"));                               │
00:00:32 verbose #388 > > │ 00:00:17 verbose #247 > >             LanguageElement (Pragmatic        │
00:00:32 verbose #389 > > │ (UseContext "Statement of an action being                                    │
00:00:32 verbose #390 > > │ 00:00:17 verbose #248 > > observed"))                                   │
00:00:32 verbose #391 > > │ 00:00:17 verbose #249 > >         ]]                                    │
00:00:32 verbose #392 > > │ 00:00:17 verbose #250 > >     )                                         │
00:00:32 verbose #393 > > │ 00:00:17 verbose #251 > >                                               │
00:00:32 verbose #394 > > │ 00:00:17 verbose #252 > > let testPortuguese =                          │
00:00:32 verbose #395 > > │ 00:00:17 verbose #253 > >     Model(                                    │
00:00:32 verbose #396 > > │ 00:00:17 verbose #254 > >         DiscourseUnit [[                      │
00:00:32 verbose #397 > > │ 00:00:17 verbose #255 > >             LanguageElement (Phonological     │
00:00:32 verbose #398 > > │ (VowelFeature (High, Front, Unrounded,                                       │
00:00:32 verbose #399 > > │ 00:00:17 verbose #256 > > Some(LevelTone 1), Some(Primary),             │
00:00:32 verbose #400 > > │ Some(Short))));                                                              │
00:00:32 verbose #401 > > │ 00:00:17 verbose #257 > >             LanguageElement (Phonological     │
00:00:32 verbose #402 > > │ (VowelFeature (Low, Front, Unrounded,                                        │
00:00:32 verbose #403 > > │ 00:00:17 verbose #258 > > Some(LevelTone 2), Some(Secondary),           │
00:00:32 verbose #404 > > │ Some(Long))));                                                               │
00:00:32 verbose #405 > > │ 00:00:17 verbose #259 > >             LanguageElement (Phonological     │
00:00:32 verbose #406 > > │ (VowelFeature (Mid, Back, Rounded,                                           │
00:00:32 verbose #407 > > │ 00:00:17 verbose #260 > > Some(LevelTone 3), Some(Primary),             │
00:00:32 verbose #408 > > │ Some(Short))));                                                              │
00:00:32 verbose #409 > > │ 00:00:17 verbose #261 > >             LanguageElement (Phonological     │
00:00:32 verbose #410 > > │ (ConsonantFeature (Velar, Plosive,                                           │
00:00:32 verbose #411 > > │ 00:00:17 verbose #262 > > Voiceless, Some(HalfLong))));                 │
00:00:32 verbose #412 > > │ 00:00:17 verbose #263 > >             LanguageElement (Morphological    │
00:00:32 verbose #413 > > │ (RootFeature "Eu"));                                                         │
00:00:32 verbose #414 > > │ 00:00:17 verbose #264 > >             LanguageElement (Morphological    │
00:00:32 verbose #415 > > │ (RootFeature "ver" |> ignore;                                                │
00:00:32 verbose #416 > > │ 00:00:17 verbose #265 > > AffixFeature (Suffix, "o")));                 │
00:00:32 verbose #417 > > │ 00:00:17 verbose #266 > >             LanguageElement (Morphological    │
00:00:32 verbose #418 > > │ (RootFeature "um"));                                                         │
00:00:32 verbose #419 > > │ 00:00:17 verbose #267 > >             LanguageElement (Morphological    │
00:00:32 verbose #420 > > │ (RootFeature "gato"));                                                       │
00:00:32 verbose #421 > > │ 00:00:17 verbose #268 > >             LanguageElement (Syntactic        │
00:00:32 verbose #422 > > │ (PhraseFeature (NP, [[WordFeature                                            │
00:00:32 verbose #423 > > │ 00:00:17 verbose #269 > > ([[RootFeature "Eu"]], Pronoun)]])));         │
00:00:32 verbose #424 > > │ 00:00:17 verbose #270 > >             LanguageElement (Syntactic        │
00:00:32 verbose #425 > > │ (PhraseFeature (VP, [[WordFeature                                            │
00:00:32 verbose #426 > > │ 00:00:17 verbose #271 > > ([[RootFeature "vejo"]], Verb)]])));          │
00:00:32 verbose #427 > > │ 00:00:17 verbose #272 > >             LanguageElement (Syntactic        │
00:00:32 verbose #428 > > │ (PhraseFeature (NP, [[WordFeature                                            │
00:00:32 verbose #429 > > │ 00:00:17 verbose #273 > > ([[RootFeature "um"; RootFeature "gato"]],    │
00:00:32 verbose #430 > > │ Noun)]])));                                                                  │
00:00:32 verbose #431 > > │ 00:00:17 verbose #274 > >             LanguageElement (Semantic         │
00:00:32 verbose #432 > > │ (Meaning "Ação de percepção de um felino                                     │
00:00:32 verbose #433 > > │ 00:00:17 verbose #275 > > pelo falante"));                              │
00:00:32 verbose #434 > > │ 00:00:17 verbose #276 > >             LanguageElement (Pragmatic        │
00:00:32 verbose #435 > > │ (UseContext "Declaração de uma ação sendo                                    │
00:00:32 verbose #436 > > │ 00:00:17 verbose #277 > > observada"))                                  │
00:00:32 verbose #437 > > │ 00:00:17 verbose #278 > >         ]]                                    │
00:00:32 verbose #438 > > │ 00:00:17 verbose #279 > >     )                                         │
00:00:32 verbose #439 > > │ 00:00:17 verbose #280 > >                                               │
00:00:32 verbose #440 > > │ 00:00:17 verbose #281 > > let testKorean =                              │
00:00:32 verbose #441 > > │ 00:00:17 verbose #282 > >     Model(                                    │
00:00:32 verbose #442 > > │ 00:00:17 verbose #283 > >         DiscourseUnit [[                      │
00:00:32 verbose #443 > > │ 00:00:17 verbose #284 > >             LanguageElement (Phonological     │
00:00:32 verbose #444 > > │ (ConsonantFeature (Alveolar, Nasal,                                          │
00:00:32 verbose #445 > > │ 00:00:17 verbose #285 > > Voiced, Some(Short))));                       │
00:00:32 verbose #446 > > │ 00:00:17 verbose #286 > >             LanguageElement (Phonological     │
00:00:32 verbose #447 > > │ (VowelFeature (High, Back, Rounded,                                          │
00:00:32 verbose #448 > > │ 00:00:17 verbose #287 > > None, None, Some(Short))));                   │
00:00:32 verbose #449 > > │ 00:00:17 verbose #288 > >             LanguageElement (Phonological     │
00:00:32 verbose #450 > > │ (VowelFeature (Mid, Front, Unrounded,                                        │
00:00:32 verbose #451 > > │ 00:00:17 verbose #289 > > None, None, Some(Long))));                    │
00:00:32 verbose #452 > > │ 00:00:17 verbose #290 > >             LanguageElement (Phonological     │
00:00:32 verbose #453 > > │ (ConsonantFeature (Bilabial, Plosive,                                        │
00:00:32 verbose #454 > > │ 00:00:17 verbose #291 > > Voiceless, Some(Short))));                    │
00:00:32 verbose #455 > > │ 00:00:17 verbose #292 > >             LanguageElement (Morphological    │
00:00:32 verbose #456 > > │ (RootFeature "나"));                                                         │
00:00:32 verbose #457 > > │ 00:00:17 verbose #293 > >             LanguageElement (Morphological    │
00:00:32 verbose #458 > > │ (RootFeature "보다"));                                                       │
00:00:32 verbose #459 > > │ 00:00:17 verbose #294 > >             LanguageElement (Morphological    │
00:00:32 verbose #460 > > │ (AffixFeature (Suffix, "아")));                                              │
00:00:32 verbose #461 > > │ 00:00:17 verbose #295 > >             LanguageElement (Morphological    │
00:00:32 verbose #462 > > │ (RootFeature "고양이"));                                                     │
00:00:32 verbose #463 > > │ 00:00:17 verbose #296 > >             LanguageElement (Syntactic        │
00:00:32 verbose #464 > > │ (PhraseFeature (NP, [[WordFeature                                            │
00:00:32 verbose #465 > > │ 00:00:17 verbose #297 > > ([[RootFeature "나"]], Pronoun)]])));         │
00:00:32 verbose #466 > > │ 00:00:17 verbose #298 > >             LanguageElement (Syntactic        │
00:00:32 verbose #467 > > │ (PhraseFeature (VP, [[WordFeature                                            │
00:00:32 verbose #468 > > │ 00:00:17 verbose #299 > > ([[RootFeature "보다"; AffixFeature (Suffix,  │
00:00:32 verbose #469 > > │ "아")]], Verb)]])));                                                         │
00:00:32 verbose #470 > > │ 00:00:17 verbose #300 > >             LanguageElement (Syntactic        │
00:00:32 verbose #471 > > │ (PhraseFeature (NP, [[WordFeature                                            │
00:00:32 verbose #472 > > │ 00:00:17 verbose #301 > > ([[RootFeature "고양이"]], Noun)]])));        │
00:00:32 verbose #473 > > │ 00:00:17 verbose #302 > >             LanguageElement (Semantic         │
00:00:32 verbose #474 > > │ (Meaning "화자에 의한 고양이의 관찰                                          │
00:00:32 verbose #475 > > │ 00:00:17 verbose #303 > > 행위"));                                      │
00:00:32 verbose #476 > > │ 00:00:17 verbose #304 > >             LanguageElement (Pragmatic        │
00:00:32 verbose #477 > > │ (UseContext "관찰되고 있는 행동의 진술"))                                    │
00:00:32 verbose #478 > > │ 00:00:17 verbose #305 > >         ]]                                    │
00:00:32 verbose #479 > > │ 00:00:17 verbose #306 > >     )                                         │
00:00:32 verbose #480 > > │ 00:00:18 verbose #307 > >                                               │
00:00:32 verbose #481 > > │ 00:00:18 verbose #308 > > ── markdown                                   │
00:00:32 verbose #482 > > │ ────────────────────────────────────────────────────────────────────         │
00:00:32 verbose #483 > > │ 00:00:18 verbose #309 > >                                               │
00:00:32 verbose #484 > > │ ╭─────────────────────────────────────────────────────────────────────────── │
00:00:32 verbose #485 > > │ ───╮                                                                         │
00:00:32 verbose #486 > > │ 00:00:18 verbose #310 > > │ ## main                                     │
00:00:32 verbose #487 > > │ │                                                                            │
00:00:32 verbose #488 > > │ 00:00:18 verbose #311 > >                                               │
00:00:32 verbose #489 > > │ ╰─────────────────────────────────────────────────────────────────────────── │
00:00:32 verbose #490 > > │ ───╯                                                                         │
00:00:32 verbose #491 > > │ 00:00:18 verbose #312 > >                                               │
00:00:32 verbose #492 > > │ 00:00:18 verbose #313 > > ── spiral                                     │
00:00:32 verbose #493 > > │ ──────────────────────────────────────────────────────────────────────       │
00:00:32 verbose #494 > > │ 00:00:18 verbose #314 > > inl main (_args : array_base string) =        │
00:00:32 verbose #495 > > │ 00:00:18 verbose #315 > >     0i32                                      │
00:00:32 verbose #496 > > │ 00:00:18 verbose #316 > >                                               │
00:00:32 verbose #497 > > │ 00:00:18 verbose #317 > > inl main () =                                 │
00:00:32 verbose #498 > > │ 00:00:18 verbose #318 > >     $'let main args = !main args' : ()        │
00:00:32 verbose #499 > > │ 00:00:18 verbose #319 > >                                               │
00:00:32 verbose #500 > > │ 00:00:18 verbose #320 > > ── spiral                                     │
00:00:32 verbose #501 > > │ ──────────────────────────────────────────────────────────────────────       │
00:00:32 verbose #502 > > │ 00:00:18 verbose #321 > > inl app () =                                  │
00:00:32 verbose #503 > > │ 00:00:18 verbose #322 > >     "test" |> console.write_line              │
00:00:32 verbose #504 > > │ 00:00:18 verbose #323 > >     0i32                                      │
00:00:32 verbose #505 > > │ 00:00:18 verbose #324 > >                                               │
00:00:32 verbose #506 > > │ 00:00:18 verbose #325 > > inl main () =                                 │
00:00:32 verbose #507 > > │ 00:00:18 verbose #326 > >     print_static "<test>"                     │
00:00:32 verbose #508 > > │ 00:00:18 verbose #327 > >                                               │
00:00:32 verbose #509 > > │ 00:00:18 verbose #328 > >     app                                       │
00:00:32 verbose #510 > > │ 00:00:18 verbose #329 > >     |> dyn                                    │
00:00:32 verbose #511 > > │ 00:00:18 verbose #330 > >     |> ignore                                 │
00:00:32 verbose #512 > > │ 00:00:18 verbose #331 > >                                               │
00:00:32 verbose #513 > > │ 00:00:18 verbose #332 > >     print_static "</test>"                    │
00:00:32 verbose #514 > > │ 00:00:19 verbose #333 > 00:00:18 verbose #3                       │
00:00:32 verbose #515 > > │ runtime.execute_with_options / result / { exit_code = 0; std_trace_length =  │
00:00:32 verbose #516 > > │ 10945 }                                                                      │
00:00:32 verbose #517 > > │ 00:00:19 verbose #334 > 00:00:18   debug #4                       │
00:00:32 verbose #518 > > │ runtime.execute_with_options / { file_name = jupyter; arguments = [          │
00:00:32 verbose #519 > > │ 00:00:19 verbose #335 >     "nbconvert",                                │
00:00:32 verbose #520 > > │ 00:00:19 verbose #336 >                                                 │
00:00:32 verbose #521 > > │ "c:/home/git/polyglot/apps/spiral/temp/test/test.dib.ipynb",                 │
00:00:32 verbose #522 > > │ 00:00:19 verbose #337 >     "--to",                                     │
00:00:32 verbose #523 > > │ 00:00:19 verbose #338 >     "html",                                     │
00:00:32 verbose #524 > > │ 00:00:19 verbose #339 >     "--HTMLExporter.theme=dark",                │
00:00:32 verbose #525 > > │ 00:00:19 verbose #340 > ]; options = { command = jupyter nbconvert      │
00:00:32 verbose #526 > > │ "c:/home/git/polyglot/apps/spiral/temp/test/test.dib.ipynb" --to html        │
00:00:32 verbose #527 > > │ --HTMLExporter.theme=dark; cancellation_token = None; environment_variables  │
00:00:32 verbose #528 > > │ = Array(MutCell([])); on_line = None; stdin = None; trace = true;            │
00:00:32 verbose #529 > > │ working_directory = None } }                                                 │
00:00:32 verbose #530 > > │ 00:00:21 verbose #341 > 00:00:20 verbose #5 ! [NbConvertApp]      │
00:00:32 verbose #531 > > │ Converting notebook                                                          │
00:00:32 verbose #532 > > │ c:/home/git/polyglot/apps/spiral/temp/test/test.dib.ipynb to html            │
00:00:32 verbose #533 > > │ 00:00:21 verbose #342 > 00:00:20 verbose #6 !                     │
00:00:32 verbose #534 > > │ C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__ │
00:00:32 verbose #535 > > │ .py:93: MissingIDFieldWarning: Code cell is missing an id field, this will   │
00:00:32 verbose #536 > > │ become a hard error in future nbformat versions. You may want to use         │
00:00:32 verbose #537 > > │ `normalize()` on your notebooks before validations (available since nbformat │
00:00:32 verbose #538 > > │ 5.1.4). Previous versions of nbformat are fixing this issue transparently,   │
00:00:32 verbose #539 > > │ and will stop doing so in the future.                                        │
00:00:32 verbose #540 > > │ 00:00:21 verbose #343 > 00:00:20 verbose #7 !   validate(nb)      │
00:00:32 verbose #541 > > │ 00:00:23 verbose #344 > 00:00:22 verbose #8 ! [NbConvertApp]      │
00:00:32 verbose #542 > > │ Writing 318992 bytes to                                                      │
00:00:32 verbose #543 > > │ c:\home\git\polyglot\apps\spiral\temp\test\test.dib.html                     │
00:00:32 verbose #544 > > │ 00:00:23 verbose #345 > 00:00:22 verbose #9                       │
00:00:32 verbose #545 > > │ runtime.execute_with_options / result / { exit_code = 0; std_trace_length =  │
00:00:32 verbose #546 > > │ 661 }                                                                        │
00:00:32 verbose #547 > > │ 00:00:23 verbose #346 > 00:00:22   debug #10 spiral_builder.run / │
00:00:32 verbose #548 > > │ dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 661 }     │
00:00:32 verbose #549 > > │ 00:00:23 verbose #347 > 00:00:22   debug #11                      │
00:00:32 verbose #550 > > │ runtime.execute_with_options / { file_name = pwsh; arguments = [             │
00:00:32 verbose #551 > > │ 00:00:23 verbose #348 >     "-c",                                       │
00:00:32 verbose #552 > > │ 00:00:23 verbose #349 >     "$counter = 1; $path =                      │
00:00:32 verbose #553 > > │ 'c:/home/git/polyglot/apps/spiral/temp/test/test.dib.html'; (Get-Content     │
00:00:32 verbose #554 > > │ $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value │
00:00:32 verbose #555 > > │ + $counter++ } | Set-Content $path",                                         │
00:00:32 verbose #556 > > │ 00:00:23 verbose #350 > ]; options = { command = pwsh -c "$counter = 1; │
00:00:32 verbose #557 > > │ $path = 'c:/home/git/polyglot/apps/spiral/temp/test/test.dib.html';          │
00:00:32 verbose #558 > > │ (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', {         │
00:00:32 verbose #559 > > │ $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = │
00:00:32 verbose #560 > > │ None; environment_variables = Array(MutCell([])); on_line = None; stdin =    │
00:00:32 verbose #561 > > │ None; trace = true; working_directory = None } }                             │
00:00:32 verbose #562 > > │ 00:00:24 verbose #351 > 00:00:23 verbose #12                      │
00:00:32 verbose #563 > > │ runtime.execute_with_options / result / { exit_code = 0; std_trace_length =  │
00:00:32 verbose #564 > > │ 0 }                                                                          │
00:00:32 verbose #565 > > │ 00:00:24 verbose #352 > 00:00:23   debug #13 spiral_builder.run / │
00:00:32 verbose #566 > > │ dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 } │
00:00:32 verbose #567 > > │ 00:00:25 verbose #353 > 00:00:24   debug #14 spiral_builder.run / │
00:00:32 verbose #568 > > │ dib / { exit_code = 0; result_length = 11665 }                               │
00:00:32 verbose #569 > > │ 00:00:25   debug #354 runtime.execute_with_options_async / { exit_code  │
00:00:32 verbose #570 > > │ = 0; output_length = 15057 }                                                 │
00:00:32 verbose #571 > > │ 00:00:25   debug #1 main / executeCommand / exitCode: 0 / command:      │
00:00:32 verbose #572 > > │ ../../../../workspace/target/release/spiral_builder.exe dib --path test.dib  │
00:00:32 verbose #573 > > │ --retries 3                                                                  │
00:00:32 verbose #574 > > │                                                                              │
00:00:32 verbose #575 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #576 > >
00:00:32 verbose #577 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #578 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #579 > > │ ### parse the .dib file into .spi format with dibparser                      │
00:00:32 verbose #580 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #581 > >
00:00:32 verbose #582 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:32 verbose #583 > > { . ../../../../apps/parser/dist/DibParser$(_exe) test.dib spi } | Invoke-Block
00:00:32 verbose #584 > >
00:00:32 verbose #585 > > ╭─[ 929.59ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 verbose #586 > > │ 00:00:00   debug #1 writeDibCode / output: Spi / path: test.dib         │
00:00:32 verbose #587 > > │ 00:00:00   debug #2 parseDibCode / output: Spi / file: test.dib         │
00:00:32 verbose #588 > > │                                                                              │
00:00:32 verbose #589 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #590 > >
00:00:32 verbose #591 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #592 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #593 > > │ ### build .fsx file from .spi using supervisor                               │
00:00:32 verbose #594 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #595 > >
00:00:32 verbose #596 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:32 verbose #597 > > { . ../../../../apps/spiral/dist/Supervisor$(_exe) --build-file test.spi
00:00:32 verbose #598 > > test.fsx } | Invoke-Block
00:00:35 verbose #599 > 00:00:34   debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/apps/spiral/temp/test/test.spi
00:00:35 verbose #600 > <test>
00:00:35 verbose #601 > </test>
00:00:36 verbose #602 > >
00:00:36 verbose #603 > > ╭─[ 3.13s - stdout ]───────────────────────────────────────────────────────────╮
00:00:36 verbose #604 > > │ 00:00:00 verbose #1 async.run_with_timeout_async / { timeout = 180 }    │
00:00:36 verbose #605 > > │ 00:00:01 verbose #2 async.run_with_timeout_async / { timeout = 180 }    │
00:00:36 verbose #606 > > │ 00:00:01   debug #1 Supervisor.buildFile / takeWhileInclusive /         │
00:00:36 verbose #607 > > │ outputContent:                                                               │
00:00:36 verbose #608 > > │  / errors: [] / typeErrorCount: 0 / retry: 0 / path: test.spi                │
00:00:36 verbose #609 > > │ 00:00:02   debug #2 Supervisor.buildFile / AsyncSeq.scan /              │
00:00:36 verbose #610 > > │ outputContent:                                                               │
00:00:36 verbose #611 > > │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
00:00:36 verbose #612 > > │ error:  / path: test.spi                                                     │
00:00:36 verbose #613 > > │ 00:00:02   debug #3 Supervisor.buildFile / takeWhileInclusive /         │
00:00:36 verbose #614 > > │ outputContent:                                                               │
00:00:36 verbose #615 > > │  / errors: [] / typeErrorCount: 0 / retry: 0 / path: test.spi                │
00:00:36 verbose #616 > > │ 00:00:02 verbose #4 Supervisor.sendJson / port: 13805 / json:           │
00:00:36 verbose #617 > > │ {"FileOpen":{"spiText":"/// # test (Polyglot)\nnominal i = ()\nnominal e =   │
00:00:36 verbose #618 > > │ ()\nnominal s =                                                              │
00:00:36 verbose #619 > > │ ()\nnomin...0022\u003C/test\u003E\u0022\n","uri":"file:///c:/home/git/polygl │
00:00:36 verbose #620 > > │ ot/apps/spiral/temp/test/test.spi"}} / result:                               │
00:00:36 verbose #621 > > │ 00:00:02 verbose #5 Supervisor.sendJson / port: 13805 / json:           │
00:00:36 verbose #622 > > │ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/apps/sp │
00:00:36 verbose #623 > > │ iral/temp/test/test.spi"}} / result:                                         │
00:00:36 verbose #624 > > │ 00:00:02   debug #6 Supervisor.buildFile / AsyncSeq.scan /              │
00:00:36 verbose #625 > > │ outputContent:                                                               │
00:00:36 verbose #626 > > │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
00:00:36 verbose #627 > > │ error:  / path: test.spi                                                     │
00:00:36 verbose #628 > > │ 00:00:02   debug #7 Supervisor.buildFile / takeWhileInclusive /         │
00:00:36 verbose #629 > > │ outputContent:                                                               │
00:00:36 verbose #630 > > │  / errors: [] / typeErrorCount: 0 / retry: 0 / path: test.spi                │
00:00:36 verbose #631 > > │ 00:00:02   debug #8 Supervisor.buildFile / AsyncSeq.scan /              │
00:00:36 verbose #632 > > │ outputContent:                                                               │
00:00:36 verbose #633 > > │ let rec closure1 () () : unit =                                              │
00:00:36 verbose #634 > > │     let v0 : (string -> unit) = System.Console.WriteLine                     │
00:00:36 verbose #635 > > │     let v1 : string = "test"                                                 │
00:00:36 verbose #636 > > │     v0 v1                                                                    │
00:00:36 verbose #637 > > │ and closure0 () () : i...t v0 : unit = ()                                    │
00:00:36 verbose #638 > > │     let v1 : (unit -> unit) = closure1()                                     │
00:00:36 verbose #639 > > │     let v2 : unit = (fun () -> v1 (); v0) ()                                 │
00:00:36 verbose #640 > > │     0                                                                        │
00:00:36 verbose #641 > > │ let v0 : (unit -> int32) = closure0()                                        │
00:00:36 verbose #642 > > │ ()                                                                           │
00:00:36 verbose #643 > > │  / errors: [] / outputContentResult:  / typeErrorCount: 0 / retry: 0 /       │
00:00:36 verbose #644 > > │ error:  / path: test.spi                                                     │
00:00:36 verbose #645 > > │ 00:00:02   debug #9 Supervisor.buildFile / takeWhileInclusive /         │
00:00:36 verbose #646 > > │ outputContent:                                                               │
00:00:36 verbose #647 > > │ let rec closure1 () () : unit =                                              │
00:00:36 verbose #648 > > │     let v0 : (string -> unit) = System.Console.WriteLine                     │
00:00:36 verbose #649 > > │     let v1 : string = "test"                                                 │
00:00:36 verbose #650 > > │     v0 v1                                                                    │
00:00:36 verbose #651 > > │ and closure0 () () : i...t v0 : unit = ()                                    │
00:00:36 verbose #652 > > │     let v1 : (unit -> unit) = closure1()                                     │
00:00:36 verbose #653 > > │     let v2 : unit = (fun () -> v1 (); v0) ()                                 │
00:00:36 verbose #654 > > │     0                                                                        │
00:00:36 verbose #655 > > │ let v0 : (unit -> int32) = closure0()                                        │
00:00:36 verbose #656 > > │ ()                                                                           │
00:00:36 verbose #657 > > │  / errors: [] / typeErrorCount: 0 / retry: 0 / path: test.spi                │
00:00:36 verbose #658 > > │ 00:00:02   debug #10 FileSystem.watchWithFilter / Disposing watch       │
00:00:36 verbose #659 > > │ stream / filter: FileName, LastWrite                                         │
00:00:36 verbose #660 > > │                                                                              │
00:00:36 verbose #661 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #662 > >
00:00:36 verbose #663 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 verbose #664 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 verbose #665 > > │ ## compile and format the project                                            │
00:00:36 verbose #666 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #667 > >
00:00:36 verbose #668 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 verbose #669 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 verbose #670 > > │ ### compile project with fable targeting optimized rust                      │
00:00:36 verbose #671 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #672 > >
00:00:36 verbose #673 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:36 verbose #674 > > dotnet fable --optimize --lang rs --extension .rs
00:00:40 verbose #675 > >
00:00:40 verbose #676 > > ╭─[ 3.93s - stdout ]───────────────────────────────────────────────────────────╮
00:00:40 verbose #677 > > │ Fable 4.19.3: F# to Rust compiler (status: alpha)                            │
00:00:40 verbose #678 > > │                                                                              │
00:00:40 verbose #679 > > │ Thanks to the contributor! @MNie                                             │
00:00:40 verbose #680 > > │ Stand with Ukraine! https://standwithukraine.com.ua/                         │
00:00:40 verbose #681 > > │                                                                              │
00:00:40 verbose #682 > > │ Parsing test.fsproj...                                                       │
00:00:40 verbose #683 > > │ Retrieving project options from cache, in case of issues run `dotnet fable   │
00:00:40 verbose #684 > > │ clean` or try `--noCache` option.                                            │
00:00:40 verbose #685 > > │ Project and references (1 source files) parsed in 263ms                      │
00:00:40 verbose #686 > > │                                                                              │
00:00:40 verbose #687 > > │ Started Fable compilation...                                                 │
00:00:40 verbose #688 > > │                                                                              │
00:00:40 verbose #689 > > │ Fable compilation finished in 1540ms                                         │
00:00:40 verbose #690 > > │                                                                              │
00:00:40 verbose #691 > > │ .\test.fsx(11,0): (11,2) warning FABLE: For Rust, support for F# static and  │
00:00:40 verbose #692 > > │ module do bindings is disabled by default. It can be enabled with the        │
00:00:40 verbose #693 > > │ 'static_do_bindings' feature. Use at your own risk!                          │
00:00:40 verbose #694 > > │                                                                              │
00:00:40 verbose #695 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #696 > >
00:00:40 verbose #697 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #698 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #699 > > │ ### fix formatting issues in the .rs file using regex and set-content        │
00:00:40 verbose #700 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #701 > >
00:00:40 verbose #702 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:40 verbose #703 > > (Get-Content test.rs) `
00:00:40 verbose #704 > >     -replace [[regex]]::Escape("),);"), "));" `
00:00:40 verbose #705 > >     | FixRust `
00:00:40 verbose #706 > > | Set-Content test.rs
00:00:40 verbose #707 > >
00:00:40 verbose #708 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #709 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #710 > > │ ### format the rust code using cargo fmt                                     │
00:00:40 verbose #711 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #712 > >
00:00:40 verbose #713 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:40 verbose #714 > > cargo fmt --
00:00:40 verbose #715 > >
00:00:40 verbose #716 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #717 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #718 > > │ ## build and test the project                                                │
00:00:40 verbose #719 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #720 > >
00:00:40 verbose #721 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #722 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #723 > > │ ### build the project in release mode using nightly rust compiler            │
00:00:40 verbose #724 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #725 > >
00:00:40 verbose #726 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:40 verbose #727 > > cargo build --release
00:00:52 verbose #728 > >
00:00:52 verbose #729 > > ╭─[ 11.56s - stdout ]──────────────────────────────────────────────────────────╮
00:00:52 verbose #730 > > │    Compiling fable_library_rust v0.1.0                                  │
00:00:52 verbose #731 > > │ (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)     │
00:00:52 verbose #732 > > │    Compiling spiral_temp_test v0.0.1                                    │
00:00:52 verbose #733 > > │ (C:\home\git\polyglot\apps\spiral\temp\test)                               │
00:00:52 verbose #734 > > │ warning: enum `Item` is never used                                    │
00:00:52 verbose #735 > > │   --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:16:6       │
00:00:52 verbose #736 > > │    |                                                                  │
00:00:52 verbose #737 > > │ 16 | enum Item {                                                      │
00:00:52 verbose #738 > > │    |      ^^^^                                                        │
00:00:52 verbose #739 > > │    |                                                                  │
00:00:52 verbose #740 > > │    = note: `#[warn(dead_code)]` on by default                         │
00:00:52 verbose #741 > > │                                                                       │
00:00:52 verbose #742 > > │ warning: struct `Cart` is never constructed                           │
00:00:52 verbose #743 > > │   --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:41:8       │
00:00:52 verbose #744 > > │    |                                                                  │
00:00:52 verbose #745 > > │ 41 | struct Cart {                                                    │
00:00:52 verbose #746 > > │    |        ^^^^                                                      │
00:00:52 verbose #747 > > │                                                                       │
00:00:52 verbose #748 > > │ warning: associated items `new`, `add_item`, and `remove_item` are      │
00:00:52 verbose #749 > > │ never used                                                                 │
00:00:52 verbose #750 > > │   --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:46:8       │
00:00:52 verbose #751 > > │    |                                                                  │
00:00:52 verbose #752 > > │ 45 | impl Cart {                                                      │
00:00:52 verbose #753 > > │    | --------- associated items in this implementation                │
00:00:52 verbose #754 > > │ 46 |     fn new() -> Cart {                                           │
00:00:52 verbose #755 > > │    |        ^^^                                                       │
00:00:52 verbose #756 > > │ ...                                                                   │
00:00:52 verbose #757 > > │ 50 |     fn add_item(&mut self, item: Item) {                         │
00:00:52 verbose #758 > > │    |        ^^^^^^^^                                                  │
00:00:52 verbose #759 > > │ ...                                                                   │
00:00:52 verbose #760 > > │ 56 |     fn remove_item(&mut self, item: &Item) {                     │
00:00:52 verbose #761 > > │    |        ^^^^^^^^^^^                                               │
00:00:52 verbose #762 > > │                                                                       │
00:00:52 verbose #763 > > │ warning: function `parse_comment` is never used                       │
00:00:52 verbose #764 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:124:4     │
00:00:52 verbose #765 > > │     |                                                                 │
00:00:52 verbose #766 > > │ 124 | fn parse_comment(input: &str) -> IResult<&str, SpiralToken> {   │
00:00:52 verbose #767 > > │     |    ^^^^^^^^^^^^^                                                │
00:00:52 verbose #768 > > │                                                                       │
00:00:52 verbose #769 > > │ warning: function `parse_string` is never used                        │
00:00:52 verbose #770 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:130:4     │
00:00:52 verbose #771 > > │     |                                                                 │
00:00:52 verbose #772 > > │ 130 | fn parse_string(input: &str) -> IResult<&str, SpiralToken> {    │
00:00:52 verbose #773 > > │     |    ^^^^^^^^^^^^                                                 │
00:00:52 verbose #774 > > │                                                                       │
00:00:52 verbose #775 > > │ warning: function `parse_identifier` is never used                    │
00:00:52 verbose #776 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:145:4     │
00:00:52 verbose #777 > > │     |                                                                 │
00:00:52 verbose #778 > > │ 145 | fn parse_identifier(input: &str) -> IResult<&str, SpiralToken> {[  │
00:00:52 verbose #779 > > │ 0m                                                                           │
00:00:52 verbose #780 > > │     |    ^^^^^^^^^^^^^^^^                                             │
00:00:52 verbose #781 > > │                                                                       │
00:00:52 verbose #782 > > │ warning: function `parse_integer` is never used                       │
00:00:52 verbose #783 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:157:4     │
00:00:52 verbose #784 > > │     |                                                                 │
00:00:52 verbose #785 > > │ 157 | fn parse_integer(input: &str) -> IResult<&str, SpiralToken> {   │
00:00:52 verbose #786 > > │     |    ^^^^^^^^^^^^^                                                │
00:00:52 verbose #787 > > │                                                                       │
00:00:52 verbose #788 > > │ warning: function `parse_operator` is never used                      │
00:00:52 verbose #789 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:165:4     │
00:00:52 verbose #790 > > │     |                                                                 │
00:00:52 verbose #791 > > │ 165 | fn parse_operator(input: &str) -> IResult<&str, SpiralToken> {  │
00:00:52 verbose #792 > > │     |    ^^^^^^^^^^^^^^                                               │
00:00:52 verbose #793 > > │                                                                       │
00:00:52 verbose #794 > > │ warning: function `parse_token` is never used                         │
00:00:52 verbose #795 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:170:4     │
00:00:52 verbose #796 > > │     |                                                                 │
00:00:52 verbose #797 > > │ 170 | fn parse_token(input: &str) -> IResult<&str, SpiralToken> {     │
00:00:52 verbose #798 > > │     |    ^^^^^^^^^^^                                                  │
00:00:52 verbose #799 > > │                                                                       │
00:00:52 verbose #800 > > │ warning: function `format_token` is never used                        │
00:00:52 verbose #801 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:180:4     │
00:00:52 verbose #802 > > │     |                                                                 │
00:00:52 verbose #803 > > │ 180 | fn format_token(token: &SpiralToken) -> String {                │
00:00:52 verbose #804 > > │     |    ^^^^^^^^^^^^                                                 │
00:00:52 verbose #805 > > │                                                                       │
00:00:52 verbose #806 > > │ warning: function `parse_expression` is never used                    │
00:00:52 verbose #807 > > │    --> C:\home\git\polyglot\apps\spiral\temp\test\./main.rs:201:4     │
00:00:52 verbose #808 > > │     |                                                                 │
00:00:52 verbose #809 > > │ 201 | fn parse_expression(input: &str) -> IResult<&str, SpiralToken> {[  │
00:00:52 verbose #810 > > │ 0m                                                                           │
00:00:52 verbose #811 > > │     |    ^^^^^^^^^^^^^^^^                                             │
00:00:52 verbose #812 > > │                                                                       │
00:00:52 verbose #813 > > │ warning: `spiral_temp_test` (bin "spiral_temp_test") generated 11       │
00:00:52 verbose #814 > > │ warnings                                                                   │
00:00:52 verbose #815 > > │     Finished `release` profile [optimized] target(s) in 11.34s        │
00:00:52 verbose #816 > > │                                                                              │
00:00:52 verbose #817 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:52 verbose #818 > >
00:00:52 verbose #819 > > ── markdown ────────────────────────────────────────────────────────────────────
00:00:52 verbose #820 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:52 verbose #821 > > │ ### run release tests with output enabled                                    │
00:00:52 verbose #822 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:52 verbose #823 > >
00:00:52 verbose #824 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:00:52 verbose #825 > > { cargo test --release -- --show-output } | Invoke-Block
00:01:20 verbose #826 > >
00:01:20 verbose #827 > > ╭─[ 27.90s - stdout ]──────────────────────────────────────────────────────────╮
00:01:20 verbose #828 > > │    Compiling fable_library_rust v0.1.0                                  │
00:01:20 verbose #829 > > │ (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)     │
00:01:20 verbose #830 > > │    Compiling spiral_temp_test v0.0.1                                    │
00:01:20 verbose #831 > > │ (C:\home\git\polyglot\apps\spiral\temp\test)                               │
00:01:20 verbose #832 > > │     Finished `release` profile [optimized] target(s) in 27.35s        │
00:01:20 verbose #833 > > │      Running unittests main.rs                                          │
00:01:20 verbose #834 > > │ (C:\home\git\polyglot\workspace\target\release\deps\spiral_temp_test-f503f78 │
00:01:20 verbose #835 > > │ 6ca55f13b.exe)                                                             │
00:01:20 verbose #836 > > │                                                                              │
00:01:20 verbose #837 > > │ running 3 tests                                                              │
00:01:20 verbose #838 > > │ test test_parse_number ... ok                                                │
00:01:20 verbose #839 > > │ test prop_parse_format_idempotent ... ok                                     │
00:01:20 verbose #840 > > │ test                                                                         │
00:01:20 verbose #841 > > │ adding_and_then_removing_an_item_from_the_cart_leaves_the_cart_unchanged ... │
00:01:20 verbose #842 > > │ ok                                                                           │
00:01:20 verbose #843 > > │                                                                              │
00:01:20 verbose #844 > > │ successes:                                                                   │
00:01:20 verbose #845 > > │                                                                              │
00:01:20 verbose #846 > > │ ---- prop_parse_format_idempotent stdout ----                                │
00:01:20 verbose #847 > > │ input=StringLiteral("ksJ{5<")                                                │
00:01:20 verbose #848 > > │ input=Comment("MF\\?*?iG5p+\\#(\\JKlpv3q'9K?*")                              │
00:01:20 verbose #849 > > │ input=Operator("/")                                                          │
00:01:20 verbose #850 > > │ input=Comment("N~+6n2S*D{N.\"M")                                             │
00:01:20 verbose #851 > > │ input=Integer(6288484745139470220)                                           │
00:01:20 verbose #852 > > │ input=Identifier("eCleT5878RPQ97dZ1ch43C2GXNG")                              │
00:01:20 verbose #853 > > │ input=Identifier("X7058r46G7t7CC647Wfu9lTxUT9gBdd5T")                        │
00:01:20 verbose #854 > > │ input=StringLiteral("T7v?h=x?<g3C2',>_|:=0) [.$_p`")                         │
00:01:20 verbose #855 > > │ input=StringLiteral("I%%vm<RJ[dv<Di+%ekdc%|*7C+=r.")                         │
00:01:20 verbose #856 > > │ input=StringLiteral("%=#^.Koz9S8^%?A6oeV{=/.-:${p?")                         │
00:01:20 verbose #857 > > │ input=Operator("-")                                                          │
00:01:20 verbose #858 > > │ input=Comment(",':w=5/TzM#%&`$U`?H:{`e_-")                                   │
00:01:20 verbose #859 > > │ input=StringLiteral("U`M/_dq '%s")                                           │
00:01:20 verbose #860 > > │ input=Identifier("VPUdRY05FvLW")                                             │
00:01:20 verbose #861 > > │ input=Comment("e7W(T&;?\\\"b")                                               │
00:01:20 verbose #862 > > │ input=Operator("/")                                                          │
00:01:20 verbose #863 > > │ input=Comment("<%*H(`z\"{1L?U)a/$5{-Ju{B9(")                                 │
00:01:20 verbose #864 > > │ input=Identifier("dnVccpgkoY7K2EWv1W")                                       │
00:01:20 verbose #865 > > │ input=Operator("-")                                                          │
00:01:20 verbose #866 > > │ input=Integer(-5820097239701633822)                                          │
00:01:20 verbose #867 > > │ input=StringLiteral("tO=")                                                   │
00:01:20 verbose #868 > > │ input=StringLiteral("rT5{")                                                  │
00:01:20 verbose #869 > > │ input=Operator("+")                                                          │
00:01:20 verbose #870 > > │ input=Operator(")")                                                          │
00:01:20 verbose #871 > > │ input=Comment("@\":3)K-?1T&>JW***?uK&^`%o+ld")                               │
00:01:20 verbose #872 > > │ input=Comment("I=Mt&5dEV,?87R.<t/P&2D\"?gdL%^`")                             │
00:01:20 verbose #873 > > │ input=StringLiteral("X`HT6%}] *&)x{GX*Bj")                                   │
00:01:20 verbose #874 > > │ input=Operator("+")                                                          │
00:01:20 verbose #875 > > │ input=Comment("*=%f(f?/c\"(f")                                               │
00:01:20 verbose #876 > > │ input=Comment(".h&`%'")                                                      │
00:01:20 verbose #877 > > │ input=Identifier("VTjicci37xkg8ECDKv6t6k9A")                                 │
00:01:20 verbose #878 > > │ input=Operator("=")                                                          │
00:01:20 verbose #879 > > │ input=Integer(8001635287443372614)                                           │
00:01:20 verbose #880 > > │ input=StringLiteral("**A%,/[dR-:")                                           │
00:01:20 verbose #881 > > │ input=StringLiteral("a|&?'Ll'/@/Zh/&OaO&?S&Lb5rF&{2g")                       │
00:01:20 verbose #882 > > │ input=Integer(-1401765627424090374)                                          │
00:01:20 verbose #883 > > │ input=Identifier("zKl3d121QD7nFrrU9pr8ws8z")                                 │
00:01:20 verbose #884 > > │ input=Integer(-5688659140734138003)                                          │
00:01:20 verbose #885 > > │ input=Identifier("TnLEgOlV2ad57LByYPTYSB8Sx7wIlheB")                         │
00:01:20 verbose #886 > > │ input=Identifier("WV9Otd")                                                   │
00:01:20 verbose #887 > > │ input=Integer(-642517392414387734)                                           │
00:01:20 verbose #888 > > │ input=Operator("(")                                                          │
00:01:20 verbose #889 > > │ input=Identifier("MXnnu5y57")                                                │
00:01:20 verbose #890 > > │ input=Identifier("YZaxaM49pVMG")                                             │
00:01:20 verbose #891 > > │ input=Identifier("YHxq")                                                     │
00:01:20 verbose #892 > > │ input=Operator("+")                                                          │
00:01:20 verbose #893 > > │ input=Identifier("ITVUZrX9yZA0pg1tEhD2kfc4Q15wbs3P")                         │
00:01:20 verbose #894 > > │ input=Integer(5202079887308676670)                                           │
00:01:20 verbose #895 > > │ input=Integer(-786119109505176642)                                           │
00:01:20 verbose #896 > > │ input=Comment("<@V&='5l;\\ \"-:=G}k\\,Y4:B")                                 │
00:01:20 verbose #897 > > │ input=Operator(")")                                                          │
00:01:20 verbose #898 > > │ input=Identifier("WEM2Wu")                                                   │
00:01:20 verbose #899 > > │ input=Integer(496858055973465247)                                            │
00:01:20 verbose #900 > > │ input=Identifier("Z9Nk7e3eo8liu4euTDIV2v6rOuwUHyY2n")                        │
00:01:20 verbose #901 > > │ input=Identifier("VmdX1RfQX0t509565U8Ei")                                    │
00:01:20 verbose #902 > > │ input=Operator("/")                                                          │
00:01:20 verbose #903 > > │ input=Comment("`2./8{Z\":aWp3P>]*:\\F:ek)\"<='\"")                           │
00:01:20 verbose #904 > > │ input=Comment("tTr#:&FW{,\"{J")                                              │
00:01:20 verbose #905 > > │ input=Comment("{~d3cDI}")                                                    │
00:01:20 verbose #906 > > │ input=StringLiteral("@&np7^R~`?}g<?>EW.:i")                                  │
00:01:20 verbose #907 > > │ input=Operator("*")                                                          │
00:01:20 verbose #908 > > │ input=Comment("\"*?&4L#=]7@/")                                               │
00:01:20 verbose #909 > > │ input=Integer(4150680824778668558)                                           │
00:01:20 verbose #910 > > │ input=StringLiteral("/_h6dP-6w'@SCv:;?Xx:GI*%:$,0")                          │
00:01:20 verbose #911 > > │ input=Identifier("w3oj9JLr9eWR8n6eAC")                                       │
00:01:20 verbose #912 > > │ input=Operator("=")                                                          │
00:01:20 verbose #913 > > │ input=Operator("/")                                                          │
00:01:20 verbose #914 > > │ input=Comment("}U%/f`Lg'P..")                                                │
00:01:20 verbose #915 > > │ input=Comment("")                                                            │
00:01:20 verbose #916 > > │ input=Identifier("tcE0FDXOSmM0zR9NVWl6h")                                    │
00:01:20 verbose #917 > > │ input=StringLiteral("@Ubu6*D{$")                                             │
00:01:20 verbose #918 > > │ input=Identifier("jtiQrv69fRn5piuGbdK5x6")                                   │
00:01:20 verbose #919 > > │ input=Operator("=")                                                          │
00:01:20 verbose #920 > > │ input=StringLiteral("MA1T/Jh'")                                              │
00:01:20 verbose #921 > > │ input=Integer(-660874277859031786)                                           │
00:01:20 verbose #922 > > │ input=Identifier("L")                                                        │
00:01:20 verbose #923 > > │ input=StringLiteral("_ji]ir:/l .&q?")                                        │
00:01:20 verbose #924 > > │ input=Integer(-6502260492595007166)                                          │
00:01:20 verbose #925 > > │ input=Operator("(")                                                          │
00:01:20 verbose #926 > > │ input=StringLiteral("zM<$T.YR<x.{=B=ZB")                                     │
00:01:20 verbose #927 > > │ input=Identifier("LNYN3He0c4pNRvZAkn50VbyoU")                                │
00:01:20 verbose #928 > > │ input=StringLiteral("QK!gvJ-4s#X:` 3Oc#&bBAi%")                              │
00:01:20 verbose #929 > > │ input=Operator("+")                                                          │
00:01:20 verbose #930 > > │ input=StringLiteral("(`o*dwl.Z4^q%H$q")                                      │
00:01:20 verbose #931 > > │ input=StringLiteral("G??")                                                   │
00:01:20 verbose #932 > > │ input=Identifier("VFNdaW74HU6O4sK8sSN8y3")                                   │
00:01:20 verbose #933 > > │ input=StringLiteral("?RkJZ(*jLA} ")                                          │
00:01:20 verbose #934 > > │ input=Comment("J/")                                                          │
00:01:20 verbose #935 > > │ input=Comment("0Dl@\\J].:.+K-r\\~&8{m:d?<&R3A\\/")                           │
00:01:20 verbose #936 > > │ input=Identifier("x1Z1Nx3g8r73dAhK")                                         │
00:01:20 verbose #937 > > │ input=Comment("\"\"?h8H<R\"'HF|X.\\ s)JA{&cB85w\"lW<")                       │
00:01:20 verbose #938 > > │ input=Integer(-8014035697913974789)                                          │
00:01:20 verbose #939 > > │ input=Integer(4726985998887925209)                                           │
00:01:20 verbose #940 > > │ input=Identifier("oUcj7A5g2NrIcCNIgvQPux6x")                                 │
00:01:20 verbose #941 > > │ input=Integer(4090322469371554253)                                           │
00:01:20 verbose #942 > > │ input=StringLiteral("_Z*%-")                                                 │
00:01:20 verbose #943 > > │ input=Identifier("lypWjZ")                                                   │
00:01:20 verbose #944 > > │ input=StringLiteral(".")                                                     │
00:01:20 verbose #945 > > │ input=Operator("+")                                                          │
00:01:20 verbose #946 > > │ input=Operator("=")                                                          │
00:01:20 verbose #947 > > │ input=Operator("/")                                                          │
00:01:20 verbose #948 > > │ input=StringLiteral("G`l'*Q?{SV3:qmx.w<{p*gg ./3")                           │
00:01:20 verbose #949 > > │ input=Comment("?\\>($7\"^w)d<{a;$Sy:O$'2]>$Cv/")                             │
00:01:20 verbose #950 > > │ input=StringLiteral("Y.{5Qpe")                                               │
00:01:20 verbose #951 > > │ input=Comment("E{Ja?|Y=b`M.")                                                │
00:01:20 verbose #952 > > │ input=Integer(-8268740214466568892)                                          │
00:01:20 verbose #953 > > │ input=Identifier("J56N0rfngTQq1FjJeozb1oN7kN9a0fc")                          │
00:01:20 verbose #954 > > │ input=Identifier("C4xFUuyt91Da1")                                            │
00:01:20 verbose #955 > > │ input=Integer(7224369840440620982)                                           │
00:01:20 verbose #956 > > │ input=Operator("(")                                                          │
00:01:20 verbose #957 > > │ input=Operator("*")                                                          │
00:01:20 verbose #958 > > │ input=StringLiteral("]Q!@i")                                                 │
00:01:20 verbose #959 > > │ input=Operator("-")                                                          │
00:01:20 verbose #960 > > │ input=Operator("=")                                                          │
00:01:20 verbose #961 > > │ input=Operator(")")                                                          │
00:01:20 verbose #962 > > │ input=StringLiteral("?/Uwa4g:%~v=lVk==M*")                                   │
00:01:20 verbose #963 > > │ input=Operator("+")                                                          │
00:01:20 verbose #964 > > │ input=Comment(";.=h\\pa|=9Kl/z``'<W*U2%&k6:TQK")                             │
00:01:20 verbose #965 > > │ input=Operator("=")                                                          │
00:01:20 verbose #966 > > │ input=StringLiteral("=w0<.")                                                 │
00:01:20 verbose #967 > > │ input=Integer(-7966042186671180537)                                          │
00:01:20 verbose #968 > > │ input=Operator(")")                                                          │
00:01:20 verbose #969 > > │ input=Operator("-")                                                          │
00:01:20 verbose #970 > > │ input=Identifier("I8mz5FB8U")                                                │
00:01:20 verbose #971 > > │ input=Identifier("Ij69iZou1T4akNPJtG64xj")                                   │
00:01:20 verbose #972 > > │ input=Identifier("F5dVS6QLHslA65j")                                          │
00:01:20 verbose #973 > > │ input=StringLiteral("!T#deX$/:?W,<pOC2K>*!V!ID]=)`@")                        │
00:01:20 verbose #974 > > │ input=StringLiteral("+/Vrz*Nuwj'zEly$EW<Nu")                                 │
00:01:20 verbose #975 > > │ input=Integer(5084727048960481923)                                           │
00:01:20 verbose #976 > > │ input=Integer(4799728953090542840)                                           │
00:01:20 verbose #977 > > │ input=Integer(-8615430512317074746)                                          │
00:01:20 verbose #978 > > │ input=Comment(":Z~O[\"!/\"$d")                                               │
00:01:20 verbose #979 > > │ input=StringLiteral("p[")                                                    │
00:01:20 verbose #980 > > │ input=Integer(-1911054798844975971)                                          │
00:01:20 verbose #981 > > │ input=Integer(8104171175182926422)                                           │
00:01:20 verbose #982 > > │ input=Identifier("awnqv25vl9gRYD8oq")                                        │
00:01:20 verbose #983 > > │ input=Identifier("FKd46Zkhl6EkDha1Jsd")                                      │
00:01:20 verbose #984 > > │ input=StringLiteral(" o'I`Od&l,:=#r/9$`;PB-<$%")                             │
00:01:20 verbose #985 > > │ input=Integer(4734965667345159108)                                           │
00:01:20 verbose #986 > > │ input=Identifier("FaE")                                                      │
00:01:20 verbose #987 > > │ input=Integer(-2557205743201510563)                                          │
00:01:20 verbose #988 > > │ input=Operator("*")                                                          │
00:01:20 verbose #989 > > │ input=Integer(-1301869752270580507)                                          │
00:01:20 verbose #990 > > │ input=Integer(-9145070710868163467)                                          │
00:01:20 verbose #991 > > │ input=Comment("`_.MB`p=&xdY%")                                               │
00:01:20 verbose #992 > > │ input=Identifier("qsm3Tt0WwhFY9yB71")                                        │
00:01:20 verbose #993 > > │ input=StringLiteral("1'B.P~f#X/n']& ?g<S.y")                                 │
00:01:20 verbose #994 > > │ input=Identifier("l9nK22jCosUXY1Wphs")                                       │
00:01:20 verbose #995 > > │ input=Operator("-")                                                          │
00:01:20 verbose #996 > > │ input=Identifier("wgVtA8wKBI8444555Qb9D8a8nR")                               │
00:01:20 verbose #997 > > │ input=Integer(-4409101612477800875)                                          │
00:01:20 verbose #998 > > │ input=StringLiteral("R^>;.,B<{i/{")                                          │
00:01:20 verbose #999 > > │ input=Operator("(")                                                          │
00:01:20 verbose #1000 > > │ input=Comment("")                                                            │
00:01:20 verbose #1001 > > │ input=Integer(-2653549161209799265)                                          │
00:01:20 verbose #1002 > > │ input=Identifier("x2")                                                       │
00:01:20 verbose #1003 > > │ input=StringLiteral("v")                                                     │
00:01:20 verbose #1004 > > │ input=Identifier("yRcXB")                                                    │
00:01:20 verbose #1005 > > │ input=Integer(3070997853979306968)                                           │
00:01:20 verbose #1006 > > │ input=StringLiteral("}:L,=cK7p=<*ZhuK.z{6&S$rA?u~l8")                        │
00:01:20 verbose #1007 > > │ input=StringLiteral("*5(eNLE$$*GJyv&C*=j&")                                  │
00:01:20 verbose #1008 > > │ input=Identifier("SmoGHSM4fE984Y513Nmiy7v24")                                │
00:01:20 verbose #1009 > > │ input=Integer(5876114308927546462)                                           │
00:01:20 verbose #1010 > > │ input=Integer(-7337831467983201469)                                          │
00:01:20 verbose #1011 > > │ input=Identifier("vDxs4QvW61tq2hu2KTy2h7jw")                                 │
00:01:20 verbose #1012 > > │ input=Operator("(")                                                          │
00:01:20 verbose #1013 > > │ input=Identifier("xY28Q")                                                    │
00:01:20 verbose #1014 > > │ input=StringLiteral("BB")                                                    │
00:01:20 verbose #1015 > > │ input=StringLiteral("Jxp&.?$q1[;:DE2/;i{//")                                 │
00:01:20 verbose #1016 > > │ input=Identifier("jkie3zh5UT293lFncPWe0ctSI")                                │
00:01:20 verbose #1017 > > │ input=Comment("1\"z*:0")                                                     │
00:01:20 verbose #1018 > > │ input=Operator("-")                                                          │
00:01:20 verbose #1019 > > │ input=Identifier("BJT10Ho6F0gf4I4Qe4NSz")                                    │
00:01:20 verbose #1020 > > │ input=Identifier("jrIHix7wZYha0E9v8ufrze2")                                  │
00:01:20 verbose #1021 > > │ input=Integer(7062141218909250278)                                           │
00:01:20 verbose #1022 > > │ input=Comment("B\\\"T#ju&;?{q==./X\"\"+`k'?#Yu.~")                           │
00:01:20 verbose #1023 > > │ input=Integer(-7867751637916687658)                                          │
00:01:20 verbose #1024 > > │ input=Integer(507236624457639182)                                            │
00:01:20 verbose #1025 > > │ input=Operator("(")                                                          │
00:01:20 verbose #1026 > > │ input=Integer(-6004675542117040366)                                          │
00:01:20 verbose #1027 > > │ input=Identifier("vTfhc5wB0d64rNHxO0v")                                      │
00:01:20 verbose #1028 > > │ input=Integer(-3852913488418618491)                                          │
00:01:20 verbose #1029 > > │ input=StringLiteral("/|m./")                                                 │
00:01:20 verbose #1030 > > │ input=Comment("")                                                            │
00:01:20 verbose #1031 > > │ input=Operator("/")                                                          │
00:01:20 verbose #1032 > > │ input=Integer(418374750993700736)                                            │
00:01:20 verbose #1033 > > │ input=Comment("5\\?+\\%{m$QX*qxP?BVW\"(n{]9")                                │
00:01:20 verbose #1034 > > │ input=Identifier("R0NGfrktc1WV86YRAYv1UTf37X")                               │
00:01:20 verbose #1035 > > │ input=Comment("=")                                                           │
00:01:20 verbose #1036 > > │ input=StringLiteral("3H?`Ry=V:")                                             │
00:01:20 verbose #1037 > > │ input=StringLiteral(":lA:#D}-$T'`Rx{{;O{ibZ0jm*:")                           │
00:01:20 verbose #1038 > > │ input=Integer(-1788893780215860193)                                          │
00:01:20 verbose #1039 > > │ input=Comment("$46/`iF0P= HepzmyIe")                                         │
00:01:20 verbose #1040 > > │ input=Identifier("MMxde1mnuIYQbC")                                           │
00:01:20 verbose #1041 > > │ input=Integer(-6758100991483547482)                                          │
00:01:20 verbose #1042 > > │ input=StringLiteral("3ps")                                                   │
00:01:20 verbose #1043 > > │ input=Identifier("n5m2")                                                     │
00:01:20 verbose #1044 > > │ input=Comment("&{F%=T<f\\D:bf+?&")                                           │
00:01:20 verbose #1045 > > │ input=Operator("=")                                                          │
00:01:20 verbose #1046 > > │ input=Comment("i2`_")                                                        │
00:01:20 verbose #1047 > > │ input=Operator("(")                                                          │
00:01:20 verbose #1048 > > │ input=Identifier("Y9")                                                       │
00:01:20 verbose #1049 > > │ input=Comment("$J!-M/={/wUW:&")                                              │
00:01:20 verbose #1050 > > │ input=StringLiteral("(7Vbh$'&?ljE:jwls:$|L?zW<X[E<@")                        │
00:01:20 verbose #1051 > > │ input=Operator("+")                                                          │
00:01:20 verbose #1052 > > │ input=Integer(840463408177989815)                                            │
00:01:20 verbose #1053 > > │ input=Comment("3")                                                           │
00:01:20 verbose #1054 > > │ input=StringLiteral("#2/}&$0o8sT`:9<mPFq/@<Q*")                              │
00:01:20 verbose #1055 > > │ input=Comment(":$%K{g")                                                      │
00:01:20 verbose #1056 > > │ input=Operator(")")                                                          │
00:01:20 verbose #1057 > > │ input=Comment("$5Iu.*[l9{")                                                  │
00:01:20 verbose #1058 > > │ input=Identifier("qRh5Cx9")                                                  │
00:01:20 verbose #1059 > > │ input=Integer(3061367838870528700)                                           │
00:01:20 verbose #1060 > > │ input=StringLiteral("`>a'=YU:")                                              │
00:01:20 verbose #1061 > > │ input=Operator("-")                                                          │
00:01:20 verbose #1062 > > │ input=Integer(-3354052022217114416)                                          │
00:01:20 verbose #1063 > > │ input=Operator("+")                                                          │
00:01:20 verbose #1064 > > │ input=StringLiteral("9'e=:9_O6@Cm7='{RP%`J")                                 │
00:01:20 verbose #1065 > > │ input=Comment("$|.v?\\&")                                                    │
00:01:20 verbose #1066 > > │ input=Operator("/")                                                          │
00:01:20 verbose #1067 > > │ input=StringLiteral("3ye/")                                                  │
00:01:20 verbose #1068 > > │ input=Comment("?8e!=f%:")                                                    │
00:01:20 verbose #1069 > > │ input=Identifier("XAuFboa9Yw4zY71")                                          │
00:01:20 verbose #1070 > > │ input=Identifier("nproEuCC1AUX")                                             │
00:01:20 verbose #1071 > > │ input=StringLiteral("$7E9AY%7O?%`g@'e:")                                     │
00:01:20 verbose #1072 > > │ input=StringLiteral("5=i$4p>d!$G2z6J")                                       │
00:01:20 verbose #1073 > > │ input=StringLiteral("}&{'+i|{0{}?|$#a164`-%")                                │
00:01:20 verbose #1074 > > │ input=Comment("")                                                            │
00:01:20 verbose #1075 > > │ input=Identifier("vIEEKRddWcmkudjw2wIcYm")                                   │
00:01:20 verbose #1076 > > │ input=Comment("vg7NYt9&u`")                                                  │
00:01:20 verbose #1077 > > │ input=Integer(-1660675676238220740)                                          │
00:01:20 verbose #1078 > > │ input=StringLiteral(":C&zwtWAki/m~B2")                                       │
00:01:20 verbose #1079 > > │ input=Identifier("DkXO7S3poVxE5aVUcJdGubl2")                                 │
00:01:20 verbose #1080 > > │ input=Operator("=")                                                          │
00:01:20 verbose #1081 > > │ input=Operator("/")                                                          │
00:01:20 verbose #1082 > > │ input=Operator(")")                                                          │
00:01:20 verbose #1083 > > │ input=StringLiteral("$Vh`#d$pk/!<?hjt:v{g=:h$9A/%:")                         │
00:01:20 verbose #1084 > > │ input=StringLiteral("Fb/'CC`V:)<{R?$")                                       │
00:01:20 verbose #1085 > > │ input=Identifier("qTZ41JWRJW3y8n7pr")                                        │
00:01:20 verbose #1086 > > │ input=Identifier("FrBRO2nTKHiia")                                            │
00:01:20 verbose #1087 > > │ input=StringLiteral("L;Z1/*KWA.0H#+JZ:`")                                    │
00:01:20 verbose #1088 > > │ input=Identifier("Tv72")                                                     │
00:01:20 verbose #1089 > > │ input=Operator("*")                                                          │
00:01:20 verbose #1090 > > │ input=Integer(7192367947482406663)                                           │
00:01:20 verbose #1091 > > │ input=Comment("r{--2X+GV\"0.7%+\"]u=\"#N<Ge{^U'%o.")                         │
00:01:20 verbose #1092 > > │ input=Identifier("Yl")                                                       │
00:01:20 verbose #1093 > > │ input=Integer(2607871331771144937)                                           │
00:01:20 verbose #1094 > > │ input=StringLiteral("NWl%:*%&h`.C<")                                         │
00:01:20 verbose #1095 > > │ input=Comment("j<Aq}C:+s")                                                   │
00:01:20 verbose #1096 > > │ input=Operator("+")                                                          │
00:01:20 verbose #1097 > > │ input=Comment("\\'\\&d:u'@Q]")                                               │
00:01:20 verbose #1098 > > │ input=Operator("-")                                                          │
00:01:20 verbose #1099 > > │ input=Operator("*")                                                          │
00:01:20 verbose #1100 > > │ input=Comment("%t*F1J{GOUc\\*H1`q'`#B")                                      │
00:01:20 verbose #1101 > > │ input=Operator("(")                                                          │
00:01:20 verbose #1102 > > │ input=StringLiteral("=%*xR$&}{x?%.!<Squ`z$)xJ|QY&. ")                        │
00:01:20 verbose #1103 > > │                                                                              │
00:01:20 verbose #1104 > > │                                                                              │
00:01:20 verbose #1105 > > │ successes:                                                                   │
00:01:20 verbose #1106 > > │     adding_and_then_removing_an_item_from_the_cart_leaves_the_cart_unchanged │
00:01:20 verbose #1107 > > │     prop_parse_format_idempotent                                             │
00:01:20 verbose #1108 > > │     test_parse_number                                                        │
00:01:20 verbose #1109 > > │                                                                              │
00:01:20 verbose #1110 > > │ test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;  │
00:01:20 verbose #1111 > > │ finished in 0.18s                                                            │
00:01:20 verbose #1112 > > │                                                                              │
00:01:20 verbose #1113 > > │                                                                              │
00:01:20 verbose #1114 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1115 > >
00:01:20 verbose #1116 > > ── markdown ────────────────────────────────────────────────────────────────────
00:01:20 verbose #1117 > > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:20 verbose #1118 > > │ ### execute the binary in release mode                                       │
00:01:20 verbose #1119 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1120 > >
00:01:20 verbose #1121 > > ── pwsh ────────────────────────────────────────────────────────────────────────
00:01:20 verbose #1122 > > { . $ScriptDir/../../../../workspace/target/release/spiral_temp_test$(_exe) } |
00:01:20 verbose #1123 > > Invoke-Block
00:01:20 verbose #1124 > >
00:01:20 verbose #1125 > > ╭─[ 101.47ms - stdout ]────────────────────────────────────────────────────────╮
00:01:20 verbose #1126 > > │ app=test                                                                     │
00:01:20 verbose #1127 > > │                                                                              │
00:01:20 verbose #1128 > > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:20 verbose #1129 > 00:01:18 verbose #3 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 87565 }
00:01:20 verbose #1130 > 00:01:18   debug #4 runtime.execute_with_options / { file_name = jupyter; arguments = [
00:01:20 verbose #1131 >     "nbconvert",
00:01:20 verbose #1132 >     "c:/home/git/polyglot/apps/spiral/temp/test/build.dib.ipynb",
00:01:20 verbose #1133 >     "--to",
00:01:20 verbose #1134 >     "html",
00:01:20 verbose #1135 >     "--HTMLExporter.theme=dark",
00:01:20 verbose #1136 > ]; options = { command = jupyter nbconvert "c:/home/git/polyglot/apps/spiral/temp/test/build.dib.ipynb" --to html --HTMLExporter.theme=dark; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:22 verbose #1137 > 00:01:20 verbose #5 ! [NbConvertApp] Converting notebook c:/home/git/polyglot/apps/spiral/temp/test/build.dib.ipynb to html
00:01:22 verbose #1138 > 00:01:20 verbose #6 ! C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:22 verbose #1139 > 00:01:20 verbose #7 !   validate(nb)
00:01:24 verbose #1140 > 00:01:22 verbose #8 ! [NbConvertApp] Writing 356740 bytes to c:\home\git\polyglot\apps\spiral\temp\test\build.dib.html
00:01:24 verbose #1141 > 00:01:22 verbose #9 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 663 }
00:01:24 verbose #1142 > 00:01:22   debug #10 spiral_builder.run / dib / jupyter nbconvert / { exit_code = 0; jupyter_result_length = 663 }
00:01:24 verbose #1143 > 00:01:22   debug #11 runtime.execute_with_options / { file_name = pwsh; arguments = [
00:01:24 verbose #1144 >     "-c",
00:01:24 verbose #1145 >     "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/temp/test/build.dib.html'; (Get-Content $path -Raw) -replace '(id=\\\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path",
00:01:24 verbose #1146 > ]; options = { command = pwsh -c "$counter = 1; $path = 'c:/home/git/polyglot/apps/spiral/temp/test/build.dib.html'; (Get-Content $path -Raw) -replace '(id=\"cell-id=)[a-fA-F0-9]{8}', { $_.Groups[1].Value + $counter++ } | Set-Content $path"; cancellation_token = None; environment_variables = Array(MutCell([])); on_line = None; stdin = None; trace = true; working_directory = None } }
00:01:25 verbose #1147 > 00:01:23 verbose #12 runtime.execute_with_options / result / { exit_code = 0; std_trace_length = 0 }
00:01:25 verbose #1148 > 00:01:23   debug #13 spiral_builder.run / dib / html cell ids / { exit_code = 0; pwsh_replace_html_result_length = 0 }
00:01:25 verbose #1149 > 00:01:23   debug #14 spiral_builder.run / dib / { exit_code = 0; result_length = 88287 }
00:01:25   debug #1150 runtime.execute_with_options_async / { exit_code = 0; output_length = 93232 }
00:01:25   debug #4 main / executeCommand / exitCode: 0 / command: ../../../../workspace/target/release/spiral_builder.exe dib --path build.dib
00:01:26 verbose #6 networking.wait_for_port_access / { port = 13805; retry = 0; timeout = Some 100; status = false }
00:01:26 verbose #7 async.run_with_timeout_async / { timeout = 100 }
In [ ]:
{ pwsh ../apps/spiral/vscode/build.ps1 } | Invoke-Block
bun install v1.1.7 (b0b7db5c)

Checked 203 installs across 191 packages (no changes) [1.58s]
Symlink already exists: C:\home\git\polyglot\apps\spiral\vscode\LICENSE -> C:\home\git\polyglot\LICENSE

  out\src\extension.js                  2.4kb
  out\media\cellOutputScrollButtons.js  1.9kb

⚡ Done in 26ms
 DONE  Packaged: out\spiral-vscode-0.0.1.vsix (26 files, 98.15KB)
In [ ]:
{ pwsh ../apps/ipfs/build.ps1 } | Invoke-Block
bun install v1.1.7 (b0b7db5c)

 Done! Checked 220 packages (no changes) [1.56s]
In [ ]:
{ pwsh ./outdated.ps1 } | Invoke-Block
Paket version 8.1.0-alpha004+7aa412f49b32de979c3d5acde07e88e6d47c965b
Resolving dependency graph...
Outdated packages found:
  Group: Main
    * Expecto 10.2.1 -> 11.0.0-alpha2
    * Expecto.FsCheck 10.2.1-fscheck3 -> 11.0.0-alpha2-fscheck2
    * FsCheck 3.0.0-rc3 -> 2.16.6
    * FSharp.Core 8.0.300-beta.24080.5 -> 9.0.100-beta.24422.2
    * Microsoft.AspNetCore.Connections.Abstractions 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.AspNetCore.Http.Connections.Client 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.AspNetCore.Http.Connections.Common 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.AspNetCore.SignalR.Client 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.AspNetCore.SignalR.Client.Core 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.AspNetCore.SignalR.Common 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.AspNetCore.SignalR.Protocols.Json 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.Extensions.DependencyInjection 8.0 -> 9.0.0-rc.1.24431.7
    * Microsoft.Extensions.DependencyInjection.Abstractions 8.0.1 -> 9.0.0-rc.1.24431.7
    * Microsoft.Extensions.Features 7.0 -> 9.0.0-rc.1.24452.1
    * Microsoft.Extensions.Logging 8.0 -> 9.0.0-rc.1.24431.7
    * Microsoft.Extensions.Logging.Abstractions 8.0.1 -> 9.0.0-rc.1.24431.7
    * Microsoft.Extensions.Options 8.0.2 -> 9.0.0-rc.1.24431.7
    * Microsoft.Extensions.Primitives 8.0 -> 9.0.0-rc.1.24431.7
    * System.CodeDom 8.0 -> 9.0.0-rc.1.24431.7
    * System.Management 7.0 -> 9.0.0-rc.1.24431.7
    * System.Threading.Channels 8.0 -> 9.0.0-rc.1.24431.7
Total time taken: 4 minutes, 5 seconds

CheckToml / toml: C:\home\git\polyglot\workspace\Cargo.toml
chat_contract_tests
================
Name                        Project                        Compat   Latest   Kind    Platform
----                        -------                        ------   ------   ----    --------
ahash                       0.7.8                          0.8.11   ---      Normal  ---
ahash                       0.8.11                         ---      0.7.8    Normal  ---
android-tzdata              0.1.1                          Removed  ---      Normal  cfg(target_os = "android")
android_system_properties   0.1.5                          Removed  ---      Normal  cfg(target_os = "android")
autocfg                     1.3.0                          Removed  ---      Build   ---
bumpalo                     3.16.0                         Removed  ---      Normal  ---
byteorder                   1.5.0                          ---      Removed  Normal  ---
cc                          1.1.15                         Removed  ---      Build   ---
cfg-if                      1.0.0                          ---      Removed  Normal  ---
cfg-if                      1.0.0                          Removed  ---      Normal  ---
chrono                      0.4.38                         Removed  ---      Normal  ---
core-foundation-sys         0.8.7                          Removed  ---      Normal  cfg(any(target_os = "macos", target_os = "ios"))
equivalent                  1.0.1                          ---      Removed  Normal  ---
getrandom                   0.2.15                         Removed  ---      Normal  cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
hashbrown                   0.12.3                         0.14.5   ---      Normal  ---
hashbrown                   0.14.5                         ---      0.12.3   Normal  ---
iana-time-zone              0.1.60                         Removed  ---      Normal  cfg(unix)
iana-time-zone-haiku        0.1.2                          Removed  ---      Normal  cfg(target_os = "haiku")
indexmap                    1.9.3                          2.4.0    ---      Normal  ---
indexmap                    2.4.0                          ---      1.9.3    Normal  ---
jobserver                   0.1.32                         Removed  ---      Normal  ---
js-sys                      0.3.70                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))
js-sys                      0.3.70                         Removed  ---      Normal  cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
js-sys                      0.3.70                         Removed  ---      Normal  cfg(target_arch = "wasm32")
libc                        0.2.158                        Removed  ---      Normal  ---
libc                        0.2.158                        Removed  ---      Normal  cfg(unix)
libm                        0.2.8                          Removed  ---      Normal  ---
log                         0.4.22                         Removed  ---      Normal  ---
near-sandbox-utils          0.8.0                          0.9.0    ---      Build   ---
near-sandbox-utils          0.9.0                          ---      0.8.0    Normal  ---
num-traits                  0.2.19                         Removed  ---      Normal  ---
once_cell                   1.19.0                         Removed  ---      Normal  ---
proc-macro2                 1.0.86                         ---      Removed  Normal  ---
proc-macro2                 1.0.86                         Removed  ---      Normal  ---
quote                       1.0.37                         ---      Removed  Normal  ---
quote                       1.0.37                         Removed  ---      Normal  ---
serde                       1.0.209                        ---      Removed  Normal  ---
serde                       1.0.209                        Removed  ---      Normal  ---
serde_derive                1.0.209                        ---      Removed  Normal  ---
serde_derive                1.0.209                        Removed  ---      Normal  ---
shlex                       1.3.0                          Removed  ---      Normal  ---
syn                         2.0.76                         ---      Removed  Normal  ---
syn                         2.0.76                         Removed  ---      Normal  ---
unicode-ident               1.0.12                         ---      Removed  Normal  ---
unicode-ident               1.0.12                         Removed  ---      Normal  ---
wasi                        0.11.0+wasi-snapshot-preview1  Removed  ---      Normal  cfg(target_os = "wasi")
wasm-bindgen                0.2.93                         Removed  ---      Normal  ---
wasm-bindgen                0.2.93                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))
wasm-bindgen                0.2.93                         Removed  ---      Normal  cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
wasm-bindgen                0.2.93                         Removed  ---      Normal  cfg(target_arch = "wasm32")
wasm-bindgen-backend        0.2.93                         Removed  ---      Normal  ---
wasm-bindgen-macro          0.2.93                         Removed  ---      Normal  ---
wasm-bindgen-macro-support  0.2.93                         Removed  ---      Normal  ---
wasm-bindgen-shared         0.2.93                         Removed  ---      Normal  ---
windows-core                0.52.0                         Removed  ---      Normal  cfg(target_os = "windows")
windows-targets             0.52.6                         Removed  ---      Normal  ---
windows-targets             0.52.6                         Removed  ---      Normal  cfg(windows)
windows_aarch64_gnullvm     0.52.6                         Removed  ---      Normal  aarch64-pc-windows-gnullvm
windows_aarch64_msvc        0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))
windows_i686_gnu            0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "x86", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
windows_i686_gnullvm        0.52.6                         Removed  ---      Normal  i686-pc-windows-gnullvm
windows_i686_msvc           0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))
windows_x86_64_gnu          0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
windows_x86_64_gnullvm      0.52.6                         Removed  ---      Normal  x86_64-pc-windows-gnullvm
windows_x86_64_msvc         0.52.6                         Removed  ---      Normal  cfg(all(any(target_arch = "x86_64", target_arch = "arm64ec"), target_env = "msvc", not(windows_raw_dylib)))
zerocopy                    0.7.35                         ---      Removed  Normal  ---
zerocopy-derive             0.7.35                         ---      Removed  Normal  ---

spiral_wasm
================
Name                        Project                        Compat   Latest   Kind    Platform
----                        -------                        ------   ------   ----    --------
ahash                       0.7.8                          0.8.11   ---      Normal  ---
ahash                       0.8.11                         ---      0.7.8    Normal  ---
android-tzdata              0.1.1                          Removed  ---      Normal  cfg(target_os = "android")
android_system_properties   0.1.5                          Removed  ---      Normal  cfg(target_os = "android")
autocfg                     1.3.0                          Removed  ---      Build   ---
bumpalo                     3.16.0                         Removed  ---      Normal  ---
byteorder                   1.5.0                          ---      Removed  Normal  ---
cc                          1.1.15                         Removed  ---      Build   ---
cfg-if                      1.0.0                          ---      Removed  Normal  ---
cfg-if                      1.0.0                          Removed  ---      Normal  ---
chrono                      0.4.38                         Removed  ---      Normal  ---
core-foundation-sys         0.8.7                          Removed  ---      Normal  cfg(any(target_os = "macos", target_os = "ios"))
equivalent                  1.0.1                          ---      Removed  Normal  ---
getrandom                   0.2.15                         Removed  ---      Normal  cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
hashbrown                   0.12.3                         0.14.5   ---      Normal  ---
hashbrown                   0.14.5                         ---      0.12.3   Normal  ---
iana-time-zone              0.1.60                         Removed  ---      Normal  cfg(unix)
iana-time-zone-haiku        0.1.2                          Removed  ---      Normal  cfg(target_os = "haiku")
indexmap                    1.9.3                          2.4.0    ---      Normal  ---
indexmap                    2.4.0                          ---      1.9.3    Normal  ---
jobserver                   0.1.32                         Removed  ---      Normal  ---
js-sys                      0.3.70                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))
js-sys                      0.3.70                         Removed  ---      Normal  cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
js-sys                      0.3.70                         Removed  ---      Normal  cfg(target_arch = "wasm32")
libc                        0.2.158                        Removed  ---      Normal  ---
libc                        0.2.158                        Removed  ---      Normal  cfg(unix)
libm                        0.2.8                          Removed  ---      Normal  ---
log                         0.4.22                         Removed  ---      Normal  ---
near-sandbox-utils          0.8.0                          0.9.0    ---      Build   ---
near-sandbox-utils          0.9.0                          ---      0.8.0    Normal  ---
num-traits                  0.2.19                         Removed  ---      Normal  ---
once_cell                   1.19.0                         Removed  ---      Normal  ---
proc-macro2                 1.0.86                         ---      Removed  Normal  ---
proc-macro2                 1.0.86                         Removed  ---      Normal  ---
quote                       1.0.37                         ---      Removed  Normal  ---
quote                       1.0.37                         Removed  ---      Normal  ---
serde                       1.0.209                        ---      Removed  Normal  ---
serde                       1.0.209                        Removed  ---      Normal  ---
serde_derive                1.0.209                        ---      Removed  Normal  ---
serde_derive                1.0.209                        Removed  ---      Normal  ---
shlex                       1.3.0                          Removed  ---      Normal  ---
syn                         2.0.76                         ---      Removed  Normal  ---
syn                         2.0.76                         Removed  ---      Normal  ---
unicode-ident               1.0.12                         ---      Removed  Normal  ---
unicode-ident               1.0.12                         Removed  ---      Normal  ---
wasi                        0.11.0+wasi-snapshot-preview1  Removed  ---      Normal  cfg(target_os = "wasi")
wasm-bindgen                0.2.93                         Removed  ---      Normal  ---
wasm-bindgen                0.2.93                         Removed  ---      Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))
wasm-bindgen                0.2.93                         Removed  ---      Normal  cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
wasm-bindgen                0.2.93                         Removed  ---      Normal  cfg(target_arch = "wasm32")
wasm-bindgen-backend        0.2.93                         Removed  ---      Normal  ---
wasm-bindgen-macro          0.2.93                         Removed  ---      Normal  ---
wasm-bindgen-macro-support  0.2.93                         Removed  ---      Normal  ---
wasm-bindgen-shared         0.2.93                         Removed  ---      Normal  ---
windows-core                0.52.0                         Removed  ---      Normal  cfg(target_os = "windows")
windows-targets             0.52.6                         Removed  ---      Normal  ---
windows-targets             0.52.6                         Removed  ---      Normal  cfg(windows)
windows_aarch64_gnullvm     0.52.6                         Removed  ---      Normal  aarch64-pc-windows-gnullvm
windows_aarch64_msvc        0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))
windows_i686_gnu            0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "x86", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
windows_i686_gnullvm        0.52.6                         Removed  ---      Normal  i686-pc-windows-gnullvm
windows_i686_msvc           0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))
windows_x86_64_gnu          0.52.6                         Removed  ---      Normal  cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
windows_x86_64_gnullvm      0.52.6                         Removed  ---      Normal  x86_64-pc-windows-gnullvm
windows_x86_64_msvc         0.52.6                         Removed  ---      Normal  cfg(all(any(target_arch = "x86_64", target_arch = "arm64ec"), target_env = "msvc", not(windows_raw_dylib)))
zerocopy                    0.7.35                         ---      Removed  Normal  ---
zerocopy-derive             0.7.35                         ---      Removed  Normal  ---

CheckToml / toml: C:\home\git\polyglot\apps\chat\contract\Cargo.toml
Name                             Project  Compat   Latest   Kind    Platform
----                             -------  ------   ------   ----    --------
borsh-derive->syn                2.0.76   2.0.77   2.0.77   Normal  ---
chrono->serde                    1.0.209  1.0.210  1.0.210  Normal  ---
darling_core->syn                2.0.76   2.0.77   2.0.77   Normal  ---
darling_macro->syn               2.0.76   2.0.77   2.0.77   Normal  ---
futures-macro->syn               2.0.76   2.0.77   2.0.77   Normal  ---
hashbrown->serde                 1.0.209  1.0.210  1.0.210  Normal  ---
iana-time-zone-haiku->cc         1.1.15   1.1.18   1.1.18   Build   ---
indexmap->serde                  1.0.209  1.0.210  1.0.210  Normal  ---
near-account-id->serde           1.0.209  1.0.210  1.0.210  Normal  ---
near-gas->serde                  1.0.209  1.0.210  1.0.210  Normal  ---
near-sdk                         5.4.0    5.5.0    5.5.0    Normal  ---
near-sdk->near-sdk-macros        5.4.0    5.5.0    5.5.0    Normal  ---
near-sdk->serde                  1.0.209  1.0.210  1.0.210  Normal  ---
near-sdk->serde_json             1.0.127  1.0.128  1.0.128  Normal  ---
near-sdk-macros->serde           1.0.209  1.0.210  1.0.210  Normal  ---
near-sdk-macros->serde_json      1.0.127  1.0.128  1.0.128  Normal  ---
near-sdk-macros->syn             2.0.76   2.0.77   2.0.77   Normal  ---
near-token->serde                1.0.209  1.0.210  1.0.210  Normal  ---
proc-macro2->unicode-ident       1.0.12   1.0.13   1.0.13   Normal  ---
serde->serde_derive              1.0.209  1.0.210  1.0.210  Normal  ---
serde_derive->syn                2.0.76   2.0.77   2.0.77   Normal  ---
serde_json->serde                1.0.209  1.0.210  1.0.210  Normal  ---
serde_spanned->serde             1.0.209  1.0.210  1.0.210  Normal  ---
sha2->cpufeatures                0.2.13   0.2.14   0.2.14   Normal  cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
strum_macros->syn                2.0.76   2.0.77   2.0.77   Normal  ---
syn->unicode-ident               1.0.12   1.0.13   1.0.13   Normal  ---
syn_derive->syn                  2.0.76   2.0.77   2.0.77   Normal  ---
toml_datetime->serde             1.0.209  1.0.210  1.0.210  Normal  ---
toml_edit->indexmap              2.4.0    2.5.0    2.5.0    Normal  ---
toml_edit->serde                 1.0.209  1.0.210  1.0.210  Normal  ---
wasm-bindgen-backend->syn        2.0.76   2.0.77   2.0.77   Normal  ---
wasm-bindgen-macro-support->syn  2.0.76   2.0.77   2.0.77   Normal  ---
zerocopy-derive->syn             2.0.76   2.0.77   2.0.77   Normal  ---

CheckToml / toml: C:\home\git\polyglot\apps\chat\contract\tests\Cargo.toml
Name                                              Project                        Compat         Latest         Kind    Platform
----                                              -------                        ------         ------         ----    --------
actix->tokio-util                                 0.7.11                         0.7.12         0.7.12         Normal  ---
actix-macros->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
actix_derive->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
aes->cpufeatures                                  0.2.13                         0.2.14         0.2.14         Normal  cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
ahash->cfg-if                                     1.0.0                          ---            Removed        Normal  ---
ahash->getrandom                                  0.2.15                         Removed        ---            Normal  cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
ahash->zerocopy                                   0.7.35                         ---            Removed        Normal  ---
android_system_properties->libc                   0.2.158                        ---            Removed        Normal  ---
anyhow                                            1.0.86                         1.0.88         1.0.88         Normal  ---
async-io->parking                                 2.2.0                          2.2.1          2.2.1          Normal  ---
async-io->rustix                                  0.38.35                        0.38.37        0.38.37        Normal  ---
async-process->rustix                             0.38.35                        0.38.37        0.38.37        Normal  cfg(unix)
async-recursion->syn                              2.0.76                         2.0.77         2.0.77         Normal  ---
async-signal->rustix                              0.38.35                        0.38.37        0.38.37        Normal  cfg(unix)
async-stream-impl->syn                            2.0.76                         2.0.77         2.0.77         Normal  ---
async-trait->syn                                  2.0.76                         2.0.77         2.0.77         Normal  ---
axum->async-trait                                 0.1.81                         0.1.82         0.1.82         Normal  ---
axum->serde                                       1.0.209                        1.0.210        1.0.210        Normal  ---
axum-core->async-trait                            0.1.81                         0.1.82         0.1.82         Normal  ---
backtrace->cc                                     1.1.15                         1.1.18         1.1.18         Build   ---
binary-install->anyhow                            1.0.86                         1.0.88         1.0.88         Normal  ---
bip39->serde                                      1.0.209                        1.0.210        1.0.210        Normal  ---
borsh-derive->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
bytesize->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---
bzip2-sys->cc                                     1.1.15                         1.1.18         1.1.18         Build   ---
camino->serde                                     1.0.209                        1.0.210        1.0.210        Normal  ---
cargo-near->clap                                  4.5.16                         4.5.17         4.5.17         Normal  ---
cargo-near->serde_json                            1.0.127                        1.0.128        1.0.128        Normal  ---
cargo-platform->serde                             1.0.209                        1.0.210        1.0.210        Normal  ---
cargo-util->anyhow                                1.0.86                         1.0.88         1.0.88         Normal  ---
cargo_metadata->serde                             1.0.209                        1.0.210        1.0.210        Normal  ---
cargo_metadata->serde_json                        1.0.127                        1.0.128        1.0.128        Normal  ---
cc->jobserver                                     0.1.32                         ---            Removed        Normal  ---
cc->libc                                          0.2.158                        ---            Removed        Normal  cfg(unix)
cc->shlex                                         1.3.0                          ---            Removed        Normal  ---
chrono->android-tzdata                            0.1.1                          ---            Removed        Normal  cfg(target_os = "android")
chrono->iana-time-zone                            0.1.60                         ---            Removed        Normal  cfg(unix)
chrono->js-sys                                    0.3.70                         ---            Removed        Normal  cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
chrono->num-traits                                0.2.19                         ---            Removed        Normal  ---
chrono->serde                                     1.0.209                        1.0.210        1.0.210        Normal  ---
chrono->serde                                     1.0.209                        1.0.210        Removed        Normal  ---
chrono->wasm-bindgen                              0.2.93                         ---            Removed        Normal  cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))
chrono->windows-targets                           0.52.6                         ---            Removed        Normal  cfg(windows)
clap->clap_builder                                4.5.15                         4.5.17         4.5.17         Normal  ---
clap_derive->syn                                  2.0.76                         2.0.77         2.0.77         Normal  ---
csv->serde                                        1.0.209                        1.0.210        1.0.210        Normal  ---
curve25519-dalek->cpufeatures                     0.2.13                         0.2.14         0.2.14         Normal  cfg(target_arch = "x86_64")
curve25519-dalek-derive->syn                      2.0.76                         2.0.77         2.0.77         Normal  ---
darling_core->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
darling_macro->syn                                2.0.76                         2.0.77         2.0.77         Normal  ---
deranged->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---
derive_arbitrary->syn                             2.0.76                         2.0.77         2.0.77         Normal  ---
derive_more->syn                                  2.0.76                         2.0.77         2.0.77         Normal  ---
elementtree->xml-rs                               0.8.21                         0.8.22         0.8.22         Normal  ---
enum-map-derive->syn                              2.0.76                         2.0.77         2.0.77         Normal  ---
enumflags2->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
enumflags2_derive->syn                            2.0.76                         2.0.77         2.0.77         Normal  ---
event-listener->parking                           2.2.0                          2.2.1          2.2.1          Normal  cfg(not(target_family = "wasm"))
futures-lite->parking                             2.2.0                          2.2.1          2.2.1          Normal  ---
futures-macro->syn                                2.0.76                         2.0.77         2.0.77         Normal  ---
getrandom->cfg-if                                 1.0.0                          Removed        ---            Normal  ---
getrandom->js-sys                                 0.3.70                         Removed        ---            Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))
getrandom->libc                                   0.2.158                        Removed        ---            Normal  cfg(unix)
getrandom->wasi                                   0.11.0+wasi-snapshot-preview1  Removed        ---            Normal  cfg(target_os = "wasi")
getrandom->wasm-bindgen                           0.2.93                         Removed        ---            Normal  cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))
h2->indexmap                                      2.4.0                          2.5.0          2.5.0          Normal  ---
h2->tokio-util                                    0.7.11                         0.7.12         0.7.12         Normal  ---
hashbrown->ahash                                  0.7.8                          0.8.11         ---            Normal  ---
hashbrown->ahash                                  0.8.11                         ---            0.7.8          Normal  ---
hashbrown->serde                                  1.0.209                        1.0.210        1.0.210        Normal  ---
hashbrown->serde                                  1.0.209                        1.0.210        Removed        Normal  ---
hex->serde                                        1.0.209                        1.0.210        1.0.210        Normal  ---
hyper-rustls->hyper-util                          0.1.7                          0.1.8          0.1.8          Normal  ---
hyper-rustls->rustls                              0.23.12                        0.23.13        0.23.13        Normal  ---
hyper-tls->hyper-util                             0.1.7                          0.1.8          0.1.8          Normal  ---
iana-time-zone->android_system_properties         0.1.5                          ---            Removed        Normal  cfg(target_os = "android")
iana-time-zone->core-foundation-sys               0.8.7                          ---            Removed        Normal  cfg(any(target_os = "macos", target_os = "ios"))
iana-time-zone->iana-time-zone-haiku              0.1.2                          ---            Removed        Normal  cfg(target_os = "haiku")
iana-time-zone->js-sys                            0.3.70                         ---            Removed        Normal  cfg(target_arch = "wasm32")
iana-time-zone->wasm-bindgen                      0.2.93                         ---            Removed        Normal  cfg(target_arch = "wasm32")
iana-time-zone->windows-core                      0.52.0                         ---            Removed        Normal  cfg(target_os = "windows")
iana-time-zone-haiku->cc                          1.1.15                         1.1.18         1.1.18         Build   ---
iana-time-zone-haiku->cc                          1.1.15                         1.1.18         Removed        Build   ---
indexmap->autocfg                                 1.3.0                          Removed        ---            Build   ---
indexmap->equivalent                              1.0.1                          ---            Removed        Normal  ---
indexmap->hashbrown                               0.12.3                         0.14.5         ---            Normal  ---
indexmap->hashbrown                               0.14.5                         ---            0.12.3         Normal  ---
indexmap->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---
jobserver->libc                                   0.2.158                        ---            Removed        Normal  cfg(unix)
js-sys->wasm-bindgen                              0.2.93                         ---            Removed        Normal  ---
js-sys->wasm-bindgen                              0.2.93                         Removed        ---            Normal  ---
json-patch->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
json-patch->serde_json                            1.0.127                        1.0.128        1.0.128        Normal  ---
jsonptr->serde                                    1.0.209                        1.0.210        1.0.210        Normal  ---
jsonptr->serde_json                               1.0.127                        1.0.128        1.0.128        Normal  ---
keccak->cpufeatures                               0.2.13                         0.2.14         0.2.14         Normal  cfg(target_arch = "aarch64")
libredox->redox_syscall                           0.5.3                          0.5.4          0.5.4          Normal  ---
linked-hash-map->serde                            1.0.209                        1.0.210        1.0.210        Normal  ---
native-tls->schannel                              0.1.23                         0.1.24         0.1.24         Normal  cfg(target_os = "windows")
near-abi->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---
near-abi-client->anyhow                           1.0.86                         1.0.88         1.0.88         Normal  ---
near-abi-client-impl->anyhow                      1.0.86                         1.0.88         1.0.88         Normal  ---
near-abi-client-impl->serde_json                  1.0.127                        1.0.128        1.0.128        Normal  ---
near-account-id->serde                            1.0.209                        1.0.210        1.0.210        Normal  ---
near-async->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
near-async->serde_json                            1.0.127                        1.0.128        1.0.128        Normal  ---
near-async-derive->syn                            2.0.76                         2.0.77         2.0.77         Normal  ---
near-chain-configs->anyhow                        1.0.86                         1.0.88         1.0.88         Normal  ---
near-chain-configs->serde                         1.0.209                        1.0.210        1.0.210        Normal  ---
near-chain-configs->serde_json                    1.0.127                        1.0.128        1.0.128        Normal  ---
near-cli-rs->clap                                 4.5.16                         4.5.17         4.5.17         Normal  ---
near-cli-rs->serde                                1.0.209                        1.0.210        1.0.210        Normal  ---
near-cli-rs->serde_json                           1.0.127                        1.0.128        1.0.128        Normal  ---
near-config-utils->anyhow                         1.0.86                         1.0.88         1.0.88         Normal  ---
near-crypto->serde                                1.0.209                        1.0.210        1.0.210        Normal  ---
near-crypto->serde_json                           1.0.127                        1.0.128        1.0.128        Normal  ---
near-gas->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---
near-jsonrpc-client->serde                        1.0.209                        1.0.210        1.0.210        Normal  ---
near-jsonrpc-client->serde_json                   1.0.127                        1.0.128        1.0.128        Normal  ---
near-jsonrpc-primitives->serde                    1.0.209                        1.0.210        1.0.210        Normal  ---
near-jsonrpc-primitives->serde_json               1.0.127                        1.0.128        1.0.128        Normal  ---
near-o11y->clap                                   4.5.16                         4.5.17         4.5.17         Normal  ---
near-o11y->serde                                  1.0.209                        1.0.210        1.0.210        Normal  ---
near-o11y->serde_json                             1.0.127                        1.0.128        1.0.128        Normal  ---
near-parameters->serde                            1.0.209                        1.0.210        1.0.210        Normal  ---
near-performance-metrics->tokio-util              0.7.11                         0.7.12         0.7.12         Normal  ---
near-primitives->serde                            1.0.209                        1.0.210        1.0.210        Normal  ---
near-primitives->serde_json                       1.0.127                        1.0.128        1.0.128        Normal  ---
near-primitives-core->serde                       1.0.209                        1.0.210        1.0.210        Normal  ---
near-rpc-error-core->serde                        1.0.209                        1.0.210        1.0.210        Normal  ---
near-rpc-error-core->syn                          2.0.76                         2.0.77         2.0.77         Normal  ---
near-rpc-error-macro->serde                       1.0.209                        1.0.210        1.0.210        Normal  ---
near-rpc-error-macro->syn                         2.0.76                         2.0.77         2.0.77         Normal  ---
near-sandbox-utils                                0.10.1                         0.11.0         0.11.0         Normal  ---
near-sandbox-utils->anyhow                        1.0.86                         1.0.88         1.0.88         Normal  ---
near-sandbox-utils->chrono                        0.4.38                         ---            Removed        Normal  ---
near-sdk                                          5.4.0                          5.5.0          5.5.0          Normal  ---
near-sdk->near-sdk-macros                         5.4.0                          5.5.0          5.5.0          Normal  ---
near-sdk->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---
near-sdk->serde_json                              1.0.127                        1.0.128        1.0.128        Normal  ---
near-sdk-macros->serde                            1.0.209                        1.0.210        1.0.210        Normal  ---
near-sdk-macros->serde_json                       1.0.127                        1.0.128        1.0.128        Normal  ---
near-sdk-macros->syn                              2.0.76                         2.0.77         2.0.77         Normal  ---
near-socialdb-client->serde                       1.0.209                        1.0.210        1.0.210        Normal  ---
near-socialdb-client->serde_json                  1.0.127                        1.0.128        1.0.128        Normal  ---
near-time->serde                                  1.0.209                        1.0.210        1.0.210        Normal  ---
near-token->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
near-workspaces->async-trait                      0.1.81                         0.1.82         0.1.82         Normal  ---
near-workspaces->near-sandbox-utils               0.8.0                          ---            0.9.0          Build   ---
near-workspaces->near-sandbox-utils               0.9.0                          0.8.0          ---            Normal  ---
near-workspaces->serde                            1.0.209                        1.0.210        1.0.210        Normal  ---
near-workspaces->serde_json                       1.0.127                        1.0.128        1.0.128        Normal  ---
near_schemafy_core->serde                         1.0.209                        1.0.210        1.0.210        Normal  ---
near_schemafy_core->serde_json                    1.0.127                        1.0.128        1.0.128        Normal  ---
near_schemafy_lib->serde                          1.0.209                        1.0.210        1.0.210        Normal  ---
near_schemafy_lib->serde_derive                   1.0.209                        1.0.210        1.0.210        Normal  ---
near_schemafy_lib->serde_json                     1.0.127                        1.0.128        1.0.128        Normal  ---
num-rational->serde                               1.0.209                        1.0.210        1.0.210        Normal  ---
num-traits->autocfg                               1.3.0                          ---            Removed        Build   ---
num-traits->libm                                  0.2.8                          ---            Removed        Normal  ---
openssl-macros->syn                               2.0.76                         2.0.77         2.0.77         Normal  ---
openssl-src->cc                                   1.1.15                         1.1.18         1.1.18         Normal  ---
openssl-sys->cc                                   1.1.15                         1.1.18         1.1.18         Build   ---
openssl-sys->openssl-src                          300.3.1+3.3.1                  300.3.2+3.3.2  300.3.2+3.3.2  Build   ---
opentelemetry-otlp->async-trait                   0.1.81                         0.1.82         0.1.82         Normal  ---
opentelemetry_sdk->async-trait                    0.1.81                         0.1.82         0.1.82         Normal  ---
opentelemetry_sdk->tokio-stream                   0.1.15                         0.1.16         0.1.16         Normal  ---
parking_lot_core->redox_syscall                   0.5.3                          0.5.4          0.5.4          Normal  cfg(target_os = "redox")
pin-project-internal->syn                         2.0.76                         2.0.77         2.0.77         Normal  ---
polling->rustix                                   0.38.35                        0.38.37        0.38.37        Normal  cfg(any(unix, target_os = "fuchsia", target_os = "vxworks"))
proc-macro2->unicode-ident                        1.0.12                         1.0.13         1.0.13         Normal  ---
proc-macro2->unicode-ident                        1.0.12                         1.0.13         Removed        Normal  ---
proc-macro2->unicode-ident                        1.0.12                         Removed        1.0.13         Normal  ---
prost-derive->anyhow                              1.0.86                         1.0.88         1.0.88         Normal  ---
prost-derive->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
quote->proc-macro2                                1.0.86                         ---            Removed        Normal  ---
quote->proc-macro2                                1.0.86                         Removed        ---            Normal  ---
reqwest->hyper-rustls                             0.27.2                         0.27.3         0.27.3         Normal  cfg(not(target_arch = "wasm32"))
reqwest->hyper-util                               0.1.7                          0.1.8          0.1.8          Normal  cfg(not(target_arch = "wasm32"))
reqwest->ipnet                                    2.9.0                          2.10.0         2.10.0         Normal  cfg(not(target_arch = "wasm32"))
reqwest->serde                                    1.0.209                        1.0.210        1.0.210        Normal  ---
reqwest->serde_json                               1.0.127                        1.0.128        1.0.128        Normal  ---
ring->cc                                          1.1.15                         1.1.18         1.1.18         Build   ---
rust_decimal->serde                               1.0.209                        1.0.210        1.0.210        Normal  ---
rust_decimal->serde_json                          1.0.127                        1.0.128        1.0.128        Normal  ---
rustls->rustls-webpki                             0.102.7                        0.102.8        0.102.8        Normal  ---
schannel->windows-sys                             0.52.0                         0.59.0         0.59.0         Normal  ---
schemars->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---
schemars->serde_json                              1.0.127                        1.0.128        1.0.128        Normal  ---
schemars_derive->syn                              2.0.76                         2.0.77         2.0.77         Normal  ---
scroll_derive->syn                                2.0.76                         2.0.77         2.0.77         Normal  ---
secp256k1-sys->cc                                 1.1.15                         1.1.18         1.1.18         Build   ---
secret-service->serde                             1.0.209                        1.0.210        1.0.210        Normal  ---
semver->serde                                     1.0.209                        1.0.210        1.0.210        Normal  ---
serde->serde_derive                               1.0.209                        1.0.210        1.0.210        Normal  ---
serde->serde_derive                               1.0.209                        1.0.210        Removed        Normal  ---
serde_derive->proc-macro2                         1.0.86                         ---            Removed        Normal  ---
serde_derive->quote                               1.0.37                         ---            Removed        Normal  ---
serde_derive->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
serde_derive->syn                                 2.0.76                         2.0.77         Removed        Normal  ---
serde_derive_internals->syn                       2.0.76                         2.0.77         2.0.77         Normal  ---
serde_json                                        1.0.127                        1.0.128        1.0.128        Normal  ---
serde_json->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
serde_repr->syn                                   2.0.76                         2.0.77         2.0.77         Normal  ---
serde_spanned->serde                              1.0.209                        1.0.210        1.0.210        Normal  ---
serde_urlencoded->serde                           1.0.209                        1.0.210        1.0.210        Normal  ---
serde_with->indexmap                              1.9.3                          2.5.0          ---            Normal  ---
serde_with->indexmap                              2.4.0                          2.5.0          1.9.3          Normal  ---
serde_with->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
serde_with->serde_derive                          1.0.209                        1.0.210        1.0.210        Normal  ---
serde_with->serde_json                            1.0.127                        1.0.128        1.0.128        Normal  ---
serde_with_macros->syn                            2.0.76                         2.0.77         2.0.77         Normal  ---
serde_yaml->indexmap                              2.4.0                          2.5.0          2.5.0          Normal  ---
serde_yaml->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
sha1->cpufeatures                                 0.2.13                         0.2.14         0.2.14         Normal  cfg(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64"))
sha2->cpufeatures                                 0.2.13                         0.2.14         0.2.14         Normal  cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
smart-default->syn                                2.0.76                         2.0.77         2.0.77         Normal  ---
string_cache->serde                               1.0.209                        1.0.210        1.0.210        Normal  ---
strum_macros->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
symbolic-debuginfo->serde                         1.0.209                        1.0.210        1.0.210        Normal  ---
symbolic-debuginfo->serde_json                    1.0.127                        1.0.128        1.0.128        Normal  ---
syn->proc-macro2                                  1.0.86                         ---            Removed        Normal  ---
syn->proc-macro2                                  1.0.86                         Removed        ---            Normal  ---
syn->quote                                        1.0.37                         ---            Removed        Normal  ---
syn->quote                                        1.0.37                         Removed        ---            Normal  ---
syn->unicode-ident                                1.0.12                         1.0.13         1.0.13         Normal  ---
syn->unicode-ident                                1.0.12                         1.0.13         Removed        Normal  ---
syn->unicode-ident                                1.0.12                         Removed        1.0.13         Normal  ---
syn_derive->syn                                   2.0.76                         2.0.77         2.0.77         Normal  ---
tempfile->rustix                                  0.38.35                        0.38.37        0.38.37        Normal  cfg(any(unix, target_os = "wasi"))
thiserror-impl->syn                               2.0.76                         2.0.77         2.0.77         Normal  ---
time->serde                                       1.0.209                        1.0.210        1.0.210        Normal  ---
tokio-macros->syn                                 2.0.76                         2.0.77         2.0.77         Normal  ---
tokio-rustls->rustls                              0.23.12                        0.23.13        0.23.13        Normal  ---
toml->serde                                       1.0.209                        1.0.210        1.0.210        Normal  ---
toml_datetime->serde                              1.0.209                        1.0.210        1.0.210        Normal  ---
toml_edit->indexmap                               2.4.0                          2.5.0          2.5.0          Normal  ---
toml_edit->serde                                  1.0.209                        1.0.210        1.0.210        Normal  ---
tonic->async-trait                                0.1.81                         0.1.82         0.1.82         Normal  ---
tonic->tokio-stream                               0.1.15                         0.1.16         0.1.16         Normal  ---
tower->tokio-util                                 0.7.11                         0.7.12         0.7.12         Normal  ---
tracing-attributes->syn                           2.0.76                         2.0.77         2.0.77         Normal  ---
ureq->rustls                                      0.23.12                        0.23.13        0.23.13        Normal  ---
ureq->webpki-roots                                0.26.3                         0.26.5         0.26.5         Normal  ---
url->serde                                        1.0.209                        1.0.210        1.0.210        Normal  ---
wasm-bindgen->cfg-if                              1.0.0                          ---            Removed        Normal  ---
wasm-bindgen->cfg-if                              1.0.0                          Removed        ---            Normal  ---
wasm-bindgen->once_cell                           1.19.0                         ---            Removed        Normal  ---
wasm-bindgen->once_cell                           1.19.0                         Removed        ---            Normal  ---
wasm-bindgen->wasm-bindgen-macro                  0.2.93                         ---            Removed        Normal  ---
wasm-bindgen->wasm-bindgen-macro                  0.2.93                         Removed        ---            Normal  ---
wasm-bindgen-backend->bumpalo                     3.16.0                         ---            Removed        Normal  ---
wasm-bindgen-backend->bumpalo                     3.16.0                         Removed        ---            Normal  ---
wasm-bindgen-backend->log                         0.4.22                         ---            Removed        Normal  ---
wasm-bindgen-backend->log                         0.4.22                         Removed        ---            Normal  ---
wasm-bindgen-backend->once_cell                   1.19.0                         ---            Removed        Normal  ---
wasm-bindgen-backend->once_cell                   1.19.0                         Removed        ---            Normal  ---
wasm-bindgen-backend->proc-macro2                 1.0.86                         ---            Removed        Normal  ---
wasm-bindgen-backend->proc-macro2                 1.0.86                         Removed        ---            Normal  ---
wasm-bindgen-backend->quote                       1.0.37                         ---            Removed        Normal  ---
wasm-bindgen-backend->quote                       1.0.37                         Removed        ---            Normal  ---
wasm-bindgen-backend->syn                         2.0.76                         2.0.77         2.0.77         Normal  ---
wasm-bindgen-backend->syn                         2.0.76                         2.0.77         Removed        Normal  ---
wasm-bindgen-backend->syn                         2.0.76                         Removed        2.0.77         Normal  ---
wasm-bindgen-backend->wasm-bindgen-shared         0.2.93                         ---            Removed        Normal  ---
wasm-bindgen-backend->wasm-bindgen-shared         0.2.93                         Removed        ---            Normal  ---
wasm-bindgen-macro->quote                         1.0.37                         ---            Removed        Normal  ---
wasm-bindgen-macro->quote                         1.0.37                         Removed        ---            Normal  ---
wasm-bindgen-macro->wasm-bindgen-macro-support    0.2.93                         ---            Removed        Normal  ---
wasm-bindgen-macro->wasm-bindgen-macro-support    0.2.93                         Removed        ---            Normal  ---
wasm-bindgen-macro-support->proc-macro2           1.0.86                         ---            Removed        Normal  ---
wasm-bindgen-macro-support->proc-macro2           1.0.86                         Removed        ---            Normal  ---
wasm-bindgen-macro-support->quote                 1.0.37                         ---            Removed        Normal  ---
wasm-bindgen-macro-support->quote                 1.0.37                         Removed        ---            Normal  ---
wasm-bindgen-macro-support->syn                   2.0.76                         2.0.77         2.0.77         Normal  ---
wasm-bindgen-macro-support->syn                   2.0.76                         2.0.77         Removed        Normal  ---
wasm-bindgen-macro-support->syn                   2.0.76                         Removed        2.0.77         Normal  ---
wasm-bindgen-macro-support->wasm-bindgen-backend  0.2.93                         ---            Removed        Normal  ---
wasm-bindgen-macro-support->wasm-bindgen-backend  0.2.93                         Removed        ---            Normal  ---
wasm-bindgen-macro-support->wasm-bindgen-shared   0.2.93                         ---            Removed        Normal  ---
wasm-bindgen-macro-support->wasm-bindgen-shared   0.2.93                         Removed        ---            Normal  ---
wasmparser->indexmap                              2.4.0                          2.5.0          2.5.0          Normal  ---
wasmparser->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
windows-core->windows-targets                     0.52.6                         ---            Removed        Normal  ---
windows-targets->windows_aarch64_gnullvm          0.52.6                         ---            Removed        Normal  aarch64-pc-windows-gnullvm
windows-targets->windows_aarch64_msvc             0.52.6                         ---            Removed        Normal  cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))
windows-targets->windows_i686_gnu                 0.52.6                         ---            Removed        Normal  cfg(all(target_arch = "x86", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
windows-targets->windows_i686_gnullvm             0.52.6                         ---            Removed        Normal  i686-pc-windows-gnullvm
windows-targets->windows_i686_msvc                0.52.6                         ---            Removed        Normal  cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))
windows-targets->windows_x86_64_gnu               0.52.6                         ---            Removed        Normal  cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
windows-targets->windows_x86_64_gnullvm           0.52.6                         ---            Removed        Normal  x86_64-pc-windows-gnullvm
windows-targets->windows_x86_64_msvc              0.52.6                         ---            Removed        Normal  cfg(all(any(target_arch = "x86_64", target_arch = "arm64ec"), target_env = "msvc", not(windows_raw_dylib)))
xattr->rustix                                     0.38.35                        0.38.37        0.38.37        Normal  ---
zbus->async-executor                              1.13.0                         1.13.1         1.13.1         Normal  ---
zbus->async-trait                                 0.1.81                         0.1.82         0.1.82         Normal  ---
zbus->serde                                       1.0.209                        1.0.210        1.0.210        Normal  ---
zbus_names->serde                                 1.0.209                        1.0.210        1.0.210        Normal  ---
zerocopy->byteorder                               1.5.0                          ---            Removed        Normal  ---
zerocopy->zerocopy-derive                         0.7.35                         ---            Removed        Normal  ---
zerocopy-derive->proc-macro2                      1.0.86                         ---            Removed        Normal  ---
zerocopy-derive->quote                            1.0.37                         ---            Removed        Normal  ---
zerocopy-derive->syn                              2.0.76                         2.0.77         2.0.77         Normal  ---
zerocopy-derive->syn                              2.0.76                         2.0.77         Removed        Normal  ---
zstd-sys->cc                                      1.1.15                         1.1.18         1.1.18         Build   ---
zvariant->serde                                   1.0.209                        1.0.210        1.0.210        Normal  ---

CheckToml / toml: C:\home\git\polyglot\apps\plot\Cargo.toml
Name                             Project  Compat   Latest   Kind    Platform
----                             -------  ------   ------   ----    --------
chrono->serde                    1.0.209  1.0.210  1.0.210  Normal  ---
futures-macro->syn               2.0.76   2.0.77   2.0.77   Normal  ---
iana-time-zone-haiku->cc         1.1.15   1.1.18   1.1.18   Build   ---
plotters                         0.3.6    0.3.7    0.3.7    Normal  ---
plotters->plotters-backend       0.3.6    0.3.7    0.3.7    Normal  ---
plotters->plotters-svg           0.3.6    0.3.7    0.3.7    Normal  ---
plotters-svg->plotters-backend   0.3.6    0.3.7    0.3.7    Normal  ---
proc-macro2->unicode-ident       1.0.12   1.0.13   1.0.13   Normal  ---
serde->serde_derive              1.0.209  1.0.210  1.0.210  Normal  ---
serde_derive->syn                2.0.76   2.0.77   2.0.77   Normal  ---
serde_json                       1.0.127  1.0.128  1.0.128  Normal  ---
serde_json->serde                1.0.209  1.0.210  1.0.210  Normal  ---
sha2->cpufeatures                0.2.13   0.2.14   0.2.14   Normal  cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
syn->unicode-ident               1.0.12   1.0.13   1.0.13   Normal  ---
wasm-bindgen-backend->syn        2.0.76   2.0.77   2.0.77   Normal  ---
wasm-bindgen-macro-support->syn  2.0.76   2.0.77   2.0.77   Normal  ---

CheckJson / json: C:/home/git/polyglot
$ npm-check-updates --target greatest
Using bun
Checking C:\home\git\polyglot\package.json

CheckJson / json: C:/home/git/polyglot/apps/ipfs
$ npm-check-updates --target greatest
Using bun
Checking C:\home\git\polyglot\apps\ipfs\package.json

CheckJson / json: C:/home/git/polyglot/apps/spiral/temp/extension
$ npm-check-updates --target greatest
Using bun
Checking C:\home\git\polyglot\apps\spiral\temp\extension\package.json

CheckJson / json: C:/home/git/polyglot/apps/spiral/vscode
$ npm-check-updates --target greatest
Using bun
Checking C:\home\git\polyglot\apps\spiral\vscode\package.json

CheckJson / json: C:/home/git/polyglot/deps/The-Spiral-Language/VS Code Plugin
$ npm-check-updates --target greatest
Checking C:\home\git\polyglot\deps\The-Spiral-Language\VS Code Plugin\package.json